ForbiddenException
¶
ForbiddenException(
data: ForbiddenException_, message: str | None = None, *, response: Response
)
Bases: ServiceError
Modeled error for Smithy shape com.amazonaws.cognitoidentityprovider#ForbiddenException.
Raised by
-
AsyncCognitoIdentityProviderClient Operations-
associate_software_token -
change_password -
complete_web_authn_registration -
confirm_device -
confirm_forgot_password -
confirm_sign_up -
delete_user -
delete_user_attributes -
delete_web_authn_credential -
forget_device -
forgot_password -
get_client_token -
get_device -
get_tokens_from_refresh_token -
get_user -
get_user_attribute_verification_code -
get_user_auth_factors -
global_sign_out -
initiate_auth -
list_devices -
list_web_authn_credentials -
resend_confirmation_code -
respond_to_auth_challenge -
revoke_token -
set_user_mfa_preference -
set_user_settings -
sign_up -
start_web_authn_registration -
update_device_status -
update_user_attributes -
verify_software_token -
verify_user_attribute
-
-
CognitoIdentityProviderClient Operations-
associate_software_token -
change_password -
complete_web_authn_registration -
confirm_device -
confirm_forgot_password -
confirm_sign_up -
delete_user -
delete_user_attributes -
delete_web_authn_credential -
forget_device -
forgot_password -
get_client_token -
get_device -
get_tokens_from_refresh_token -
get_user -
get_user_attribute_verification_code -
get_user_auth_factors -
global_sign_out -
initiate_auth -
list_devices -
list_web_authn_credentials -
resend_confirmation_code -
respond_to_auth_challenge -
revoke_token -
set_user_mfa_preference -
set_user_settings -
sign_up -
start_web_authn_registration -
update_device_status -
update_user_attributes -
verify_software_token -
verify_user_attribute
-
from_aws_json_1_1
classmethod
¶
from_aws_json_1_1(
data: dict, message: str | None = None, *, response: Response
) -> ForbiddenException