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.

Container for the parameters to the DescribeConnections operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DatabaseMigrationService.AmazonDatabaseMigrationServiceRequest
      Amazon.DatabaseMigrationService.Model.DescribeConnectionsRequest

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

Syntax

C#
public class DescribeConnectionsRequest : AmazonDatabaseMigrationServiceRequest
         IAmazonWebServiceRequest

The DescribeConnectionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Filters System.Collections.Generic.List<Amazon.DatabaseMigrationService.Model.Filter>

Gets and sets the property Filters.

The filters applied to the connection.

Valid filter names: endpoint-arn | replication-instance-arn

Public Property Marker System.String

Gets and sets the property Marker.

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.

Public Property MaxRecords System.Int32

Gets and sets the property MaxRecords.

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 the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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