Class: Aws::BedrockAgentCore::Types::IngestPayloadType
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::IngestPayloadType
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Note:
IngestPayloadType is a union - when making an API calls you must set exactly one of the members.
A single content payload item to ingest. A payload item contains either conversational or JSON content.
Defined Under Namespace
Classes: Conversational, Json, Unknown
Constant Summary collapse
- SENSITIVE =
[:json]
Instance Attribute Summary collapse
-
#conversational ⇒ Types::Conversational
The conversational content for this payload item.
-
#json ⇒ Types::MemoryJsonData
The JSON content for this payload item.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#conversational ⇒ Types::Conversational
The conversational content for this payload item.
5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5671 class IngestPayloadType < Struct.new( :conversational, :json, :unknown) SENSITIVE = [:json] include Aws::Structure include Aws::Structure::Union class Conversational < IngestPayloadType; end class Json < IngestPayloadType; end class Unknown < IngestPayloadType; end end |
#json ⇒ Types::MemoryJsonData
The JSON content for this payload item.
5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5671 class IngestPayloadType < Struct.new( :conversational, :json, :unknown) SENSITIVE = [:json] include Aws::Structure include Aws::Structure::Union class Conversational < IngestPayloadType; end class Json < IngestPayloadType; end class Unknown < IngestPayloadType; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
5671 5672 5673 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5671 def unknown @unknown end |