Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.
- describeImageAttribute :: Text -> ImageAttributeName -> DescribeImageAttribute
- data DescribeImageAttribute
- diaiDryRun :: Lens' DescribeImageAttribute (Maybe Bool)
- diaiImageId :: Lens' DescribeImageAttribute Text
- diaiAttribute :: Lens' DescribeImageAttribute ImageAttributeName
- describeImageAttributeResponse :: Int -> DescribeImageAttributeResponse
- data DescribeImageAttributeResponse
- diarsLaunchPermissions :: Lens' DescribeImageAttributeResponse [LaunchPermission]
- diarsRAMDiskId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarsKernelId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarsSRIOVNetSupport :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarsImageId :: Lens' DescribeImageAttributeResponse (Maybe Text)
- diarsProductCodes :: Lens' DescribeImageAttributeResponse [ProductCode]
- diarsDescription :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue)
- diarsBlockDeviceMappings :: Lens' DescribeImageAttributeResponse [BlockDeviceMapping]
- diarsResponseStatus :: Lens' DescribeImageAttributeResponse Int
Creating a Request
describeImageAttribute Source #
Creates a value of DescribeImageAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diaiDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.diaiImageId
- The ID of the AMI.diaiAttribute
- The AMI attribute. Note : Depending on your account privileges, theblockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, useDescribeImages
to get information about the block device mapping for the AMI.
data DescribeImageAttribute Source #
Contains the parameters for DescribeImageAttribute.
See: describeImageAttribute
smart constructor.
Request Lenses
diaiDryRun :: 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
.
diaiImageId :: Lens' DescribeImageAttribute Text Source #
The ID of the AMI.
diaiAttribute :: Lens' DescribeImageAttribute ImageAttributeName Source #
The AMI attribute. Note : Depending on your account privileges, the blockDeviceMapping
attribute may return a Client.AuthFailure
error. If this happens, use DescribeImages
to get information about the block device mapping for the AMI.
Destructuring the Response
describeImageAttributeResponse Source #
Creates a value of DescribeImageAttributeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diarsLaunchPermissions
- One or more launch permissions.diarsRAMDiskId
- The RAM disk ID.diarsKernelId
- The kernel ID.diarsSRIOVNetSupport
- Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.diarsImageId
- The ID of the AMI.diarsProductCodes
- One or more product codes.diarsDescription
- A description for the AMI.diarsBlockDeviceMappings
- One or more block device mapping entries.diarsResponseStatus
- -- | The response status code.
data DescribeImageAttributeResponse Source #
Describes an image attribute.
See: describeImageAttributeResponse
smart constructor.
Response Lenses
diarsLaunchPermissions :: Lens' DescribeImageAttributeResponse [LaunchPermission] Source #
One or more launch permissions.
diarsRAMDiskId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source #
The RAM disk ID.
diarsKernelId :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source #
The kernel ID.
diarsSRIOVNetSupport :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source #
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
diarsImageId :: Lens' DescribeImageAttributeResponse (Maybe Text) Source #
The ID of the AMI.
diarsProductCodes :: Lens' DescribeImageAttributeResponse [ProductCode] Source #
One or more product codes.
diarsDescription :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source #
A description for the AMI.
diarsBlockDeviceMappings :: Lens' DescribeImageAttributeResponse [BlockDeviceMapping] Source #
One or more block device mapping entries.
diarsResponseStatus :: Lens' DescribeImageAttributeResponse Int Source #
- - | The response status code.