Skip to content

/AWS1/CL_EC2=>DESCRIBEIMAGEATTRIBUTE()

About DescribeImageAttribute

Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.

The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.

Method Signature

IMPORTING

Required arguments:

IV_ATTRIBUTE TYPE /AWS1/EC2IMAGEATTRIBUTENAME /AWS1/EC2IMAGEATTRIBUTENAME

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

IV_IMAGEID TYPE /AWS1/EC2IMAGEID /AWS1/EC2IMAGEID

The ID of the AMI.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2IMAGEATTRIBUTE /AWS1/CL_EC2IMAGEATTRIBUTE