Amazon DocumentDB Documentdb Global Cluster API

The Documentdb Global Cluster API from Amazon DocumentDB — 4 operation(s) for documentdb global cluster.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

POST /?Action=CreateGlobalCluster Create Global Cluster #
POST /?Action=DeleteGlobalCluster Delete Global Cluster #
POST /?Action=DescribeGlobalClusters Describe Global Clusters #
POST /?Action=ModifyGlobalCluster Modify Global Cluster #

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-documentdb:amazon-documentdb-global-cluster-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-documentdb-global-cluster-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon DocumentDB with MongoDB compatibility Global Cluster API
  version: '2014-10-31'
  description: Generated from AWS's published Smithy model for Amazon DocumentDB with MongoDB compatibility. 4 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://rds.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=CreateGlobalCluster:
    post:
      operationId: CreateGlobalCluster
      summary: Create Global Cluster
      description: Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions.
        The global cluster contains one primary cluster with read-write capability, and up-to 10 read-only secondary clusters.
        Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated
        infrastructure with no impact to your workload’s performance. You can create a global cluster that is initially empty,
        and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation,
        and this cluster becomes the primary of the global cluster. This action only applies to Amazon DocumentDB clusters.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateGlobalClusterResult'
        '404':
          description: DBClusterNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBClusterNotFoundFault'
        '400':
          description: GlobalClusterAlreadyExistsFault; GlobalClusterQuotaExceededFault; InvalidDBClusterStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GlobalClusterAlreadyExistsFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateGlobalCluster
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/CreateGlobalClusterMessage'
      tags:
      - Global Cluster
  /?Action=DeleteGlobalCluster:
    post:
      operationId: DeleteGlobalCluster
      summary: Delete Global Cluster
      description: Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before
        attempting to delete a global cluster. This action only applies to Amazon DocumentDB clusters.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteGlobalClusterResult'
        '404':
          description: GlobalClusterNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GlobalClusterNotFoundFault'
        '400':
          description: InvalidGlobalClusterStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidGlobalClusterStateFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteGlobalCluster
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/DeleteGlobalClusterMessage'
      tags:
      - Global Cluster
  /?Action=DescribeGlobalClusters:
    post:
      operationId: DescribeGlobalClusters
      summary: Describe Global Clusters
      description: Returns information about Amazon DocumentDB global clusters. This API supports pagination. This action
        only applies to Amazon DocumentDB clusters.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GlobalClustersMessage'
        '404':
          description: GlobalClusterNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GlobalClusterNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeGlobalClusters
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/DescribeGlobalClustersMessage'
      tags:
      - Global Cluster
  /?Action=ModifyGlobalCluster:
    post:
      operationId: ModifyGlobalCluster
      summary: Modify Global Cluster
      description: 'Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters
        (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new values
        in the request. This action only applies to Amazon DocumentDB clusters.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ModifyGlobalClusterResult'
        '404':
          description: GlobalClusterNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GlobalClusterNotFoundFault'
        '400':
          description: InvalidGlobalClusterStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidGlobalClusterStateFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ModifyGlobalCluster
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/ModifyGlobalClusterMessage'
      tags:
      - Global Cluster
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: rds
  schemas:
    CreateGlobalClusterMessage:
      type: object
      properties:
        GlobalClusterIdentifier:
          type: string
          description: The cluster identifier of the new global cluster.
        SourceDBClusterIdentifier:
          type: string
          description: The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter
            is optional.
        Engine:
          type: string
          description: The name of the database engine to be used for this cluster.
        EngineVersion:
          type: string
          description: The engine version of the global cluster.
        DeletionProtection:
          type: boolean
          description: The deletion protection setting for the new global cluster. The global cluster can't be deleted when
            deletion protection is enabled.
        DatabaseName:
          type: string
          description: The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon
            DocumentDB will not create a database in the global cluster you are creating.
        StorageEncrypted:
          type: boolean
          description: The storage encryption setting for the new global cluster.
      required:
      - GlobalClusterIdentifier
    CreateGlobalClusterResult:
      type: object
      properties:
        GlobalCluster:
          $ref: '#/components/schemas/GlobalCluster'
    DBClusterNotFoundFault:
      type: object
      properties:
        message:
          type: string
    DeleteGlobalClusterMessage:
      type: object
      properties:
        GlobalClusterIdentifier:
          type: string
          description: The cluster identifier of the global cluster being deleted.
      required:
      - GlobalClusterIdentifier
    DeleteGlobalClusterResult:
      type: object
      properties:
        GlobalCluster:
          $ref: '#/components/schemas/GlobalCluster'
    DescribeGlobalClustersMessage:
      type: object
      properties:
        GlobalClusterIdentifier:
          type: string
          description: The user-supplied cluster identifier. If this parameter is specified, information from only the specific
            cluster is returned. This parameter isn't case-sensitive.
        Filters:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
          description: 'A filter that specifies one or more global DB clusters to describe. Supported filters: db-cluster-id
            accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list will only include information
            about the clusters identified by these ARNs.'
        MaxRecords:
          type: integer
          description: The maximum number of records to include in the response. If more records exist than the specified
            MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the
            remaining results.
        Marker:
          type: string
          description: An optional pagination token provided by a previous DescribeGlobalClusters request. If this parameter
            is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
    FailoverState:
      type: object
      properties:
        Status:
          type: string
          enum:
          - pending
          - failing-over
          - cancelling
          description: 'The current status of the global cluster. Possible values are as follows: pending – The service received
            a request to switch over or fail over the global cluster. The global cluster''s primary cluster and the specified
            secondary cluster are being verified before the operation starts. failing-over – The chosen secondary cluster
            is being promoted to become the new primary cluster to fail over the global cluster. cancelling – The request
            to switch over or fail over the global cluster was cancelled and the primary cluster and the selected secondary
            cluster are returning to their previous states.'
        FromDbClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Amazon DocumentDB cluster that is currently being demoted, and
            which is associated with this state.
        ToDbClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Amazon DocumentDB cluster that is currently being promoted, and
            which is associated with this state.
        IsDataLossAllowed:
          type: boolean
          description: Indicates whether the operation is a global switchover or a global failover. If data loss is allowed,
            then the operation is a global failover. Otherwise, it's a switchover.
    Filter:
      type: object
      properties:
        Name:
          type: string
          description: The name of the filter. Filter names are case sensitive.
        Values:
          type: array
          items:
            type: string
          description: One or more filter values. Filter values are case sensitive.
      required:
      - Name
      - Values
    GlobalCluster:
      type: object
      properties:
        GlobalClusterIdentifier:
          type: string
          description: Contains a user-supplied global cluster identifier. This identifier is the unique key that identifies
            a global cluster.
        GlobalClusterResourceId:
          type: string
          description: The Amazon Web Services RegionRegion-unique, immutable identifier for the global database cluster.
            This identifier is found in CloudTrail log entries whenever the KMS customer master key (CMK) for the cluster
            is accessed.
        GlobalClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) for the global cluster.
        Status:
          type: string
          description: Specifies the current state of this global cluster.
        Engine:
          type: string
          description: The Amazon DocumentDB database engine used by the global cluster.
        EngineVersion:
          type: string
          description: Indicates the database engine version.
        DatabaseName:
          type: string
          description: The default database name within the new global cluster.
        StorageEncrypted:
          type: boolean
          description: The storage encryption setting for the global cluster.
        DeletionProtection:
          type: boolean
          description: The deletion protection setting for the new global cluster.
        GlobalClusterMembers:
          type: array
          items:
            $ref: '#/components/schemas/GlobalClusterMember'
          description: The list of cluster IDs for secondary clusters within the global cluster. Currently limited to one
            item.
        FailoverState:
          $ref: '#/components/schemas/FailoverState'
        TagList:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of global cluster tags.
    GlobalClusterAlreadyExistsFault:
      type: object
      properties:
        message:
          type: string
    GlobalClusterMember:
      type: object
      properties:
        DBClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) for each Amazon DocumentDB cluster.
        Readers:
          type: array
          items:
            type: string
          description: The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Amazon DocumentDB
            global cluster.
        IsWriter:
          type: boolean
          description: Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability)
            for the Amazon DocumentDB global cluster with which it is associated.
        SynchronizationStatus:
          type: string
          enum:
          - connected
          - pending-resync
          description: The status of synchronization of each Amazon DocumentDB cluster in the global cluster.
    GlobalClusterNotFoundFault:
      type: object
      properties:
        message:
          type: string
    GlobalClustersMessage:
      type: object
      properties:
        Marker:
          type: string
        GlobalClusters:
          type: array
          items:
            $ref: '#/components/schemas/GlobalCluster'
    InvalidGlobalClusterStateFault:
      type: object
      properties:
        message:
          type: string
    ModifyGlobalClusterMessage:
      type: object
      properties:
        GlobalClusterIdentifier:
          type: string
          description: 'The identifier for the global cluster being modified. This parameter isn''t case-sensitive. Constraints:
            Must match the identifier of an existing global cluster.'
        NewGlobalClusterIdentifier:
          type: string
          description: 'The new identifier for a global cluster when you modify a global cluster. This value is stored as
            a lowercase string. Must contain from 1 to 63 letters, numbers, or hyphens The first character must be a letter
            Can''t end with a hyphen or contain two consecutive hyphens Example: my-cluster2'
        DeletionProtection:
          type: boolean
          description: Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted
            when deletion protection is enabled.
      required:
      - GlobalClusterIdentifier
    ModifyGlobalClusterResult:
      type: object
      properties:
        GlobalCluster:
          $ref: '#/components/schemas/GlobalCluster'
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: 'The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and
            can''t be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white
            space, ''_'', ''.'', ''/'', ''='', ''+'', ''-'' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").'
        Value:
          type: string
          description: 'The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length
            and can''t be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits,
            white space, ''_'', ''.'', ''/'', ''='', ''+'', ''-'' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").'
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/docdb/service/2014-10-31/docdb-2014-10-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)