class Aws::Signin::Types::AccessDeniedException


@see docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/AccessDeniedException AWS API Documentation
@return [String]
information about why access was denied
Detailed message explaining the access denial Provides specific
@!attribute [rw] message
@return [String]
USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS
Can be TOKEN_EXPIRED, AUTHCODE_EXPIRED,
OAuth 2.0 error code indicating the specific type of access denial
@!attribute [rw] error
the specific access denial reason.
error enum value. Consumers should use the error field to determine
The specific HTTP status code is determined at runtime based on the
INSUFFICIENT_PERMISSIONS
* HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED,
* HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
Runtime HTTP Status Code Mapping:
mapping
Error thrown for access denied scenarios with flexible HTTP status