Context / Client / list_ontology_inductions
list_ontology_inductions¶
- Context.Client.list_ontology_inductions(**kwargs)¶
Lists the ontology inductions in your account.
See also: AWS API Documentation
Request Syntax
response = client.list_ontology_inductions( maxResults=123, nextToken='string' )
- Parameters:
maxResults (integer) – The maximum number of inductions to return in one page, from 1 to 100. Defaults to 50.
nextToken (string) – Opaque continuation token from a prior response’s nextToken. Omit on the first page.
- 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) –
The token for the next page of results. Absent on the last page.
Exceptions