list_network_migration_code_generations
async
¶
list_network_migration_code_generations(
network_migration_execution_id: NetworkMigrationExecutionID,
network_migration_definition_id: NetworkMigrationDefinitionID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
filters: Optional[ListNetworkMigrationCodeGenerationsFilters] = None,
max_results: Optional[MaxResultsType] = None,
next_token: Optional[PaginationToken] = None,
) -> ListNetworkMigrationCodeGenerationsResponse
Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.
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[ListNetworkMigrationCodeGenerationsFilters], default:None) –Filters to apply when listing code generation 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 ListNetworkMigrationCodeGenerations call
>>> await client.list_network_migration_code_generations(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
3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 | |