Name

DB.DBA.AMAZON_DESCRIBE_IMAGES — Describes one or more of the images (AMIs, AKIs, and ARIs) available to you.

Synopsis

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

Description

Describes one or more of the images (AMIs, AKIs, and ARIs) available to you. Images available to you include: public images, private images that you own, and private images owned by other AWS accounts but for which you have explicit launch permissions.

Parameters

aws_access_key

Amazon Access Key ID.

secret_key

AWS Security Token.

http_proxy

Proxy server, can be null or empty.

Examples

Example 24.239. Simple Use

create procedure simple_test()
{
  declare access_key, sec_token varchar;
  declare images, image_item any;

  access_key := 'AKIAJI7ZL427TI5EDF5A'; -- amazon manager site access key
  sec_token  := 'CGI/UMaXf2LRUctaj/HGJ57UNy/t7fNCshh8wpJg'; -- amazon manager site secret token
  images     := xtree_doc (DB.DBA.AMAZON_DESCRIBE_IMAGES (access_key, sec_token));
  image_item := xpath_eval('/DescribeImagesResponse/imagesSet/item', images, 0);

}
;