Name

DB.DBA.AMAZON_DELETE_VOLUME — Deletes an Amazon EBS volume.

Synopsis

DB.DBA.AMAZON_DELETE_VOLUME ( in aws_access_key varchar ,
  in volumeId varchar ,
  in secret_key varchar ,
  in http_proxy varchar (default null) );
 

Description

Deletes an Amazon EBS volume. The volume must be in the available state (not attached to an instance).

Parameters

aws_access_key

Amazon Access Key ID.

volumeId

The ID of the Amazon EBS volume.

secret_key

AWS Security Token.

http_proxy

Proxy server, can be null or empty.

Examples

Example 24.238. Simple Use

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

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

  DB.DBA.AMAZON_DELETE_VOLUME (access_key, vol_id, sec_token);

}
;