listIdMappingJobs method
Lists all ID mapping jobs for a given workflow.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter workflowName :
The name of the workflow to be retrieved.
Parameter maxResults :
The maximum number of objects returned per page.
Parameter nextToken :
The pagination token from the previous API call.
Implementation
Future<ListIdMappingJobsOutput> listIdMappingJobs({
required String workflowName,
int? maxResults,
String? nextToken,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/idmappingworkflows/${Uri.encodeComponent(workflowName)}/jobs',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListIdMappingJobsOutput.fromJson(response);
}