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

Class: Aws::CloudDirectory::Types::TypedAttributeValue

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

Overview

Note:

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

{
  string_value: "StringAttributeValue",
  binary_value: "data",
  boolean_value: false,
  number_value: "NumberAttributeValue",
  datetime_value: Time.now,
}

Represents the data for a typed attribute. You can set one, and only one, of the elements. Each attribute in an item is a name-value pair. Attributes have a single value.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#binary_valueString

A binary data value.

Returns:

  • (String)

    A binary data value.

#boolean_valueBoolean

A Boolean data value.

Returns:

  • (Boolean)

    A Boolean data value.

#datetime_valueTime

A date and time value.

Returns:

  • (Time)

    A date and time value.

#number_valueString

A number data value.

Returns:

  • (String)

    A number data value.

#string_valueString

A string data value.

Returns:

  • (String)

    A string data value.