| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.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 architecture.
- listVolumeInitiators :: Text -> ListVolumeInitiators
- data ListVolumeInitiators
- lviVolumeARN :: Lens' ListVolumeInitiators Text
- listVolumeInitiatorsResponse :: Int -> ListVolumeInitiatorsResponse
- data ListVolumeInitiatorsResponse
- lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text]
- lvirsResponseStatus :: 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:
lviVolumeARN- The Amazon Resource Name (ARN) of the volume. Use theListVolumesoperation to return a list of gateway volumes for the gateway.
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:
lvirsInitiators- The host names and port numbers of all iSCSI initiators that are connected to the gateway.lvirsResponseStatus- -- | The response status code.
data ListVolumeInitiatorsResponse Source #
ListVolumeInitiatorsOutput
See: listVolumeInitiatorsResponse smart constructor.
Instances
Response Lenses
lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text] Source #
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
lvirsResponseStatus :: Lens' ListVolumeInitiatorsResponse Int Source #
- - | The response status code.