Class: Aws::ManagedBlockchainQuery::Errors::ServiceQuotaExceededException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceQuotaExceededException.

Parameters:



112
113
114
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/errors.rb', line 112

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

Instance Method Details

#messageString

Returns:

  • (String)


117
118
119
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/errors.rb', line 117

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

#quota_codeString

Returns:

  • (String)


137
138
139
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/errors.rb', line 137

def quota_code
  @data[:quota_code]
end

#resource_idString

Returns:

  • (String)


122
123
124
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/errors.rb', line 122

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


127
128
129
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/errors.rb', line 127

def resource_type
  @data[:resource_type]
end

#service_codeString

Returns:

  • (String)


132
133
134
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/errors.rb', line 132

def service_code
  @data[:service_code]
end