Class: Aws::CloudDirectory::Types::ObjectAttributeUpdate

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 ObjectAttributeUpdate data as a hash:

{
  object_attribute_key: {
    schema_arn: "Arn", # required
    facet_name: "FacetName", # required
    name: "AttributeName", # required
  },
  object_attribute_action: {
    object_attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
    object_attribute_update_value: {
      string_value: "StringAttributeValue",
      binary_value: "data",
      boolean_value: false,
      number_value: "NumberAttributeValue",
      datetime_value: Time.now,
    },
  },
}

Structure that contains attribute update information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#object_attribute_actionTypes::ObjectAttributeAction

The action to perform as part of the attribute update.



7099
7100
7101
7102
7103
7104
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 7099

class ObjectAttributeUpdate < Struct.new(
  :object_attribute_key,
  :object_attribute_action)
  SENSITIVE = []
  include Aws::Structure
end

#object_attribute_keyTypes::AttributeKey

The key of the attribute being updated.

Returns:



7099
7100
7101
7102
7103
7104
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 7099

class ObjectAttributeUpdate < Struct.new(
  :object_attribute_key,
  :object_attribute_action)
  SENSITIVE = []
  include Aws::Structure
end