Class: Aws::MainframeModernization::Errors::ServiceQuotaExceededException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceQuotaExceededException.

Parameters:



159
160
161
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 159

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

Instance Method Details

#messageString

Returns:

  • (String)


164
165
166
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 164

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

#quota_codeString

Returns:

  • (String)


169
170
171
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 169

def quota_code
  @data[:quota_code]
end

#resource_idString

Returns:

  • (String)


174
175
176
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 174

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


179
180
181
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 179

def resource_type
  @data[:resource_type]
end

#service_codeString

Returns:

  • (String)


184
185
186
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 184

def service_code
  @data[:service_code]
end