Class: Aws::Kendra::Types::DocumentAttribute
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::DocumentAttribute
- 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 document attribute or metadata field. To create custom document attributes, see Custom attributes.
Constant Summary collapse
- SENSITIVE =
[]
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.
5920 5921 5922 5923 5924 5925 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5920 class DocumentAttribute < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Types::DocumentAttributeValue
The value of the attribute.
5920 5921 5922 5923 5924 5925 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 5920 class DocumentAttribute < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |