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.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_DescribeVolumes.html
- data DescribeVolumes
- describeVolumes :: DescribeVolumes
- dvInstanceId :: Lens' DescribeVolumes (Maybe Text)
- dvRaidArrayId :: Lens' DescribeVolumes (Maybe Text)
- dvStackId :: Lens' DescribeVolumes (Maybe Text)
- dvVolumeIds :: Lens' DescribeVolumes [Text]
- data DescribeVolumesResponse
- describeVolumesResponse :: DescribeVolumesResponse
- dvrVolumes :: Lens' DescribeVolumesResponse [Volume]
Request
data DescribeVolumes Source
Request constructor
describeVolumes :: DescribeVolumes Source
DescribeVolumes
constructor.
The fields accessible through corresponding lenses are:
dvInstanceId
::
Maybe
Text
dvRaidArrayId
::
Maybe
Text
dvStackId
::
Maybe
Text
dvVolumeIds
::
[Text
]
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.
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.
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.
Response
Response constructor
describeVolumesResponse :: DescribeVolumesResponse Source
DescribeVolumesResponse
constructor.
The fields accessible through corresponding lenses are:
dvrVolumes
::
[Volume
]
Response lenses
dvrVolumes :: Lens' DescribeVolumesResponse [Volume] Source
An array of volume IDs.