list_network_migration_definitions
async
¶
list_network_migration_definitions(
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
filters: Optional[ListNetworkMigrationDefinitionsRequestFilters] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResultsType] = None,
) -> ListNetworkMigrationDefinitionsResponse
Lists all network migration definitions in the account, with optional filtering.
Parameters:
-
filters(Optional[ListNetworkMigrationDefinitionsRequestFilters], default:None) –Filters to apply when listing network migration definitions.
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample ListNetworkMigrationDefinitions call
>>> await client.list_network_migration_definitions(filters={'networkMigrationDefinitionIDs': ['nmd-01234567891234567']})
Source code in docs_src/capo_mgn/_services/async_mgn.py
3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 | |