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.ListVolumeInitiators

Description

Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway types.

Synopsis

Creating a Request

data ListVolumeInitiators Source #

ListVolumeInitiatorsInput

See: newListVolumeInitiators smart constructor.

Constructors

ListVolumeInitiators' 

Fields

  • volumeARN :: Text

    The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.

Instances

Instances details
ToJSON ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

ToHeaders ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

ToPath ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

ToQuery ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

AWSRequest ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Associated Types

type AWSResponse ListVolumeInitiators #

Generic ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Associated Types

type Rep ListVolumeInitiators :: Type -> Type #

Read ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Show ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

NFData ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Methods

rnf :: ListVolumeInitiators -> () #

Eq ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Hashable ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

type AWSResponse ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

type Rep ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

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

newListVolumeInitiators Source #

Create a value of ListVolumeInitiators 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:

ListVolumeInitiators, listVolumeInitiators_volumeARN - The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.

Request Lenses

listVolumeInitiators_volumeARN :: Lens' ListVolumeInitiators Text Source #

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes for the gateway.

Destructuring the Response

data ListVolumeInitiatorsResponse Source #

ListVolumeInitiatorsOutput

See: newListVolumeInitiatorsResponse smart constructor.

Constructors

ListVolumeInitiatorsResponse' 

Fields

  • initiators :: Maybe [Text]

    The host names and port numbers of all iSCSI initiators that are connected to the gateway.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Associated Types

type Rep ListVolumeInitiatorsResponse :: Type -> Type #

Read ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Show ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

NFData ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Eq ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

type Rep ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

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

newListVolumeInitiatorsResponse Source #

Create a value of ListVolumeInitiatorsResponse 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:initiators:ListVolumeInitiatorsResponse', listVolumeInitiatorsResponse_initiators - The host names and port numbers of all iSCSI initiators that are connected to the gateway.

$sel:httpStatus:ListVolumeInitiatorsResponse', listVolumeInitiatorsResponse_httpStatus - The response's http status code.

Response Lenses

listVolumeInitiatorsResponse_initiators :: Lens' ListVolumeInitiatorsResponse (Maybe [Text]) Source #

The host names and port numbers of all iSCSI initiators that are connected to the gateway.