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.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
Eq ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Read ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Show ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Generic ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Associated Types

type Rep ListVolumeInitiators :: Type -> Type #

NFData ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Methods

rnf :: ListVolumeInitiators -> () #

Hashable ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

ToJSON ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

AWSRequest ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Associated Types

type AWSResponse 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

type Rep ListVolumeInitiators Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

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

Defined in Amazonka.StorageGateway.ListVolumeInitiators

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:

$sel:volumeARN: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
Eq ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Read ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Show ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Generic ListVolumeInitiatorsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListVolumeInitiators

Associated Types

type Rep ListVolumeInitiatorsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" '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.