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

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

Overview

Note:

When making an API call, you may pass DocumentAttributeValue data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#date_valueTime

A date expressed as an ISO 8601 string.

Returns:

  • (Time)

3359
3360
3361
3362
3363
3364
3365
3366
# File 'lib/aws-sdk-kendra/types.rb', line 3359

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)

3359
3360
3361
3362
3363
3364
3365
3366
# File 'lib/aws-sdk-kendra/types.rb', line 3359

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.

Returns:

  • (Array<String>)

3359
3360
3361
3362
3363
3364
3365
3366
# File 'lib/aws-sdk-kendra/types.rb', line 3359

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)

3359
3360
3361
3362
3363
3364
3365
3366
# File 'lib/aws-sdk-kendra/types.rb', line 3359

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