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 |
This operation deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.
See: AWS API Reference for DeleteChapCredentials.
- 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)
- drsStatus :: Lens' DeleteChapCredentialsResponse Int
Creating a Request
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:
data DeleteChapCredentials Source
A JSON object containing one or more of the following fields:
- DeleteChapCredentialsInput$InitiatorName
- DeleteChapCredentialsInput$TargetARN
See: deleteChapCredentials
smart constructor.
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
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:
data DeleteChapCredentialsResponse Source
A JSON object containing the following fields:
See: deleteChapCredentialsResponse
smart constructor.
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.
drsStatus :: Lens' DeleteChapCredentialsResponse Int Source
The response status code.