deleteChapCredentials

Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair. This operation is supported in volume and tape gateway types.

Samples


fun main() { 
   //sampleStart 
   // Deletes Challenge Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target
// and initiator pair.
val resp = storageGatewayClient.deleteChapCredentials {
    targetArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
    initiatorName = "iqn.1991-05.com.microsoft:computername.domain.example.com"
} 
   //sampleEnd
}