Class: Aws::CognitoIdentityProvider::Errors::ForbiddenException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CognitoIdentityProvider::Errors::ForbiddenException
- Defined in:
- gems/aws-sdk-cognitoidentityprovider/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.
214 215 216 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/errors.rb', line 214 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
219 220 221 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/errors.rb', line 219 def @message || @data[:message] end |