amazonka-ec2-0.3.5: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeImageAttribute

Contents

Description

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

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeImageAttribute.html

Synopsis

Request

Request constructor

Request lenses

dia1Attribute :: Lens' DescribeImageAttribute ImageAttributeName Source

The AMI attribute.

Note: Depending on your account privileges, the blockDeviceMapping attribute may return a AuthFailure error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.

dia1DryRun :: Lens' DescribeImageAttribute (Maybe Bool) Source

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.

Response

Response constructor

Response lenses