describeJobTemplate method

Future<DescribeJobTemplateResponse> describeJobTemplate({
  1. required String jobTemplateId,
})

Returns information about a job template.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter jobTemplateId : The unique identifier of the job template.

Implementation

Future<DescribeJobTemplateResponse> describeJobTemplate({
  required String jobTemplateId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/job-templates/${Uri.encodeComponent(jobTemplateId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeJobTemplateResponse.fromJson(response);
}