Class: Aws::CognitoIdentityProvider::Errors::WebAuthnNotEnabledException

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

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WebAuthnNotEnabledException

Returns a new instance of WebAuthnNotEnabledException.

Parameters:



882
883
884
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/errors.rb', line 882

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


887
888
889
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/errors.rb', line 887

def message
  @message || @data[:message]
end