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 the description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported in stored volume gateway type.
Synopsis
- data DescribeStorediSCSIVolumes = DescribeStorediSCSIVolumes' {
- volumeARNs :: [Text]
- newDescribeStorediSCSIVolumes :: DescribeStorediSCSIVolumes
- describeStorediSCSIVolumes_volumeARNs :: Lens' DescribeStorediSCSIVolumes [Text]
- data DescribeStorediSCSIVolumesResponse = DescribeStorediSCSIVolumesResponse' {}
- newDescribeStorediSCSIVolumesResponse :: Int -> DescribeStorediSCSIVolumesResponse
- describeStorediSCSIVolumesResponse_storediSCSIVolumes :: Lens' DescribeStorediSCSIVolumesResponse (Maybe [StorediSCSIVolume])
- describeStorediSCSIVolumesResponse_httpStatus :: Lens' DescribeStorediSCSIVolumesResponse Int
Creating a Request
data DescribeStorediSCSIVolumes Source #
A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.
See: newDescribeStorediSCSIVolumes
smart constructor.
DescribeStorediSCSIVolumes' | |
|
Instances
newDescribeStorediSCSIVolumes :: DescribeStorediSCSIVolumes Source #
Create a value of DescribeStorediSCSIVolumes
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:DescribeStorediSCSIVolumes'
, describeStorediSCSIVolumes_volumeARNs
- An array of strings where each string represents the Amazon Resource
Name (ARN) of a stored volume. All of the specified stored volumes must
be from the same gateway. Use ListVolumes to get volume ARNs for a
gateway.
Request Lenses
describeStorediSCSIVolumes_volumeARNs :: Lens' DescribeStorediSCSIVolumes [Text] Source #
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must be from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
Destructuring the Response
data DescribeStorediSCSIVolumesResponse Source #
See: newDescribeStorediSCSIVolumesResponse
smart constructor.
DescribeStorediSCSIVolumesResponse' | |
|
Instances
newDescribeStorediSCSIVolumesResponse Source #
Create a value of DescribeStorediSCSIVolumesResponse
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:storediSCSIVolumes:DescribeStorediSCSIVolumesResponse'
, describeStorediSCSIVolumesResponse_storediSCSIVolumes
- Describes a single unit of output from DescribeStorediSCSIVolumes. The
following fields are returned:
ChapEnabled
: Indicates whether mutual CHAP is enabled for the iSCSI target.LunNumber
: The logical disk number.NetworkInterfaceId
: The network interface ID of the stored volume that initiator use to map the stored volume as an iSCSI target.NetworkInterfacePort
: The port used to communicate with iSCSI targets.PreservedExistingData
: Indicates when the stored volume was created, existing data on the underlying local disk was preserved.SourceSnapshotId
: If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g.snap-1122aabb
. Otherwise, this field is not included.StorediSCSIVolumes
: An array of StorediSCSIVolume objects where each object contains metadata about one stored volume.TargetARN
: The Amazon Resource Name (ARN) of the volume target.VolumeARN
: The Amazon Resource Name (ARN) of the stored volume.VolumeDiskId
: The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.VolumeId
: The unique identifier of the storage volume, e.g.vol-1122AABB
.VolumeiSCSIAttributes
: An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.VolumeProgress
: Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.VolumeSizeInBytes
: The size of the volume in bytes.VolumeStatus
: One of theVolumeStatus
values that indicates the state of the volume.VolumeType
: One of the enumeration values describing the type of the volume. Currently, onlySTORED
volumes are supported.
$sel:httpStatus:DescribeStorediSCSIVolumesResponse'
, describeStorediSCSIVolumesResponse_httpStatus
- The response's http status code.
Response Lenses
describeStorediSCSIVolumesResponse_storediSCSIVolumes :: Lens' DescribeStorediSCSIVolumesResponse (Maybe [StorediSCSIVolume]) Source #
Describes a single unit of output from DescribeStorediSCSIVolumes. The following fields are returned:
ChapEnabled
: Indicates whether mutual CHAP is enabled for the iSCSI target.LunNumber
: The logical disk number.NetworkInterfaceId
: The network interface ID of the stored volume that initiator use to map the stored volume as an iSCSI target.NetworkInterfacePort
: The port used to communicate with iSCSI targets.PreservedExistingData
: Indicates when the stored volume was created, existing data on the underlying local disk was preserved.SourceSnapshotId
: If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g.snap-1122aabb
. Otherwise, this field is not included.StorediSCSIVolumes
: An array of StorediSCSIVolume objects where each object contains metadata about one stored volume.TargetARN
: The Amazon Resource Name (ARN) of the volume target.VolumeARN
: The Amazon Resource Name (ARN) of the stored volume.VolumeDiskId
: The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.VolumeId
: The unique identifier of the storage volume, e.g.vol-1122AABB
.VolumeiSCSIAttributes
: An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.VolumeProgress
: Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.VolumeSizeInBytes
: The size of the volume in bytes.VolumeStatus
: One of theVolumeStatus
values that indicates the state of the volume.VolumeType
: One of the enumeration values describing the type of the volume. Currently, onlySTORED
volumes are supported.
describeStorediSCSIVolumesResponse_httpStatus :: Lens' DescribeStorediSCSIVolumesResponse Int Source #
The response's http status code.