batch_delete_attributes

batch_delete_attributes(**kwargs)

Performs multiple DeleteAttributes operations in a single call, which reduces round trips and latencies. This enables Amazon SimpleDB to optimize requests, which generally yields better throughput.

The following limitations are enforced for this operation:

  • 1 MB request size
  • 25 item limit per BatchDeleteAttributes operation

See also: AWS API Documentation

Request Syntax

response = client.batch_delete_attributes(
    DomainName='string',
    Items=[
        {
            'Name': 'string',
            'Attributes': [
                {
                    'Name': 'string',
                    'AlternateNameEncoding': 'string',
                    'Value': 'string',
                    'AlternateValueEncoding': 'string'
                },
            ]
        },
    ]
)
Parameters
  • DomainName (string) -- [REQUIRED] The name of the domain in which the attributes are being deleted.
  • Items (list) --

    [REQUIRED] A list of items on which to perform the operation.

    • (dict) --
      • Name (string) -- [REQUIRED]
      • Attributes (list) --
        • (dict) --
          • Name (string) -- [REQUIRED] The name of the attribute.
          • AlternateNameEncoding (string) --
          • Value (string) -- [REQUIRED] The value of the attribute.
          • AlternateValueEncoding (string) --
Returns

None