ZF-11987: Zend_Service_Amazon_SimpleDb deleteAttributes API can only attribute name request

Description

public function deleteAttributes($domainName, $itemName, array $attributes = array())
{
    $params               = array();
    $params['Action']     = 'DeleteAttributes';
    $params['DomainName'] = $domainName;
    $params['ItemName']   = $itemName;

    $attributeIndex = 0;
    foreach ($attributes as $attribute) {
        $params['Attribute.' . $attributeIndex . '.Name'] = $attribute->getName();
        foreach ($attribute->getValues() as $value) {
            $params['Attribute.' . $attributeIndex . '.Value'] = $value;
        }
         $attributeIndex++;
    }

    $response = $this->_sendRequest($params);

    return true;
}

Comments

Can you please provide additional information about what you are trying to do? In what other ways can you delete an attribute except by name?