{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rds/json-schema/amazon-rds-dbsecurity-group-message-schema.json",
  "title": "DBSecurityGroupMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rds-db-security-group-api-openapi.yml#/components/schemas/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": "#/$defs/DBSecurityGroup"
      },
      "description": "A list of DBSecurityGroup instances."
    }
  },
  "$defs": {
    "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": "#/$defs/EC2SecurityGroup"
          },
          "description": "Contains a list of EC2SecurityGroup elements."
        },
        "IPRanges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IPRange"
          },
          "description": "Contains a list of IPRange elements."
        },
        "DBSecurityGroupArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the DB security group."
        }
      }
    },
    "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."
        }
      }
    },
    "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."
        }
      }
    }
  }
}