list_network_migration_definitions
¶
list_network_migration_definitions(
*,
config_overrides: Optional[mgnClientConfig] = 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
>>> client.list_network_migration_definitions(filters={'networkMigrationDefinitionIDs': ['nmd-01234567891234567']})
Source code in docs_src/capo_mgn/_services/mgn.py
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 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 | |