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 AmazonElastic Compute Cloud User Guide.
- data DescribeVolumeAttribute
- describeVolumeAttribute :: Text -> DescribeVolumeAttribute
- dvaAttribute :: Lens' DescribeVolumeAttribute (Maybe VolumeAttributeName)
- dvaDryRun :: Lens' DescribeVolumeAttribute (Maybe Bool)
- dvaVolumeId :: Lens' DescribeVolumeAttribute Text
- data DescribeVolumeAttributeResponse
- describeVolumeAttributeResponse :: DescribeVolumeAttributeResponse
- dvarAutoEnableIO :: Lens' DescribeVolumeAttributeResponse (Maybe AttributeBooleanValue)
- dvarProductCodes :: Lens' DescribeVolumeAttributeResponse [ProductCode]
- dvarVolumeId :: Lens' DescribeVolumeAttributeResponse (Maybe Text)
Request
data DescribeVolumeAttribute Source
Request constructor
describeVolumeAttribute Source
DescribeVolumeAttribute
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dvaAttribute :: Lens' DescribeVolumeAttribute (Maybe VolumeAttributeName) Source
The instance attribute.
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.
Response
Response constructor
describeVolumeAttributeResponse :: DescribeVolumeAttributeResponse Source
DescribeVolumeAttributeResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
dvarAutoEnableIO :: Lens' DescribeVolumeAttributeResponse (Maybe AttributeBooleanValue) Source
The state of autoEnableIO
attribute.
dvarProductCodes :: Lens' DescribeVolumeAttributeResponse [ProductCode] Source
A list of product codes.
dvarVolumeId :: Lens' DescribeVolumeAttributeResponse (Maybe Text) Source
The ID of the volume.