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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/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)


2413
2414
2415
2416
2417
2418
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2413

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

#valueTypes::DocumentAttributeValue

The value of the attribute.



2413
2414
2415
2416
2417
2418
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2413

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