// 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. This operation is supported in
// the volume and tape gateway types. When you update CHAP credentials, all
// existing connections on the target are closed and initiators must reconnect with
// the new credentials.
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. This operation is supported in
the volume and tape gateway types. When you update CHAP credentials, all
existing connections on the target are closed and initiators must reconnect with
the new credentials.
// 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 . This operation is supported in // the volume and tape gateway types . When you update CHAP credentials all // existing connections on the target are closed and initiators must reconnect with // the new credentials .
func (c *Client) UpdateChapCredentials(ctx context.Context, params *UpdateChapCredentialsInput, optFns ...func(*Options)) (*UpdateChapCredentialsOutput, error) {
	if params == nil {
		params = &UpdateChapCredentialsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateChapCredentials", params, optFns, addOperationUpdateChapCredentialsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateChapCredentialsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateChapCredentials ( ctx context . Context , params * UpdateChapCredentialsInput , optFns ... func ( * Options ) ) ( * UpdateChapCredentialsOutput , error ) { if params == nil { params = & UpdateChapCredentialsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateChapCredentialsMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateChapCredentialsOutput ) out . ResultMetadata = metadata return out , nil }
Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a
specified iSCSI target.
Updates the Challenge - Handshake Authentication Protocol ( CHAP ) credentials for a specified iSCSI target .