amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Description

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

Creating a Request

data DescribeCachediSCSIVolumes Source #

See: newDescribeCachediSCSIVolumes smart constructor.

Constructors

DescribeCachediSCSIVolumes' 

Fields

  • volumeARNs :: [Text]

    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.

Instances

Instances details
ToJSON DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

ToHeaders DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

ToPath DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

ToQuery DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

AWSRequest DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Generic DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Associated Types

type Rep DescribeCachediSCSIVolumes :: Type -> Type #

Read DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Show DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

NFData DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Eq DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Hashable DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

type AWSResponse DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

type Rep DescribeCachediSCSIVolumes Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

type Rep DescribeCachediSCSIVolumes = D1 ('MetaData "DescribeCachediSCSIVolumes" "Amazonka.StorageGateway.DescribeCachediSCSIVolumes" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeCachediSCSIVolumes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

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.

Constructors

DescribeCachediSCSIVolumesResponse' 

Fields

Instances

Instances details
Generic DescribeCachediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Associated Types

type Rep DescribeCachediSCSIVolumesResponse :: Type -> Type #

Read DescribeCachediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Show DescribeCachediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

NFData DescribeCachediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

Eq DescribeCachediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

type Rep DescribeCachediSCSIVolumesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeCachediSCSIVolumes

type Rep DescribeCachediSCSIVolumesResponse = D1 ('MetaData "DescribeCachediSCSIVolumesResponse" "Amazonka.StorageGateway.DescribeCachediSCSIVolumes" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeCachediSCSIVolumesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cachediSCSIVolumes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CachediSCSIVolume])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.