You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudDirectory::Types::ObjectAttributeAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudDirectory::Types::ObjectAttributeAction
- Defined in:
- (unknown)
Overview
Note:
When passing ObjectAttributeAction as input to an Aws::Client method, you can use a vanilla Hash:
{
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,
},
}
The action to take on the object attribute.
Returned by:
Instance Attribute Summary collapse
-
#object_attribute_action_type ⇒ String
A type that can be either
Update
orDelete
. -
#object_attribute_update_value ⇒ Types::TypedAttributeValue
The value that you want to update to.
Instance Attribute Details
#object_attribute_action_type ⇒ String
A type that can be either Update
or Delete
.
Possible values:
- CREATE_OR_UPDATE
- DELETE
#object_attribute_update_value ⇒ Types::TypedAttributeValue
The value that you want to update to.