CmdID

CmdID / aws / aws dms

aws dms describe-replication-subnet-groups

Returns information about the replication subnet groups. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To display the available subnet groups

The following describe-replication-subnet-groups example lists the available subnet groups.

aws dms describe-replication-subnet-groups --filters "Name=replication-subnet-group-id,Values=my-subnet-group"Identify
--filtersFilters applied to replication subnet groups.
Its output, shortened
{
    "ReplicationSubnetGroups": [
        {
            "ReplicationSubnetGroupIdentifier": "my-subnet-group",
            "ReplicationSubnetGroupDescription": "my subnet group",
            "VpcId": "vpc-136a4c6a",
            "SubnetGroupStatus": "Complete",
            "Subnets": [
                {
                    "SubnetIdentifier": "subnet-da327bf6",
                    "SubnetAvailabilityZone": {
                        "Name": "us-west-2a"
                    },
                    "SubnetStatus": "Active"
                },
                {
                    "SubnetIdentifier": "subnet-bac383e0",
                    "SubnetAvailabilityZone": {
                        "Name": "us-west-2c"
                    },
                    "SubnetStatus": "Active"
                },
                {
                    "SubnetIdentifier": "subnet-d7c825e8",
                    "SubnetAvailabilityZone": {
                        "Name": "us-west-2d"
                    },
                    "SubnetStatus": "Active"
                }
            ]
… 3 more lines

For more information, see Setting Up a Network for a Replication Instance in the AWS Database Migration Service User Guide.

Options

3 in the AWS CLI reference
--filtersFilters applied to replication subnet groups.
--markerAn optional pagination token provided by a previous request.
--max-recordsThe maximum number of records to include in the response.