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.

Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.

Note:

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

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

Syntax

C#
public abstract DescribeConnectionsResponse DescribeConnections(
         DescribeConnectionsRequest request
)

Parameters

request
Type: Amazon.DatabaseMigrationService.Model.DescribeConnectionsRequest

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

Return Value


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

Exceptions

ExceptionCondition
ResourceNotFoundException The resource could not be found.

Examples

Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.

Describe connections


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

List<Connection> connections = response.Connections;
string marker = response.Marker;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also