Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Snap type:

Write


Description:

This Snap deletes an existing table from AWS DynamoDB.  


Note
 DynamoDB delete operation is eventually consistent. Therefore the Snap may poll up to 5 seconds to confirm deletion through table metadata query in order to set the output view status to DELETED. If deletion not confirmed after 5 seconds, output view status will remain the original DynamoDB response of DELETING.  
  • Expected upstream SnapsAny Snap that provides a document output view, such as Structure or a JSON Generator Snap. 
  • Expected downstream SnapsAny Snap that has a document input view, such as Filter or Data or JSON Formatter.
  • Expected inputNone
  • Expected outputThis Snap provides the updated record for each input record. Errors can be routed to the error view if enabled or cause the Snap to fail during execution.

Refer here for more information on DynamoDB Delete Table.


Prerequisites:

None


Support and limitations:


Account: 

This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. 

See DynamoDB Account for information on setting up this type of account.


Views:


InputThis Snap has exactly one document input view.
OutputThis Snap has exactly one document output view.
ErrorThis Snap has at most one document error view and produces zero or more documents in the view.


Settings

Label


Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

Table name



Required. The name of the table to be deleted. This property is suggestible, which shows the list of the tables in the database.
Example: Thread
Default value: [None]

Multiexcerpt include macro
nameSnap Execution
pageSOAP Execute

Multiexcerpt include macro
nameExecution_Detail_Write
pageSOAP Execute



Example 


In this pipeline, the DynamoDB DeleteTable Snap deletes an existing table, DynamoDB, from the database.  


Image RemovedImage RemovedImage Added


On successful execution of the pipeline, the output preview displays the Table Status as 'Deleted'. If the table does not exist in the database, it will be routed to the error view.


Image RemovedImage Added 


Insert excerpt
DynamoDB Snap Pack
DynamoDB Snap Pack
nopaneltrue