AWS SDK for .NET Documentation
UpdateChapCredentials Method (updateChapCredentialsRequest)
AmazonAmazon.StorageGatewayAmazonStorageGatewayClientUpdateChapCredentials(UpdateChapCredentialsRequest) Did this page help you?   Yes   No    Tell us about it...

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.

IMPORTANT: When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.

Declaration Syntax
C#
public UpdateChapCredentialsResponse UpdateChapCredentials(
	UpdateChapCredentialsRequest updateChapCredentialsRequest
)
Parameters
updateChapCredentialsRequest (UpdateChapCredentialsRequest)
Container for the necessary parameters to execute the UpdateChapCredentials service method on AmazonStorageGateway.
Return Value
The response from the UpdateChapCredentials service method, as returned by AmazonStorageGateway.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)