deleteAccessProfile
abstract suspend fun deleteAccessProfile(input: DeleteAccessProfileRequest): DeleteAccessProfileResponse
Removes an access profile. An access profile cannot be deleted while access grants reference it.
Samples
// The following example deletes an access profile from a space. An access profile cannot be deleted
// while access grants reference it. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.deleteAccessProfile {
spaceId = "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
profileId = "analyst-readonly"
}Content copied to clipboard