Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::ServiceQuotas::Types::ErrorReason

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

Overview

An error that explains why an action did not succeed.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

Service Quotas returns the following error values:

  • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Services service or quota.

  • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling Service Quotas.

  • DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available.

  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

Returns:

  • (String)

147
148
149
150
151
152
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/types.rb', line 147

class ErrorReason < Struct.new(
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

The error message.

Returns:

  • (String)

147
148
149
150
151
152
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/types.rb', line 147

class ErrorReason < Struct.new(
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end