list_network_migration_mappings
async
¶
list_network_migration_mappings(
network_migration_execution_id: NetworkMigrationExecutionID,
network_migration_definition_id: NetworkMigrationDefinitionID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
filters: Optional[ListNetworkMigrationMappingsFilters] = None,
max_results: Optional[MaxResultsType] = None,
next_token: Optional[PaginationToken] = None,
) -> ListNetworkMigrationMappingsResponse
Lists network migration mapping jobs, which analyze and create relationships between source and target network resources.
Parameters:
-
network_migration_execution_id(NetworkMigrationExecutionID) –The unique identifier of the network migration execution.
-
network_migration_definition_id(NetworkMigrationDefinitionID) –The unique identifier of the network migration definition.
-
filters(Optional[ListNetworkMigrationMappingsFilters], default:None) –Filters to apply when listing mapping jobs.
-
max_results(Optional[MaxResultsType], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–Operation denied due to a file permission or access check error.
-
ResourceNotFoundException–Resource not found exception.
-
ThrottlingException–Reached throttling quota exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample ListNetworkMigrationMappings call
>>> await client.list_network_migration_mappings(network_migration_execution_id='01234567-abcd-abcd-abcd-0123456789ab', network_migration_definition_id='nmd-01234567891234567')
Source code in docs_src/capo_mgn/_services/async_mgn.py
4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 | |