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.
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
public abstract DescribeDataProvidersResponse DescribeDataProviders( DescribeDataProvidersRequest request )
Container for the necessary parameters to execute the DescribeDataProviders service method.
Exception | Condition |
---|---|
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. |
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;
.NET Framework:
Supported in: 4.5 and newer, 3.5