Class: Aws::BedrockAgentCoreControl::Types::DataSourceType

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

Overview

Note:

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

Source of examples to add to the dataset.

Defined Under Namespace

Classes: InlineExamples, S3Source, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inline_examples ⇒ Types::InlineExamplesSource

Inline examples provided directly in the request body.



5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5861

class DataSourceType < Struct.new(
  :inline_examples,
  :s3_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class InlineExamples < DataSourceType; end
  class S3Source < DataSourceType; end
  class Unknown < DataSourceType; end
end

#s3_source ⇒ Types::S3Source

Amazon S3 URI pointing to a JSONL file in the customer's bucket.

Returns:



5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5861

class DataSourceType < Struct.new(
  :inline_examples,
  :s3_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class InlineExamples < DataSourceType; end
  class S3Source < DataSourceType; end
  class Unknown < DataSourceType; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



5861
5862
5863
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5861

def unknown
  @unknown
end