Copyright | (c) 2013-2015 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 an instance's Amazon EBS volumes.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
See: AWS API Reference for DescribeVolumes.
- describeVolumes :: DescribeVolumes
- data DescribeVolumes
- dvInstanceId :: Lens' DescribeVolumes (Maybe Text)
- dvVolumeIds :: Lens' DescribeVolumes [Text]
- dvRAIdArrayId :: Lens' DescribeVolumes (Maybe Text)
- dvStackId :: Lens' DescribeVolumes (Maybe Text)
- describeVolumesResponse :: Int -> DescribeVolumesResponse
- data DescribeVolumesResponse
- dvrsVolumes :: Lens' DescribeVolumesResponse [Volume]
- dvrsResponseStatus :: Lens' DescribeVolumesResponse Int
Creating a Request
describeVolumes :: DescribeVolumes Source
Creates a value of DescribeVolumes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeVolumes Source
See: describeVolumes
smart constructor.
Request Lenses
dvInstanceId :: Lens' DescribeVolumes (Maybe Text) Source
The instance ID. If you use this parameter, DescribeVolumes
returns
descriptions of the volumes associated with the specified instance.
dvVolumeIds :: Lens' DescribeVolumes [Text] Source
Am array of volume IDs. If you use this parameter, DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a
description of every volume.
dvRAIdArrayId :: Lens' DescribeVolumes (Maybe Text) Source
The RAID array ID. If you use this parameter, DescribeVolumes
returns
descriptions of the volumes associated with the specified RAID array.
dvStackId :: Lens' DescribeVolumes (Maybe Text) Source
A stack ID. The action describes the stack's registered Amazon EBS volumes.
Destructuring the Response
describeVolumesResponse Source
Creates a value of DescribeVolumesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeVolumesResponse Source
Contains the response to a DescribeVolumes
request.
See: describeVolumesResponse
smart constructor.
Response Lenses
dvrsVolumes :: Lens' DescribeVolumesResponse [Volume] Source
An array of volume IDs.
dvrsResponseStatus :: Lens' DescribeVolumesResponse Int Source
The response status code.