Comprehend.Client.
describe_endpoint
(**kwargs)¶Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.
See also: AWS API Documentation
Request Syntax
response = client.describe_endpoint(
EndpointArn='string'
)
[REQUIRED]
The Amazon Resource Number (ARN) of the endpoint being described.
{
'EndpointProperties': {
'EndpointArn': 'string',
'Status': 'CREATING'|'DELETING'|'FAILED'|'IN_SERVICE'|'UPDATING',
'Message': 'string',
'ModelArn': 'string',
'DesiredModelArn': 'string',
'DesiredInferenceUnits': 123,
'CurrentInferenceUnits': 123,
'CreationTime': datetime(2015, 1, 1),
'LastModifiedTime': datetime(2015, 1, 1),
'DataAccessRoleArn': 'string',
'DesiredDataAccessRoleArn': 'string',
'FlywheelArn': 'string'
}
}
Response Structure
Describes information associated with the specific endpoint.
The Amazon Resource Number (ARN) of the endpoint.
Specifies the status of the endpoint. Because the endpoint updates and creation are asynchronous, so customers will need to wait for the endpoint to be Ready
status before making inference requests.
Specifies a reason for failure in cases of Failed
status.
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
The number of inference units currently used by the model using this endpoint.
The creation date and time of the endpoint.
The date and time that the endpoint was last modified.
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
The Amazon Resource Number (ARN) of the flywheel
Exceptions
Comprehend.Client.exceptions.InvalidRequestException
Comprehend.Client.exceptions.TooManyRequestsException
Comprehend.Client.exceptions.ResourceNotFoundException
Comprehend.Client.exceptions.InternalServerException