Batch / Client / list_scheduling_policies
list_scheduling_policies#
- Batch.Client.list_scheduling_policies(**kwargs)#
- Returns a list of Batch scheduling policies. - See also: AWS API Documentation - Request Syntax- response = client.list_scheduling_policies( maxResults=123, nextToken='string' ) - Parameters:
- maxResults (integer) – The maximum number of results that’s returned by - ListSchedulingPoliciesin paginated output. When this parameter is used,- ListSchedulingPoliciesonly returns- maxResultsresults in a single page and a- nextTokenresponse element. You can see the remaining results of the initial request by sending another- ListSchedulingPoliciesrequest with the returned- nextTokenvalue. This value can be between 1 and 100. If this parameter isn’t used,- ListSchedulingPoliciesreturns up to 100 results and a- nextTokenvalue if applicable.
- nextToken (string) – - The - nextTokenvalue that’s returned from a previous paginated- ListSchedulingPoliciesrequest where- maxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the- nextTokenvalue. This value is- nullwhen there are no more results to return.- Note- Treat this token as an opaque identifier that’s only used to retrieve the next items in a list and not for other programmatic purposes. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'schedulingPolicies': [ { 'arn': 'string' }, ], 'nextToken': 'string' } - Response Structure- (dict) – - schedulingPolicies (list) – - A list of scheduling policies that match the request. - (dict) – - An object that contains the details of a scheduling policy that’s returned in a - ListSchedulingPolicyaction.- arn (string) – - Amazon Resource Name (ARN) of the scheduling policy. 
 
 
- nextToken (string) – - The - nextTokenvalue to include in a future- ListSchedulingPoliciesrequest. When the results of a- ListSchedulingPoliciesrequest exceed- maxResults, this value can be used to retrieve the next page of results. This value is- nullwhen there are no more results to return.
 
 
 - Exceptions- Batch.Client.exceptions.ClientException
- Batch.Client.exceptions.ServerException