start_network_migration_mapping
¶
start_network_migration_mapping(
network_migration_execution_id: NetworkMigrationExecutionID,
network_migration_definition_id: NetworkMigrationDefinitionID,
*,
config_overrides: Optional[mgnClientConfig] = None,
security_group_mapping_strategy: Optional[SecurityGroupMappingStrategy] = None,
) -> StartNetworkMigrationMappingResponse
Starts the network migration mapping process for a given network migration execution.
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.
-
security_group_mapping_strategy(Optional[SecurityGroupMappingStrategy], default:None) –The security group mapping strategy to use.
Raises:
-
AccessDeniedException–Operation denied due to a file permission or access check error.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
ResourceNotFoundException–Resource not found exception.
-
ServiceQuotaExceededException–The request could not be completed because it exceeded the service quota.
-
ThrottlingException–Reached throttling quota exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample StartNetworkMigrationMapping call
>>> client.start_network_migration_mapping(network_migration_execution_id='01234567-abcd-abcd-abcd-0123456789ab', network_migration_definition_id='nmd-01234567891234567')
Source code in docs_src/capo_mgn/_services/mgn.py
5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 | |