Class: Aws::Comprehend::Types::UpdateEndpointRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Note:

When making an API call, you may pass UpdateEndpointRequest data as a hash:

{
  endpoint_arn: "ComprehendEndpointArn", # required
  desired_model_arn: "ComprehendModelArn",
  desired_inference_units: 1,
  desired_data_access_role_arn: "IamRoleArn",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desired_data_access_role_arnString

Data access role ARN to use in case the new model is encrypted with a customer CMK.

Returns:

  • (String)


7879
7880
7881
7882
7883
7884
7885
7886
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 7879

class UpdateEndpointRequest < Struct.new(
  :endpoint_arn,
  :desired_model_arn,
  :desired_inference_units,
  :desired_data_access_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#desired_inference_unitsInteger

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.

Returns:

  • (Integer)


7879
7880
7881
7882
7883
7884
7885
7886
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 7879

class UpdateEndpointRequest < Struct.new(
  :endpoint_arn,
  :desired_model_arn,
  :desired_inference_units,
  :desired_data_access_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#desired_model_arnString

The ARN of the new model to use when updating an existing endpoint.

Returns:

  • (String)


7879
7880
7881
7882
7883
7884
7885
7886
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 7879

class UpdateEndpointRequest < Struct.new(
  :endpoint_arn,
  :desired_model_arn,
  :desired_inference_units,
  :desired_data_access_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_arnString

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

Returns:

  • (String)


7879
7880
7881
7882
7883
7884
7885
7886
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 7879

class UpdateEndpointRequest < Struct.new(
  :endpoint_arn,
  :desired_model_arn,
  :desired_inference_units,
  :desired_data_access_role_arn)
  SENSITIVE = []
  include Aws::Structure
end