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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#date_valueTime

A date expressed as an ISO 8601 string.

It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

Returns:

  • (Time)


4582
4583
4584
4585
4586
4587
4588
4589
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4582

class DocumentAttributeValue < Struct.new(
  :string_value,
  :string_list_value,
  :long_value,
  :date_value)
  SENSITIVE = []
  include Aws::Structure
end

#long_valueInteger

A long integer value.

Returns:

  • (Integer)


4582
4583
4584
4585
4586
4587
4588
4589
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4582

class DocumentAttributeValue < Struct.new(
  :string_value,
  :string_list_value,
  :long_value,
  :date_value)
  SENSITIVE = []
  include Aws::Structure
end

#string_list_valueArray<String>

A list of strings. The default maximum length or number of strings is 10.

Returns:

  • (Array<String>)


4582
4583
4584
4585
4586
4587
4588
4589
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4582

class DocumentAttributeValue < Struct.new(
  :string_value,
  :string_list_value,
  :long_value,
  :date_value)
  SENSITIVE = []
  include Aws::Structure
end

#string_valueString

A string, such as "department".

Returns:

  • (String)


4582
4583
4584
4585
4586
4587
4588
4589
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 4582

class DocumentAttributeValue < Struct.new(
  :string_value,
  :string_list_value,
  :long_value,
  :date_value)
  SENSITIVE = []
  include Aws::Structure
end