Name
DB.DBA.AMAZON_DEREGISTER_IMAGE — Deregisters the specified AMI.
Synopsis
DB.DBA.AMAZON_DEREGISTER_IMAGE
(
|
in aws_access_key varchar , |
in image_id varchar , | |
in secret_key varchar , | |
in
http_proxy
varchar (default null)
) ; |
Description
Deregisters the specified AMI. Once deregistered, the AMI cannot be used to launch new instances.
Parameters
aws_access_key
Amazon Access Key ID.
image_id
Image ID (check Amazon list of images).
secret_key
AWS Security Token.
http_proxy
Proxy server, can be null or empty.
Examples
Example 24.234. Simple Use
create procedure simple_test() { declare access_key, sec_token, image_id varchar; access_key := 'AKIAJI7ZL427TI5EDF5A'; -- amazon manager site access key sec_token := 'CGI/UMaXf2LRUctaj/HGJ57UNy/t7fNCshh8wpJg'; -- amazon manager site secret token image_id := 'my_new_image'; DB.DBA.AMAZON_DEREGISTER_IMAGE (access_key, image_id, sec_token); } ;