ElementalInference / Paginator / ListQuestionSetVersions
ListQuestionSetVersions¶
- class ElementalInference.Paginator.ListQuestionSetVersions¶
paginator = client.get_paginator('list_question_set_versions')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ElementalInference.Client.list_question_set_versions().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( id='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
id (string) –
[REQUIRED]
The ID of the question set whose versions you want to list.
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
{ 'versions': [ { 'version': 'string', 'description': 'string', 'sha256': 'string', 'lastModifiedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
versions (list) –
A list of QuestionSetVersionSummary objects.
(dict) –
Contains summary information about one version of a question set. Used in the ListQuestionSetVersions response.
version (string) –
The version: DRAFT or the number of a published version.
description (string) –
The description that you specified when you published this version. Elemental Inference doesn’t return this property for DRAFT, or for a version that you published without a description.
sha256 (string) –
The SHA-256 hash of this version, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions at this version.
lastModifiedAt (datetime) –
For DRAFT, the time when you created the question set or last updated DRAFT. For a published version, the time when you published it.
NextToken (string) –
A token to resume pagination.