AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns information about the replication subnet groups.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeReplicationSubnetGroupsAsync.

Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeReplicationSubnetGroupsResponse DescribeReplicationSubnetGroups(
         DescribeReplicationSubnetGroupsRequest request
)

Parameters

request
Type: Amazon.DatabaseMigrationService.Model.DescribeReplicationSubnetGroupsRequest

Container for the necessary parameters to execute the DescribeReplicationSubnetGroups service method.

Return Value


The response from the DescribeReplicationSubnetGroups service method, as returned by DatabaseMigrationService.

Exceptions

ExceptionCondition
ResourceNotFoundException The resource could not be found.

Examples

Returns information about the replication subnet groups.

Describe replication subnet groups


var client = new AmazonDatabaseMigrationServiceClient();
var response = client.DescribeReplicationSubnetGroups(new DescribeReplicationSubnetGroupsRequest 
{
    Filters = new List<Filter> {
        new Filter {
            Name = "string",
            Values = new List<string> {
                "string",
                "string"
            }
        }
    },
    Marker = "",
    MaxRecords = 123
});

string marker = response.Marker;
List<ReplicationSubnetGroup> replicationSubnetGroups = response.ReplicationSubnetGroups;

            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also