| 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.DeleteChapCredentials
Description
Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.
- deleteChapCredentials :: Text -> Text -> DeleteChapCredentials
- data DeleteChapCredentials
- dTargetARN :: Lens' DeleteChapCredentials Text
- dInitiatorName :: Lens' DeleteChapCredentials Text
- deleteChapCredentialsResponse :: Int -> DeleteChapCredentialsResponse
- data DeleteChapCredentialsResponse
- drsTargetARN :: Lens' DeleteChapCredentialsResponse (Maybe Text)
- drsInitiatorName :: Lens' DeleteChapCredentialsResponse (Maybe Text)
- drsResponseStatus :: Lens' DeleteChapCredentialsResponse Int
Creating a Request
deleteChapCredentials Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteChapCredentials |
Creates a value of DeleteChapCredentials with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dTargetARN- The Amazon Resource Name (ARN) of the iSCSI volume target. Use theDescribeStorediSCSIVolumesoperation to return to retrieve the TargetARN for specified VolumeARN.dInitiatorName- The iSCSI initiator that connects to the target.
data DeleteChapCredentials Source #
A JSON object containing one or more of the following fields:
- 'DeleteChapCredentialsInput$InitiatorName'
- 'DeleteChapCredentialsInput$TargetARN'
See: deleteChapCredentials smart constructor.
Instances
Request Lenses
dTargetARN :: Lens' DeleteChapCredentials Text Source #
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
dInitiatorName :: Lens' DeleteChapCredentials Text Source #
The iSCSI initiator that connects to the target.
Destructuring the Response
deleteChapCredentialsResponse Source #
Arguments
| :: Int | |
| -> DeleteChapCredentialsResponse |
Creates a value of DeleteChapCredentialsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsTargetARN- The Amazon Resource Name (ARN) of the target.drsInitiatorName- The iSCSI initiator that connects to the target.drsResponseStatus- -- | The response status code.
data DeleteChapCredentialsResponse Source #
A JSON object containing the following fields:
See: deleteChapCredentialsResponse smart constructor.
Instances
Response Lenses
drsTargetARN :: Lens' DeleteChapCredentialsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the target.
drsInitiatorName :: Lens' DeleteChapCredentialsResponse (Maybe Text) Source #
The iSCSI initiator that connects to the target.
drsResponseStatus :: Lens' DeleteChapCredentialsResponse Int Source #
- - | The response status code.