Class: Aws::BedrockAgentCoreControl::Types::FallbackTarget

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

Overview

Specifies a target to send the request to when the previous target in the fallback chain fails. Includes the target name, the model to send, and the conditions that trigger a fallback from this target to the next one.

Constant Summary collapse

SENSITIVE =
[:target_name]

Instance Attribute Summary collapse

Instance Attribute Details

#first_byte_timeout_milliseconds ⇒ Integer

The maximum time, in milliseconds, from sending the request to this target until the first byte of the response body arrives. This setting isn't inherited from the route. If you don't specify a value, no timeout is enforced.

Returns:

  • (Integer)


8297
8298
8299
8300
8301
8302
8303
8304
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8297

class FallbackTarget < Struct.new(
  :target_name,
  :model,
  :trigger_on,
  :first_byte_timeout_milliseconds)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#model ⇒ String

The model ID to send to this fallback target. If you don't specify a model, the gateway sends the model from the original request.

Returns:

  • (String)


8297
8298
8299
8300
8301
8302
8303
8304
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8297

class FallbackTarget < Struct.new(
  :target_name,
  :model,
  :trigger_on,
  :first_byte_timeout_milliseconds)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#target_name ⇒ String

The name of the gateway target to fall back to. The target must be an inference target.

Returns:

  • (String)


8297
8298
8299
8300
8301
8302
8303
8304
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8297

class FallbackTarget < Struct.new(
  :target_name,
  :model,
  :trigger_on,
  :first_byte_timeout_milliseconds)
  SENSITIVE = [:target_name]
  include Aws::Structure
end

#trigger_on ⇒ Types::FallbackTriggers

The status codes and errors from this target that cause the gateway to send the request to the next fallback target. This setting isn't inherited from the route. If you omit it, the gateway uses the default triggers: 5XX status codes and the CONNECTION_ERROR, FIRST_BYTE_TIMEOUT, and UNROUTABLE errors.



8297
8298
8299
8300
8301
8302
8303
8304
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8297

class FallbackTarget < Struct.new(
  :target_name,
  :model,
  :trigger_on,
  :first_byte_timeout_milliseconds)
  SENSITIVE = [:target_name]
  include Aws::Structure
end