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 endpoints for your account in the current region.

Note:

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

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

Syntax

C#
public abstract DescribeEndpointsResponse DescribeEndpoints(
         DescribeEndpointsRequest request
)

Parameters

request
Type: Amazon.DatabaseMigrationService.Model.DescribeEndpointsRequest

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

Return Value


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

Exceptions

ExceptionCondition
ResourceNotFoundException The resource could not be found.

Examples

Returns information about the endpoints for your account in the current region.

Describe endpoints


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

List<Endpoint> endpoints = response.Endpoints;
string marker = response.Marker;

            

Version Information

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

See Also