IAsyncResult invokeDeleteTable(DeleteTableRequest deleteTableRequest, AsyncCallback callback, object state, bool synchronized)
 {
     IRequest irequest = new DeleteTableRequestMarshaller().Marshall(deleteTableRequest);
     var unmarshaller = DeleteTableResponseUnmarshaller.GetInstance();
     AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller);
     Invoke(result);
     return result;
 }
 /// <summary>
 /// Initiates the asynchronous execution of the DeleteTable operation.
 /// <seealso cref="Amazon.DynamoDB.AmazonDynamoDB.DeleteTable"/>
 /// </summary>
 /// 
 /// <param name="deleteTableRequest">Container for the necessary parameters to execute the DeleteTable operation on AmazonDynamoDB.</param>
 /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
 /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
 ///          procedure using the AsyncState property.</param>
 /// 
 /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTable
 ///         operation.</returns>
 public IAsyncResult BeginDeleteTable(DeleteTableRequest deleteTableRequest, AsyncCallback callback, object state)
 {
     return invokeDeleteTable(deleteTableRequest, callback, state, false);
 }
 /// <summary>
 /// <para>Deletes a table and all of its items.</para> <para>If the table is in the <c>ACTIVE</c> state, you can delete it. If a table is in
 /// <c>CREATING</c> or <c>UPDATING</c> states then Amazon DynamoDB returns a <c>ResourceInUseException</c> . If the specified table does not
 /// exist, Amazon DynamoDB returns a <c>ResourceNotFoundException</c> .</para>
 /// </summary>
 /// 
 /// <param name="deleteTableRequest">Container for the necessary parameters to execute the DeleteTable service method on AmazonDynamoDB.</param>
 /// 
 /// <returns>The response from the DeleteTable service method, as returned by AmazonDynamoDB.</returns>
 /// 
 /// <exception cref="ResourceInUseException"/>
 /// <exception cref="LimitExceededException"/>
 /// <exception cref="InternalServerErrorException"/>
 /// <exception cref="ResourceNotFoundException"/>
 public DeleteTableResponse DeleteTable(DeleteTableRequest deleteTableRequest)
 {
     IAsyncResult asyncResult = invokeDeleteTable(deleteTableRequest, null, null, true);
     return EndDeleteTable(asyncResult);
 }
 /// <summary>
 /// <para> The DeleteTable operation deletes a table and all of its items. If the table is in the ACTIVE state, you can delete it. If a table is
 /// in CREATING or UPDATING states, then DeleteTable returns a ResourceInUseException. If the specified table does not exist, Amazon DynamoDB
 /// returns a ResourceNotFoundException. </para>
 /// </summary>
 /// 
 /// <param name="deleteTableRequest">Container for the necessary parameters to execute the DeleteTable service method on AmazonDynamoDB.</param>
 /// 
 /// <returns>The response from the DeleteTable service method, as returned by AmazonDynamoDB.</returns>
 /// 
 /// <exception cref="ResourceInUseException"/>
 /// <exception cref="LimitExceededException"/>
 /// <exception cref="InternalServerErrorException"/>
 /// <exception cref="ResourceNotFoundException"/>
 public DeleteTableResponse DeleteTable(DeleteTableRequest deleteTableRequest)
 {
     IRequest<DeleteTableRequest> request = new DeleteTableRequestMarshaller().Marshall(deleteTableRequest);
     DeleteTableResponse response = Invoke<DeleteTableRequest, DeleteTableResponse> (request, this.signer, DeleteTableResponseUnmarshaller.GetInstance());
     return response;
 }