Context / Paginator / ListOntologyInductions
ListOntologyInductions¶
- class Context.Paginator.ListOntologyInductions¶
paginator = client.get_paginator('list_ontology_inductions')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Context.Client.list_ontology_inductions().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
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
{ 'items': [ { 'id': 'string', 'arn': 'string', 'ontologyName': 'string', 'ontologyDescription': 'string', 'ontologyId': 'string', 'ontologyArn': 'string', 'status': 'INDUCING'|'DRAFT'|'FAILED'|'CANCELLED', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
items (list) –
The ontology inductions in your account. Always present, and empty when there are none.
(dict) –
One induction in a ListOntologyInductions page. Never carries the induced document.
id (string) –
The ID of the induction, assigned by AWS Context.
arn (string) –
The Amazon Resource Name (ARN) of the ontology induction.
ontologyName (string) –
The name the induction’s ontology gets, as StartOntologyInduction took it (
ontologyName). Renaming the ontology in the AWS Context console does not change this value: GetOntology and ListOntologies return its current name.ontologyDescription (string) –
The description the induction’s ontology gets (
ontologyDescription). Absent when there is none.ontologyId (string) –
The ontology the induction created. Present exactly when the status is DRAFT: the ontology is created as DRAFT, in the same step that makes the induction DRAFT. Absent while INDUCING, and on a FAILED or CANCELLED induction, which never has an ontology.
ontologyArn (string) –
The ARN of
ontologyId. Present when it is.status (string) –
The status of the ontology induction:
INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED. An induction that CancelOntologyInduction stops isCANCELLED.DRAFT,FAILED, andCANCELLEDare final.createdAt (datetime) –
The date and time when the ontology induction was created.
updatedAt (datetime) –
The date and time when the ontology induction was last updated. Set when the induction is created, and updated on every change, such as a change of status.
NextToken (string) –
A token to resume pagination.