Amazon Redshift Redshift Cluster Subnet Group API

The Redshift Cluster Subnet Group API from Amazon Redshift — 4 operation(s) for redshift cluster subnet group.

GitHub OpenAPI

Operations 4

POST /?Action=CreateClusterSubnetGroup Create Cluster Subnet Group #
POST /?Action=DeleteClusterSubnetGroup Delete Cluster Subnet Group #
POST /?Action=DescribeClusterSubnetGroups Describe Cluster Subnet Groups #
POST /?Action=ModifyClusterSubnetGroup Modify Cluster Subnet 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-redshift:amazon-redshift-cluster-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-redshift-cluster-subnet-group-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Redshift Cluster Subnet Group API
  version: '2012-12-01'
  description: Generated from AWS's published Smithy model for Amazon Redshift. 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://redshift.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=CreateClusterSubnetGroup:
    post:
      operationId: CreateClusterSubnetGroup
      summary: Create Cluster Subnet Group
      description: Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing
        Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group. For information about subnet
        groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateClusterSubnetGroupResult'
        '400':
          description: ClusterSubnetGroupAlreadyExistsFault; ClusterSubnetGroupQuotaExceededFault; ClusterSubnetQuotaExceededFault;
            DependentServiceRequestThrottlingFault; InvalidSubnet; InvalidTagFault; TagLimitExceededFault; UnauthorizedOperation
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSubnetGroupAlreadyExistsFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateClusterSubnetGroup
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/CreateClusterSubnetGroupMessage'
      tags:
      - Cluster Subnet Group
  /?Action=DeleteClusterSubnetGroup:
    post:
      operationId: DeleteClusterSubnetGroup
      summary: Delete Cluster Subnet Group
      description: Deletes the specified cluster subnet group.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '400':
          description: ClusterSubnetGroupNotFoundFault; InvalidClusterSubnetGroupStateFault; InvalidClusterSubnetStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSubnetGroupNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteClusterSubnetGroup
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/DeleteClusterSubnetGroupMessage'
      tags:
      - Cluster Subnet Group
  /?Action=DescribeClusterSubnetGroups:
    post:
      operationId: DescribeClusterSubnetGroups
      summary: Describe Cluster Subnet Groups
      description: Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups.
        By default, this operation returns information about all cluster subnet groups that are defined in your Amazon Web
        Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet
        groups that match any combination of the specified keys and values. For example, if you have owner and environment
        for tag keys, and admin and test for tag values, all subnet groups that have any combination of those values are returned.
        If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have
        tag keys or values associated with them.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSubnetGroupMessage'
        '400':
          description: ClusterSubnetGroupNotFoundFault; InvalidTagFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSubnetGroupNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeClusterSubnetGroups
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/DescribeClusterSubnetGroupsMessage'
      tags:
      - Cluster Subnet Group
  /?Action=ModifyClusterSubnetGroup:
    post:
      operationId: ModifyClusterSubnetGroup
      summary: Modify Cluster Subnet Group
      description: 'Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the
        existing list of subnets with the new list of subnets. VPC Block Public Access (BPA) enables you to block resources
        in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways
        and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned
        on, the following capabilities are blocked: Creating a public cluster Restoring a public cluster Modifying a private
        cluster to be public Adding a subnet with VPC BPA turned on to the subnet group when there''s at least one public
        cluster within the group For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon
        VPC User Guide.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ModifyClusterSubnetGroupResult'
        '400':
          description: ClusterSubnetGroupNotFoundFault; ClusterSubnetQuotaExceededFault; DependentServiceRequestThrottlingFault;
            InvalidSubnet; SubnetAlreadyInUse; UnauthorizedOperation
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSubnetGroupNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ModifyClusterSubnetGroup
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/ModifyClusterSubnetGroupMessage'
      tags:
      - Cluster 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: redshift
  schemas:
    AvailabilityZone:
      type: object
      properties:
        Name:
          type: string
          description: The name of the availability zone.
        SupportedPlatforms:
          type: array
          items:
            $ref: '#/components/schemas/SupportedPlatform'
    ClusterSubnetGroup:
      type: object
      properties:
        ClusterSubnetGroupName:
          type: string
          description: The name of the cluster subnet group.
        Description:
          type: string
          description: The description of the cluster subnet group.
        VpcId:
          type: string
          description: The VPC ID of the cluster subnet group.
        SubnetGroupStatus:
          type: string
          description: The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.
        Subnets:
          type: array
          items:
            $ref: '#/components/schemas/Subnet'
          description: A list of the VPC Subnet elements.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The list of tags for the cluster subnet group.
        SupportedClusterIpAddressTypes:
          type: array
          items:
            type: string
          description: The IP address types supported by this cluster subnet group. Possible values are ipv4 and dualstack.
    ClusterSubnetGroupAlreadyExistsFault:
      type: object
      properties:
        message:
          type: string
    ClusterSubnetGroupMessage:
      type: object
      properties:
        Marker:
          type: string
          description: A value that indicates the starting point for the next set of response records in a subsequent request.
            If a value is returned in a response, you can retrieve the next set of records by providing this returned marker
            value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have
            been retrieved for the request.
        ClusterSubnetGroups:
          type: array
          items:
            $ref: '#/components/schemas/ClusterSubnetGroup'
          description: A list of ClusterSubnetGroup instances.
    ClusterSubnetGroupNotFoundFault:
      type: object
      properties:
        message:
          type: string
    CreateClusterSubnetGroupMessage:
      type: object
      properties:
        ClusterSubnetGroupName:
          type: string
          description: 'The name for the subnet group. Amazon Redshift stores the value as a lowercase string. Constraints:
            Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Must be unique for all
            subnet groups that are created by your Amazon Web Services account. Example: examplesubnetgroup'
        Description:
          type: string
          description: A description for the subnet group.
        SubnetIds:
          type: array
          items:
            type: string
          description: An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tag instances.
      required:
      - ClusterSubnetGroupName
      - Description
      - SubnetIds
    CreateClusterSubnetGroupResult:
      type: object
      properties:
        ClusterSubnetGroup:
          $ref: '#/components/schemas/ClusterSubnetGroup'
    DeleteClusterSubnetGroupMessage:
      type: object
      properties:
        ClusterSubnetGroupName:
          type: string
          description: The name of the cluster subnet group name to be deleted.
      required:
      - ClusterSubnetGroupName
    DescribeClusterSubnetGroupsMessage:
      type: object
      properties:
        ClusterSubnetGroupName:
          type: string
          description: The name of the cluster subnet group for which information is requested.
        MaxRecords:
          type: integer
          description: 'The maximum number of response records to return in each call. If the number of remaining response
            records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can
            retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints:
            minimum 20, maximum 100.'
        Marker:
          type: string
          description: An optional parameter that specifies the starting point to return a set of response records. When the
            results of a DescribeClusterSubnetGroups request exceed the value specified in MaxRecords, Amazon Web Services
            returns a value in the Marker field of the response. You can retrieve the next set of response records by providing
            the returned marker value in the Marker parameter and retrying the request.
        TagKeys:
          type: array
          items:
            type: string
          description: A tag key or keys for which you want to return all matching cluster subnet groups that are associated
            with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called
            owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response
            with the subnet groups that have either or both of these tag keys associated with them.
        TagValues:
          type: array
          items:
            type: string
          description: A tag value or values for which you want to return all matching cluster subnet groups that are associated
            with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with
            values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns
            a response with the subnet groups that have either or both of these tag values associated with them.
    ModifyClusterSubnetGroupMessage:
      type: object
      properties:
        ClusterSubnetGroupName:
          type: string
          description: The name of the subnet group to be modified.
        Description:
          type: string
          description: A text description of the subnet group to be modified.
        SubnetIds:
          type: array
          items:
            type: string
          description: An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
      required:
      - ClusterSubnetGroupName
      - SubnetIds
    ModifyClusterSubnetGroupResult:
      type: object
      properties:
        ClusterSubnetGroup:
          $ref: '#/components/schemas/ClusterSubnetGroup'
    Subnet:
      type: object
      properties:
        SubnetIdentifier:
          type: string
          description: The identifier of the subnet.
        SubnetAvailabilityZone:
          $ref: '#/components/schemas/AvailabilityZone'
        SubnetStatus:
          type: string
          description: The status of the subnet.
    SupportedPlatform:
      type: object
      properties:
        Name:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key, or name, for the resource tag.
        Value:
          type: string
          description: The value for the resource tag.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/redshift/service/2012-12-01/redshift-2012-12-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)