Class: Aws::MainframeModernization::Errors::ServiceQuotaExceededException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::MainframeModernization::Errors::ServiceQuotaExceededException
- Defined in:
- lib/aws-sdk-mainframemodernization/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceQuotaExceededException
constructor
A new instance of ServiceQuotaExceededException.
- #message ⇒ String
- #quota_code ⇒ String
- #resource_id ⇒ String
- #resource_type ⇒ String
- #service_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceQuotaExceededException
Returns a new instance of ServiceQuotaExceededException.
159 160 161 |
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 159 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
164 165 166 |
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 164 def @message || @data[:message] end |
#quota_code ⇒ String
169 170 171 |
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 169 def quota_code @data[:quota_code] end |
#resource_id ⇒ String
174 175 176 |
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 174 def resource_id @data[:resource_id] end |
#resource_type ⇒ String
179 180 181 |
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 179 def resource_type @data[:resource_type] end |
#service_code ⇒ String
184 185 186 |
# File 'lib/aws-sdk-mainframemodernization/errors.rb', line 184 def service_code @data[:service_code] end |