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

Class: Aws::SimpleDB::Types::PutAttributesRequest

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

Overview

Note:

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

{
  domain_name: "String", # required
  item_name: "String", # required
  attributes: [ # required
    {
      name: "String", # required
      value: "String", # required
      replace: false,
    },
  ],
  expected: {
    name: "String",
    value: "String",
    exists: false,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::ReplaceableAttribute>

The list of attributes.

Returns:



418
419
420
421
422
423
424
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 418

class PutAttributesRequest < Struct.new(
  :domain_name,
  :item_name,
  :attributes,
  :expected)
  include Aws::Structure
end

#domain_nameString

The name of the domain in which to perform the operation.

Returns:

  • (String)


418
419
420
421
422
423
424
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 418

class PutAttributesRequest < Struct.new(
  :domain_name,
  :item_name,
  :attributes,
  :expected)
  include Aws::Structure
end

#expectedTypes::UpdateCondition

The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.



418
419
420
421
422
423
424
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 418

class PutAttributesRequest < Struct.new(
  :domain_name,
  :item_name,
  :attributes,
  :expected)
  include Aws::Structure
end

#item_nameString

The name of the item.

Returns:

  • (String)


418
419
420
421
422
423
424
# File 'gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/types.rb', line 418

class PutAttributesRequest < Struct.new(
  :domain_name,
  :item_name,
  :attributes,
  :expected)
  include Aws::Structure
end