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

  • DEPENDENCY_THROTTLING_ERROR - The service is throttling Service Quotas.

  • DEPENDENCY_SERVICE_ERROR - The service is not available.

  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

Returns:

  • (String)


133
134
135
136
137
138
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/types.rb', line 133

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

#error_messageString

The error message.

Returns:

  • (String)


133
134
135
136
137
138
# File 'gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/types.rb', line 133

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