updateAccessProfile
abstract suspend fun updateAccessProfile(input: UpdateAccessProfileRequest): UpdateAccessProfileResponse
Updates the name or description of an access profile. Only the provided fields are changed; omitted fields are left unchanged.
Samples
// The following example updates only the description of an access profile the name is left unchanged.
// Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.updateAccessProfile {
spaceId = "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
profileId = "analyst-readonly"
description = "Read-only access for analysts and on-call responders."
}Content copied to clipboard