Comprehend / Client / delete_endpoint

delete_endpoint#

Comprehend.Client.delete_endpoint(**kwargs)#

Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.

See also: AWS API Documentation

Request Syntax

response = client.delete_endpoint(
    EndpointArn='string'
)
Parameters:

EndpointArn (string) –

[REQUIRED]

The Amazon Resource Number (ARN) of the endpoint being deleted.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Comprehend.Client.exceptions.InvalidRequestException

  • Comprehend.Client.exceptions.ResourceInUseException

  • Comprehend.Client.exceptions.ResourceNotFoundException

  • Comprehend.Client.exceptions.TooManyRequestsException

  • Comprehend.Client.exceptions.InternalServerException