describeJobs method
Describes a list of AWS Batch jobs.
May throw ClientException. May throw ServerException.
Parameter jobs
:
A list of up to 100 job IDs.
Implementation
Future<DescribeJobsResponse> describeJobs({
required List<String> jobs,
}) async {
ArgumentError.checkNotNull(jobs, 'jobs');
final $payload = <String, dynamic>{
'jobs': jobs,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/v1/describejobs',
exceptionFnMap: _exceptionFns,
);
return DescribeJobsResponse.fromJson(response);
}