Class: Aws::Kendra::Types::DocumentAttribute

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

Note:

When making an API call, you may pass DocumentAttribute data as a hash:

{
  key: "DocumentAttributeKey", # required
  value: { # required
    string_value: "DocumentAttributeStringValue",
    string_list_value: ["String"],
    long_value: 1,
    date_value: Time.now,
  },
}

A custom attribute value assigned to a document.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The identifier for the attribute.

Returns:

  • (String)

3321
3322
3323
3324
3325
3326
# File 'lib/aws-sdk-kendra/types.rb', line 3321

class DocumentAttribute < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueTypes::DocumentAttributeValue

The value of the attribute.


3321
3322
3323
3324
3325
3326
# File 'lib/aws-sdk-kendra/types.rb', line 3321

class DocumentAttribute < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end