@aws-sdk/lib-dynamodb

DeleteCommand Class

Accepts native JavaScript types instead of AttributeValues, and calls DeleteItemCommand operation from @aws-sdk/client-dynamodb#DeleteItemCommand.JavaScript objects passed in as parameters are marshalled into AttributeValue shapes required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.

Members

Name
Type
Details
(constructor) Requiredconstructor(input: DeleteCommandInput)
Constructs a new instance of the DeleteCommand class
addMarshallingMiddleware Requiredprotected addMarshallingMiddleware(configuration: DynamoDBDocumentClientResolvedConfig): void
clientCommand Required__DeleteItemCommand
input RequiredDeleteCommandInput
inputKeyNodes Required{ Key: import("../commands/utils").KeyNodeChildren Expected: { "*": { Value: null; AttributeValueList: import("../commands/utils").KeyNodeChildren; }; }; ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; }
middlewareStack RequiredMiddlewareStack<DeleteCommandInput | __DeleteItemCommandInput, DeleteCommandOutput | __DeleteItemCommandOutput>
outputKeyNodes Required{ Attributes: import("../commands/utils").KeyNodeChildren ItemCollectionMetrics: { ItemCollectionKey: import("../commands/utils").KeyNodeChildren; }; }
resolveMiddleware Requiredabstract resolveMiddleware(stack: IMiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedClientConfiguration, options: any): Handler<Input, Output>

Full Signature

export declare class DeleteCommand extends DynamoDBDocumentClientCommand<DeleteCommandInput, DeleteCommandOutput, __DeleteItemCommandInput, __DeleteItemCommandOutput, DynamoDBDocumentClientResolvedConfig>