Copyright | (c) 2013-2021 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 |
Returns a description of the gateway volumes specified in the request. This operation is only supported in the cached volume gateway types.
The list of gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume Amazon Resource Name (ARN).
Synopsis
- data DescribeCachediSCSIVolumes = DescribeCachediSCSIVolumes' {
- volumeARNs :: [Text]
- newDescribeCachediSCSIVolumes :: DescribeCachediSCSIVolumes
- describeCachediSCSIVolumes_volumeARNs :: Lens' DescribeCachediSCSIVolumes [Text]
- data DescribeCachediSCSIVolumesResponse = DescribeCachediSCSIVolumesResponse' {}
- newDescribeCachediSCSIVolumesResponse :: Int -> DescribeCachediSCSIVolumesResponse
- describeCachediSCSIVolumesResponse_cachediSCSIVolumes :: Lens' DescribeCachediSCSIVolumesResponse (Maybe [CachediSCSIVolume])
- describeCachediSCSIVolumesResponse_httpStatus :: Lens' DescribeCachediSCSIVolumesResponse Int
Creating a Request
data DescribeCachediSCSIVolumes Source #
See: newDescribeCachediSCSIVolumes
smart constructor.
DescribeCachediSCSIVolumes' | |
|
Instances
newDescribeCachediSCSIVolumes :: DescribeCachediSCSIVolumes Source #
Create a value of DescribeCachediSCSIVolumes
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:volumeARNs:DescribeCachediSCSIVolumes'
, describeCachediSCSIVolumes_volumeARNs
- An array of strings where each string represents the Amazon Resource
Name (ARN) of a cached volume. All of the specified cached volumes must
be from the same gateway. Use ListVolumes to get volume ARNs for a
gateway.
Request Lenses
describeCachediSCSIVolumes_volumeARNs :: Lens' DescribeCachediSCSIVolumes [Text] Source #
An array of strings where each string represents the Amazon Resource Name (ARN) of a cached volume. All of the specified cached volumes must be from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
Destructuring the Response
data DescribeCachediSCSIVolumesResponse Source #
A JSON object containing the following fields:
See: newDescribeCachediSCSIVolumesResponse
smart constructor.
DescribeCachediSCSIVolumesResponse' | |
|
Instances
newDescribeCachediSCSIVolumesResponse Source #
Create a value of DescribeCachediSCSIVolumesResponse
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:cachediSCSIVolumes:DescribeCachediSCSIVolumesResponse'
, describeCachediSCSIVolumesResponse_cachediSCSIVolumes
- An array of objects where each object contains metadata about one cached
volume.
$sel:httpStatus:DescribeCachediSCSIVolumesResponse'
, describeCachediSCSIVolumesResponse_httpStatus
- The response's http status code.
Response Lenses
describeCachediSCSIVolumesResponse_cachediSCSIVolumes :: Lens' DescribeCachediSCSIVolumesResponse (Maybe [CachediSCSIVolume]) Source #
An array of objects where each object contains metadata about one cached volume.
describeCachediSCSIVolumesResponse_httpStatus :: Lens' DescribeCachediSCSIVolumesResponse Int Source #
The response's http status code.