Name

DB.DBA.AMAZON_DELETE_SNAPSHOT — Deletes a snapshot of an Amazon EBS volume.

Synopsis

DB.DBA.AMAZON_DELETE_SNAPSHOT ( in aws_access_key varchar ,
  in snapshotId varchar ,
  in secret_key varchar ,
  in http_proxy varchar (default null) );
 

Description

Deletes a snapshot of an Amazon EBS volume.

Parameters

aws_access_key

Amazon Access Key ID.

snapshotId

The ID of the Amazon EBS snapshot.

secret_key

AWS Security Token.

http_proxy

Proxy server, can be null or empty.

Examples

Example 24.237. Simple Use

create procedure simple_test()
{
  declare access_key, sec_token, snapshotId varchar;

  access_key := 'AKIAJI7ZL427TI5EDF5A'; -- amazon manager site access key
  sec_token  := 'CGI/UMaXf2LRUctaj/HGJ57UNy/t7fNCshh8wpJg'; -- amazon manager site secret token
  snapshotId := 'snap-1a2b3c4d';

  DB.DBA.AMAZON_DELETE_SNAPSHOT (access_key, snapshotId, sec_token);

}
;