Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the specified attribute of the specified volume. You can specify only one attribute at a time.
For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide .
- describeVolumeAttribute :: Text -> DescribeVolumeAttribute
- data DescribeVolumeAttribute
- dvaAttribute :: Lens' DescribeVolumeAttribute (Maybe VolumeAttributeName)
- dvaDryRun :: Lens' DescribeVolumeAttribute (Maybe Bool)
- dvaVolumeId :: Lens' DescribeVolumeAttribute Text
- describeVolumeAttributeResponse :: Int -> DescribeVolumeAttributeResponse
- data DescribeVolumeAttributeResponse
- dvarsVolumeId :: Lens' DescribeVolumeAttributeResponse (Maybe Text)
- dvarsProductCodes :: Lens' DescribeVolumeAttributeResponse [ProductCode]
- dvarsAutoEnableIO :: Lens' DescribeVolumeAttributeResponse (Maybe AttributeBooleanValue)
- dvarsResponseStatus :: Lens' DescribeVolumeAttributeResponse Int
Creating a Request
describeVolumeAttribute Source #
Creates a value of DescribeVolumeAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvaAttribute
- The attribute of the volume. This parameter is required.dvaDryRun
- 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
.dvaVolumeId
- The ID of the volume.
data DescribeVolumeAttribute Source #
Contains the parameters for DescribeVolumeAttribute.
See: describeVolumeAttribute
smart constructor.
Request Lenses
dvaAttribute :: Lens' DescribeVolumeAttribute (Maybe VolumeAttributeName) Source #
The attribute of the volume. This parameter is required.
dvaDryRun :: Lens' DescribeVolumeAttribute (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
.
dvaVolumeId :: Lens' DescribeVolumeAttribute Text Source #
The ID of the volume.
Destructuring the Response
describeVolumeAttributeResponse Source #
Creates a value of DescribeVolumeAttributeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvarsVolumeId
- The ID of the volume.dvarsProductCodes
- A list of product codes.dvarsAutoEnableIO
- The state ofautoEnableIO
attribute.dvarsResponseStatus
- -- | The response status code.
data DescribeVolumeAttributeResponse Source #
Contains the output of DescribeVolumeAttribute.
See: describeVolumeAttributeResponse
smart constructor.
Response Lenses
dvarsVolumeId :: Lens' DescribeVolumeAttributeResponse (Maybe Text) Source #
The ID of the volume.
dvarsProductCodes :: Lens' DescribeVolumeAttributeResponse [ProductCode] Source #
A list of product codes.
dvarsAutoEnableIO :: Lens' DescribeVolumeAttributeResponse (Maybe AttributeBooleanValue) Source #
The state of autoEnableIO
attribute.
dvarsResponseStatus :: Lens' DescribeVolumeAttributeResponse Int Source #
- - | The response status code.