describe_replication_tasks
async
¶
describe_replication_tasks(
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
without_settings: Optional[BooleanOptional] = None,
) -> DescribeReplicationTasksResponse
Returns information about replication tasks for your account in the current region.
Parameters:
-
filters(Optional[FilterList], default:None) –Filters applied to replication tasks.
Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-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, 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.
-
marker(Optional[String], default:None) –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. -
without_settings(Optional[BooleanOptional], default:None) –An option to set to avoid returning information about settings. Use this to reduce overhead when setting information is too large. To use this option, choose
true; otherwise, choosefalse(the default).
Raises:
-
ResourceNotFoundFault–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Describe replication tasks Returns information about replication tasks for your account in the current region.
>>> await client.describe_replication_tasks(filters=[{'Name': 'string', 'Values': ['string', 'string']}], max_records=123, marker='')
Source code in docs_src/capo_database_migration_service/_services/async_database_migration_service.py
6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 | |