getAccessProfile
Retrieves an access profile by ID. The response indicates whether the calling principal is currently allowed to assume the profile.
Samples
// The following example retrieves an access profile by ID, including whether the calling principal is
// currently allowed to assume it. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.getAccessProfile {
spaceId = "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
profileId = "analyst-readonly"
}Content copied to clipboard