Skip to content

DeleteAttributes

Source: src/AWS/SimpleDB/DeleteAttributes.ts

Runtime binding for sdb:DeleteAttributes.

Bind this operation to a Domain inside a function runtime to get a callable that automatically injects the domain name. Omitting Attributes deletes the whole item.

Delete a Whole Item

const deleteAttributes = yield* AWS.SimpleDB.DeleteAttributes(domain);
yield* deleteAttributes({ ItemName: "user#123" });

Delete a Single Attribute

yield* deleteAttributes({
ItemName: "user#123",
Attributes: [{ Name: "plan" }],
});