Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it.
When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_UpdateChapCredentials.html
- data UpdateChapCredentials
- updateChapCredentials :: Text -> Text -> Text -> UpdateChapCredentials
- uccInitiatorName :: Lens' UpdateChapCredentials Text
- uccSecretToAuthenticateInitiator :: Lens' UpdateChapCredentials Text
- uccSecretToAuthenticateTarget :: Lens' UpdateChapCredentials (Maybe Text)
- uccTargetARN :: Lens' UpdateChapCredentials Text
- data UpdateChapCredentialsResponse
- updateChapCredentialsResponse :: UpdateChapCredentialsResponse
- uccrInitiatorName :: Lens' UpdateChapCredentialsResponse (Maybe Text)
- uccrTargetARN :: Lens' UpdateChapCredentialsResponse (Maybe Text)
Request
data UpdateChapCredentials Source
Request constructor
:: Text | |
-> Text | |
-> Text | |
-> UpdateChapCredentials |
UpdateChapCredentials
constructor.
The fields accessible through corresponding lenses are:
Request lenses
uccInitiatorName :: Lens' UpdateChapCredentials Text Source
The iSCSI initiator that connects to the target.
uccSecretToAuthenticateInitiator :: Lens' UpdateChapCredentials Text Source
The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
uccSecretToAuthenticateTarget :: Lens' UpdateChapCredentials (Maybe Text) Source
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
uccTargetARN :: Lens' UpdateChapCredentials 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.
Response
Response constructor
updateChapCredentialsResponse :: UpdateChapCredentialsResponse Source
UpdateChapCredentialsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
uccrInitiatorName :: Lens' UpdateChapCredentialsResponse (Maybe Text) Source
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.
uccrTargetARN :: Lens' UpdateChapCredentialsResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.