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 Service or quota.

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

  • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

Returns:

  • (String)


130
131
132
133
134
135
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/types.rb', line 130

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

#error_messageString

The error message.

Returns:

  • (String)


130
131
132
133
134
135
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/types.rb', line 130

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