Amazon Timestream Tables API

Operations for managing Timestream tables.

GitHub OpenAPI

Operations 5

POST /#CreateTable Create Table #
POST /#DeleteTable Delete Table #
POST /#DescribeTable Describe Table #
POST /#ListTables List Tables #
POST /#UpdateTable Update Table #

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-tables-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-tables-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Timestream Query Tables API
  version: '2018-11-01'
  description: Generated from AWS's published Smithy model for Amazon Timestream Query. 5 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:
  /#CreateTable:
    post:
      operationId: CreateTable
      summary: Create Table
      description: Adds a new table to an existing database in your account. In an Amazon Web Services account, table names
        must be at least unique within each Region if they are in the same database. You might have identical table names
        in the same Region if the tables are in separate databases. While creating the table, you must specify the table name,
        database name, and the retention properties. Service quotas apply. See code sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateTableResponse'
        '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.CreateTable
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateTableRequest'
      tags:
      - Tables
  /#DeleteTable:
    post:
      operationId: DeleteTable
      summary: Delete Table
      description: Deletes a given Timestream table. This is an irreversible operation. After a Timestream database table
        is deleted, the time-series data stored in the table cannot be recovered. Due to the nature of distributed retries,
        the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent. See
        code sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                type: string
        '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'
        '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.DeleteTable
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DeleteTableRequest'
      tags:
      - Tables
  /#DescribeTable:
    post:
      operationId: DescribeTable
      summary: Describe Table
      description: Returns information about the table, including the table name, database name, retention duration of the
        memory store and the magnetic store. Service quotas apply. See code sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/DescribeTableResponse'
        '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'
        '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.DescribeTable
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DescribeTableRequest'
      tags:
      - Tables
  /#ListTables:
    post:
      operationId: ListTables
      summary: List Tables
      description: Provides a list of tables, along with the name, status, and retention properties of each table. See code
        sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListTablesResponse'
        '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'
        '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.ListTables
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListTablesRequest'
      tags:
      - Tables
  /#UpdateTable:
    post:
      operationId: UpdateTable
      summary: Update Table
      description: Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note
        that the change in retention duration takes effect immediately. For example, if the retention period of the memory
        store was initially set to 2 hours and then changed to 24 hours, the memory store will be capable of holding 24 hours
        of data, but will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve
        data from the magnetic store to populate the memory store. See code sample for details.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UpdateTableResponse'
        '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'
        '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.UpdateTable
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UpdateTableRequest'
      tags:
      - Tables
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:
    CreateTableRequest:
      type: object
      properties:
        DatabaseName:
          type: string
          description: The name of the Timestream database.
        TableName:
          type: string
          description: The name of the Timestream table.
        RetentionProperties:
          $ref: '#/components/schemas/RetentionProperties'
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/IngestTimestreamTag'
          description: A list of key-value pairs to label the table.
        MagneticStoreWriteProperties:
          $ref: '#/components/schemas/MagneticStoreWriteProperties'
        Schema:
          $ref: '#/components/schemas/Schema'
      required:
      - DatabaseName
      - TableName
    CreateTableResponse:
      type: object
      properties:
        Table:
          $ref: '#/components/schemas/Table'
    DeleteTableRequest:
      type: object
      properties:
        DatabaseName:
          type: string
          description: The name of the database where the Timestream database is to be deleted.
        TableName:
          type: string
          description: The name of the Timestream table to be deleted.
      required:
      - DatabaseName
      - TableName
    DescribeTableRequest:
      type: object
      properties:
        DatabaseName:
          type: string
          description: The name of the Timestream database.
        TableName:
          type: string
          description: The name of the Timestream table.
      required:
      - DatabaseName
      - TableName
    DescribeTableResponse:
      type: object
      properties:
        Table:
          $ref: '#/components/schemas/Table'
    IngestTimestreamAccessDeniedException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamConflictException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamInternalServerException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    IngestTimestreamResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    IngestTimestreamS3Configuration:
      type: object
      properties:
        BucketName:
          type: string
          description: The bucket name of the customer S3 bucket.
        ObjectKeyPrefix:
          type: string
          description: The object key preview for the customer S3 location.
        EncryptionOption:
          type: string
          enum:
          - SSE_S3
          - SSE_KMS
          description: The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3
            managed key or Amazon Web Services managed key.
        KmsKeyId:
          type: string
          description: The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
    IngestTimestreamTag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag. Tag keys are case sensitive.
        Value:
          type: string
          description: The value of the tag. Tag values are case-sensitive and can be null.
      required:
      - Key
      - Value
    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
    ListTablesRequest:
      type: object
      properties:
        DatabaseName:
          type: string
          description: The name of the Timestream database.
        NextToken:
          type: string
          description: The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent
            API invocation.
        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.
    ListTablesResponse:
      type: object
      properties:
        Tables:
          type: array
          items:
            $ref: '#/components/schemas/Table'
          description: A list of tables.
        NextToken:
          type: string
          description: A token to specify where to start paginating. This is the NextToken from a previously truncated response.
    MagneticStoreRejectedDataLocation:
      type: object
      properties:
        S3Configuration:
          $ref: '#/components/schemas/IngestTimestreamS3Configuration'
    MagneticStoreWriteProperties:
      type: object
      properties:
        EnableMagneticStoreWrites:
          type: boolean
          description: A flag to enable magnetic store writes.
        MagneticStoreRejectedDataLocation:
          $ref: '#/components/schemas/MagneticStoreRejectedDataLocation'
      required:
      - EnableMagneticStoreWrites
    PartitionKey:
      type: object
      properties:
        Type:
          type: string
          enum:
          - DIMENSION
          - MEASURE
          description: The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
        Name:
          type: string
          description: The name of the attribute used for a dimension key.
        EnforcementInRecord:
          type: string
          enum:
          - REQUIRED
          - OPTIONAL
          description: The level of enforcement for the specification of a dimension key in ingested records. Options are
            REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
      required:
      - Type
    RetentionProperties:
      type: object
      properties:
        MemoryStoreRetentionPeriodInHours:
          type: integer
          description: The duration for which data must be stored in the memory store.
        MagneticStoreRetentionPeriodInDays:
          type: integer
          description: The duration for which data must be stored in the magnetic store.
      required:
      - MemoryStoreRetentionPeriodInHours
      - MagneticStoreRetentionPeriodInDays
    Schema:
      type: object
      properties:
        CompositePartitionKey:
          type: array
          items:
            $ref: '#/components/schemas/PartitionKey'
          description: A non-empty list of partition keys defining the attributes used to partition the table data. The order
            of the list determines the partition hierarchy. The name and type of each partition key as well as the partition
            key order cannot be changed after the table is created. However, the enforcement level of each partition key can
            be changed.
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    Table:
      type: object
      properties:
        Arn:
          type: string
          description: The Amazon Resource Name that uniquely identifies this table.
        TableName:
          type: string
          description: The name of the Timestream table.
        DatabaseName:
          type: string
          description: The name of the Timestream database that contains this table.
        TableStatus:
          type: string
          enum:
          - ACTIVE
          - DELETING
          - RESTORING
          description: 'The current state of the table: DELETING - The table is being deleted. ACTIVE - The table is ready
            for use.'
        RetentionProperties:
          $ref: '#/components/schemas/RetentionProperties'
        CreationTime:
          type: string
          format: date-time
          description: The time when the Timestream table was created.
        LastUpdatedTime:
          type: string
          format: date-time
          description: The time when the Timestream table was last updated.
        MagneticStoreWriteProperties:
          $ref: '#/components/schemas/MagneticStoreWriteProperties'
        Schema:
          $ref: '#/components/schemas/Schema'
    UpdateTableRequest:
      type: object
      properties:
        DatabaseName:
          type: string
          description: The name of the Timestream database.
        TableName:
          type: string
          description: The name of the Timestream table.
        RetentionProperties:
          $ref: '#/components/schemas/RetentionProperties'
        MagneticStoreWriteProperties:
          $ref: '#/components/schemas/MagneticStoreWriteProperties'
        Schema:
          $ref: '#/components/schemas/Schema'
      required:
      - DatabaseName
      - TableName
    UpdateTableResponse:
      type: object
      properties:
        Table:
          $ref: '#/components/schemas/Table'
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)