Amazon RDS Rds Db Security Group API

The Rds Db Security Group API from Amazon RDS — 3 operation(s) for rds db security group.

Operations 3

POST /?Action=CreateDBSecurityGroup Create DBSecurity Group #
POST /?Action=DeleteDBSecurityGroup Delete DBSecurity Group #
POST /?Action=DescribeDBSecurityGroups Describe DBSecurity Groups #

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-rds:amazon-rds-db-security-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-rds-db-security-group-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Relational Database Service Db Security Group API
  version: '2014-10-31'
  description: Generated from AWS's published Smithy model for Amazon Relational Database 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://rds.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Db Security Group
paths:
  /?Action=CreateDBSecurityGroup:
    post:
      operationId: CreateDBSecurityGroup
      summary: Create DBSecurity Group
      description: Creates a new DB security group. DB security groups control access to a DB instance. A DB security group controls access to EC2-Classic DB instances that are not in a VPC. EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateDBSecurityGroupResult'
              example:
                DBSecurityGroup: {}
        '400':
          description: DBSecurityGroupAlreadyExistsFault; DBSecurityGroupNotSupportedFault; DBSecurityGroupQuotaExceededFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSecurityGroupAlreadyExistsFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateDBSecurityGroup
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/CreateDBSecurityGroupMessage'
            example:
              DBSecurityGroupName: mydbsecuritygroup
              DBSecurityGroupDescription: My DB security group
      tags:
      - Db Security Group
  /?Action=DeleteDBSecurityGroup:
    post:
      operationId: DeleteDBSecurityGroup
      summary: Delete DBSecurity Group
      description: Deletes a DB security group. The specified DB security group must not be associated with any DB instances. EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '404':
          description: DBSecurityGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSecurityGroupNotFoundFault'
        '400':
          description: InvalidDBSecurityGroupStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidDBSecurityGroupStateFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteDBSecurityGroup
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/DeleteDBSecurityGroupMessage'
            example:
              DBSecurityGroupName: mysecgroup
      tags:
      - Db Security Group
  /?Action=DescribeDBSecurityGroups:
    post:
      operationId: DescribeDBSecurityGroups
      summary: Describe DBSecurity Groups
      description: Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DB security group. EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSecurityGroupMessage'
              example: {}
        '404':
          description: DBSecurityGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DBSecurityGroupNotFoundFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeDBSecurityGroups
                  Version:
                    type: string
                    const: '2014-10-31'
              - $ref: '#/components/schemas/DescribeDBSecurityGroupsMessage'
            example:
              DBSecurityGroupName: mydbsecuritygroup
      tags:
      - Db Security Group
components:
  schemas:
    DBSecurityGroupNotFoundFault:
      type: object
      properties:
        message:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: 'A key is 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 only contain only the set of Unicode letters, digits, white-space, ''_'', ''.'', '':'', ''/'', ''='', ''+'', ''-'', ''@'' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").'
        Value:
          type: string
          description: 'A value is 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 only contain only the set of Unicode letters, digits, white-space, ''_'', ''.'', '':'', ''/'', ''='', ''+'', ''-'', ''@'' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").'
    EC2SecurityGroup:
      type: object
      properties:
        Status:
          type: string
          description: Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
        EC2SecurityGroupName:
          type: string
          description: Specifies the name of the EC2 security group.
        EC2SecurityGroupId:
          type: string
          description: Specifies the id of the EC2 security group.
        EC2SecurityGroupOwnerId:
          type: string
          description: Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
    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
    CreateDBSecurityGroupResult:
      type: object
      properties:
        DBSecurityGroup:
          $ref: '#/components/schemas/DBSecurityGroup'
    DBSecurityGroupAlreadyExistsFault:
      type: object
      properties:
        message:
          type: string
    InvalidDBSecurityGroupStateFault:
      type: object
      properties:
        message:
          type: string
    IPRange:
      type: object
      properties:
        Status:
          type: string
          description: The status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
        CIDRIP:
          type: string
          description: The IP range.
    DBSecurityGroupMessage:
      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.
        DBSecurityGroups:
          type: array
          items:
            $ref: '#/components/schemas/DBSecurityGroup'
          description: A list of DBSecurityGroup instances.
    CreateDBSecurityGroupMessage:
      type: object
      properties:
        DBSecurityGroupName:
          type: string
          description: 'The name for the DB security group. This value is stored as a lowercase string. Constraints: Must be 1 to 255 letters, numbers, or hyphens. First character must be a letter Can''t end with a hyphen or contain two consecutive hyphens Must not be "Default" Example: mysecuritygroup'
        DBSecurityGroupDescription:
          type: string
          description: The description for the DB security group.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: Tags to assign to the DB security group.
      required:
      - DBSecurityGroupName
      - DBSecurityGroupDescription
    DBSecurityGroup:
      type: object
      properties:
        OwnerId:
          type: string
          description: Provides the Amazon Web Services ID of the owner of a specific DB security group.
        DBSecurityGroupName:
          type: string
          description: Specifies the name of the DB security group.
        DBSecurityGroupDescription:
          type: string
          description: Provides the description of the DB security group.
        VpcId:
          type: string
          description: Provides the VpcId of the DB security group.
        EC2SecurityGroups:
          type: array
          items:
            $ref: '#/components/schemas/EC2SecurityGroup'
          description: Contains a list of EC2SecurityGroup elements.
        IPRanges:
          type: array
          items:
            $ref: '#/components/schemas/IPRange'
          description: Contains a list of IPRange elements.
        DBSecurityGroupArn:
          type: string
          description: The Amazon Resource Name (ARN) for the DB security group.
    DescribeDBSecurityGroupsMessage:
      type: object
      properties:
        DBSecurityGroupName:
          type: string
          description: The name of the DB security group to return details for.
        Filters:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
          description: This parameter isn't 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 called a marker is included in the response so that you can retrieve the remaining results. Default: 100 Constraints: Minimum 20, maximum 100.'
        Marker:
          type: string
          description: An optional pagination token provided by a previous DescribeDBSecurityGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
    DeleteDBSecurityGroupMessage:
      type: object
      properties:
        DBSecurityGroupName:
          type: string
          description: 'The name of the DB security group to delete. You can''t delete the default DB security group. Constraints: Must be 1 to 255 letters, numbers, or hyphens. First character must be a letter Can''t end with a hyphen or contain two consecutive hyphens Must not be "Default"'
      required:
      - DBSecurityGroupName
  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
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/rds/service/2014-10-31/rds-2014-10-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)