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
3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 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 | |