list_network_migration_executions
async
¶
list_network_migration_executions(
network_migration_definition_id: NetworkMigrationDefinitionID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
filters: Optional[ListNetworkMigrationExecutionRequestFilters] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResultsType] = None,
) -> ListNetworkMigrationExecutionsResponse
Lists network migration execution instances for a given definition, showing the status and progress of each execution.
Parameters:
-
network_migration_definition_id(NetworkMigrationDefinitionID) –The unique identifier of the network migration definition to list executions for.
-
filters(Optional[ListNetworkMigrationExecutionRequestFilters], default:None) –Filters to apply when listing executions, such as status or execution ID.
-
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
-
max_results(Optional[MaxResultsType], default:None) –The maximum number of results to return in a single call.
Raises:
-
AccessDeniedException–Operation denied due to a file permission or access check error.
-
ResourceNotFoundException–Resource not found exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample ListNetworkMigrationExecutions call
>>> await client.list_network_migration_executions(network_migration_definition_id='nmd-01234567891234567')
Source code in docs_src/capo_mgn/_services/async_mgn.py
4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 | |