| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data ListVolumeInitiators = ListVolumeInitiators' {}
- newListVolumeInitiators :: Text -> ListVolumeInitiators
- listVolumeInitiators_volumeARN :: Lens' ListVolumeInitiators Text
- data ListVolumeInitiatorsResponse = ListVolumeInitiatorsResponse' {
- initiators :: Maybe [Text]
- httpStatus :: Int
- newListVolumeInitiatorsResponse :: Int -> ListVolumeInitiatorsResponse
- listVolumeInitiatorsResponse_initiators :: Lens' ListVolumeInitiatorsResponse (Maybe [Text])
- listVolumeInitiatorsResponse_httpStatus :: Lens' ListVolumeInitiatorsResponse Int
Creating a Request
data ListVolumeInitiators Source #
ListVolumeInitiatorsInput
See: newListVolumeInitiators smart constructor.
Constructors
| ListVolumeInitiators' | |
Instances
newListVolumeInitiators Source #
Arguments
| :: Text | |
| -> ListVolumeInitiators |
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
| |
Instances
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.
listVolumeInitiatorsResponse_httpStatus :: Lens' ListVolumeInitiatorsResponse Int Source #
The response's http status code.