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.InvalidRequestException
  • Comprehend.Client.exceptions.TooManyRequestsException
  • Comprehend.Client.exceptions.ResourceInUseException
  • Comprehend.Client.exceptions.ResourceLimitExceededException
  • Comprehend.Client.exceptions.ResourceNotFoundException
  • Comprehend.Client.exceptions.ResourceUnavailableException
  • Comprehend.Client.exceptions.InternalServerException