You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DocumentAttribute as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The identifier for the attribute.

Returns:

  • (String)

    The identifier for the attribute.

#valueTypes::DocumentAttributeValue

The value of the attribute.

Returns: