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 a paginated list of data providers for your account in the current region.

Note:

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

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

Syntax

C#
public abstract DescribeDataProvidersResponse DescribeDataProviders(
         DescribeDataProvidersRequest request
)

Parameters

request
Type: Amazon.DatabaseMigrationService.Model.DescribeDataProvidersRequest

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

Return Value


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

Exceptions

ExceptionCondition
AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
FailedDependencyException A dependency threw an exception.
ResourceNotFoundException The resource could not be found.

Examples

Describe Data Providers


var client = new AmazonDatabaseMigrationServiceClient();
var response = client.DescribeDataProviders(new DescribeDataProvidersRequest 
{
    Filters = new List<Filter> {
        new Filter {
            Name = "data-provider-identifier",
            Values = new List<string> {
                "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
            }
        }
    },
    Marker = "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
    MaxRecords = 20
});

List<DataProvider> dataProviders = response.DataProviders;
string marker = response.Marker;

            

Version Information

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

See Also