deleteAccessGrant
Removes an existing AccessGrant, revoking the access it granted. A service-managed grant cannot be deleted.
Samples
// The following example deletes an access grant by ID, revoking the access it granted. Payloads are
// shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.deleteAccessGrant {
grantId = "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d"
}Content copied to clipboard