Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes one or more Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volumes.
This operation returns paginated results.
Synopsis
- data DescribeVolumes = DescribeVolumes' {}
- newDescribeVolumes :: DescribeVolumes
- describeVolumes_filters :: Lens' DescribeVolumes (Maybe [VolumeFilter])
- describeVolumes_maxResults :: Lens' DescribeVolumes (Maybe Natural)
- describeVolumes_nextToken :: Lens' DescribeVolumes (Maybe Text)
- describeVolumes_volumeIds :: Lens' DescribeVolumes (Maybe [Text])
- data DescribeVolumesResponse = DescribeVolumesResponse' {}
- newDescribeVolumesResponse :: Int -> DescribeVolumesResponse
- describeVolumesResponse_nextToken :: Lens' DescribeVolumesResponse (Maybe Text)
- describeVolumesResponse_volumes :: Lens' DescribeVolumesResponse (Maybe [Volume])
- describeVolumesResponse_httpStatus :: Lens' DescribeVolumesResponse Int
Creating a Request
data DescribeVolumes Source #
See: newDescribeVolumes
smart constructor.
Instances
newDescribeVolumes :: DescribeVolumes Source #
Create a value of DescribeVolumes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filters:DescribeVolumes'
, describeVolumes_filters
- Enter a filter Name
and Values
pair to view a select set of volumes.
$sel:maxResults:DescribeVolumes'
, describeVolumes_maxResults
- Undocumented member.
DescribeVolumes
, describeVolumes_nextToken
- Undocumented member.
$sel:volumeIds:DescribeVolumes'
, describeVolumes_volumeIds
- The IDs of the volumes whose descriptions you want to retrieve.
Request Lenses
describeVolumes_filters :: Lens' DescribeVolumes (Maybe [VolumeFilter]) Source #
Enter a filter Name
and Values
pair to view a select set of volumes.
describeVolumes_maxResults :: Lens' DescribeVolumes (Maybe Natural) Source #
Undocumented member.
describeVolumes_nextToken :: Lens' DescribeVolumes (Maybe Text) Source #
Undocumented member.
describeVolumes_volumeIds :: Lens' DescribeVolumes (Maybe [Text]) Source #
The IDs of the volumes whose descriptions you want to retrieve.
Destructuring the Response
data DescribeVolumesResponse Source #
See: newDescribeVolumesResponse
smart constructor.
Instances
newDescribeVolumesResponse Source #
Create a value of DescribeVolumesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeVolumes
, describeVolumesResponse_nextToken
- Undocumented member.
$sel:volumes:DescribeVolumesResponse'
, describeVolumesResponse_volumes
- Returned after a successful DescribeVolumes
operation, describing each
volume.
$sel:httpStatus:DescribeVolumesResponse'
, describeVolumesResponse_httpStatus
- The response's http status code.
Response Lenses
describeVolumesResponse_nextToken :: Lens' DescribeVolumesResponse (Maybe Text) Source #
Undocumented member.
describeVolumesResponse_volumes :: Lens' DescribeVolumesResponse (Maybe [Volume]) Source #
Returned after a successful DescribeVolumes
operation, describing each
volume.
describeVolumesResponse_httpStatus :: Lens' DescribeVolumesResponse Int Source #
The response's http status code.