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.
1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1759 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.
1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1759 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
1759 1760 1761 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1759 def unknown @unknown end |