describe_data_providers
async
¶
describe_data_providers(
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DescribeDataProvidersResponse
Returns a paginated list of data providers for your account in the current region.
Required permissions: dms:ListDataProviders. For more information, see Actions, resources, and condition keys for Database Migration Service.
Parameters:
-
filters(Optional[FilterList], default:None) –The filters to apply to the data providers.
The following filter names are supported:
-
data-provider-identifier– The data provider name or ARN.
-
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, DMS includes a pagination token in the response so that you can retrieve the remaining results. -
marker(Optional[String], default:None) –Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.If
Markeris returned by a previous response, there are more results available. The value ofMarkeris a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
Raises:
-
AccessDeniedFault–DMS was denied access to the endpoint. Check that the role is correctly configured.
-
FailedDependencyFault–A dependency threw an exception.
-
ResourceNotFoundFault–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Describe data providers with a filter The following example retrieves the details of a data provider identified by its ARN.
>>> await client.describe_data_providers(filters=[{'Name': 'data-provider-identifier', 'Values': ['arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS']}])
Source code in docs_src/capo_database_migration_service/_services/async_database_migration_service.py
3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 | |