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
- Struct
- Aws::Kendra::Types::DocumentAttribute
- 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
-
#key ⇒ String
The identifier for the attribute.
-
#value ⇒ Types::DocumentAttributeValue
The value of the attribute.
Instance Attribute Details
#key ⇒ String
The identifier for the attribute.
#value ⇒ Types::DocumentAttributeValue
The value of the attribute.