Class: Aws::BedrockAgentCore::Types::ContentBlock

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

Overview

A block of content in a response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The binary data content of the block.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the content block.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#mime_typeString

The MIME type of the content.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the content block.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#resourceTypes::ResourceContent

The resource associated with the content block.



367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#sizeInteger

The size of the content in bytes.

Returns:

  • (Integer)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The text content of the block.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of content in the block.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end

#uriString

The URI of the content.

Returns:

  • (String)


367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367

class ContentBlock < Struct.new(
  :type,
  :text,
  :data,
  :mime_type,
  :uri,
  :name,
  :description,
  :size,
  :resource)
  SENSITIVE = []
  include Aws::Structure
end