Class: Aws::CognitoIdentityProvider::Errors::ForbiddenException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CognitoIdentityProvider::Errors::ForbiddenException
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ForbiddenException
constructor
A new instance of ForbiddenException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ForbiddenException
Returns a new instance of ForbiddenException.
189 190 191 |
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 189 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
194 195 196 |
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 194 def @message || @data[:message] end |