updateConnectionRecordingPreferences

Updates the preferences for recording RDP connections.

Samples

// Updates the connection recording preferences for the account
val resp = ssmGuiConnectClient.updateConnectionRecordingPreferences {
    connectionRecordingPreferences = ConnectionRecordingPreferences {
        recordingDestinations = RecordingDestinations {
            s3Buckets = listOf<S3Bucket>(
                S3Bucket {
                    bucketOwner = "123456789012"
                    bucketName = "sample-connection-recording-bucket"
                }                    
            )
        }
        kmsKeyArn = "arn:aws:kms:region:account_id:key/sample_key_id"
    }
}