C# Class Amazon.DynamoDBv2.Model.DeleteTableRequest

Container for the parameters to the DeleteTable operation.

The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until Amazon DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then Amazon DynamoDB returns a ResourceInUseException . If the specified table does not exist, Amazon DynamoDB returns a ResourceNotFoundException . If table is already in the DELETING state, no error is returned.

NOTE: Amazon DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete.

When you delete a table, any local secondary indexes on that table are also deleted.

Use the DescribeTable API to check the status of the table.

Inheritance: AmazonDynamoDBv2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DeleteTableRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeleteTableRequest ( string tableName ) : System

Instantiates DeleteTableRequest with the parameterized properties

Private Methods

Method Description
IsSetTableName ( ) : bool

Method Details

DeleteTableRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DeleteTableRequest ( ) : System
return System

DeleteTableRequest() public method

Instantiates DeleteTableRequest with the parameterized properties
public DeleteTableRequest ( string tableName ) : System
tableName string The name of the table to delete.
return System