DeadlineCloud / Client / list_step_consumers
list_step_consumers#
- DeadlineCloud.Client.list_step_consumers(**kwargs)#
Lists step consumers.
See also: AWS API Documentation
Request Syntax
response = client.list_step_consumers( farmId='string', queueId='string', jobId='string', stepId='string', nextToken='string', maxResults=123 )
- Parameters:
farmId (string) –
[REQUIRED]
The farm ID for the list of step consumers.
queueId (string) –
[REQUIRED]
The queue ID for the step consumer.
jobId (string) –
[REQUIRED]
The job ID for the step consumer.
stepId (string) –
[REQUIRED]
The step ID to include on the list.
nextToken (string) – The token for the next set of results, or
nullto start from the beginning.maxResults (integer) – The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages.
- Return type:
dict
- Returns:
Response Syntax
{ 'consumers': [ { 'stepId': 'string', 'status': 'RESOLVED'|'UNRESOLVED' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
consumers (list) –
The consumers on the list.
(dict) –
The details of a step consumer.
stepId (string) –
The step ID.
status (string) –
The step consumer status.
nextToken (string) –
If Deadline Cloud returns
nextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn’t valid, then you receive an HTTP 400ValidationExceptionerror.
Exceptions
DeadlineCloud.Client.exceptions.AccessDeniedExceptionDeadlineCloud.Client.exceptions.InternalServerErrorExceptionDeadlineCloud.Client.exceptions.ResourceNotFoundExceptionDeadlineCloud.Client.exceptions.ThrottlingExceptionDeadlineCloud.Client.exceptions.ValidationException