Amazon S3 S3 Metadataconfiguration API

The S3 Metadataconfiguration API from Amazon S3 — 1 operation(s) for s3 metadataconfiguration.

GitHub OpenAPI

Operations 3

POST /{Bucket}?metadataConfiguration Create Bucket Metadata Configuration #
DELETE /{Bucket}?metadataConfiguration Delete Bucket Metadata Configuration #
GET /{Bucket}?metadataConfiguration Get Bucket Metadata Configuration #

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-s3:amazon-s3-metadataconfiguration-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-s3-metadataconfiguration-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Storage Service Metadataconfiguration API
  version: '2006-03-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Storage Service. 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://s3.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /{Bucket}?metadataConfiguration:
    post:
      operationId: CreateBucketMetadataConfiguration
      summary: Create Bucket Metadata Configuration
      description: Creates an S3 Metadata V2 metadata configuration for a general purpose bucket. For more information, see
        Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide. Permissions To use this operation, you must
        have the following permissions. For more information, see Setting up permissions for configuring metadata tables in
        the Amazon S3 User Guide. If you want to encrypt your metadata tables with server-side encryption with Key Management
        Service (KMS) keys (SSE-KMS), you need additional permissions in your KMS key policy. For more information, see Setting
        up permissions for configuring metadata tables in the Amazon S3 User Guide. If you also want to integrate your table
        bucket with Amazon Web Services analytics services so that you can query your metadata table, you need additional
        permissions. For more information, see Integrating Amazon S3 Tables with Amazon Web Services analytics services in
        the Amazon S3 User Guide. To query your metadata tables, you need additional permissions. For more information, see
        Permissions for querying metadata tables in the Amazon S3 User Guide. s3:CreateBucketMetadataTableConfiguration The
        IAM policy action name is the same for the V1
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
      parameters:
      - name: Bucket
        in: path
        required: true
        schema:
          type: string
        description: The general purpose bucket that you want to create the metadata configuration for.
      - name: Content-MD5
        in: header
        schema:
          type: string
        description: The Content-MD5 header for the metadata configuration.
      - name: x-amz-sdk-checksum-algorithm
        in: header
        schema:
          type: string
          enum:
          - CRC32
          - CRC32C
          - SHA1
          - SHA256
          - CRC64NVME
          - SHA512
          - MD5
          - XXHASH64
          - XXHASH3
          - XXHASH128
        description: The checksum algorithm to use with your metadata configuration.
      - name: x-amz-expected-bucket-owner
        in: header
        schema:
          type: string
        description: The expected owner of the general purpose bucket that corresponds to your metadata configuration.
      requestBody:
        content:
          application/xml:
            schema:
              $ref: '#/components/schemas/MetadataConfiguration'
      tags:
      - Metadataconfiguration
    delete:
      operationId: DeleteBucketMetadataConfiguration
      summary: Delete Bucket Metadata Configuration
      description: 'Deletes an S3 Metadata configuration from a general purpose bucket. For more information, see Accelerating
        data discovery with S3 Metadata in the Amazon S3 User Guide. You can use the V2 DeleteBucketMetadataConfiguration
        API operation with V1 or V2 metadata configurations. However, if you try to use the V1 DeleteBucketMetadataTableConfiguration
        API operation with V2 configurations, you will receive an HTTP 405 Method Not Allowed error. Permissions To use this
        operation, you must have the s3:DeleteBucketMetadataTableConfiguration permission. For more information, see Setting
        up permissions for configuring metadata tables in the Amazon S3 User Guide. The IAM policy action name is the same
        for the V1 and V2 API operations. The following operations are related to DeleteBucketMetadataConfiguration: CreateBucketMetadataConfiguration
        GetBucketMetadataConfiguration UpdateBucketMetadataInventoryTableConfiguration UpdateBucketMetadataJournalTableConfiguration
        You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt,
        containing two spaces after my, you must URL encode this value to my%20%20file.txt.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
      parameters:
      - name: Bucket
        in: path
        required: true
        schema:
          type: string
        description: The general purpose bucket that you want to remove the metadata configuration from.
      - name: x-amz-expected-bucket-owner
        in: header
        schema:
          type: string
        description: The expected bucket owner of the general purpose bucket that you want to remove the metadata table configuration
          from.
      tags:
      - Metadataconfiguration
    get:
      operationId: GetBucketMetadataConfiguration
      summary: Get Bucket Metadata Configuration
      description: 'Retrieves the S3 Metadata configuration for a general purpose bucket. For more information, see Accelerating
        data discovery with S3 Metadata in the Amazon S3 User Guide. You can use the V2 GetBucketMetadataConfiguration API
        operation with V1 or V2 metadata configurations. However, if you try to use the V1 GetBucketMetadataTableConfiguration
        API operation with V2 configurations, you will receive an HTTP 405 Method Not Allowed error. Permissions To use this
        operation, you must have the s3:GetBucketMetadataTableConfiguration permission. For more information, see Setting
        up permissions for configuring metadata tables in the Amazon S3 User Guide. The IAM policy action name is the same
        for the V1 and V2 API operations. The following operations are related to GetBucketMetadataConfiguration: CreateBucketMetadataConfiguration
        DeleteBucketMetadataConfiguration UpdateBucketMetadataInventoryTableConfiguration UpdateBucketMetadataJournalTableConfiguration
        You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt,
        containing two spaces after my, you must URL encode this value to my%20%20file.txt.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetBucketMetadataConfigurationOutput'
      parameters:
      - name: Bucket
        in: path
        required: true
        schema:
          type: string
        description: The general purpose bucket that corresponds to the metadata configuration that you want to retrieve.
      - name: x-amz-expected-bucket-owner
        in: header
        schema:
          type: string
        description: The expected owner of the general purpose bucket that you want to retrieve the metadata table configuration
          for.
      tags:
      - Metadataconfiguration
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: s3
  schemas:
    AnnotationTableConfiguration:
      type: object
      properties:
        ConfigurationState:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The state of the annotation table. Valid values are ENABLED and DISABLED.
        EncryptionConfiguration:
          $ref: '#/components/schemas/MetadataTableEncryptionConfiguration'
        Role:
          type: string
          description: The ARN of the IAM role used to manage the annotation table.
      required:
      - ConfigurationState
    AnnotationTableConfigurationResult:
      type: object
      properties:
        ConfigurationState:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The current configuration state of the annotation table.
        TableStatus:
          type: string
          description: 'The provisioning status of the annotation table. Possible values: CREATING, BACKFILLING, ACTIVE, FAILED.'
        Error:
          $ref: '#/components/schemas/ErrorDetails'
        TableName:
          type: string
          description: The name of the annotation table.
        TableArn:
          type: string
          description: The ARN of the annotation table.
        Role:
          type: string
          description: The ARN of the IAM role associated with the annotation table.
      required:
      - ConfigurationState
    DestinationResult:
      type: object
      properties:
        TableBucketType:
          type: string
          enum:
          - aws
          - customer
          description: The type of the table bucket where the metadata configuration is stored. The aws value indicates an
            Amazon Web Services managed table bucket, and the customer value indicates a customer-managed table bucket. V2
            metadata configurations are stored in Amazon Web Services managed table buckets, and V1 metadata configurations
            are stored in customer-managed table buckets.
        TableBucketArn:
          type: string
          description: The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored.
        TableNamespace:
          type: string
          description: The namespace in the table bucket where the metadata tables for a metadata configuration are stored.
    ErrorDetails:
      type: object
      properties:
        ErrorCode:
          type: string
          description: 'If the V1 CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was unable to create
            the table, this structure contains the error code. The possible error codes and error messages are as follows:
            AccessDeniedCreatingResources - You don''t have sufficient permissions to create the required resources. Make
            sure that you have s3tables:CreateNamespace, s3tables:CreateTable, s3tables:GetTable and s3tables:PutTablePolicy
            permissions, and then try again. To create a new metadata table, you must delete the metadata configuration for
            this bucket, and then create a new metadata configu'
        ErrorMessage:
          type: string
          description: 'If the V1 CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was unable to create
            the table, this structure contains the error message. The possible error codes and error messages are as follows:
            AccessDeniedCreatingResources - You don''t have sufficient permissions to create the required resources. Make
            sure that you have s3tables:CreateNamespace, s3tables:CreateTable, s3tables:GetTable and s3tables:PutTablePolicy
            permissions, and then try again. To create a new metadata table, you must delete the metadata configuration for
            this bucket, and then create a new metadata conf'
    GetBucketMetadataConfigurationOutput:
      type: object
      properties:
        GetBucketMetadataConfigurationResult:
          $ref: '#/components/schemas/GetBucketMetadataConfigurationResult'
    GetBucketMetadataConfigurationResult:
      type: object
      properties:
        MetadataConfigurationResult:
          $ref: '#/components/schemas/MetadataConfigurationResult'
      required:
      - MetadataConfigurationResult
    InventoryTableConfiguration:
      type: object
      properties:
        ConfigurationState:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The configuration state of the inventory table, indicating whether the inventory table is enabled or
            disabled.
        EncryptionConfiguration:
          $ref: '#/components/schemas/MetadataTableEncryptionConfiguration'
      required:
      - ConfigurationState
    InventoryTableConfigurationResult:
      type: object
      properties:
        ConfigurationState:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The configuration state of the inventory table, indicating whether the inventory table is enabled or
            disabled.
        TableStatus:
          type: string
          description: 'The status of the inventory table. The status values are: CREATING - The inventory table is in the
            process of being created in the specified Amazon Web Services managed table bucket. BACKFILLING - The inventory
            table is in the process of being backfilled. When you enable the inventory table for your metadata configuration,
            the table goes through a process known as backfilling, during which Amazon S3 scans your general purpose bucket
            to retrieve the initial metadata for all objects in the bucket. Depending on the number of objects in your bucket,
            this process can take several hours. When the ba'
        Error:
          $ref: '#/components/schemas/ErrorDetails'
        TableName:
          type: string
          description: The name of the inventory table.
        TableArn:
          type: string
          description: The Amazon Resource Name (ARN) for the inventory table.
      required:
      - ConfigurationState
    JournalTableConfiguration:
      type: object
      properties:
        RecordExpiration:
          $ref: '#/components/schemas/RecordExpiration'
        EncryptionConfiguration:
          $ref: '#/components/schemas/MetadataTableEncryptionConfiguration'
      required:
      - RecordExpiration
    JournalTableConfigurationResult:
      type: object
      properties:
        TableStatus:
          type: string
          description: 'The status of the journal table. The status values are: CREATING - The journal table is in the process
            of being created in the specified table bucket. ACTIVE - The journal table has been created successfully, and
            records are being delivered to the table. FAILED - Amazon S3 is unable to create the journal table, or Amazon
            S3 is unable to deliver records.'
        Error:
          $ref: '#/components/schemas/ErrorDetails'
        TableName:
          type: string
          description: The name of the journal table.
        TableArn:
          type: string
          description: The Amazon Resource Name (ARN) for the journal table.
        RecordExpiration:
          $ref: '#/components/schemas/RecordExpiration'
      required:
      - TableStatus
      - TableName
      - RecordExpiration
    MetadataConfiguration:
      type: object
      properties:
        JournalTableConfiguration:
          $ref: '#/components/schemas/JournalTableConfiguration'
        InventoryTableConfiguration:
          $ref: '#/components/schemas/InventoryTableConfiguration'
        AnnotationTableConfiguration:
          $ref: '#/components/schemas/AnnotationTableConfiguration'
      required:
      - JournalTableConfiguration
    MetadataConfigurationResult:
      type: object
      properties:
        DestinationResult:
          $ref: '#/components/schemas/DestinationResult'
        JournalTableConfigurationResult:
          $ref: '#/components/schemas/JournalTableConfigurationResult'
        InventoryTableConfigurationResult:
          $ref: '#/components/schemas/InventoryTableConfigurationResult'
        AnnotationTableConfigurationResult:
          $ref: '#/components/schemas/AnnotationTableConfigurationResult'
      required:
      - DestinationResult
    MetadataTableEncryptionConfiguration:
      type: object
      properties:
        SseAlgorithm:
          type: string
          enum:
          - aws:kms
          - AES256
          description: The encryption type specified for a metadata table. To specify server-side encryption with Key Management
            Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side encryption with Amazon S3 managed
            keys (SSE-S3), use the AES256 value.
        KmsKeyArn:
          type: string
          description: If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also
            specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in
            the same Region as the general purpose bucket that corresponds to the metadata table configuration.
      required:
      - SseAlgorithm
    RecordExpiration:
      type: object
      properties:
        Expiration:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Specifies whether journal table record expiration is enabled or disabled.
        Days:
          type: integer
          description: If you enable journal table record expiration, you can set the number of days to retain your journal
            table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any
            whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value
            to 365.
      required:
      - Expiration
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/s3/service/2006-03-01/s3-2006-03-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)