You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::NotAuthorizedException

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

This exception is thrown when a user is not authorized.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The message returned when the Amazon Cognito service returns a not authorized exception.

Returns:

  • (String)


5655
5656
5657
5658
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5655

class NotAuthorizedException < Struct.new(
  :message)
  include Aws::Structure
end