Class: Aws::BedrockAgentCore::Types::PayloadType
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::PayloadType
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Note:
PayloadType is a union - when making an API calls you must set exactly one of the members.
Note:
PayloadType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PayloadType corresponding to the set member.
Contains the payload content for an event.
Direct Known Subclasses
Defined Under Namespace
Classes: Blob, Conversational, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#blob ⇒ Hash, ...
The binary content of the payload.
-
#conversational ⇒ Types::Conversational
The conversational content of the payload.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#blob ⇒ Hash, ...
The binary content of the payload.
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1705 class PayloadType < Struct.new( :conversational, :blob, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Conversational < PayloadType; end class Blob < PayloadType; end class Unknown < PayloadType; end end |
#conversational ⇒ Types::Conversational
The conversational content of the payload.
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1705 class PayloadType < Struct.new( :conversational, :blob, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Conversational < PayloadType; end class Blob < PayloadType; end class Unknown < PayloadType; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1705 1706 1707 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1705 def unknown @unknown end |