Class: Aws::ElementalInference::Types::FunctionTarget
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElementalInference::Types::FunctionTarget
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb
Overview
FunctionTarget is a union - when making an API calls you must set exactly one of the members.
FunctionTarget is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FunctionTarget corresponding to the set member.
The destination for the request that a function builds. Specify exactly one member.
Defined Under Namespace
Classes: Bedrock, Passthrough, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bedrock ⇒ Types::BedrockFunctionTarget
Send the request to an Amazon Bedrock model.
-
#passthrough ⇒ Types::PassthroughFunctionTarget
Send the request nowhere.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#bedrock ⇒ Types::BedrockFunctionTarget
Send the request to an Amazon Bedrock model.
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1772 class FunctionTarget < Struct.new( :bedrock, :passthrough, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Bedrock < FunctionTarget; end class Passthrough < FunctionTarget; end class Unknown < FunctionTarget; end end |
#passthrough ⇒ Types::PassthroughFunctionTarget
Send the request nowhere. Use this target to reshape the metadata that Elemental Inference already produces, with no model invocation and no model charges.
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1772 class FunctionTarget < Struct.new( :bedrock, :passthrough, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Bedrock < FunctionTarget; end class Passthrough < FunctionTarget; end class Unknown < FunctionTarget; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1772 1773 1774 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1772 def unknown @unknown end |