Comprehend / Client / update_endpoint
update_endpointΒΆ
- Comprehend.Client.update_endpoint(**kwargs)ΒΆ
Updates information about the specified endpoint. For information about endpoints, see Managing endpoints.
See also: AWS API Documentation
Request Syntax
response = client.update_endpoint( EndpointArn='string', DesiredModelArn='string', DesiredInferenceUnits=123, DesiredDataAccessRoleArn='string', FlywheelArn='string' )
- Parameters:
EndpointArn (string) β
[REQUIRED]
The Amazon Resource Number (ARN) of the endpoint being updated.
DesiredModelArn (string) β The ARN of the new model to use when updating an existing endpoint.
DesiredInferenceUnits (integer) β 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.
DesiredDataAccessRoleArn (string) β Data access role ARN to use in case the new model is encrypted with a customer CMK.
FlywheelArn (string) β The Amazon Resource Number (ARN) of the flywheel
- Return type:
dict
- Returns:
Response Syntax
{ 'DesiredModelArn': 'string' }
Response Structure
(dict) β
DesiredModelArn (string) β
The Amazon Resource Number (ARN) of the new model.
Exceptions
Comprehend.Client.exceptions.InvalidRequestExceptionComprehend.Client.exceptions.TooManyRequestsExceptionComprehend.Client.exceptions.ResourceInUseExceptionComprehend.Client.exceptions.ResourceLimitExceededExceptionComprehend.Client.exceptions.ResourceNotFoundExceptionComprehend.Client.exceptions.ResourceUnavailableExceptionComprehend.Client.exceptions.InternalServerException