aws-sdk-servicequotas 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-servicequotas.rb +47 -0
- data/lib/aws-sdk-servicequotas/client.rb +1104 -0
- data/lib/aws-sdk-servicequotas/client_api.rb +635 -0
- data/lib/aws-sdk-servicequotas/customizations.rb +0 -0
- data/lib/aws-sdk-servicequotas/errors.rb +254 -0
- data/lib/aws-sdk-servicequotas/resource.rb +23 -0
- data/lib/aws-sdk-servicequotas/types.rb +1230 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bce5416a4e26af265c2f6edce9f82c63fb3a1d18
|
4
|
+
data.tar.gz: 4ff07c9bd94be0b09bd881e6715a1287a1d0948a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 214ee188d23965c7412f24ef4195154e16fa6c65e7168e4c1c9676e03041f5657ff9094944aaf0de64662d38cd9989d42d1545275eb86acb4bbc281ed11aafbe
|
7
|
+
data.tar.gz: 5a617497851858b6aafd4435883e0ed98c52f22d8beb8ad8e93c586d03ab09c292b1dcb500f65cb36e649bbeae75ce6ef40e7d5e40b95333919a68ef2b7fda98
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'aws-sdk-core'
|
9
|
+
require 'aws-sigv4'
|
10
|
+
|
11
|
+
require_relative 'aws-sdk-servicequotas/types'
|
12
|
+
require_relative 'aws-sdk-servicequotas/client_api'
|
13
|
+
require_relative 'aws-sdk-servicequotas/client'
|
14
|
+
require_relative 'aws-sdk-servicequotas/errors'
|
15
|
+
require_relative 'aws-sdk-servicequotas/resource'
|
16
|
+
require_relative 'aws-sdk-servicequotas/customizations'
|
17
|
+
|
18
|
+
# This module provides support for Service Quotas. This module is available in the
|
19
|
+
# `aws-sdk-servicequotas` gem.
|
20
|
+
#
|
21
|
+
# # Client
|
22
|
+
#
|
23
|
+
# The {Client} class provides one method for each API operation. Operation
|
24
|
+
# methods each accept a hash of request parameters and return a response
|
25
|
+
# structure.
|
26
|
+
#
|
27
|
+
# See {Client} for more information.
|
28
|
+
#
|
29
|
+
# # Errors
|
30
|
+
#
|
31
|
+
# Errors returned from Service Quotas all
|
32
|
+
# extend {Errors::ServiceError}.
|
33
|
+
#
|
34
|
+
# begin
|
35
|
+
# # do stuff
|
36
|
+
# rescue Aws::ServiceQuotas::Errors::ServiceError
|
37
|
+
# # rescues all service API errors
|
38
|
+
# end
|
39
|
+
#
|
40
|
+
# See {Errors} for more information.
|
41
|
+
#
|
42
|
+
# @service
|
43
|
+
module Aws::ServiceQuotas
|
44
|
+
|
45
|
+
GEM_VERSION = '1.0.0'
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,1104 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'seahorse/client/plugins/content_length.rb'
|
9
|
+
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
10
|
+
require 'aws-sdk-core/plugins/logging.rb'
|
11
|
+
require 'aws-sdk-core/plugins/param_converter.rb'
|
12
|
+
require 'aws-sdk-core/plugins/param_validator.rb'
|
13
|
+
require 'aws-sdk-core/plugins/user_agent.rb'
|
14
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
15
|
+
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
|
+
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
|
+
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
19
|
+
require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
20
|
+
require 'aws-sdk-core/plugins/response_paging.rb'
|
21
|
+
require 'aws-sdk-core/plugins/stub_responses.rb'
|
22
|
+
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
23
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
24
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
|
+
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
|
+
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
|
+
|
30
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:servicequotas)
|
31
|
+
|
32
|
+
module Aws::ServiceQuotas
|
33
|
+
class Client < Seahorse::Client::Base
|
34
|
+
|
35
|
+
include Aws::ClientStubs
|
36
|
+
|
37
|
+
@identifier = :servicequotas
|
38
|
+
|
39
|
+
set_api(ClientApi::API)
|
40
|
+
|
41
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
42
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
43
|
+
add_plugin(Aws::Plugins::Logging)
|
44
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
45
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
46
|
+
add_plugin(Aws::Plugins::UserAgent)
|
47
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
48
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
49
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
50
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
51
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
52
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
53
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
54
|
+
add_plugin(Aws::Plugins::StubResponses)
|
55
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
56
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
57
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
60
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
61
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
|
+
|
63
|
+
# @overload initialize(options)
|
64
|
+
# @param [Hash] options
|
65
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
66
|
+
# Your AWS credentials. This can be an instance of any one of the
|
67
|
+
# following classes:
|
68
|
+
#
|
69
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
70
|
+
# credentials.
|
71
|
+
#
|
72
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
73
|
+
# from an EC2 IMDS on an EC2 instance.
|
74
|
+
#
|
75
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
76
|
+
# shared file, such as `~/.aws/config`.
|
77
|
+
#
|
78
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
79
|
+
#
|
80
|
+
# When `:credentials` are not configured directly, the following
|
81
|
+
# locations will be searched for credentials:
|
82
|
+
#
|
83
|
+
# * `Aws.config[:credentials]`
|
84
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
85
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
86
|
+
# * `~/.aws/credentials`
|
87
|
+
# * `~/.aws/config`
|
88
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
89
|
+
# very aggressive. Construct and pass an instance of
|
90
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
91
|
+
# timeouts.
|
92
|
+
#
|
93
|
+
# @option options [required, String] :region
|
94
|
+
# The AWS region to connect to. The configured `:region` is
|
95
|
+
# used to determine the service `:endpoint`. When not passed,
|
96
|
+
# a default `:region` is search for in the following locations:
|
97
|
+
#
|
98
|
+
# * `Aws.config[:region]`
|
99
|
+
# * `ENV['AWS_REGION']`
|
100
|
+
# * `ENV['AMAZON_REGION']`
|
101
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
102
|
+
# * `~/.aws/credentials`
|
103
|
+
# * `~/.aws/config`
|
104
|
+
#
|
105
|
+
# @option options [String] :access_key_id
|
106
|
+
#
|
107
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
108
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
109
|
+
# the background every 60 secs (default). Defaults to `false`.
|
110
|
+
#
|
111
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
112
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
113
|
+
# this client.
|
114
|
+
#
|
115
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
116
|
+
# Allows you to provide an identifier for this client which will be attached to
|
117
|
+
# all generated client side metrics. Defaults to an empty string.
|
118
|
+
#
|
119
|
+
# @option options [String] :client_side_monitoring_host ("127.0.0.1")
|
120
|
+
# Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
|
121
|
+
# side monitoring agent is running on, where client metrics will be published via UDP.
|
122
|
+
#
|
123
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
124
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
125
|
+
# agent is running on, where client metrics will be published via UDP.
|
126
|
+
#
|
127
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
128
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
129
|
+
# will use the Client Side Monitoring Agent Publisher.
|
130
|
+
#
|
131
|
+
# @option options [Boolean] :convert_params (true)
|
132
|
+
# When `true`, an attempt is made to coerce request parameters into
|
133
|
+
# the required types.
|
134
|
+
#
|
135
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
|
+
# Set to true to disable SDK automatically adding host prefix
|
137
|
+
# to default service endpoint when available.
|
138
|
+
#
|
139
|
+
# @option options [String] :endpoint
|
140
|
+
# The client endpoint is normally constructed from the `:region`
|
141
|
+
# option. You should only configure an `:endpoint` when connecting
|
142
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
143
|
+
#
|
144
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
146
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
147
|
+
#
|
148
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
149
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
150
|
+
#
|
151
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
152
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
153
|
+
# Use this option to config the time interval in seconds for making
|
154
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
155
|
+
#
|
156
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
158
|
+
#
|
159
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
|
+
# The log formatter.
|
161
|
+
#
|
162
|
+
# @option options [Symbol] :log_level (:info)
|
163
|
+
# The log level to send messages to the `:logger` at.
|
164
|
+
#
|
165
|
+
# @option options [Logger] :logger
|
166
|
+
# The Logger instance to send log messages to. If this option
|
167
|
+
# is not set, logging will be disabled.
|
168
|
+
#
|
169
|
+
# @option options [String] :profile ("default")
|
170
|
+
# Used when loading credentials from the shared credentials file
|
171
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
|
+
#
|
173
|
+
# @option options [Float] :retry_base_delay (0.3)
|
174
|
+
# The base delay in seconds used by the default backoff function.
|
175
|
+
#
|
176
|
+
# @option options [Symbol] :retry_jitter (:none)
|
177
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
178
|
+
#
|
179
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
|
+
#
|
181
|
+
# @option options [Integer] :retry_limit (3)
|
182
|
+
# The maximum number of times to retry failed requests. Only
|
183
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
|
+
# are retried. Generally, these are throttling errors, data
|
185
|
+
# checksum errors, networking errors, timeout errors and auth
|
186
|
+
# errors from expired credentials.
|
187
|
+
#
|
188
|
+
# @option options [Integer] :retry_max_delay (0)
|
189
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
190
|
+
#
|
191
|
+
# @option options [String] :secret_access_key
|
192
|
+
#
|
193
|
+
# @option options [String] :session_token
|
194
|
+
#
|
195
|
+
# @option options [Boolean] :simple_json (false)
|
196
|
+
# Disables request parameter conversion, validation, and formatting.
|
197
|
+
# Also disable response data type conversions. This option is useful
|
198
|
+
# when you want to ensure the highest level of performance by
|
199
|
+
# avoiding overhead of walking request parameters and response data
|
200
|
+
# structures.
|
201
|
+
#
|
202
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
203
|
+
# be formatted exactly as the DynamoDB API expects.
|
204
|
+
#
|
205
|
+
# @option options [Boolean] :stub_responses (false)
|
206
|
+
# Causes the client to return stubbed responses. By default
|
207
|
+
# fake responses are generated and returned. You can specify
|
208
|
+
# the response data to return or errors to raise by calling
|
209
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
210
|
+
#
|
211
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
212
|
+
# requests are made, and retries are disabled.
|
213
|
+
#
|
214
|
+
# @option options [Boolean] :validate_params (true)
|
215
|
+
# When `true`, request parameters are validated before
|
216
|
+
# sending the request.
|
217
|
+
#
|
218
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
219
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
220
|
+
#
|
221
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
+
# seconds to wait when opening a HTTP session before rasing a
|
223
|
+
# `Timeout::Error`.
|
224
|
+
#
|
225
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
226
|
+
# 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}.
|
229
|
+
#
|
230
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
+
# seconds a connection is allowed to sit idble before it is
|
232
|
+
# considered stale. Stale connections are closed and removed
|
233
|
+
# from the pool before making a request.
|
234
|
+
#
|
235
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
236
|
+
# seconds to wait for a 100-continue response before sending the
|
237
|
+
# request body. This option has no effect unless the request has
|
238
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
|
+
# disables this behaviour. This value can safely be set per
|
240
|
+
# request on the session yeidled by {#session_for}.
|
241
|
+
#
|
242
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
|
+
# HTTP debug output will be sent to the `:logger`.
|
244
|
+
#
|
245
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
246
|
+
# SSL peer certificates are verified when establishing a
|
247
|
+
# connection.
|
248
|
+
#
|
249
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
250
|
+
# certificate authority bundle file that should be used when
|
251
|
+
# verifying peer certificates. If you do not pass
|
252
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
253
|
+
# will be used if available.
|
254
|
+
#
|
255
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
256
|
+
# directory that contains the unbundled SSL certificate
|
257
|
+
# authority files for verifying peer certificates. If you do
|
258
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
259
|
+
# system default will be used if available.
|
260
|
+
#
|
261
|
+
def initialize(*args)
|
262
|
+
super
|
263
|
+
end
|
264
|
+
|
265
|
+
# @!group API Operations
|
266
|
+
|
267
|
+
# Associates the Service Quotas template with your organization so that
|
268
|
+
# when new accounts are created in your organization, the template
|
269
|
+
# submits increase requests for the specified service quotas. Use the
|
270
|
+
# Service Quotas template to request an increase for any adjustable
|
271
|
+
# quota value. After you define the Service Quotas template, use this
|
272
|
+
# operation to associate, or enable, the template.
|
273
|
+
#
|
274
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
275
|
+
#
|
276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate AWS API Documentation
|
277
|
+
#
|
278
|
+
# @overload associate_service_quota_template(params = {})
|
279
|
+
# @param [Hash] params ({})
|
280
|
+
def associate_service_quota_template(params = {}, options = {})
|
281
|
+
req = build_request(:associate_service_quota_template, params)
|
282
|
+
req.send_request(options)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Removes a service quota increase request from the Service Quotas
|
286
|
+
# template.
|
287
|
+
#
|
288
|
+
# @option params [required, String] :service_code
|
289
|
+
# Specifies the code for the service that you want to delete.
|
290
|
+
#
|
291
|
+
# @option params [required, String] :quota_code
|
292
|
+
# Specifies the code for the quota that you want to delete.
|
293
|
+
#
|
294
|
+
# @option params [required, String] :aws_region
|
295
|
+
# Specifies the AWS Region for the quota that you want to delete.
|
296
|
+
#
|
297
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
298
|
+
#
|
299
|
+
# @example Request syntax with placeholder values
|
300
|
+
#
|
301
|
+
# resp = client.delete_service_quota_increase_request_from_template({
|
302
|
+
# service_code: "ServiceCode", # required
|
303
|
+
# quota_code: "QuotaCode", # required
|
304
|
+
# aws_region: "AwsRegion", # required
|
305
|
+
# })
|
306
|
+
#
|
307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate AWS API Documentation
|
308
|
+
#
|
309
|
+
# @overload delete_service_quota_increase_request_from_template(params = {})
|
310
|
+
# @param [Hash] params ({})
|
311
|
+
def delete_service_quota_increase_request_from_template(params = {}, options = {})
|
312
|
+
req = build_request(:delete_service_quota_increase_request_from_template, params)
|
313
|
+
req.send_request(options)
|
314
|
+
end
|
315
|
+
|
316
|
+
# Disables the Service Quotas template. Once the template is disabled,
|
317
|
+
# it does not request quota increases for new accounts in your
|
318
|
+
# organization. Disabling the quota template does not apply the quota
|
319
|
+
# increase requests from the template.
|
320
|
+
#
|
321
|
+
# **Related operations**
|
322
|
+
#
|
323
|
+
# * To enable the quota template, call AssociateServiceQuotaTemplate.
|
324
|
+
#
|
325
|
+
# * To delete a specific service quota from the template, use
|
326
|
+
# DeleteServiceQuotaIncreaseRequestFromTemplate.
|
327
|
+
#
|
328
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
329
|
+
#
|
330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate AWS API Documentation
|
331
|
+
#
|
332
|
+
# @overload disassociate_service_quota_template(params = {})
|
333
|
+
# @param [Hash] params ({})
|
334
|
+
def disassociate_service_quota_template(params = {}, options = {})
|
335
|
+
req = build_request(:disassociate_service_quota_template, params)
|
336
|
+
req.send_request(options)
|
337
|
+
end
|
338
|
+
|
339
|
+
# Retrieves the default service quotas values. The Value returned for
|
340
|
+
# each quota is the AWS default value, even if the quotas have been
|
341
|
+
# increased..
|
342
|
+
#
|
343
|
+
# @option params [required, String] :service_code
|
344
|
+
# Specifies the service that you want to use.
|
345
|
+
#
|
346
|
+
# @option params [required, String] :quota_code
|
347
|
+
# Identifies the service quota you want to select.
|
348
|
+
#
|
349
|
+
# @return [Types::GetAWSDefaultServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
350
|
+
#
|
351
|
+
# * {Types::GetAWSDefaultServiceQuotaResponse#quota #quota} => Types::ServiceQuota
|
352
|
+
#
|
353
|
+
# @example Request syntax with placeholder values
|
354
|
+
#
|
355
|
+
# resp = client.get_aws_default_service_quota({
|
356
|
+
# service_code: "ServiceCode", # required
|
357
|
+
# quota_code: "QuotaCode", # required
|
358
|
+
# })
|
359
|
+
#
|
360
|
+
# @example Response structure
|
361
|
+
#
|
362
|
+
# resp.quota.service_code #=> String
|
363
|
+
# resp.quota.service_name #=> String
|
364
|
+
# resp.quota.quota_arn #=> String
|
365
|
+
# resp.quota.quota_code #=> String
|
366
|
+
# resp.quota.quota_name #=> String
|
367
|
+
# resp.quota.value #=> Float
|
368
|
+
# resp.quota.unit #=> String
|
369
|
+
# resp.quota.adjustable #=> Boolean
|
370
|
+
# resp.quota.global_quota #=> Boolean
|
371
|
+
# resp.quota.usage_metric.metric_namespace #=> String
|
372
|
+
# resp.quota.usage_metric.metric_name #=> String
|
373
|
+
# resp.quota.usage_metric.metric_dimensions #=> Hash
|
374
|
+
# resp.quota.usage_metric.metric_dimensions["MetricDimensionName"] #=> String
|
375
|
+
# resp.quota.usage_metric.metric_statistic_recommendation #=> String
|
376
|
+
# resp.quota.period.period_value #=> Integer
|
377
|
+
# resp.quota.period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
378
|
+
# resp.quota.error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
379
|
+
# resp.quota.error_reason.error_message #=> String
|
380
|
+
#
|
381
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota AWS API Documentation
|
382
|
+
#
|
383
|
+
# @overload get_aws_default_service_quota(params = {})
|
384
|
+
# @param [Hash] params ({})
|
385
|
+
def get_aws_default_service_quota(params = {}, options = {})
|
386
|
+
req = build_request(:get_aws_default_service_quota, params)
|
387
|
+
req.send_request(options)
|
388
|
+
end
|
389
|
+
|
390
|
+
# Retrieves the `ServiceQuotaTemplateAssociationStatus` value from the
|
391
|
+
# service. Use this action to determine if the Service Quota template is
|
392
|
+
# associated, or enabled.
|
393
|
+
#
|
394
|
+
# @return [Types::GetAssociationForServiceQuotaTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
395
|
+
#
|
396
|
+
# * {Types::GetAssociationForServiceQuotaTemplateResponse#service_quota_template_association_status #service_quota_template_association_status} => String
|
397
|
+
#
|
398
|
+
# @example Response structure
|
399
|
+
#
|
400
|
+
# resp.service_quota_template_association_status #=> String, one of "ASSOCIATED", "DISASSOCIATED"
|
401
|
+
#
|
402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate AWS API Documentation
|
403
|
+
#
|
404
|
+
# @overload get_association_for_service_quota_template(params = {})
|
405
|
+
# @param [Hash] params ({})
|
406
|
+
def get_association_for_service_quota_template(params = {}, options = {})
|
407
|
+
req = build_request(:get_association_for_service_quota_template, params)
|
408
|
+
req.send_request(options)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Retrieves the details for a particular increase request.
|
412
|
+
#
|
413
|
+
# @option params [required, String] :request_id
|
414
|
+
# Identifies the quota increase request.
|
415
|
+
#
|
416
|
+
# @return [Types::GetRequestedServiceQuotaChangeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
417
|
+
#
|
418
|
+
# * {Types::GetRequestedServiceQuotaChangeResponse#requested_quota #requested_quota} => Types::RequestedServiceQuotaChange
|
419
|
+
#
|
420
|
+
# @example Request syntax with placeholder values
|
421
|
+
#
|
422
|
+
# resp = client.get_requested_service_quota_change({
|
423
|
+
# request_id: "RequestId", # required
|
424
|
+
# })
|
425
|
+
#
|
426
|
+
# @example Response structure
|
427
|
+
#
|
428
|
+
# resp.requested_quota.id #=> String
|
429
|
+
# resp.requested_quota.case_id #=> String
|
430
|
+
# resp.requested_quota.service_code #=> String
|
431
|
+
# resp.requested_quota.service_name #=> String
|
432
|
+
# resp.requested_quota.quota_code #=> String
|
433
|
+
# resp.requested_quota.quota_name #=> String
|
434
|
+
# resp.requested_quota.desired_value #=> Float
|
435
|
+
# resp.requested_quota.status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
436
|
+
# resp.requested_quota.created #=> Time
|
437
|
+
# resp.requested_quota.last_updated #=> Time
|
438
|
+
# resp.requested_quota.requester #=> String
|
439
|
+
# resp.requested_quota.quota_arn #=> String
|
440
|
+
# resp.requested_quota.global_quota #=> Boolean
|
441
|
+
# resp.requested_quota.unit #=> String
|
442
|
+
#
|
443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange AWS API Documentation
|
444
|
+
#
|
445
|
+
# @overload get_requested_service_quota_change(params = {})
|
446
|
+
# @param [Hash] params ({})
|
447
|
+
def get_requested_service_quota_change(params = {}, options = {})
|
448
|
+
req = build_request(:get_requested_service_quota_change, params)
|
449
|
+
req.send_request(options)
|
450
|
+
end
|
451
|
+
|
452
|
+
# Returns the details for the specified service quota. This operation
|
453
|
+
# provides a different Value than the `GetAWSDefaultServiceQuota`
|
454
|
+
# operation. This operation returns the applied value for each quota.
|
455
|
+
# `GetAWSDefaultServiceQuota` returns the default AWS value for each
|
456
|
+
# quota.
|
457
|
+
#
|
458
|
+
# @option params [required, String] :service_code
|
459
|
+
# Specifies the service that you want to use.
|
460
|
+
#
|
461
|
+
# @option params [required, String] :quota_code
|
462
|
+
# Identifies the service quota you want to select.
|
463
|
+
#
|
464
|
+
# @return [Types::GetServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
465
|
+
#
|
466
|
+
# * {Types::GetServiceQuotaResponse#quota #quota} => Types::ServiceQuota
|
467
|
+
#
|
468
|
+
# @example Request syntax with placeholder values
|
469
|
+
#
|
470
|
+
# resp = client.get_service_quota({
|
471
|
+
# service_code: "ServiceCode", # required
|
472
|
+
# quota_code: "QuotaCode", # required
|
473
|
+
# })
|
474
|
+
#
|
475
|
+
# @example Response structure
|
476
|
+
#
|
477
|
+
# resp.quota.service_code #=> String
|
478
|
+
# resp.quota.service_name #=> String
|
479
|
+
# resp.quota.quota_arn #=> String
|
480
|
+
# resp.quota.quota_code #=> String
|
481
|
+
# resp.quota.quota_name #=> String
|
482
|
+
# resp.quota.value #=> Float
|
483
|
+
# resp.quota.unit #=> String
|
484
|
+
# resp.quota.adjustable #=> Boolean
|
485
|
+
# resp.quota.global_quota #=> Boolean
|
486
|
+
# resp.quota.usage_metric.metric_namespace #=> String
|
487
|
+
# resp.quota.usage_metric.metric_name #=> String
|
488
|
+
# resp.quota.usage_metric.metric_dimensions #=> Hash
|
489
|
+
# resp.quota.usage_metric.metric_dimensions["MetricDimensionName"] #=> String
|
490
|
+
# resp.quota.usage_metric.metric_statistic_recommendation #=> String
|
491
|
+
# resp.quota.period.period_value #=> Integer
|
492
|
+
# resp.quota.period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
493
|
+
# resp.quota.error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
494
|
+
# resp.quota.error_reason.error_message #=> String
|
495
|
+
#
|
496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota AWS API Documentation
|
497
|
+
#
|
498
|
+
# @overload get_service_quota(params = {})
|
499
|
+
# @param [Hash] params ({})
|
500
|
+
def get_service_quota(params = {}, options = {})
|
501
|
+
req = build_request(:get_service_quota, params)
|
502
|
+
req.send_request(options)
|
503
|
+
end
|
504
|
+
|
505
|
+
# Returns the details of the service quota increase request in your
|
506
|
+
# template.
|
507
|
+
#
|
508
|
+
# @option params [required, String] :service_code
|
509
|
+
# Specifies the service that you want to use.
|
510
|
+
#
|
511
|
+
# @option params [required, String] :quota_code
|
512
|
+
# Specifies the quota you want.
|
513
|
+
#
|
514
|
+
# @option params [required, String] :aws_region
|
515
|
+
# Specifies the AWS Region for the quota that you want to use.
|
516
|
+
#
|
517
|
+
# @return [Types::GetServiceQuotaIncreaseRequestFromTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
518
|
+
#
|
519
|
+
# * {Types::GetServiceQuotaIncreaseRequestFromTemplateResponse#service_quota_increase_request_in_template #service_quota_increase_request_in_template} => Types::ServiceQuotaIncreaseRequestInTemplate
|
520
|
+
#
|
521
|
+
# @example Request syntax with placeholder values
|
522
|
+
#
|
523
|
+
# resp = client.get_service_quota_increase_request_from_template({
|
524
|
+
# service_code: "ServiceCode", # required
|
525
|
+
# quota_code: "QuotaCode", # required
|
526
|
+
# aws_region: "AwsRegion", # required
|
527
|
+
# })
|
528
|
+
#
|
529
|
+
# @example Response structure
|
530
|
+
#
|
531
|
+
# resp.service_quota_increase_request_in_template.service_code #=> String
|
532
|
+
# resp.service_quota_increase_request_in_template.service_name #=> String
|
533
|
+
# resp.service_quota_increase_request_in_template.quota_code #=> String
|
534
|
+
# resp.service_quota_increase_request_in_template.quota_name #=> String
|
535
|
+
# resp.service_quota_increase_request_in_template.desired_value #=> Float
|
536
|
+
# resp.service_quota_increase_request_in_template.aws_region #=> String
|
537
|
+
# resp.service_quota_increase_request_in_template.unit #=> String
|
538
|
+
# resp.service_quota_increase_request_in_template.global_quota #=> Boolean
|
539
|
+
#
|
540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate AWS API Documentation
|
541
|
+
#
|
542
|
+
# @overload get_service_quota_increase_request_from_template(params = {})
|
543
|
+
# @param [Hash] params ({})
|
544
|
+
def get_service_quota_increase_request_from_template(params = {}, options = {})
|
545
|
+
req = build_request(:get_service_quota_increase_request_from_template, params)
|
546
|
+
req.send_request(options)
|
547
|
+
end
|
548
|
+
|
549
|
+
# Lists all default service quotas for the specified AWS service or all
|
550
|
+
# AWS services. ListAWSDefaultServiceQuotas is similar to
|
551
|
+
# ListServiceQuotas except for the Value object. The Value object
|
552
|
+
# returned by `ListAWSDefaultServiceQuotas` is the default value
|
553
|
+
# assigned by AWS. This request returns a list of all service quotas for
|
554
|
+
# the specified service. The listing of each you'll see the default
|
555
|
+
# values are the values that AWS provides for the quotas.
|
556
|
+
#
|
557
|
+
# <note markdown="1"> Always check the `NextToken` response parameter when calling any of
|
558
|
+
# the `List*` operations. These operations can return an unexpected list
|
559
|
+
# of results, even when there are more results available. When this
|
560
|
+
# happens, the `NextToken` response parameter contains a value to pass
|
561
|
+
# the next call to the same API to request the next part of the list.
|
562
|
+
#
|
563
|
+
# </note>
|
564
|
+
#
|
565
|
+
# @option params [required, String] :service_code
|
566
|
+
# Specifies the service that you want to use.
|
567
|
+
#
|
568
|
+
# @option params [String] :next_token
|
569
|
+
# (Optional) Use this parameter in a request if you receive a
|
570
|
+
# `NextToken` response in a previous request that indicates that
|
571
|
+
# there's more output available. In a subsequent call, set it to the
|
572
|
+
# value of the previous call's `NextToken` response to indicate where
|
573
|
+
# the output should continue from. If additional items exist beyond the
|
574
|
+
# specified maximum, the `NextToken` element is present and has a value
|
575
|
+
# (isn't null). Include that value as the `NextToken` request parameter
|
576
|
+
# in the call to the operation to get the next part of the results. You
|
577
|
+
# should check `NextToken` after every operation to ensure that you
|
578
|
+
# receive all of the results.
|
579
|
+
#
|
580
|
+
# @option params [Integer] :max_results
|
581
|
+
# (Optional) Limits the number of results that you want to include in
|
582
|
+
# the response. If you don't include this parameter, the response
|
583
|
+
# defaults to a value that's specific to the operation. If additional
|
584
|
+
# items exist beyond the specified maximum, the `NextToken` element is
|
585
|
+
# present and has a value (isn't null). Include that value as the
|
586
|
+
# `NextToken` request parameter in the call to the operation to get the
|
587
|
+
# next part of the results. You should check `NextToken` after every
|
588
|
+
# operation to ensure that you receive all of the results.
|
589
|
+
#
|
590
|
+
# @return [Types::ListAWSDefaultServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
591
|
+
#
|
592
|
+
# * {Types::ListAWSDefaultServiceQuotasResponse#next_token #next_token} => String
|
593
|
+
# * {Types::ListAWSDefaultServiceQuotasResponse#quotas #quotas} => Array<Types::ServiceQuota>
|
594
|
+
#
|
595
|
+
# @example Request syntax with placeholder values
|
596
|
+
#
|
597
|
+
# resp = client.list_aws_default_service_quotas({
|
598
|
+
# service_code: "ServiceCode", # required
|
599
|
+
# next_token: "NextToken",
|
600
|
+
# max_results: 1,
|
601
|
+
# })
|
602
|
+
#
|
603
|
+
# @example Response structure
|
604
|
+
#
|
605
|
+
# resp.next_token #=> String
|
606
|
+
# resp.quotas #=> Array
|
607
|
+
# resp.quotas[0].service_code #=> String
|
608
|
+
# resp.quotas[0].service_name #=> String
|
609
|
+
# resp.quotas[0].quota_arn #=> String
|
610
|
+
# resp.quotas[0].quota_code #=> String
|
611
|
+
# resp.quotas[0].quota_name #=> String
|
612
|
+
# resp.quotas[0].value #=> Float
|
613
|
+
# resp.quotas[0].unit #=> String
|
614
|
+
# resp.quotas[0].adjustable #=> Boolean
|
615
|
+
# resp.quotas[0].global_quota #=> Boolean
|
616
|
+
# resp.quotas[0].usage_metric.metric_namespace #=> String
|
617
|
+
# resp.quotas[0].usage_metric.metric_name #=> String
|
618
|
+
# resp.quotas[0].usage_metric.metric_dimensions #=> Hash
|
619
|
+
# resp.quotas[0].usage_metric.metric_dimensions["MetricDimensionName"] #=> String
|
620
|
+
# resp.quotas[0].usage_metric.metric_statistic_recommendation #=> String
|
621
|
+
# resp.quotas[0].period.period_value #=> Integer
|
622
|
+
# resp.quotas[0].period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
623
|
+
# resp.quotas[0].error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
624
|
+
# resp.quotas[0].error_reason.error_message #=> String
|
625
|
+
#
|
626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas AWS API Documentation
|
627
|
+
#
|
628
|
+
# @overload list_aws_default_service_quotas(params = {})
|
629
|
+
# @param [Hash] params ({})
|
630
|
+
def list_aws_default_service_quotas(params = {}, options = {})
|
631
|
+
req = build_request(:list_aws_default_service_quotas, params)
|
632
|
+
req.send_request(options)
|
633
|
+
end
|
634
|
+
|
635
|
+
# Requests a list of the changes to quotas for a service.
|
636
|
+
#
|
637
|
+
# @option params [String] :service_code
|
638
|
+
# Specifies the service that you want to use.
|
639
|
+
#
|
640
|
+
# @option params [String] :status
|
641
|
+
# Specifies the status value of the quota increase request.
|
642
|
+
#
|
643
|
+
# @option params [String] :next_token
|
644
|
+
# (Optional) Use this parameter in a request if you receive a
|
645
|
+
# `NextToken` response in a previous request that indicates that
|
646
|
+
# there's more output available. In a subsequent call, set it to the
|
647
|
+
# value of the previous call's `NextToken` response to indicate where
|
648
|
+
# the output should continue from.
|
649
|
+
#
|
650
|
+
# @option params [Integer] :max_results
|
651
|
+
# (Optional) Limits the number of results that you want to include in
|
652
|
+
# the response. If you don't include this parameter, the response
|
653
|
+
# defaults to a value that's specific to the operation. If additional
|
654
|
+
# items exist beyond the specified maximum, the `NextToken` element is
|
655
|
+
# present and has a value (isn't null). Include that value as the
|
656
|
+
# `NextToken` request parameter in the call to the operation to get the
|
657
|
+
# next part of the results. You should check `NextToken` after every
|
658
|
+
# operation to ensure that you receive all of the results.
|
659
|
+
#
|
660
|
+
# @return [Types::ListRequestedServiceQuotaChangeHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
661
|
+
#
|
662
|
+
# * {Types::ListRequestedServiceQuotaChangeHistoryResponse#next_token #next_token} => String
|
663
|
+
# * {Types::ListRequestedServiceQuotaChangeHistoryResponse#requested_quotas #requested_quotas} => Array<Types::RequestedServiceQuotaChange>
|
664
|
+
#
|
665
|
+
# @example Request syntax with placeholder values
|
666
|
+
#
|
667
|
+
# resp = client.list_requested_service_quota_change_history({
|
668
|
+
# service_code: "ServiceCode",
|
669
|
+
# status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED
|
670
|
+
# next_token: "NextToken",
|
671
|
+
# max_results: 1,
|
672
|
+
# })
|
673
|
+
#
|
674
|
+
# @example Response structure
|
675
|
+
#
|
676
|
+
# resp.next_token #=> String
|
677
|
+
# resp.requested_quotas #=> Array
|
678
|
+
# resp.requested_quotas[0].id #=> String
|
679
|
+
# resp.requested_quotas[0].case_id #=> String
|
680
|
+
# resp.requested_quotas[0].service_code #=> String
|
681
|
+
# resp.requested_quotas[0].service_name #=> String
|
682
|
+
# resp.requested_quotas[0].quota_code #=> String
|
683
|
+
# resp.requested_quotas[0].quota_name #=> String
|
684
|
+
# resp.requested_quotas[0].desired_value #=> Float
|
685
|
+
# resp.requested_quotas[0].status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
686
|
+
# resp.requested_quotas[0].created #=> Time
|
687
|
+
# resp.requested_quotas[0].last_updated #=> Time
|
688
|
+
# resp.requested_quotas[0].requester #=> String
|
689
|
+
# resp.requested_quotas[0].quota_arn #=> String
|
690
|
+
# resp.requested_quotas[0].global_quota #=> Boolean
|
691
|
+
# resp.requested_quotas[0].unit #=> String
|
692
|
+
#
|
693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory AWS API Documentation
|
694
|
+
#
|
695
|
+
# @overload list_requested_service_quota_change_history(params = {})
|
696
|
+
# @param [Hash] params ({})
|
697
|
+
def list_requested_service_quota_change_history(params = {}, options = {})
|
698
|
+
req = build_request(:list_requested_service_quota_change_history, params)
|
699
|
+
req.send_request(options)
|
700
|
+
end
|
701
|
+
|
702
|
+
# Requests a list of the changes to specific service quotas. This
|
703
|
+
# command provides additional granularity over the
|
704
|
+
# `ListRequestedServiceQuotaChangeHistory` command. Once a quota change
|
705
|
+
# request has reached `CASE_CLOSED, APPROVED,` or `DENIED`, the history
|
706
|
+
# has been kept for 90 days.
|
707
|
+
#
|
708
|
+
# @option params [required, String] :service_code
|
709
|
+
# Specifies the service that you want to use.
|
710
|
+
#
|
711
|
+
# @option params [required, String] :quota_code
|
712
|
+
# Specifies the service quota that you want to use
|
713
|
+
#
|
714
|
+
# @option params [String] :status
|
715
|
+
# Specifies the status value of the quota increase request.
|
716
|
+
#
|
717
|
+
# @option params [String] :next_token
|
718
|
+
# (Optional) Use this parameter in a request if you receive a
|
719
|
+
# `NextToken` response in a previous request that indicates that
|
720
|
+
# there's more output available. In a subsequent call, set it to the
|
721
|
+
# value of the previous call's `NextToken` response to indicate where
|
722
|
+
# the output should continue from.
|
723
|
+
#
|
724
|
+
# @option params [Integer] :max_results
|
725
|
+
# (Optional) Limits the number of results that you want to include in
|
726
|
+
# the response. If you don't include this parameter, the response
|
727
|
+
# defaults to a value that's specific to the operation. If additional
|
728
|
+
# items exist beyond the specified maximum, the `NextToken` element is
|
729
|
+
# present and has a value (isn't null). Include that value as the
|
730
|
+
# `NextToken` request parameter in the call to the operation to get the
|
731
|
+
# next part of the results. You should check `NextToken` after every
|
732
|
+
# operation to ensure that you receive all of the results.
|
733
|
+
#
|
734
|
+
# @return [Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
735
|
+
#
|
736
|
+
# * {Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse#next_token #next_token} => String
|
737
|
+
# * {Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse#requested_quotas #requested_quotas} => Array<Types::RequestedServiceQuotaChange>
|
738
|
+
#
|
739
|
+
# @example Request syntax with placeholder values
|
740
|
+
#
|
741
|
+
# resp = client.list_requested_service_quota_change_history_by_quota({
|
742
|
+
# service_code: "ServiceCode", # required
|
743
|
+
# quota_code: "QuotaCode", # required
|
744
|
+
# status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED
|
745
|
+
# next_token: "NextToken",
|
746
|
+
# max_results: 1,
|
747
|
+
# })
|
748
|
+
#
|
749
|
+
# @example Response structure
|
750
|
+
#
|
751
|
+
# resp.next_token #=> String
|
752
|
+
# resp.requested_quotas #=> Array
|
753
|
+
# resp.requested_quotas[0].id #=> String
|
754
|
+
# resp.requested_quotas[0].case_id #=> String
|
755
|
+
# resp.requested_quotas[0].service_code #=> String
|
756
|
+
# resp.requested_quotas[0].service_name #=> String
|
757
|
+
# resp.requested_quotas[0].quota_code #=> String
|
758
|
+
# resp.requested_quotas[0].quota_name #=> String
|
759
|
+
# resp.requested_quotas[0].desired_value #=> Float
|
760
|
+
# resp.requested_quotas[0].status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
761
|
+
# resp.requested_quotas[0].created #=> Time
|
762
|
+
# resp.requested_quotas[0].last_updated #=> Time
|
763
|
+
# resp.requested_quotas[0].requester #=> String
|
764
|
+
# resp.requested_quotas[0].quota_arn #=> String
|
765
|
+
# resp.requested_quotas[0].global_quota #=> Boolean
|
766
|
+
# resp.requested_quotas[0].unit #=> String
|
767
|
+
#
|
768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota AWS API Documentation
|
769
|
+
#
|
770
|
+
# @overload list_requested_service_quota_change_history_by_quota(params = {})
|
771
|
+
# @param [Hash] params ({})
|
772
|
+
def list_requested_service_quota_change_history_by_quota(params = {}, options = {})
|
773
|
+
req = build_request(:list_requested_service_quota_change_history_by_quota, params)
|
774
|
+
req.send_request(options)
|
775
|
+
end
|
776
|
+
|
777
|
+
# Returns a list of the quota increase requests in the template.
|
778
|
+
#
|
779
|
+
# @option params [String] :service_code
|
780
|
+
# The identifier for a service. When performing an operation, use the
|
781
|
+
# `ServiceCode` to specify a particular service.
|
782
|
+
#
|
783
|
+
# @option params [String] :aws_region
|
784
|
+
# Specifies the AWS Region for the quota that you want to use.
|
785
|
+
#
|
786
|
+
# @option params [String] :next_token
|
787
|
+
# (Optional) Use this parameter in a request if you receive a
|
788
|
+
# `NextToken` response in a previous request that indicates that
|
789
|
+
# there's more output available. In a subsequent call, set it to the
|
790
|
+
# value of the previous call's `NextToken` response to indicate where
|
791
|
+
# the output should continue from.
|
792
|
+
#
|
793
|
+
# @option params [Integer] :max_results
|
794
|
+
# (Optional) Limits the number of results that you want to include in
|
795
|
+
# the response. If you don't include this parameter, the response
|
796
|
+
# defaults to a value that's specific to the operation. If additional
|
797
|
+
# items exist beyond the specified maximum, the `NextToken` element is
|
798
|
+
# present and has a value (isn't null). Include that value as the
|
799
|
+
# `NextToken` request parameter in the call to the operation to get the
|
800
|
+
# next part of the results. You should check `NextToken` after every
|
801
|
+
# operation to ensure that you receive all of the results.
|
802
|
+
#
|
803
|
+
# @return [Types::ListServiceQuotaIncreaseRequestsInTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
804
|
+
#
|
805
|
+
# * {Types::ListServiceQuotaIncreaseRequestsInTemplateResponse#service_quota_increase_request_in_template_list #service_quota_increase_request_in_template_list} => Array<Types::ServiceQuotaIncreaseRequestInTemplate>
|
806
|
+
# * {Types::ListServiceQuotaIncreaseRequestsInTemplateResponse#next_token #next_token} => String
|
807
|
+
#
|
808
|
+
# @example Request syntax with placeholder values
|
809
|
+
#
|
810
|
+
# resp = client.list_service_quota_increase_requests_in_template({
|
811
|
+
# service_code: "ServiceCode",
|
812
|
+
# aws_region: "AwsRegion",
|
813
|
+
# next_token: "NextToken",
|
814
|
+
# max_results: 1,
|
815
|
+
# })
|
816
|
+
#
|
817
|
+
# @example Response structure
|
818
|
+
#
|
819
|
+
# resp.service_quota_increase_request_in_template_list #=> Array
|
820
|
+
# resp.service_quota_increase_request_in_template_list[0].service_code #=> String
|
821
|
+
# resp.service_quota_increase_request_in_template_list[0].service_name #=> String
|
822
|
+
# resp.service_quota_increase_request_in_template_list[0].quota_code #=> String
|
823
|
+
# resp.service_quota_increase_request_in_template_list[0].quota_name #=> String
|
824
|
+
# resp.service_quota_increase_request_in_template_list[0].desired_value #=> Float
|
825
|
+
# resp.service_quota_increase_request_in_template_list[0].aws_region #=> String
|
826
|
+
# resp.service_quota_increase_request_in_template_list[0].unit #=> String
|
827
|
+
# resp.service_quota_increase_request_in_template_list[0].global_quota #=> Boolean
|
828
|
+
# resp.next_token #=> String
|
829
|
+
#
|
830
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate AWS API Documentation
|
831
|
+
#
|
832
|
+
# @overload list_service_quota_increase_requests_in_template(params = {})
|
833
|
+
# @param [Hash] params ({})
|
834
|
+
def list_service_quota_increase_requests_in_template(params = {}, options = {})
|
835
|
+
req = build_request(:list_service_quota_increase_requests_in_template, params)
|
836
|
+
req.send_request(options)
|
837
|
+
end
|
838
|
+
|
839
|
+
# Lists all service quotas for the specified AWS service. This request
|
840
|
+
# returns a list of the service quotas for the specified service.
|
841
|
+
# you'll see the default values are the values that AWS provides for
|
842
|
+
# the quotas.
|
843
|
+
#
|
844
|
+
# <note markdown="1"> Always check the `NextToken` response parameter when calling any of
|
845
|
+
# the `List*` operations. These operations can return an unexpected list
|
846
|
+
# of results, even when there are more results available. When this
|
847
|
+
# happens, the `NextToken` response parameter contains a value to pass
|
848
|
+
# the next call to the same API to request the next part of the list.
|
849
|
+
#
|
850
|
+
# </note>
|
851
|
+
#
|
852
|
+
# @option params [required, String] :service_code
|
853
|
+
# The identifier for a service. When performing an operation, use the
|
854
|
+
# `ServiceCode` to specify a particular service.
|
855
|
+
#
|
856
|
+
# @option params [String] :next_token
|
857
|
+
# (Optional) Use this parameter in a request if you receive a
|
858
|
+
# `NextToken` response in a previous request that indicates that
|
859
|
+
# there's more output available. In a subsequent call, set it to the
|
860
|
+
# value of the previous call's `NextToken` response to indicate where
|
861
|
+
# the output should continue from.
|
862
|
+
#
|
863
|
+
# @option params [Integer] :max_results
|
864
|
+
# (Optional) Limits the number of results that you want to include in
|
865
|
+
# the response. If you don't include this parameter, the response
|
866
|
+
# defaults to a value that's specific to the operation. If additional
|
867
|
+
# items exist beyond the specified maximum, the `NextToken` element is
|
868
|
+
# present and has a value (isn't null). Include that value as the
|
869
|
+
# `NextToken` request parameter in the call to the operation to get the
|
870
|
+
# next part of the results. You should check `NextToken` after every
|
871
|
+
# operation to ensure that you receive all of the results.
|
872
|
+
#
|
873
|
+
# @return [Types::ListServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
874
|
+
#
|
875
|
+
# * {Types::ListServiceQuotasResponse#next_token #next_token} => String
|
876
|
+
# * {Types::ListServiceQuotasResponse#quotas #quotas} => Array<Types::ServiceQuota>
|
877
|
+
#
|
878
|
+
# @example Request syntax with placeholder values
|
879
|
+
#
|
880
|
+
# resp = client.list_service_quotas({
|
881
|
+
# service_code: "ServiceCode", # required
|
882
|
+
# next_token: "NextToken",
|
883
|
+
# max_results: 1,
|
884
|
+
# })
|
885
|
+
#
|
886
|
+
# @example Response structure
|
887
|
+
#
|
888
|
+
# resp.next_token #=> String
|
889
|
+
# resp.quotas #=> Array
|
890
|
+
# resp.quotas[0].service_code #=> String
|
891
|
+
# resp.quotas[0].service_name #=> String
|
892
|
+
# resp.quotas[0].quota_arn #=> String
|
893
|
+
# resp.quotas[0].quota_code #=> String
|
894
|
+
# resp.quotas[0].quota_name #=> String
|
895
|
+
# resp.quotas[0].value #=> Float
|
896
|
+
# resp.quotas[0].unit #=> String
|
897
|
+
# resp.quotas[0].adjustable #=> Boolean
|
898
|
+
# resp.quotas[0].global_quota #=> Boolean
|
899
|
+
# resp.quotas[0].usage_metric.metric_namespace #=> String
|
900
|
+
# resp.quotas[0].usage_metric.metric_name #=> String
|
901
|
+
# resp.quotas[0].usage_metric.metric_dimensions #=> Hash
|
902
|
+
# resp.quotas[0].usage_metric.metric_dimensions["MetricDimensionName"] #=> String
|
903
|
+
# resp.quotas[0].usage_metric.metric_statistic_recommendation #=> String
|
904
|
+
# resp.quotas[0].period.period_value #=> Integer
|
905
|
+
# resp.quotas[0].period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
906
|
+
# resp.quotas[0].error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
907
|
+
# resp.quotas[0].error_reason.error_message #=> String
|
908
|
+
#
|
909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas AWS API Documentation
|
910
|
+
#
|
911
|
+
# @overload list_service_quotas(params = {})
|
912
|
+
# @param [Hash] params ({})
|
913
|
+
def list_service_quotas(params = {}, options = {})
|
914
|
+
req = build_request(:list_service_quotas, params)
|
915
|
+
req.send_request(options)
|
916
|
+
end
|
917
|
+
|
918
|
+
# Lists the AWS services available in Service Quotas. Not all AWS
|
919
|
+
# services are available in Service Quotas. To list the see the list of
|
920
|
+
# the service quotas for a specific service, use ListServiceQuotas.
|
921
|
+
#
|
922
|
+
# @option params [String] :next_token
|
923
|
+
# (Optional) Use this parameter in a request if you receive a
|
924
|
+
# `NextToken` response in a previous request that indicates that
|
925
|
+
# there's more output available. In a subsequent call, set it to the
|
926
|
+
# value of the previous call's `NextToken` response to indicate where
|
927
|
+
# the output should continue from.
|
928
|
+
#
|
929
|
+
# @option params [Integer] :max_results
|
930
|
+
# (Optional) Limits the number of results that you want to include in
|
931
|
+
# the response. If you don't include this parameter, the response
|
932
|
+
# defaults to a value that's specific to the operation. If additional
|
933
|
+
# items exist beyond the specified maximum, the `NextToken` element is
|
934
|
+
# present and has a value (isn't null). Include that value as the
|
935
|
+
# `NextToken` request parameter in the call to the operation to get the
|
936
|
+
# next part of the results. You should check `NextToken` after every
|
937
|
+
# operation to ensure that you receive all of the results.
|
938
|
+
#
|
939
|
+
# @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
940
|
+
#
|
941
|
+
# * {Types::ListServicesResponse#next_token #next_token} => String
|
942
|
+
# * {Types::ListServicesResponse#services #services} => Array<Types::ServiceInfo>
|
943
|
+
#
|
944
|
+
# @example Request syntax with placeholder values
|
945
|
+
#
|
946
|
+
# resp = client.list_services({
|
947
|
+
# next_token: "NextToken",
|
948
|
+
# max_results: 1,
|
949
|
+
# })
|
950
|
+
#
|
951
|
+
# @example Response structure
|
952
|
+
#
|
953
|
+
# resp.next_token #=> String
|
954
|
+
# resp.services #=> Array
|
955
|
+
# resp.services[0].service_code #=> String
|
956
|
+
# resp.services[0].service_name #=> String
|
957
|
+
#
|
958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices AWS API Documentation
|
959
|
+
#
|
960
|
+
# @overload list_services(params = {})
|
961
|
+
# @param [Hash] params ({})
|
962
|
+
def list_services(params = {}, options = {})
|
963
|
+
req = build_request(:list_services, params)
|
964
|
+
req.send_request(options)
|
965
|
+
end
|
966
|
+
|
967
|
+
# Defines and adds a quota to the service quota template. To add a quota
|
968
|
+
# to the template, you must provide the `ServiceCode`, `QuotaCode`,
|
969
|
+
# `AwsRegion`, and `DesiredValue`. Once you add a quota to the template,
|
970
|
+
# use ListServiceQuotaIncreaseRequestsInTemplate to see the list of
|
971
|
+
# quotas in the template.
|
972
|
+
#
|
973
|
+
# @option params [required, String] :quota_code
|
974
|
+
# Specifies the service quota that you want to use.
|
975
|
+
#
|
976
|
+
# @option params [required, String] :service_code
|
977
|
+
# Specifies the service that you want to use.
|
978
|
+
#
|
979
|
+
# @option params [required, String] :aws_region
|
980
|
+
# Specifies the AWS Region for the quota.
|
981
|
+
#
|
982
|
+
# @option params [required, Float] :desired_value
|
983
|
+
# Specifies the new, increased value for the quota.
|
984
|
+
#
|
985
|
+
# @return [Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
986
|
+
#
|
987
|
+
# * {Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse#service_quota_increase_request_in_template #service_quota_increase_request_in_template} => Types::ServiceQuotaIncreaseRequestInTemplate
|
988
|
+
#
|
989
|
+
# @example Request syntax with placeholder values
|
990
|
+
#
|
991
|
+
# resp = client.put_service_quota_increase_request_into_template({
|
992
|
+
# quota_code: "QuotaCode", # required
|
993
|
+
# service_code: "ServiceCode", # required
|
994
|
+
# aws_region: "AwsRegion", # required
|
995
|
+
# desired_value: 1.0, # required
|
996
|
+
# })
|
997
|
+
#
|
998
|
+
# @example Response structure
|
999
|
+
#
|
1000
|
+
# resp.service_quota_increase_request_in_template.service_code #=> String
|
1001
|
+
# resp.service_quota_increase_request_in_template.service_name #=> String
|
1002
|
+
# resp.service_quota_increase_request_in_template.quota_code #=> String
|
1003
|
+
# resp.service_quota_increase_request_in_template.quota_name #=> String
|
1004
|
+
# resp.service_quota_increase_request_in_template.desired_value #=> Float
|
1005
|
+
# resp.service_quota_increase_request_in_template.aws_region #=> String
|
1006
|
+
# resp.service_quota_increase_request_in_template.unit #=> String
|
1007
|
+
# resp.service_quota_increase_request_in_template.global_quota #=> Boolean
|
1008
|
+
#
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate AWS API Documentation
|
1010
|
+
#
|
1011
|
+
# @overload put_service_quota_increase_request_into_template(params = {})
|
1012
|
+
# @param [Hash] params ({})
|
1013
|
+
def put_service_quota_increase_request_into_template(params = {}, options = {})
|
1014
|
+
req = build_request(:put_service_quota_increase_request_into_template, params)
|
1015
|
+
req.send_request(options)
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# Retrieves the details of a service quota increase request. The
|
1019
|
+
# response to this command provides the details in the
|
1020
|
+
# RequestedServiceQuotaChange object.
|
1021
|
+
#
|
1022
|
+
# @option params [required, String] :service_code
|
1023
|
+
# Specifies the service that you want to use.
|
1024
|
+
#
|
1025
|
+
# @option params [required, String] :quota_code
|
1026
|
+
# Specifies the service quota that you want to use.
|
1027
|
+
#
|
1028
|
+
# @option params [required, Float] :desired_value
|
1029
|
+
# Specifies the value submitted in the service quota increase request.
|
1030
|
+
#
|
1031
|
+
# @return [Types::RequestServiceQuotaIncreaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1032
|
+
#
|
1033
|
+
# * {Types::RequestServiceQuotaIncreaseResponse#requested_quota #requested_quota} => Types::RequestedServiceQuotaChange
|
1034
|
+
#
|
1035
|
+
# @example Request syntax with placeholder values
|
1036
|
+
#
|
1037
|
+
# resp = client.request_service_quota_increase({
|
1038
|
+
# service_code: "ServiceCode", # required
|
1039
|
+
# quota_code: "QuotaCode", # required
|
1040
|
+
# desired_value: 1.0, # required
|
1041
|
+
# })
|
1042
|
+
#
|
1043
|
+
# @example Response structure
|
1044
|
+
#
|
1045
|
+
# resp.requested_quota.id #=> String
|
1046
|
+
# resp.requested_quota.case_id #=> String
|
1047
|
+
# resp.requested_quota.service_code #=> String
|
1048
|
+
# resp.requested_quota.service_name #=> String
|
1049
|
+
# resp.requested_quota.quota_code #=> String
|
1050
|
+
# resp.requested_quota.quota_name #=> String
|
1051
|
+
# resp.requested_quota.desired_value #=> Float
|
1052
|
+
# resp.requested_quota.status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
1053
|
+
# resp.requested_quota.created #=> Time
|
1054
|
+
# resp.requested_quota.last_updated #=> Time
|
1055
|
+
# resp.requested_quota.requester #=> String
|
1056
|
+
# resp.requested_quota.quota_arn #=> String
|
1057
|
+
# resp.requested_quota.global_quota #=> Boolean
|
1058
|
+
# resp.requested_quota.unit #=> String
|
1059
|
+
#
|
1060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease AWS API Documentation
|
1061
|
+
#
|
1062
|
+
# @overload request_service_quota_increase(params = {})
|
1063
|
+
# @param [Hash] params ({})
|
1064
|
+
def request_service_quota_increase(params = {}, options = {})
|
1065
|
+
req = build_request(:request_service_quota_increase, params)
|
1066
|
+
req.send_request(options)
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# @!endgroup
|
1070
|
+
|
1071
|
+
# @param params ({})
|
1072
|
+
# @api private
|
1073
|
+
def build_request(operation_name, params = {})
|
1074
|
+
handlers = @handlers.for(operation_name)
|
1075
|
+
context = Seahorse::Client::RequestContext.new(
|
1076
|
+
operation_name: operation_name,
|
1077
|
+
operation: config.api.operation(operation_name),
|
1078
|
+
client: self,
|
1079
|
+
params: params,
|
1080
|
+
config: config)
|
1081
|
+
context[:gem_name] = 'aws-sdk-servicequotas'
|
1082
|
+
context[:gem_version] = '1.0.0'
|
1083
|
+
Seahorse::Client::Request.new(handlers, context)
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# @api private
|
1087
|
+
# @deprecated
|
1088
|
+
def waiter_names
|
1089
|
+
[]
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
class << self
|
1093
|
+
|
1094
|
+
# @api private
|
1095
|
+
attr_reader :identifier
|
1096
|
+
|
1097
|
+
# @api private
|
1098
|
+
def errors_module
|
1099
|
+
Errors
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
end
|