startNetworkMigrationMappingUpdate method
Starts a job to apply customer modifications to network migration mappings, such as changing properties.
May throw AccessDeniedException.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter networkMigrationDefinitionID :
The unique identifier of the network migration definition.
Parameter networkMigrationExecutionID :
The unique identifier of the network migration execution.
Parameter constructs :
A list of construct updates to apply.
Parameter segments :
A list of segment updates to apply.
Implementation
Future<StartNetworkMigrationMappingUpdateResponse>
startNetworkMigrationMappingUpdate({
required String networkMigrationDefinitionID,
required String networkMigrationExecutionID,
List<StartNetworkMigrationMappingUpdateConstruct>? constructs,
List<StartNetworkMigrationMappingUpdateSegment>? segments,
}) async {
final $payload = <String, dynamic>{
'networkMigrationDefinitionID': networkMigrationDefinitionID,
'networkMigrationExecutionID': networkMigrationExecutionID,
if (constructs != null) 'constructs': constructs,
if (segments != null) 'segments': segments,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/network-migration/StartNetworkMigrationMappingUpdate',
exceptionFnMap: _exceptionFns,
);
return StartNetworkMigrationMappingUpdateResponse.fromJson(response);
}