aws-sdk-servicequotas 1.3.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-servicequotas.rb +9 -4
- data/lib/aws-sdk-servicequotas/client.rb +84 -14
- data/lib/aws-sdk-servicequotas/client_api.rb +2 -0
- data/lib/aws-sdk-servicequotas/errors.rb +39 -15
- data/lib/aws-sdk-servicequotas/resource.rb +3 -0
- data/lib/aws-sdk-servicequotas/types.rb +50 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2259ba5e5eaa7bde182c55b59ba22c211ba7affc4640a2b3592d28bf5202bb16
|
4
|
+
data.tar.gz: 804df3ccb92905542ae8508c12eaf9f96de0b6e8d27b2ffa1100c0a10bb54c73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e129c9c2ce3490361e1adaa8e4efc87954c3397f0da792d0cc71abdfe9ac468672d6eaf2a3a5068df84a7f543410cec3d2f5929e3fbafd629773371946038b
|
7
|
+
data.tar.gz: f135abf58bbf25dbcf114cbc1e2c74993e9eff749e8a6201d71c308bb20525eed357baa2381273675fa8156d803d84ce1d41821b9c8dc028a6c7c35358027f15
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-servicequotas/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# service_quotas = Aws::ServiceQuotas::Client.new
|
30
|
+
# resp = service_quotas.associate_service_quota_template(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Service Quotas
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Service Quotas are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::ServiceQuotas::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Service Quotas API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-servicequotas/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::ServiceQuotas
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.8.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:servicequotas)
|
31
34
|
|
32
35
|
module Aws::ServiceQuotas
|
36
|
+
# An API client for ServiceQuotas. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::ServiceQuotas::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::ServiceQuotas
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::ServiceQuotas
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::ServiceQuotas
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::ServiceQuotas
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::ServiceQuotas
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::ServiceQuotas
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::ServiceQuotas
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::ServiceQuotas
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::ServiceQuotas
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::ServiceQuotas
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -592,6 +650,8 @@ module Aws::ServiceQuotas
|
|
592
650
|
# * {Types::ListAWSDefaultServiceQuotasResponse#next_token #next_token} => String
|
593
651
|
# * {Types::ListAWSDefaultServiceQuotasResponse#quotas #quotas} => Array<Types::ServiceQuota>
|
594
652
|
#
|
653
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
654
|
+
#
|
595
655
|
# @example Request syntax with placeholder values
|
596
656
|
#
|
597
657
|
# resp = client.list_aws_default_service_quotas({
|
@@ -662,6 +722,8 @@ module Aws::ServiceQuotas
|
|
662
722
|
# * {Types::ListRequestedServiceQuotaChangeHistoryResponse#next_token #next_token} => String
|
663
723
|
# * {Types::ListRequestedServiceQuotaChangeHistoryResponse#requested_quotas #requested_quotas} => Array<Types::RequestedServiceQuotaChange>
|
664
724
|
#
|
725
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
726
|
+
#
|
665
727
|
# @example Request syntax with placeholder values
|
666
728
|
#
|
667
729
|
# resp = client.list_requested_service_quota_change_history({
|
@@ -736,6 +798,8 @@ module Aws::ServiceQuotas
|
|
736
798
|
# * {Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse#next_token #next_token} => String
|
737
799
|
# * {Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse#requested_quotas #requested_quotas} => Array<Types::RequestedServiceQuotaChange>
|
738
800
|
#
|
801
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
802
|
+
#
|
739
803
|
# @example Request syntax with placeholder values
|
740
804
|
#
|
741
805
|
# resp = client.list_requested_service_quota_change_history_by_quota({
|
@@ -805,6 +869,8 @@ module Aws::ServiceQuotas
|
|
805
869
|
# * {Types::ListServiceQuotaIncreaseRequestsInTemplateResponse#service_quota_increase_request_in_template_list #service_quota_increase_request_in_template_list} => Array<Types::ServiceQuotaIncreaseRequestInTemplate>
|
806
870
|
# * {Types::ListServiceQuotaIncreaseRequestsInTemplateResponse#next_token #next_token} => String
|
807
871
|
#
|
872
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
873
|
+
#
|
808
874
|
# @example Request syntax with placeholder values
|
809
875
|
#
|
810
876
|
# resp = client.list_service_quota_increase_requests_in_template({
|
@@ -875,6 +941,8 @@ module Aws::ServiceQuotas
|
|
875
941
|
# * {Types::ListServiceQuotasResponse#next_token #next_token} => String
|
876
942
|
# * {Types::ListServiceQuotasResponse#quotas #quotas} => Array<Types::ServiceQuota>
|
877
943
|
#
|
944
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
945
|
+
#
|
878
946
|
# @example Request syntax with placeholder values
|
879
947
|
#
|
880
948
|
# resp = client.list_service_quotas({
|
@@ -941,6 +1009,8 @@ module Aws::ServiceQuotas
|
|
941
1009
|
# * {Types::ListServicesResponse#next_token #next_token} => String
|
942
1010
|
# * {Types::ListServicesResponse#services #services} => Array<Types::ServiceInfo>
|
943
1011
|
#
|
1012
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1013
|
+
#
|
944
1014
|
# @example Request syntax with placeholder values
|
945
1015
|
#
|
946
1016
|
# resp = client.list_services({
|
@@ -1079,7 +1149,7 @@ module Aws::ServiceQuotas
|
|
1079
1149
|
params: params,
|
1080
1150
|
config: config)
|
1081
1151
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1082
|
-
context[:gem_version] = '1.
|
1152
|
+
context[:gem_version] = '1.8.0'
|
1083
1153
|
Seahorse::Client::Request.new(handlers, context)
|
1084
1154
|
end
|
1085
1155
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,43 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ServiceQuotas
|
11
|
+
|
12
|
+
# When ServiceQuotas returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::ServiceQuotas::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all ServiceQuotas errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::ServiceQuotas::Errors::ServiceError
|
20
|
+
# # rescues all ServiceQuotas API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {AWSServiceAccessNotEnabledException}
|
31
|
+
# * {AccessDeniedException}
|
32
|
+
# * {DependencyAccessDeniedException}
|
33
|
+
# * {IllegalArgumentException}
|
34
|
+
# * {InvalidPaginationTokenException}
|
35
|
+
# * {InvalidResourceStateException}
|
36
|
+
# * {NoAvailableOrganizationException}
|
37
|
+
# * {NoSuchResourceException}
|
38
|
+
# * {OrganizationNotInAllFeaturesModeException}
|
39
|
+
# * {QuotaExceededException}
|
40
|
+
# * {ResourceAlreadyExistsException}
|
41
|
+
# * {ServiceException}
|
42
|
+
# * {ServiceQuotaTemplateNotInUseException}
|
43
|
+
# * {TemplatesNotAvailableInRegionException}
|
44
|
+
# * {TooManyRequestsException}
|
45
|
+
#
|
46
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
47
|
+
# if they are not defined above.
|
9
48
|
module Errors
|
10
49
|
|
11
50
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +62,6 @@ module Aws::ServiceQuotas
|
|
23
62
|
def message
|
24
63
|
@message || @data[:message]
|
25
64
|
end
|
26
|
-
|
27
65
|
end
|
28
66
|
|
29
67
|
class AccessDeniedException < ServiceError
|
@@ -39,7 +77,6 @@ module Aws::ServiceQuotas
|
|
39
77
|
def message
|
40
78
|
@message || @data[:message]
|
41
79
|
end
|
42
|
-
|
43
80
|
end
|
44
81
|
|
45
82
|
class DependencyAccessDeniedException < ServiceError
|
@@ -55,7 +92,6 @@ module Aws::ServiceQuotas
|
|
55
92
|
def message
|
56
93
|
@message || @data[:message]
|
57
94
|
end
|
58
|
-
|
59
95
|
end
|
60
96
|
|
61
97
|
class IllegalArgumentException < ServiceError
|
@@ -71,7 +107,6 @@ module Aws::ServiceQuotas
|
|
71
107
|
def message
|
72
108
|
@message || @data[:message]
|
73
109
|
end
|
74
|
-
|
75
110
|
end
|
76
111
|
|
77
112
|
class InvalidPaginationTokenException < ServiceError
|
@@ -87,7 +122,6 @@ module Aws::ServiceQuotas
|
|
87
122
|
def message
|
88
123
|
@message || @data[:message]
|
89
124
|
end
|
90
|
-
|
91
125
|
end
|
92
126
|
|
93
127
|
class InvalidResourceStateException < ServiceError
|
@@ -103,7 +137,6 @@ module Aws::ServiceQuotas
|
|
103
137
|
def message
|
104
138
|
@message || @data[:message]
|
105
139
|
end
|
106
|
-
|
107
140
|
end
|
108
141
|
|
109
142
|
class NoAvailableOrganizationException < ServiceError
|
@@ -119,7 +152,6 @@ module Aws::ServiceQuotas
|
|
119
152
|
def message
|
120
153
|
@message || @data[:message]
|
121
154
|
end
|
122
|
-
|
123
155
|
end
|
124
156
|
|
125
157
|
class NoSuchResourceException < ServiceError
|
@@ -135,7 +167,6 @@ module Aws::ServiceQuotas
|
|
135
167
|
def message
|
136
168
|
@message || @data[:message]
|
137
169
|
end
|
138
|
-
|
139
170
|
end
|
140
171
|
|
141
172
|
class OrganizationNotInAllFeaturesModeException < ServiceError
|
@@ -151,7 +182,6 @@ module Aws::ServiceQuotas
|
|
151
182
|
def message
|
152
183
|
@message || @data[:message]
|
153
184
|
end
|
154
|
-
|
155
185
|
end
|
156
186
|
|
157
187
|
class QuotaExceededException < ServiceError
|
@@ -167,7 +197,6 @@ module Aws::ServiceQuotas
|
|
167
197
|
def message
|
168
198
|
@message || @data[:message]
|
169
199
|
end
|
170
|
-
|
171
200
|
end
|
172
201
|
|
173
202
|
class ResourceAlreadyExistsException < ServiceError
|
@@ -183,7 +212,6 @@ module Aws::ServiceQuotas
|
|
183
212
|
def message
|
184
213
|
@message || @data[:message]
|
185
214
|
end
|
186
|
-
|
187
215
|
end
|
188
216
|
|
189
217
|
class ServiceException < ServiceError
|
@@ -199,7 +227,6 @@ module Aws::ServiceQuotas
|
|
199
227
|
def message
|
200
228
|
@message || @data[:message]
|
201
229
|
end
|
202
|
-
|
203
230
|
end
|
204
231
|
|
205
232
|
class ServiceQuotaTemplateNotInUseException < ServiceError
|
@@ -215,7 +242,6 @@ module Aws::ServiceQuotas
|
|
215
242
|
def message
|
216
243
|
@message || @data[:message]
|
217
244
|
end
|
218
|
-
|
219
245
|
end
|
220
246
|
|
221
247
|
class TemplatesNotAvailableInRegionException < ServiceError
|
@@ -231,7 +257,6 @@ module Aws::ServiceQuotas
|
|
231
257
|
def message
|
232
258
|
@message || @data[:message]
|
233
259
|
end
|
234
|
-
|
235
260
|
end
|
236
261
|
|
237
262
|
class TooManyRequestsException < ServiceError
|
@@ -247,7 +272,6 @@ module Aws::ServiceQuotas
|
|
247
272
|
def message
|
248
273
|
@message || @data[:message]
|
249
274
|
end
|
250
|
-
|
251
275
|
end
|
252
276
|
|
253
277
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ServiceQuotas
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -19,6 +21,7 @@ module Aws::ServiceQuotas
|
|
19
21
|
#
|
20
22
|
class AWSServiceAccessNotEnabledException < Struct.new(
|
21
23
|
:message)
|
24
|
+
SENSITIVE = []
|
22
25
|
include Aws::Structure
|
23
26
|
end
|
24
27
|
|
@@ -31,6 +34,7 @@ module Aws::ServiceQuotas
|
|
31
34
|
#
|
32
35
|
class AccessDeniedException < Struct.new(
|
33
36
|
:message)
|
37
|
+
SENSITIVE = []
|
34
38
|
include Aws::Structure
|
35
39
|
end
|
36
40
|
|
@@ -71,6 +75,7 @@ module Aws::ServiceQuotas
|
|
71
75
|
:service_code,
|
72
76
|
:quota_code,
|
73
77
|
:aws_region)
|
78
|
+
SENSITIVE = []
|
74
79
|
include Aws::Structure
|
75
80
|
end
|
76
81
|
|
@@ -88,6 +93,7 @@ module Aws::ServiceQuotas
|
|
88
93
|
#
|
89
94
|
class DependencyAccessDeniedException < Struct.new(
|
90
95
|
:message)
|
96
|
+
SENSITIVE = []
|
91
97
|
include Aws::Structure
|
92
98
|
end
|
93
99
|
|
@@ -130,6 +136,7 @@ module Aws::ServiceQuotas
|
|
130
136
|
class ErrorReason < Struct.new(
|
131
137
|
:error_code,
|
132
138
|
:error_message)
|
139
|
+
SENSITIVE = []
|
133
140
|
include Aws::Structure
|
134
141
|
end
|
135
142
|
|
@@ -154,6 +161,7 @@ module Aws::ServiceQuotas
|
|
154
161
|
class GetAWSDefaultServiceQuotaRequest < Struct.new(
|
155
162
|
:service_code,
|
156
163
|
:quota_code)
|
164
|
+
SENSITIVE = []
|
157
165
|
include Aws::Structure
|
158
166
|
end
|
159
167
|
|
@@ -166,6 +174,7 @@ module Aws::ServiceQuotas
|
|
166
174
|
#
|
167
175
|
class GetAWSDefaultServiceQuotaResponse < Struct.new(
|
168
176
|
:quota)
|
177
|
+
SENSITIVE = []
|
169
178
|
include Aws::Structure
|
170
179
|
end
|
171
180
|
|
@@ -185,6 +194,7 @@ module Aws::ServiceQuotas
|
|
185
194
|
#
|
186
195
|
class GetAssociationForServiceQuotaTemplateResponse < Struct.new(
|
187
196
|
:service_quota_template_association_status)
|
197
|
+
SENSITIVE = []
|
188
198
|
include Aws::Structure
|
189
199
|
end
|
190
200
|
|
@@ -203,6 +213,7 @@ module Aws::ServiceQuotas
|
|
203
213
|
#
|
204
214
|
class GetRequestedServiceQuotaChangeRequest < Struct.new(
|
205
215
|
:request_id)
|
216
|
+
SENSITIVE = []
|
206
217
|
include Aws::Structure
|
207
218
|
end
|
208
219
|
|
@@ -215,6 +226,7 @@ module Aws::ServiceQuotas
|
|
215
226
|
#
|
216
227
|
class GetRequestedServiceQuotaChangeResponse < Struct.new(
|
217
228
|
:requested_quota)
|
229
|
+
SENSITIVE = []
|
218
230
|
include Aws::Structure
|
219
231
|
end
|
220
232
|
|
@@ -245,6 +257,7 @@ module Aws::ServiceQuotas
|
|
245
257
|
:service_code,
|
246
258
|
:quota_code,
|
247
259
|
:aws_region)
|
260
|
+
SENSITIVE = []
|
248
261
|
include Aws::Structure
|
249
262
|
end
|
250
263
|
|
@@ -256,6 +269,7 @@ module Aws::ServiceQuotas
|
|
256
269
|
#
|
257
270
|
class GetServiceQuotaIncreaseRequestFromTemplateResponse < Struct.new(
|
258
271
|
:service_quota_increase_request_in_template)
|
272
|
+
SENSITIVE = []
|
259
273
|
include Aws::Structure
|
260
274
|
end
|
261
275
|
|
@@ -280,6 +294,7 @@ module Aws::ServiceQuotas
|
|
280
294
|
class GetServiceQuotaRequest < Struct.new(
|
281
295
|
:service_code,
|
282
296
|
:quota_code)
|
297
|
+
SENSITIVE = []
|
283
298
|
include Aws::Structure
|
284
299
|
end
|
285
300
|
|
@@ -292,6 +307,7 @@ module Aws::ServiceQuotas
|
|
292
307
|
#
|
293
308
|
class GetServiceQuotaResponse < Struct.new(
|
294
309
|
:quota)
|
310
|
+
SENSITIVE = []
|
295
311
|
include Aws::Structure
|
296
312
|
end
|
297
313
|
|
@@ -304,6 +320,7 @@ module Aws::ServiceQuotas
|
|
304
320
|
#
|
305
321
|
class IllegalArgumentException < Struct.new(
|
306
322
|
:message)
|
323
|
+
SENSITIVE = []
|
307
324
|
include Aws::Structure
|
308
325
|
end
|
309
326
|
|
@@ -316,6 +333,7 @@ module Aws::ServiceQuotas
|
|
316
333
|
#
|
317
334
|
class InvalidPaginationTokenException < Struct.new(
|
318
335
|
:message)
|
336
|
+
SENSITIVE = []
|
319
337
|
include Aws::Structure
|
320
338
|
end
|
321
339
|
|
@@ -328,6 +346,7 @@ module Aws::ServiceQuotas
|
|
328
346
|
#
|
329
347
|
class InvalidResourceStateException < Struct.new(
|
330
348
|
:message)
|
349
|
+
SENSITIVE = []
|
331
350
|
include Aws::Structure
|
332
351
|
end
|
333
352
|
|
@@ -374,6 +393,7 @@ module Aws::ServiceQuotas
|
|
374
393
|
:service_code,
|
375
394
|
:next_token,
|
376
395
|
:max_results)
|
396
|
+
SENSITIVE = []
|
377
397
|
include Aws::Structure
|
378
398
|
end
|
379
399
|
|
@@ -394,6 +414,7 @@ module Aws::ServiceQuotas
|
|
394
414
|
class ListAWSDefaultServiceQuotasResponse < Struct.new(
|
395
415
|
:next_token,
|
396
416
|
:quotas)
|
417
|
+
SENSITIVE = []
|
397
418
|
include Aws::Structure
|
398
419
|
end
|
399
420
|
|
@@ -447,6 +468,7 @@ module Aws::ServiceQuotas
|
|
447
468
|
:status,
|
448
469
|
:next_token,
|
449
470
|
:max_results)
|
471
|
+
SENSITIVE = []
|
450
472
|
include Aws::Structure
|
451
473
|
end
|
452
474
|
|
@@ -470,6 +492,7 @@ module Aws::ServiceQuotas
|
|
470
492
|
class ListRequestedServiceQuotaChangeHistoryByQuotaResponse < Struct.new(
|
471
493
|
:next_token,
|
472
494
|
:requested_quotas)
|
495
|
+
SENSITIVE = []
|
473
496
|
include Aws::Structure
|
474
497
|
end
|
475
498
|
|
@@ -517,6 +540,7 @@ module Aws::ServiceQuotas
|
|
517
540
|
:status,
|
518
541
|
:next_token,
|
519
542
|
:max_results)
|
543
|
+
SENSITIVE = []
|
520
544
|
include Aws::Structure
|
521
545
|
end
|
522
546
|
|
@@ -540,6 +564,7 @@ module Aws::ServiceQuotas
|
|
540
564
|
class ListRequestedServiceQuotaChangeHistoryResponse < Struct.new(
|
541
565
|
:next_token,
|
542
566
|
:requested_quotas)
|
567
|
+
SENSITIVE = []
|
543
568
|
include Aws::Structure
|
544
569
|
end
|
545
570
|
|
@@ -588,6 +613,7 @@ module Aws::ServiceQuotas
|
|
588
613
|
:aws_region,
|
589
614
|
:next_token,
|
590
615
|
:max_results)
|
616
|
+
SENSITIVE = []
|
591
617
|
include Aws::Structure
|
592
618
|
end
|
593
619
|
|
@@ -612,6 +638,7 @@ module Aws::ServiceQuotas
|
|
612
638
|
class ListServiceQuotaIncreaseRequestsInTemplateResponse < Struct.new(
|
613
639
|
:service_quota_increase_request_in_template_list,
|
614
640
|
:next_token)
|
641
|
+
SENSITIVE = []
|
615
642
|
include Aws::Structure
|
616
643
|
end
|
617
644
|
|
@@ -654,6 +681,7 @@ module Aws::ServiceQuotas
|
|
654
681
|
:service_code,
|
655
682
|
:next_token,
|
656
683
|
:max_results)
|
684
|
+
SENSITIVE = []
|
657
685
|
include Aws::Structure
|
658
686
|
end
|
659
687
|
|
@@ -678,6 +706,7 @@ module Aws::ServiceQuotas
|
|
678
706
|
class ListServiceQuotasResponse < Struct.new(
|
679
707
|
:next_token,
|
680
708
|
:quotas)
|
709
|
+
SENSITIVE = []
|
681
710
|
include Aws::Structure
|
682
711
|
end
|
683
712
|
|
@@ -713,6 +742,7 @@ module Aws::ServiceQuotas
|
|
713
742
|
class ListServicesRequest < Struct.new(
|
714
743
|
:next_token,
|
715
744
|
:max_results)
|
745
|
+
SENSITIVE = []
|
716
746
|
include Aws::Structure
|
717
747
|
end
|
718
748
|
|
@@ -736,6 +766,7 @@ module Aws::ServiceQuotas
|
|
736
766
|
class ListServicesResponse < Struct.new(
|
737
767
|
:next_token,
|
738
768
|
:services)
|
769
|
+
SENSITIVE = []
|
739
770
|
include Aws::Structure
|
740
771
|
end
|
741
772
|
|
@@ -774,6 +805,7 @@ module Aws::ServiceQuotas
|
|
774
805
|
:metric_name,
|
775
806
|
:metric_dimensions,
|
776
807
|
:metric_statistic_recommendation)
|
808
|
+
SENSITIVE = []
|
777
809
|
include Aws::Structure
|
778
810
|
end
|
779
811
|
|
@@ -786,6 +818,7 @@ module Aws::ServiceQuotas
|
|
786
818
|
#
|
787
819
|
class NoAvailableOrganizationException < Struct.new(
|
788
820
|
:message)
|
821
|
+
SENSITIVE = []
|
789
822
|
include Aws::Structure
|
790
823
|
end
|
791
824
|
|
@@ -798,6 +831,7 @@ module Aws::ServiceQuotas
|
|
798
831
|
#
|
799
832
|
class NoSuchResourceException < Struct.new(
|
800
833
|
:message)
|
834
|
+
SENSITIVE = []
|
801
835
|
include Aws::Structure
|
802
836
|
end
|
803
837
|
|
@@ -815,6 +849,7 @@ module Aws::ServiceQuotas
|
|
815
849
|
#
|
816
850
|
class OrganizationNotInAllFeaturesModeException < Struct.new(
|
817
851
|
:message)
|
852
|
+
SENSITIVE = []
|
818
853
|
include Aws::Structure
|
819
854
|
end
|
820
855
|
|
@@ -851,6 +886,7 @@ module Aws::ServiceQuotas
|
|
851
886
|
:service_code,
|
852
887
|
:aws_region,
|
853
888
|
:desired_value)
|
889
|
+
SENSITIVE = []
|
854
890
|
include Aws::Structure
|
855
891
|
end
|
856
892
|
|
@@ -863,6 +899,7 @@ module Aws::ServiceQuotas
|
|
863
899
|
#
|
864
900
|
class PutServiceQuotaIncreaseRequestIntoTemplateResponse < Struct.new(
|
865
901
|
:service_quota_increase_request_in_template)
|
902
|
+
SENSITIVE = []
|
866
903
|
include Aws::Structure
|
867
904
|
end
|
868
905
|
|
@@ -877,6 +914,7 @@ module Aws::ServiceQuotas
|
|
877
914
|
#
|
878
915
|
class QuotaExceededException < Struct.new(
|
879
916
|
:message)
|
917
|
+
SENSITIVE = []
|
880
918
|
include Aws::Structure
|
881
919
|
end
|
882
920
|
|
@@ -895,6 +933,7 @@ module Aws::ServiceQuotas
|
|
895
933
|
class QuotaPeriod < Struct.new(
|
896
934
|
:period_value,
|
897
935
|
:period_unit)
|
936
|
+
SENSITIVE = []
|
898
937
|
include Aws::Structure
|
899
938
|
end
|
900
939
|
|
@@ -925,6 +964,7 @@ module Aws::ServiceQuotas
|
|
925
964
|
:service_code,
|
926
965
|
:quota_code,
|
927
966
|
:desired_value)
|
967
|
+
SENSITIVE = []
|
928
968
|
include Aws::Structure
|
929
969
|
end
|
930
970
|
|
@@ -936,6 +976,7 @@ module Aws::ServiceQuotas
|
|
936
976
|
#
|
937
977
|
class RequestServiceQuotaIncreaseResponse < Struct.new(
|
938
978
|
:requested_quota)
|
979
|
+
SENSITIVE = []
|
939
980
|
include Aws::Structure
|
940
981
|
end
|
941
982
|
|
@@ -1017,6 +1058,7 @@ module Aws::ServiceQuotas
|
|
1017
1058
|
:quota_arn,
|
1018
1059
|
:global_quota,
|
1019
1060
|
:unit)
|
1061
|
+
SENSITIVE = []
|
1020
1062
|
include Aws::Structure
|
1021
1063
|
end
|
1022
1064
|
|
@@ -1029,6 +1071,7 @@ module Aws::ServiceQuotas
|
|
1029
1071
|
#
|
1030
1072
|
class ResourceAlreadyExistsException < Struct.new(
|
1031
1073
|
:message)
|
1074
|
+
SENSITIVE = []
|
1032
1075
|
include Aws::Structure
|
1033
1076
|
end
|
1034
1077
|
|
@@ -1041,6 +1084,7 @@ module Aws::ServiceQuotas
|
|
1041
1084
|
#
|
1042
1085
|
class ServiceException < Struct.new(
|
1043
1086
|
:message)
|
1087
|
+
SENSITIVE = []
|
1044
1088
|
include Aws::Structure
|
1045
1089
|
end
|
1046
1090
|
|
@@ -1061,6 +1105,7 @@ module Aws::ServiceQuotas
|
|
1061
1105
|
class ServiceInfo < Struct.new(
|
1062
1106
|
:service_code,
|
1063
1107
|
:service_name)
|
1108
|
+
SENSITIVE = []
|
1064
1109
|
include Aws::Structure
|
1065
1110
|
end
|
1066
1111
|
|
@@ -1131,6 +1176,7 @@ module Aws::ServiceQuotas
|
|
1131
1176
|
:usage_metric,
|
1132
1177
|
:period,
|
1133
1178
|
:error_reason)
|
1179
|
+
SENSITIVE = []
|
1134
1180
|
include Aws::Structure
|
1135
1181
|
end
|
1136
1182
|
|
@@ -1183,6 +1229,7 @@ module Aws::ServiceQuotas
|
|
1183
1229
|
:aws_region,
|
1184
1230
|
:unit,
|
1185
1231
|
:global_quota)
|
1232
|
+
SENSITIVE = []
|
1186
1233
|
include Aws::Structure
|
1187
1234
|
end
|
1188
1235
|
|
@@ -1197,6 +1244,7 @@ module Aws::ServiceQuotas
|
|
1197
1244
|
#
|
1198
1245
|
class ServiceQuotaTemplateNotInUseException < Struct.new(
|
1199
1246
|
:message)
|
1247
|
+
SENSITIVE = []
|
1200
1248
|
include Aws::Structure
|
1201
1249
|
end
|
1202
1250
|
|
@@ -1210,6 +1258,7 @@ module Aws::ServiceQuotas
|
|
1210
1258
|
#
|
1211
1259
|
class TemplatesNotAvailableInRegionException < Struct.new(
|
1212
1260
|
:message)
|
1261
|
+
SENSITIVE = []
|
1213
1262
|
include Aws::Structure
|
1214
1263
|
end
|
1215
1264
|
|
@@ -1223,6 +1272,7 @@ module Aws::ServiceQuotas
|
|
1223
1272
|
#
|
1224
1273
|
class TooManyRequestsException < Struct.new(
|
1225
1274
|
:message)
|
1275
|
+
SENSITIVE = []
|
1226
1276
|
include Aws::Structure
|
1227
1277
|
end
|
1228
1278
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-servicequotas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Service Quotas
|