SageMaker / Paginator / ListAIWorkloadConfigs
ListAIWorkloadConfigs¶
- class SageMaker.Paginator.ListAIWorkloadConfigs¶
paginator = client.get_paginator('list_ai_workload_configs')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
SageMaker.Client.list_ai_workload_configs().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( NameContains='string', CreationTimeAfter=datetime(2015, 1, 1), CreationTimeBefore=datetime(2015, 1, 1), SortBy='Name'|'CreationTime', SortOrder='Ascending'|'Descending', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
NameContains (string) – A string in the configuration name. This filter returns only configurations whose name contains the specified string.
CreationTimeAfter (datetime) – A filter that returns only configurations created after the specified time.
CreationTimeBefore (datetime) – A filter that returns only configurations created before the specified time.
SortBy (string) – The field to sort results by. The default is
CreationTime.SortOrder (string) – The sort order for results. The default is
Descending.PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'AIWorkloadConfigs': [ { 'AIWorkloadConfigName': 'string', 'AIWorkloadConfigArn': 'string', 'CreationTime': datetime(2015, 1, 1) }, ], }
Response Structure
(dict) –
AIWorkloadConfigs (list) –
An array of
AIWorkloadConfigSummaryobjects, one for each AI workload configuration that matches the specified filters.(dict) –
Summary information about an AI workload configuration.
AIWorkloadConfigName (string) –
The name of the AI workload configuration.
AIWorkloadConfigArn (string) –
The Amazon Resource Name (ARN) of the AI workload configuration.
CreationTime (datetime) –
A timestamp that indicates when the configuration was created.