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

Class: Aws::Kendra::Types::DocumentAttributeValue

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

Overview

Note:

When passing DocumentAttributeValue as input to an Aws::Client method, you can use a vanilla Hash:

{
  string_value: "DocumentAttributeStringValue",
  string_list_value: ["String"],
  long_value: 1,
  date_value: Time.now,
}

The value of a custom document attribute. You can only provide one value for a custom attribute.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#date_valueTime

A date expressed as an ISO 8601 string.

Returns:

  • (Time)

    A date expressed as an ISO 8601 string.

#long_valueInteger

A long integer value.

Returns:

  • (Integer)

    A long integer value.

#string_list_valueArray<String>

A list of strings.

Returns:

  • (Array<String>)

    A list of strings.

#string_valueString

A string, such as \"department\".

Returns:

  • (String)

    A string, such as \"department\".