Class: Aws::Deadline::Errors::ServiceQuotaExceededException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceQuotaExceededException.

Parameters:



158
159
160
# File 'lib/aws-sdk-deadline/errors.rb', line 158

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

Instance Method Details

#contextString

Returns:

  • (String)


193
194
195
# File 'lib/aws-sdk-deadline/errors.rb', line 193

def context
  @data[:context]
end

#messageString

Returns:

  • (String)


163
164
165
# File 'lib/aws-sdk-deadline/errors.rb', line 163

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

#quota_codeString

Returns:

  • (String)


183
184
185
# File 'lib/aws-sdk-deadline/errors.rb', line 183

def quota_code
  @data[:quota_code]
end

#reasonString

Returns:

  • (String)


168
169
170
# File 'lib/aws-sdk-deadline/errors.rb', line 168

def reason
  @data[:reason]
end

#resource_idString

Returns:

  • (String)


188
189
190
# File 'lib/aws-sdk-deadline/errors.rb', line 188

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


173
174
175
# File 'lib/aws-sdk-deadline/errors.rb', line 173

def resource_type
  @data[:resource_type]
end

#service_codeString

Returns:

  • (String)


178
179
180
# File 'lib/aws-sdk-deadline/errors.rb', line 178

def service_code
  @data[:service_code]
end