Context / Client / cancel_ontology_induction

cancel_ontology_induction

Context.Client.cancel_ontology_induction(**kwargs)

Cancels an ontology induction that is still INDUCING. The induction’s status changes to CANCELLED, and no ontology is created.

See also: AWS API Documentation

Request Syntax

response = client.cancel_ontology_induction(
    ontologyInductionId='string'
)
Parameters:

ontologyInductionId (string) –

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the ontology induction to cancel.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'arn': 'string',
    'status': 'INDUCING'|'DRAFT'|'FAILED'|'CANCELLED'
}

Response Structure

  • (dict) –

    • id (string) –

      The ID of the induction, assigned by AWS Context.

    • arn (string) –

      The Amazon Resource Name (ARN) of the ontology induction.

    • status (string) –

      The status of the induction after the cancel request. Always CANCELLED.

Exceptions