amazonka-storagegateway-1.3.6: Amazon Storage Gateway SDK.

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

Network.AWS.StorageGateway.ListVolumeInitiators

Contents

Description

This operation lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not.

See: AWS API Reference for ListVolumeInitiators.

Synopsis

Creating a Request

listVolumeInitiators Source

Creates a value of ListVolumeInitiators with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

lviVolumeARN :: 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

listVolumeInitiatorsResponse Source

Creates a value of ListVolumeInitiatorsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text] Source

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