libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Description

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

Creating a Request

data DescribeStorediSCSIVolumes Source #

A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.

See: newDescribeStorediSCSIVolumes smart constructor.

Constructors

DescribeStorediSCSIVolumes' 

Fields

  • volumeARNs :: [Text]

    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.

Instances

Instances details
Eq DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Read DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Show DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Generic DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Associated Types

type Rep DescribeStorediSCSIVolumes :: Type -> Type #

NFData DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Hashable DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

ToJSON DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

AWSRequest DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

ToHeaders DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

ToPath DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

ToQuery DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

type Rep DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

type Rep DescribeStorediSCSIVolumes = D1 ('MetaData "DescribeStorediSCSIVolumes" "Amazonka.StorageGateway.DescribeStorediSCSIVolumes" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeStorediSCSIVolumes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse DescribeStorediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

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 #

Constructors

DescribeStorediSCSIVolumesResponse' 

Fields

  • storediSCSIVolumes :: Maybe [StorediSCSIVolume]

    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 the VolumeStatus values that indicates the state of the volume.
    • VolumeType: One of the enumeration values describing the type of the volume. Currently, only STORED volumes are supported.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeStorediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Read DescribeStorediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Show DescribeStorediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Generic DescribeStorediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

Associated Types

type Rep DescribeStorediSCSIVolumesResponse :: Type -> Type #

NFData DescribeStorediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

type Rep DescribeStorediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeStorediSCSIVolumes

type Rep DescribeStorediSCSIVolumesResponse = D1 ('MetaData "DescribeStorediSCSIVolumesResponse" "Amazonka.StorageGateway.DescribeStorediSCSIVolumes" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeStorediSCSIVolumesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "storediSCSIVolumes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StorediSCSIVolume])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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 the VolumeStatus values that indicates the state of the volume.
  • VolumeType: One of the enumeration values describing the type of the volume. Currently, only STORED 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 the VolumeStatus values that indicates the state of the volume.
  • VolumeType: One of the enumeration values describing the type of the volume. Currently, only STORED volumes are supported.