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

Class: Aws::CloudDirectory::Types::AttributeKeyAndValue

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

Overview

Note:

When making an API call, you may pass AttributeKeyAndValue data as a hash:

{
  key: { # required
    schema_arn: "Arn", # required
    facet_name: "FacetName", # required
    name: "AttributeName", # required
  },
  value: { # required
    string_value: "StringAttributeValue",
    binary_value: "data",
    boolean_value: false,
    number_value: "NumberAttributeValue",
    datetime_value: Time.now,
  },
}

The combination of an attribute key and an attribute value.

Instance Attribute Summary collapse

Instance Attribute Details

#keyTypes::AttributeKey

The key of the attribute.

Returns:



393
394
395
396
397
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 393

class AttributeKeyAndValue < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueTypes::TypedAttributeValue

The value of the attribute.



393
394
395
396
397
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 393

class AttributeKeyAndValue < Struct.new(
  :key,
  :value)
  include Aws::Structure
end