| Copyright | (c) 2013-2015 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.AWS.StorageGateway.ListVolumeInitiators
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.
- listVolumeInitiators :: Text -> ListVolumeInitiators
- data ListVolumeInitiators
- lviVolumeARN :: Lens' ListVolumeInitiators Text
- listVolumeInitiatorsResponse :: Int -> ListVolumeInitiatorsResponse
- data ListVolumeInitiatorsResponse
- lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text]
- lvirsStatus :: Lens' ListVolumeInitiatorsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ListVolumeInitiators | 
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:
data ListVolumeInitiators Source
ListVolumeInitiatorsInput
See: listVolumeInitiators smart constructor.
Instances
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
Arguments
| :: Int | |
| -> ListVolumeInitiatorsResponse | 
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:
data ListVolumeInitiatorsResponse Source
ListVolumeInitiatorsOutput
See: listVolumeInitiatorsResponse smart constructor.
Response Lenses
lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text] Source
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
lvirsStatus :: Lens' ListVolumeInitiatorsResponse Int Source
The response status code.