getTemplate method

Future<GetMigrationWorkflowTemplateResponse> getTemplate({
  1. required String id,
})

Get the template you want to use for creating a migration workflow.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter id : The ID of the template.

Implementation

Future<GetMigrationWorkflowTemplateResponse> getTemplate({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/migrationworkflowtemplate/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetMigrationWorkflowTemplateResponse.fromJson(response);
}