Amazon Timestream Timestream Batch Load Task API

The Timestream Batch Load Task API from Amazon Timestream — 3 operation(s) for timestream batch load task.

GitHub OpenAPI

Operations 3

POST /#CreateBatchLoadTask Create Batch Load Task #
POST /#DescribeBatchLoadTask Describe Batch Load Task #
POST /#ListBatchLoadTasks List Batch Load Tasks #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-timestream:amazon-timestream-batch-load-task-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-timestream-batch-load-task-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Timestream Query Batch Load Task API
  version: '2018-11-01'
  description: Generated from AWS's published Smithy model for Amazon Timestream Query. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://ingest.timestream.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateBatchLoadTask:
    post:
      operationId: CreateBatchLoadTask
      summary: Create Batch Load Task
      description: Creates a new Timestream batch load task. A batch load task processes data from a CSV source in an S3 location
        and writes to a Timestream table. A mapping from source to target is defined in a batch load task. Errors and events
        are written to a report at an S3 location. For the report, if the KMS key is not specified, the report will be encrypted
        with an S3 managed key when SSE_S3 is the option. Otherwise an error is thrown. For more information, see Amazon Web
        Services managed keys. Service quotas apply. For details, see code sample.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateBatchLoadTaskResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamInternalServerException'
        '421':
          description: InvalidEndpointException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidEndpointException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - Timestream_20181101.CreateBatchLoadTask
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateBatchLoadTaskRequest'
      tags:
      - Batch Load Task
  /#DescribeBatchLoadTask:
    post:
      operationId: DescribeBatchLoadTask
      summary: Describe Batch Load Task
      description: Returns information about the batch load task, including configurations, mappings, progress, and other
        details. Service quotas apply. See code sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/DescribeBatchLoadTaskResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamInternalServerException'
        '421':
          description: InvalidEndpointException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidEndpointException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - Timestream_20181101.DescribeBatchLoadTask
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DescribeBatchLoadTaskRequest'
      tags:
      - Batch Load Task
  /#ListBatchLoadTasks:
    post:
      operationId: ListBatchLoadTasks
      summary: List Batch Load Tasks
      description: Provides a list of batch load tasks, along with the name, status, when the task is resumable until, and
        other details. See code sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListBatchLoadTasksResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamInternalServerException'
        '421':
          description: InvalidEndpointException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidEndpointException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/IngestTimestreamValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - Timestream_20181101.ListBatchLoadTasks
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListBatchLoadTasksRequest'
      tags:
      - Batch Load Task
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: timestream
  schemas:
    BatchLoadProgressReport:
      type: object
      properties:
        RecordsProcessed:
          type: integer
        RecordsIngested:
          type: integer
        ParseFailures:
          type: integer
        RecordIngestionFailures:
          type: integer
        FileFailures:
          type: integer
        BytesMetered:
          type: integer
    BatchLoadTask:
      type: object
      properties:
        TaskId:
          type: string
          description: The ID of the batch load task.
        TaskStatus:
          type: string
          enum:
          - CREATED
          - IN_PROGRESS
          - FAILED
          - SUCCEEDED
          - PROGRESS_STOPPED
          - PENDING_RESUME
          description: Status of the batch load task.
        DatabaseName:
          type: string
          description: Database name for the database into which a batch load task loads data.
        TableName:
          type: string
          description: Table name for the table into which a batch load task loads data.
        CreationTime:
          type: string
          format: date-time
          description: The time when the Timestream batch load task was created.
        LastUpdatedTime:
          type: string
          format: date-time
          description: The time when the Timestream batch load task was last updated.
        ResumableUntil:
          type: string
          format: date-time
    BatchLoadTaskDescription:
      type: object
      properties:
        TaskId:
          type: string
          description: The ID of the batch load task.
        ErrorMessage:
          type: string
        DataSourceConfiguration:
          $ref: '#/components/schemas/DataSourceConfiguration'
        ProgressReport:
          $ref: '#/components/schemas/BatchLoadProgressReport'
        ReportConfiguration:
          $ref: '#/components/schemas/ReportConfiguration'
        DataModelConfiguration:
          $ref: '#/components/schemas/DataModelConfiguration'
        TargetDatabaseName:
          type: string
        TargetTableName:
          type: string
        TaskStatus:
          type: string
          enum:
          - CREATED
          - IN_PROGRESS
          - FAILED
          - SUCCEEDED
          - PROGRESS_STOPPED
          - PENDING_RESUME
          description: Status of the batch load task.
        RecordVersion:
          type: integer
        CreationTime:
          type: string
          format: date-time
          description: The time when the Timestream batch load task was created.
        LastUpdatedTime:
          type: string
          format: date-time
          description: The time when the Timestream batch load task was last updated.
        ResumableUntil:
          type: string
          format: date-time
    CreateBatchLoadTaskRequest:
      type: object
      properties:
        ClientToken:
          type: string
        DataModelConfiguration:
          $ref: '#/components/schemas/DataModelConfiguration'
        DataSourceConfiguration:
          $ref: '#/components/schemas/DataSourceConfiguration'
        ReportConfiguration:
          $ref: '#/components/schemas/ReportConfiguration'
        TargetDatabaseName:
          type: string
          description: Target Timestream database for a batch load task.
        TargetTableName:
          type: string
          description: Target Timestream table for a batch load task.
        RecordVersion:
          type: integer
      required:
      - DataSourceConfiguration
      - ReportConfiguration
      - TargetDatabaseName
      - TargetTableName
    CreateBatchLoadTaskResponse:
      type: object
      properties:
        TaskId:
          type: string
          description: The ID of the batch load task.
      required:
      - TaskId
    CsvConfiguration:
      type: object
      properties:
        ColumnSeparator:
          type: string
          description: Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space ('
            ').
        EscapeChar:
          type: string
          description: Escape character can be one of
        QuoteChar:
          type: string
          description: Can be single quote (') or double quote (").
        NullValue:
          type: string
          description: Can be blank space (' ').
        TrimWhiteSpace:
          type: boolean
          description: Specifies to trim leading and trailing white space.
    DataModel:
      type: object
      properties:
        TimeColumn:
          type: string
          description: Source column to be mapped to time.
        TimeUnit:
          type: string
          enum:
          - MILLISECONDS
          - SECONDS
          - MICROSECONDS
          - NANOSECONDS
          description: The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
            nanoseconds, or other supported values. Default is MILLISECONDS.
        DimensionMappings:
          type: array
          items:
            $ref: '#/components/schemas/IngestTimestreamDimensionMapping'
          description: Source to target mappings for dimensions.
        MultiMeasureMappings:
          $ref: '#/components/schemas/IngestTimestreamMultiMeasureMappings'
        MixedMeasureMappings:
          type: array
          items:
            $ref: '#/components/schemas/IngestTimestreamMixedMeasureMapping'
          description: Source to target mappings for measures.
        MeasureNameColumn:
          type: string
      required:
      - DimensionMappings
    DataModelConfiguration:
      type: object
      properties:
        DataModel:
          $ref: '#/components/schemas/DataModel'
        DataModelS3Configuration:
          $ref: '#/components/schemas/DataModelS3Configuration'
    DataModelS3Configuration:
      type: object
      properties:
        BucketName:
          type: string
        ObjectKey:
          type: string
    DataSourceConfiguration:
      type: object
      properties:
        DataSourceS3Configuration:
          $ref: '#/components/schemas/DataSourceS3Configuration'
        CsvConfiguration:
          $ref: '#/components/schemas/CsvConfiguration'
        DataFormat:
          type: string
          enum:
          - CSV
          description: This is currently CSV.
      required:
      - DataSourceS3Configuration
      - DataFormat
    DataSourceS3Configuration:
      type: object
      properties:
        BucketName:
          type: string
          description: The bucket name of the customer S3 bucket.
        ObjectKeyPrefix:
          type: string
      required:
      - BucketName
    DescribeBatchLoadTaskRequest:
      type: object
      properties:
        TaskId:
          type: string
          description: The ID of the batch load task.
      required:
      - TaskId
    DescribeBatchLoadTaskResponse:
      type: object
      properties:
        BatchLoadTaskDescription:
          $ref: '#/components/schemas/BatchLoadTaskDescription'
      required:
      - BatchLoadTaskDescription
    IngestTimestreamAccessDeniedException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamConflictException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamDimensionMapping:
      type: object
      properties:
        SourceColumn:
          type: string
        DestinationColumn:
          type: string
    IngestTimestreamInternalServerException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamMixedMeasureMapping:
      type: object
      properties:
        MeasureName:
          type: string
        SourceColumn:
          type: string
        TargetMeasureName:
          type: string
        MeasureValueType:
          type: string
          enum:
          - DOUBLE
          - BIGINT
          - VARCHAR
          - BOOLEAN
          - TIMESTAMP
          - MULTI
        MultiMeasureAttributeMappings:
          type: array
          items:
            $ref: '#/components/schemas/IngestTimestreamMultiMeasureAttributeMapping'
      required:
      - MeasureValueType
    IngestTimestreamMultiMeasureAttributeMapping:
      type: object
      properties:
        SourceColumn:
          type: string
        TargetMultiMeasureAttributeName:
          type: string
        MeasureValueType:
          type: string
          enum:
          - DOUBLE
          - BIGINT
          - BOOLEAN
          - VARCHAR
          - TIMESTAMP
      required:
      - SourceColumn
    IngestTimestreamMultiMeasureMappings:
      type: object
      properties:
        TargetMultiMeasureName:
          type: string
        MultiMeasureAttributeMappings:
          type: array
          items:
            $ref: '#/components/schemas/IngestTimestreamMultiMeasureAttributeMapping'
      required:
      - MultiMeasureAttributeMappings
    IngestTimestreamResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    IngestTimestreamThrottlingException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamValidationException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    InvalidEndpointException:
      type: object
      properties:
        Message:
          type: string
    ListBatchLoadTasksRequest:
      type: object
      properties:
        NextToken:
          type: string
          description: A token to specify where to start paginating. This is the NextToken from a previously truncated response.
        MaxResults:
          type: integer
          description: The total number of items to return in the output. If the total number of items available is more than
            the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value
            as argument of a subsequent API invocation.
        TaskStatus:
          type: string
          enum:
          - CREATED
          - IN_PROGRESS
          - FAILED
          - SUCCEEDED
          - PROGRESS_STOPPED
          - PENDING_RESUME
          description: Status of the batch load task.
    ListBatchLoadTasksResponse:
      type: object
      properties:
        NextToken:
          type: string
          description: A token to specify where to start paginating. Provide the next ListBatchLoadTasksRequest.
        BatchLoadTasks:
          type: array
          items:
            $ref: '#/components/schemas/BatchLoadTask'
          description: A list of batch load task details.
    ReportConfiguration:
      type: object
      properties:
        ReportS3Configuration:
          $ref: '#/components/schemas/ReportS3Configuration'
    ReportS3Configuration:
      type: object
      properties:
        BucketName:
          type: string
        ObjectKeyPrefix:
          type: string
        EncryptionOption:
          type: string
          enum:
          - SSE_S3
          - SSE_KMS
        KmsKeyId:
          type: string
      required:
      - BucketName
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/timestream-write/service/2018-11-01/timestream-write-2018-11-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)