Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_endpoint

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