Amazon DocumentDB Documentdb Db Subnet Group API

The Documentdb Db Subnet Group API from Amazon DocumentDB — 4 operation(s) for documentdb db subnet group.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

POST /?Action=CreateDBSubnetGroup Create DBSubnet Group #
POST /?Action=DeleteDBSubnetGroup Delete DBSubnet Group #
POST /?Action=DescribeDBSubnetGroups Describe DBSubnet Groups #
POST /?Action=ModifyDBSubnetGroup Modify DBSubnet Group #

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-db-subnet-group-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-db-subnet-group-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon DocumentDB with MongoDB compatibility Db Subnet Group 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=CreateDBSubnetGroup:
    post:
      operationId: CreateDBSubnetGroup
      summary: Create DBSubnet Group
      description: Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability
        Zones in the Amazon Web Services Region.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateDBSubnetGroupResult'
        '400':
          description: DBSubnetGroupAlreadyExistsFault; DBSubnetGroupDoesNotCoverEnoughAZs; DBSubnetGroupQuotaExceededFault;
            DBSubnetQuotaExceededFault; InvalidSubnet
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSubnetGroupAlreadyExistsFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateDBSubnetGroup
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/CreateDBSubnetGroupMessage'
      tags:
      - Db Subnet Group
  /?Action=DeleteDBSubnetGroup:
    post:
      operationId: DeleteDBSubnetGroup
      summary: Delete DBSubnet Group
      description: Deletes a subnet group. The specified database subnet group must not be associated with any DB instances.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '404':
          description: DBSubnetGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSubnetGroupNotFoundFault'
        '400':
          description: InvalidDBSubnetGroupStateFault; InvalidDBSubnetStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidDBSubnetGroupStateFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteDBSubnetGroup
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/DeleteDBSubnetGroupMessage'
      tags:
      - Db Subnet Group
  /?Action=DescribeDBSubnetGroups:
    post:
      operationId: DescribeDBSubnetGroups
      summary: Describe DBSubnet Groups
      description: Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain
        only the descriptions of the specified DBSubnetGroup.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSubnetGroupMessage'
        '404':
          description: DBSubnetGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSubnetGroupNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeDBSubnetGroups
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/DescribeDBSubnetGroupsMessage'
      tags:
      - Db Subnet Group
  /?Action=ModifyDBSubnetGroup:
    post:
      operationId: ModifyDBSubnetGroup
      summary: Modify DBSubnet Group
      description: Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability
        Zones in the Amazon Web Services Region.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ModifyDBSubnetGroupResult'
        '400':
          description: DBSubnetGroupDoesNotCoverEnoughAZs; DBSubnetQuotaExceededFault; InvalidSubnet; SubnetAlreadyInUse
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSubnetGroupDoesNotCoverEnoughAZs'
        '404':
          description: DBSubnetGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSubnetGroupNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ModifyDBSubnetGroup
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/ModifyDBSubnetGroupMessage'
      tags:
      - Db Subnet Group
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:
    AvailabilityZone:
      type: object
      properties:
        Name:
          type: string
          description: The name of the Availability Zone.
    CreateDBSubnetGroupMessage:
      type: object
      properties:
        DBSubnetGroupName:
          type: string
          description: 'The name for the subnet group. This value is stored as a lowercase string. Constraints: Must contain
            no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup'
        DBSubnetGroupDescription:
          type: string
          description: The description for the subnet group.
        SubnetIds:
          type: array
          items:
            type: string
          description: The Amazon EC2 subnet IDs for the subnet group.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags to be assigned to the subnet group.
      required:
      - DBSubnetGroupName
      - DBSubnetGroupDescription
      - SubnetIds
    CreateDBSubnetGroupResult:
      type: object
      properties:
        DBSubnetGroup:
          $ref: '#/components/schemas/DBSubnetGroup'
    DBSubnetGroup:
      type: object
      properties:
        DBSubnetGroupName:
          type: string
          description: The name of the subnet group.
        DBSubnetGroupDescription:
          type: string
          description: Provides the description of the subnet group.
        VpcId:
          type: string
          description: Provides the virtual private cloud (VPC) ID of the subnet group.
        SubnetGroupStatus:
          type: string
          description: Provides the status of the subnet group.
        Subnets:
          type: array
          items:
            $ref: '#/components/schemas/Subnet'
          description: Detailed information about one or more subnets within a subnet group.
        DBSubnetGroupArn:
          type: string
          description: The Amazon Resource Name (ARN) for the DB subnet group.
        SupportedNetworkTypes:
          type: array
          items:
            type: string
          description: 'The network type of the DB subnet group. Valid Values: IPV4 | DUAL A DBSubnetGroup can support only
            the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).'
    DBSubnetGroupAlreadyExistsFault:
      type: object
      properties:
        message:
          type: string
    DBSubnetGroupDoesNotCoverEnoughAZs:
      type: object
      properties:
        message:
          type: string
    DBSubnetGroupMessage:
      type: object
      properties:
        Marker:
          type: string
          description: An optional pagination token provided by a previous request. If this parameter is specified, the response
            includes only records beyond the marker, up to the value specified by MaxRecords.
        DBSubnetGroups:
          type: array
          items:
            $ref: '#/components/schemas/DBSubnetGroup'
          description: Detailed information about one or more subnet groups.
    DBSubnetGroupNotFoundFault:
      type: object
      properties:
        message:
          type: string
    DeleteDBSubnetGroupMessage:
      type: object
      properties:
        DBSubnetGroupName:
          type: string
          description: 'The name of the database subnet group to delete. You can''t delete the default subnet group. Constraints:
            Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup'
      required:
      - DBSubnetGroupName
    DescribeDBSubnetGroupsMessage:
      type: object
      properties:
        DBSubnetGroupName:
          type: string
          description: The name of the subnet group to return details for.
        Filters:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
          description: This parameter is not currently supported.
        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 (marker) is included in the response so that the remaining results can be
            retrieved. Default: 100 Constraints: Minimum 20, maximum 100.'
        Marker:
          type: string
          description: An optional pagination token provided by a previous request. If this parameter is specified, the response
            includes only records beyond the marker, up to the value specified by MaxRecords.
    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
    InvalidDBSubnetGroupStateFault:
      type: object
      properties:
        message:
          type: string
    ModifyDBSubnetGroupMessage:
      type: object
      properties:
        DBSubnetGroupName:
          type: string
          description: 'The name for the subnet group. This value is stored as a lowercase string. You can''t modify the default
            subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup'
        DBSubnetGroupDescription:
          type: string
          description: The description for the subnet group.
        SubnetIds:
          type: array
          items:
            type: string
          description: The Amazon EC2 subnet IDs for the subnet group.
      required:
      - DBSubnetGroupName
      - SubnetIds
    ModifyDBSubnetGroupResult:
      type: object
      properties:
        DBSubnetGroup:
          $ref: '#/components/schemas/DBSubnetGroup'
    Subnet:
      type: object
      properties:
        SubnetIdentifier:
          type: string
          description: Specifies the identifier of the subnet.
        SubnetAvailabilityZone:
          $ref: '#/components/schemas/AvailabilityZone'
        SubnetStatus:
          type: string
          description: Specifies the status of the subnet.
    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)