Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data DescribeImageAttribute
- describeImageAttribute :: Text -> ImageAttributeName -> DescribeImageAttribute
- dia1Attribute :: Lens' DescribeImageAttribute ImageAttributeName
- dia1DryRun :: Lens' DescribeImageAttribute (Maybe Bool)
- dia1ImageId :: Lens' DescribeImageAttribute Text
- data DescribeImageAttributeResponse
- describeImageAttributeResponse :: DescribeImageAttributeResponse
- diarBlockDeviceMappings :: Lens' DescribeImageAttributeResponse [BlockDeviceMapping]
- diarDescription :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarImageId :: Lens' DescribeImageAttributeResponse (Maybe Text)
- diarKernelId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarLaunchPermissions :: Lens' DescribeImageAttributeResponse [LaunchPermission]
- diarProductCodes :: Lens' DescribeImageAttributeResponse [ProductCode]
- diarRamdiskId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarSriovNetSupport :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
Request
Request constructor
DescribeImageAttribute
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dia1Attribute :: Lens' DescribeImageAttribute ImageAttributeName Source
The AMI attribute.
dia1ImageId :: Lens' DescribeImageAttribute Text Source
The ID of the AMI.
Response
Response constructor
describeImageAttributeResponse :: DescribeImageAttributeResponse Source
DescribeImageAttributeResponse
constructor.
The fields accessible through corresponding lenses are:
diarBlockDeviceMappings
::
[BlockDeviceMapping
]diarDescription
::
Maybe
AttributeValue
diarImageId
::
Maybe
Text
diarKernelId
::
Maybe
AttributeValue
diarLaunchPermissions
::
[LaunchPermission
]diarProductCodes
::
[ProductCode
]diarRamdiskId
::
Maybe
AttributeValue
diarSriovNetSupport
::
Maybe
AttributeValue
Response lenses
diarBlockDeviceMappings :: Lens' DescribeImageAttributeResponse [BlockDeviceMapping] Source
One or more block device mapping entries.
diarDescription :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source
A description for the AMI.
diarImageId :: Lens' DescribeImageAttributeResponse (Maybe Text) Source
The ID of the AMI.
diarKernelId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source
The kernel ID.
diarLaunchPermissions :: Lens' DescribeImageAttributeResponse [LaunchPermission] Source
One or more launch permissions.
diarProductCodes :: Lens' DescribeImageAttributeResponse [ProductCode] Source
One or more product codes.
diarRamdiskId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source
The RAM disk ID.