AccessDeniedDetail

Updated at:
Copy as MD

Parameter

Type

Description

Example

object

The details returned when Resource Access Management (RAM) explicitly denies access. The structure aligns with the accessDeniedDetail field in the 403 access denied response.

authAction

string

The denied RAM action, such as agentrun:ListTemplates.

agentrun:ListTemplates

authPrincipalType

string

The type of the principal, such as SubUser or AssumedRoleUser.

SubUser

authPrincipalOwnerId

string

The ID of the account to which the principal belongs.

1234567890123456

authPrincipalDisplayName

string

The display name of the principal.

demo-user

encodedDiagnosticInfo

string

The Base64-encoded diagnostic information that can be used for self-diagnosis in the RAM console.

ZXhhbXBsZS1kaWFnbm9zdGljLWluZm8=

noPermissionType

string

The type of the access denial. Valid values: ImplicitDeny and ExplicitDeny.

ImplicitDeny

policyType

string

The type of the policy, such as ResourceBasedPolicy or IdentityBasedPolicy.

IdentityBasedPolicy