Cmdlets for Amazon DynamoDB

Build 24.0.9060

Remove-AmazonDynamoDB Cmdlet

Parameters   Output Objects  

Deletes Amazon DynamoDB data.

Syntax

Remove-AmazonDynamoDB [parameters]

Remarks

The Remove-AmazonDynamoDB cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Amazon DynamoDB data.

$conn = Connect-AmazonDynamoDB -AWSAccessKey "AccessKey" -AWSSecretKey "MyAccessSecret" -Domain "amazonaws.com" -AWSRegion "OREGON"
Remove-AmazonDynamoDB -Connection $conn -Table "Account" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-AmazonDynamoDB -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
The primary key can also be passed to the cmdlet along the pipeline:
Select-AmazonDynamoDB -Connection $conn -Table Account -Where "FirstName = 'Bob'" | Remove-AmazonDynamoDB

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060