Class: Aws::ElementalInference::Types::FunctionTarget

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

Overview

Note:

FunctionTarget is a union - when making an API calls you must set exactly one of the members.

Note:

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

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.

Returns:

  • (Types::PassthroughFunctionTarget)


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

Returns:

  • (Object) —

    the current value of unknown



1759
1760
1761
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1759

def unknown
  @unknown
end