startNetworkMigrationDeployment method

Future<StartNetworkMigrationDeployerJobResponse> startNetworkMigrationDeployment({
  1. required String networkMigrationDefinitionID,
  2. required String networkMigrationExecutionID,
})

Starts a deployment job to create the target network infrastructure based on the generated code templates.

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.

Implementation

Future<StartNetworkMigrationDeployerJobResponse>
    startNetworkMigrationDeployment({
  required String networkMigrationDefinitionID,
  required String networkMigrationExecutionID,
}) async {
  final $payload = <String, dynamic>{
    'networkMigrationDefinitionID': networkMigrationDefinitionID,
    'networkMigrationExecutionID': networkMigrationExecutionID,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/network-migration/StartNetworkMigrationDeployment',
    exceptionFnMap: _exceptionFns,
  );
  return StartNetworkMigrationDeployerJobResponse.fromJson(response);
}