aws-sdk-servicequotas 1.0.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.
File without changes
@@ -0,0 +1,254 @@
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
+ module Aws::ServiceQuotas
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ class AWSServiceAccessNotEnabledException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::ServiceQuotas::Types::AWSServiceAccessNotEnabledException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class AccessDeniedException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::ServiceQuotas::Types::AccessDeniedException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class DependencyAccessDeniedException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::ServiceQuotas::Types::DependencyAccessDeniedException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class IllegalArgumentException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::ServiceQuotas::Types::IllegalArgumentException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InvalidPaginationTokenException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::ServiceQuotas::Types::InvalidPaginationTokenException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InvalidResourceStateException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::ServiceQuotas::Types::InvalidResourceStateException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class NoAvailableOrganizationException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::ServiceQuotas::Types::NoAvailableOrganizationException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class NoSuchResourceException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::ServiceQuotas::Types::NoSuchResourceException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class OrganizationNotInAllFeaturesModeException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::ServiceQuotas::Types::OrganizationNotInAllFeaturesModeException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class QuotaExceededException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::ServiceQuotas::Types::QuotaExceededException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class ResourceAlreadyExistsException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::ServiceQuotas::Types::ResourceAlreadyExistsException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
189
+ class ServiceException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::ServiceQuotas::Types::ServiceException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ end
204
+
205
+ class ServiceQuotaTemplateNotInUseException < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::ServiceQuotas::Types::ServiceQuotaTemplateNotInUseException] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ end
220
+
221
+ class TemplatesNotAvailableInRegionException < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::ServiceQuotas::Types::TemplatesNotAvailableInRegionException] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ end
236
+
237
+ class TooManyRequestsException < ServiceError
238
+
239
+ # @param [Seahorse::Client::RequestContext] context
240
+ # @param [String] message
241
+ # @param [Aws::ServiceQuotas::Types::TooManyRequestsException] data
242
+ def initialize(context, message, data = Aws::EmptyStructure.new)
243
+ super(context, message, data)
244
+ end
245
+
246
+ # @return [String]
247
+ def message
248
+ @message || @data[:message]
249
+ end
250
+
251
+ end
252
+
253
+ end
254
+ end
@@ -0,0 +1,23 @@
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
+ module Aws::ServiceQuotas
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,1230 @@
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
+ module Aws::ServiceQuotas
9
+ module Types
10
+
11
+ # The action you attempted is not allowed unless Service Access with
12
+ # Service Quotas is enabled in your organization. To enable, call
13
+ # AssociateServiceQuotaTemplate.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AWSServiceAccessNotEnabledException AWS API Documentation
19
+ #
20
+ class AWSServiceAccessNotEnabledException < Struct.new(
21
+ :message)
22
+ include Aws::Structure
23
+ end
24
+
25
+ # You do not have sufficient access to perform this action.
26
+ #
27
+ # @!attribute [rw] message
28
+ # @return [String]
29
+ #
30
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AccessDeniedException AWS API Documentation
31
+ #
32
+ class AccessDeniedException < Struct.new(
33
+ :message)
34
+ include Aws::Structure
35
+ end
36
+
37
+ # @api private
38
+ #
39
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplateRequest AWS API Documentation
40
+ #
41
+ class AssociateServiceQuotaTemplateRequest < Aws::EmptyStructure; end
42
+
43
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplateResponse AWS API Documentation
44
+ #
45
+ class AssociateServiceQuotaTemplateResponse < Aws::EmptyStructure; end
46
+
47
+ # @note When making an API call, you may pass DeleteServiceQuotaIncreaseRequestFromTemplateRequest
48
+ # data as a hash:
49
+ #
50
+ # {
51
+ # service_code: "ServiceCode", # required
52
+ # quota_code: "QuotaCode", # required
53
+ # aws_region: "AwsRegion", # required
54
+ # }
55
+ #
56
+ # @!attribute [rw] service_code
57
+ # Specifies the code for the service that you want to delete.
58
+ # @return [String]
59
+ #
60
+ # @!attribute [rw] quota_code
61
+ # Specifies the code for the quota that you want to delete.
62
+ # @return [String]
63
+ #
64
+ # @!attribute [rw] aws_region
65
+ # Specifies the AWS Region for the quota that you want to delete.
66
+ # @return [String]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplateRequest AWS API Documentation
69
+ #
70
+ class DeleteServiceQuotaIncreaseRequestFromTemplateRequest < Struct.new(
71
+ :service_code,
72
+ :quota_code,
73
+ :aws_region)
74
+ include Aws::Structure
75
+ end
76
+
77
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplateResponse AWS API Documentation
78
+ #
79
+ class DeleteServiceQuotaIncreaseRequestFromTemplateResponse < Aws::EmptyStructure; end
80
+
81
+ # You can't perform this action because a dependency does not have
82
+ # access.
83
+ #
84
+ # @!attribute [rw] message
85
+ # @return [String]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DependencyAccessDeniedException AWS API Documentation
88
+ #
89
+ class DependencyAccessDeniedException < Struct.new(
90
+ :message)
91
+ include Aws::Structure
92
+ end
93
+
94
+ # @api private
95
+ #
96
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplateRequest AWS API Documentation
97
+ #
98
+ class DisassociateServiceQuotaTemplateRequest < Aws::EmptyStructure; end
99
+
100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplateResponse AWS API Documentation
101
+ #
102
+ class DisassociateServiceQuotaTemplateResponse < Aws::EmptyStructure; end
103
+
104
+ # Returns an error that explains why the action did not succeed.
105
+ #
106
+ # @!attribute [rw] error_code
107
+ # Service Quotas returns the following error values.
108
+ #
109
+ # `DEPENDENCY_ACCESS_DENIED_ERROR` is returned when the caller does
110
+ # not have permission to call the service or service quota. To resolve
111
+ # the error, you need permission to access the service or service
112
+ # quota.
113
+ #
114
+ # `DEPENDENCY_THROTTLING_ERROR` is returned when the service being
115
+ # called is throttling Service Quotas.
116
+ #
117
+ # `DEPENDENCY_SERVICE_ERROR` is returned when the service being called
118
+ # has availability issues.
119
+ #
120
+ # `SERVICE_QUOTA_NOT_AVAILABLE_ERROR` is returned when there was an
121
+ # error in Service Quotas.
122
+ # @return [String]
123
+ #
124
+ # @!attribute [rw] error_message
125
+ # The error message that provides more detail.
126
+ # @return [String]
127
+ #
128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ErrorReason AWS API Documentation
129
+ #
130
+ class ErrorReason < Struct.new(
131
+ :error_code,
132
+ :error_message)
133
+ include Aws::Structure
134
+ end
135
+
136
+ # @note When making an API call, you may pass GetAWSDefaultServiceQuotaRequest
137
+ # data as a hash:
138
+ #
139
+ # {
140
+ # service_code: "ServiceCode", # required
141
+ # quota_code: "QuotaCode", # required
142
+ # }
143
+ #
144
+ # @!attribute [rw] service_code
145
+ # Specifies the service that you want to use.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] quota_code
149
+ # Identifies the service quota you want to select.
150
+ # @return [String]
151
+ #
152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuotaRequest AWS API Documentation
153
+ #
154
+ class GetAWSDefaultServiceQuotaRequest < Struct.new(
155
+ :service_code,
156
+ :quota_code)
157
+ include Aws::Structure
158
+ end
159
+
160
+ # @!attribute [rw] quota
161
+ # Returns the ServiceQuota object which contains all values for a
162
+ # quota.
163
+ # @return [Types::ServiceQuota]
164
+ #
165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuotaResponse AWS API Documentation
166
+ #
167
+ class GetAWSDefaultServiceQuotaResponse < Struct.new(
168
+ :quota)
169
+ include Aws::Structure
170
+ end
171
+
172
+ # @api private
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplateRequest AWS API Documentation
175
+ #
176
+ class GetAssociationForServiceQuotaTemplateRequest < Aws::EmptyStructure; end
177
+
178
+ # @!attribute [rw] service_quota_template_association_status
179
+ # Specifies whether the template is `ASSOCIATED` or `DISASSOCIATED`.
180
+ # If the template is `ASSOCIATED`, then it requests service quota
181
+ # increases for all new accounts created in your organization.
182
+ # @return [String]
183
+ #
184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplateResponse AWS API Documentation
185
+ #
186
+ class GetAssociationForServiceQuotaTemplateResponse < Struct.new(
187
+ :service_quota_template_association_status)
188
+ include Aws::Structure
189
+ end
190
+
191
+ # @note When making an API call, you may pass GetRequestedServiceQuotaChangeRequest
192
+ # data as a hash:
193
+ #
194
+ # {
195
+ # request_id: "RequestId", # required
196
+ # }
197
+ #
198
+ # @!attribute [rw] request_id
199
+ # Identifies the quota increase request.
200
+ # @return [String]
201
+ #
202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChangeRequest AWS API Documentation
203
+ #
204
+ class GetRequestedServiceQuotaChangeRequest < Struct.new(
205
+ :request_id)
206
+ include Aws::Structure
207
+ end
208
+
209
+ # @!attribute [rw] requested_quota
210
+ # Returns the `RequestedServiceQuotaChange` object for the specific
211
+ # increase request.
212
+ # @return [Types::RequestedServiceQuotaChange]
213
+ #
214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChangeResponse AWS API Documentation
215
+ #
216
+ class GetRequestedServiceQuotaChangeResponse < Struct.new(
217
+ :requested_quota)
218
+ include Aws::Structure
219
+ end
220
+
221
+ # @note When making an API call, you may pass GetServiceQuotaIncreaseRequestFromTemplateRequest
222
+ # data as a hash:
223
+ #
224
+ # {
225
+ # service_code: "ServiceCode", # required
226
+ # quota_code: "QuotaCode", # required
227
+ # aws_region: "AwsRegion", # required
228
+ # }
229
+ #
230
+ # @!attribute [rw] service_code
231
+ # Specifies the service that you want to use.
232
+ # @return [String]
233
+ #
234
+ # @!attribute [rw] quota_code
235
+ # Specifies the quota you want.
236
+ # @return [String]
237
+ #
238
+ # @!attribute [rw] aws_region
239
+ # Specifies the AWS Region for the quota that you want to use.
240
+ # @return [String]
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplateRequest AWS API Documentation
243
+ #
244
+ class GetServiceQuotaIncreaseRequestFromTemplateRequest < Struct.new(
245
+ :service_code,
246
+ :quota_code,
247
+ :aws_region)
248
+ include Aws::Structure
249
+ end
250
+
251
+ # @!attribute [rw] service_quota_increase_request_in_template
252
+ # This object contains the details about the quota increase request.
253
+ # @return [Types::ServiceQuotaIncreaseRequestInTemplate]
254
+ #
255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplateResponse AWS API Documentation
256
+ #
257
+ class GetServiceQuotaIncreaseRequestFromTemplateResponse < Struct.new(
258
+ :service_quota_increase_request_in_template)
259
+ include Aws::Structure
260
+ end
261
+
262
+ # @note When making an API call, you may pass GetServiceQuotaRequest
263
+ # data as a hash:
264
+ #
265
+ # {
266
+ # service_code: "ServiceCode", # required
267
+ # quota_code: "QuotaCode", # required
268
+ # }
269
+ #
270
+ # @!attribute [rw] service_code
271
+ # Specifies the service that you want to use.
272
+ # @return [String]
273
+ #
274
+ # @!attribute [rw] quota_code
275
+ # Identifies the service quota you want to select.
276
+ # @return [String]
277
+ #
278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaRequest AWS API Documentation
279
+ #
280
+ class GetServiceQuotaRequest < Struct.new(
281
+ :service_code,
282
+ :quota_code)
283
+ include Aws::Structure
284
+ end
285
+
286
+ # @!attribute [rw] quota
287
+ # Returns the ServiceQuota object which contains all values for a
288
+ # quota.
289
+ # @return [Types::ServiceQuota]
290
+ #
291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaResponse AWS API Documentation
292
+ #
293
+ class GetServiceQuotaResponse < Struct.new(
294
+ :quota)
295
+ include Aws::Structure
296
+ end
297
+
298
+ # Invalid input was provided.
299
+ #
300
+ # @!attribute [rw] message
301
+ # @return [String]
302
+ #
303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/IllegalArgumentException AWS API Documentation
304
+ #
305
+ class IllegalArgumentException < Struct.new(
306
+ :message)
307
+ include Aws::Structure
308
+ end
309
+
310
+ # Invalid input was provided.
311
+ #
312
+ # @!attribute [rw] message
313
+ # @return [String]
314
+ #
315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/InvalidPaginationTokenException AWS API Documentation
316
+ #
317
+ class InvalidPaginationTokenException < Struct.new(
318
+ :message)
319
+ include Aws::Structure
320
+ end
321
+
322
+ # Invalid input was provided for the .
323
+ #
324
+ # @!attribute [rw] message
325
+ # @return [String]
326
+ #
327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/InvalidResourceStateException AWS API Documentation
328
+ #
329
+ class InvalidResourceStateException < Struct.new(
330
+ :message)
331
+ include Aws::Structure
332
+ end
333
+
334
+ # @note When making an API call, you may pass ListAWSDefaultServiceQuotasRequest
335
+ # data as a hash:
336
+ #
337
+ # {
338
+ # service_code: "ServiceCode", # required
339
+ # next_token: "NextToken",
340
+ # max_results: 1,
341
+ # }
342
+ #
343
+ # @!attribute [rw] service_code
344
+ # Specifies the service that you want to use.
345
+ # @return [String]
346
+ #
347
+ # @!attribute [rw] next_token
348
+ # (Optional) Use this parameter in a request if you receive a
349
+ # `NextToken` response in a previous request that indicates that
350
+ # there's more output available. In a subsequent call, set it to the
351
+ # value of the previous call's `NextToken` response to indicate where
352
+ # the output should continue from. If additional items exist beyond
353
+ # the specified maximum, the `NextToken` element is present and has a
354
+ # value (isn't null). Include that value as the `NextToken` request
355
+ # parameter in the call to the operation to get the next part of the
356
+ # results. You should check `NextToken` after every operation to
357
+ # ensure that you receive all of the results.
358
+ # @return [String]
359
+ #
360
+ # @!attribute [rw] max_results
361
+ # (Optional) Limits the number of results that you want to include in
362
+ # the response. If you don't include this parameter, the response
363
+ # defaults to a value that's specific to the operation. If additional
364
+ # items exist beyond the specified maximum, the `NextToken` element is
365
+ # present and has a value (isn't null). Include that value as the
366
+ # `NextToken` request parameter in the call to the operation to get
367
+ # the next part of the results. You should check `NextToken` after
368
+ # every operation to ensure that you receive all of the results.
369
+ # @return [Integer]
370
+ #
371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotasRequest AWS API Documentation
372
+ #
373
+ class ListAWSDefaultServiceQuotasRequest < Struct.new(
374
+ :service_code,
375
+ :next_token,
376
+ :max_results)
377
+ include Aws::Structure
378
+ end
379
+
380
+ # @!attribute [rw] next_token
381
+ # (Optional) Use this parameter in a request if you receive a
382
+ # `NextToken` response in a previous request that indicates that
383
+ # there's more output available. In a subsequent call, set it to the
384
+ # value of the previous call's `NextToken` response to indicate where
385
+ # the output should continue from.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] quotas
389
+ # A list of the quotas in the account with the AWS default values.
390
+ # @return [Array<Types::ServiceQuota>]
391
+ #
392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotasResponse AWS API Documentation
393
+ #
394
+ class ListAWSDefaultServiceQuotasResponse < Struct.new(
395
+ :next_token,
396
+ :quotas)
397
+ include Aws::Structure
398
+ end
399
+
400
+ # @note When making an API call, you may pass ListRequestedServiceQuotaChangeHistoryByQuotaRequest
401
+ # data as a hash:
402
+ #
403
+ # {
404
+ # service_code: "ServiceCode", # required
405
+ # quota_code: "QuotaCode", # required
406
+ # status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED
407
+ # next_token: "NextToken",
408
+ # max_results: 1,
409
+ # }
410
+ #
411
+ # @!attribute [rw] service_code
412
+ # Specifies the service that you want to use.
413
+ # @return [String]
414
+ #
415
+ # @!attribute [rw] quota_code
416
+ # Specifies the service quota that you want to use
417
+ # @return [String]
418
+ #
419
+ # @!attribute [rw] status
420
+ # Specifies the status value of the quota increase request.
421
+ # @return [String]
422
+ #
423
+ # @!attribute [rw] next_token
424
+ # (Optional) Use this parameter in a request if you receive a
425
+ # `NextToken` response in a previous request that indicates that
426
+ # there's more output available. In a subsequent call, set it to the
427
+ # value of the previous call's `NextToken` response to indicate where
428
+ # the output should continue from.
429
+ # @return [String]
430
+ #
431
+ # @!attribute [rw] max_results
432
+ # (Optional) Limits the number of results that you want to include in
433
+ # the response. If you don't include this parameter, the response
434
+ # defaults to a value that's specific to the operation. If additional
435
+ # items exist beyond the specified maximum, the `NextToken` element is
436
+ # present and has a value (isn't null). Include that value as the
437
+ # `NextToken` request parameter in the call to the operation to get
438
+ # the next part of the results. You should check `NextToken` after
439
+ # every operation to ensure that you receive all of the results.
440
+ # @return [Integer]
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaRequest AWS API Documentation
443
+ #
444
+ class ListRequestedServiceQuotaChangeHistoryByQuotaRequest < Struct.new(
445
+ :service_code,
446
+ :quota_code,
447
+ :status,
448
+ :next_token,
449
+ :max_results)
450
+ include Aws::Structure
451
+ end
452
+
453
+ # @!attribute [rw] next_token
454
+ # If present in the response, this value indicates there's more
455
+ # output available that what's included in the current response. This
456
+ # can occur even when the response includes no values at all, such as
457
+ # when you ask for a filtered view of a very long list. Use this value
458
+ # in the `NextToken` request parameter in a subsequent call to the
459
+ # operation to continue processing and get the next part of the
460
+ # output. You should repeat this until the `NextToken` response
461
+ # element comes back empty (as `null`).
462
+ # @return [String]
463
+ #
464
+ # @!attribute [rw] requested_quotas
465
+ # Returns a list of service quota requests.
466
+ # @return [Array<Types::RequestedServiceQuotaChange>]
467
+ #
468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaResponse AWS API Documentation
469
+ #
470
+ class ListRequestedServiceQuotaChangeHistoryByQuotaResponse < Struct.new(
471
+ :next_token,
472
+ :requested_quotas)
473
+ include Aws::Structure
474
+ end
475
+
476
+ # @note When making an API call, you may pass ListRequestedServiceQuotaChangeHistoryRequest
477
+ # data as a hash:
478
+ #
479
+ # {
480
+ # service_code: "ServiceCode",
481
+ # status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED
482
+ # next_token: "NextToken",
483
+ # max_results: 1,
484
+ # }
485
+ #
486
+ # @!attribute [rw] service_code
487
+ # Specifies the service that you want to use.
488
+ # @return [String]
489
+ #
490
+ # @!attribute [rw] status
491
+ # Specifies the status value of the quota increase request.
492
+ # @return [String]
493
+ #
494
+ # @!attribute [rw] next_token
495
+ # (Optional) Use this parameter in a request if you receive a
496
+ # `NextToken` response in a previous request that indicates that
497
+ # there's more output available. In a subsequent call, set it to the
498
+ # value of the previous call's `NextToken` response to indicate where
499
+ # the output should continue from.
500
+ # @return [String]
501
+ #
502
+ # @!attribute [rw] max_results
503
+ # (Optional) Limits the number of results that you want to include in
504
+ # the response. If you don't include this parameter, the response
505
+ # defaults to a value that's specific to the operation. If additional
506
+ # items exist beyond the specified maximum, the `NextToken` element is
507
+ # present and has a value (isn't null). Include that value as the
508
+ # `NextToken` request parameter in the call to the operation to get
509
+ # the next part of the results. You should check `NextToken` after
510
+ # every operation to ensure that you receive all of the results.
511
+ # @return [Integer]
512
+ #
513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryRequest AWS API Documentation
514
+ #
515
+ class ListRequestedServiceQuotaChangeHistoryRequest < Struct.new(
516
+ :service_code,
517
+ :status,
518
+ :next_token,
519
+ :max_results)
520
+ include Aws::Structure
521
+ end
522
+
523
+ # @!attribute [rw] next_token
524
+ # If present in the response, this value indicates there's more
525
+ # output available that what's included in the current response. This
526
+ # can occur even when the response includes no values at all, such as
527
+ # when you ask for a filtered view of a very long list. Use this value
528
+ # in the `NextToken` request parameter in a subsequent call to the
529
+ # operation to continue processing and get the next part of the
530
+ # output. You should repeat this until the `NextToken` response
531
+ # element comes back empty (as `null`).
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] requested_quotas
535
+ # Returns a list of service quota requests.
536
+ # @return [Array<Types::RequestedServiceQuotaChange>]
537
+ #
538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryResponse AWS API Documentation
539
+ #
540
+ class ListRequestedServiceQuotaChangeHistoryResponse < Struct.new(
541
+ :next_token,
542
+ :requested_quotas)
543
+ include Aws::Structure
544
+ end
545
+
546
+ # @note When making an API call, you may pass ListServiceQuotaIncreaseRequestsInTemplateRequest
547
+ # data as a hash:
548
+ #
549
+ # {
550
+ # service_code: "ServiceCode",
551
+ # aws_region: "AwsRegion",
552
+ # next_token: "NextToken",
553
+ # max_results: 1,
554
+ # }
555
+ #
556
+ # @!attribute [rw] service_code
557
+ # The identifier for a service. When performing an operation, use the
558
+ # `ServiceCode` to specify a particular service.
559
+ # @return [String]
560
+ #
561
+ # @!attribute [rw] aws_region
562
+ # Specifies the AWS Region for the quota that you want to use.
563
+ # @return [String]
564
+ #
565
+ # @!attribute [rw] next_token
566
+ # (Optional) Use this parameter in a request if you receive a
567
+ # `NextToken` response in a previous request that indicates that
568
+ # there's more output available. In a subsequent call, set it to the
569
+ # value of the previous call's `NextToken` response to indicate where
570
+ # the output should continue from.
571
+ # @return [String]
572
+ #
573
+ # @!attribute [rw] max_results
574
+ # (Optional) Limits the number of results that you want to include in
575
+ # the response. If you don't include this parameter, the response
576
+ # defaults to a value that's specific to the operation. If additional
577
+ # items exist beyond the specified maximum, the `NextToken` element is
578
+ # present and has a value (isn't null). Include that value as the
579
+ # `NextToken` request parameter in the call to the operation to get
580
+ # the next part of the results. You should check `NextToken` after
581
+ # every operation to ensure that you receive all of the results.
582
+ # @return [Integer]
583
+ #
584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplateRequest AWS API Documentation
585
+ #
586
+ class ListServiceQuotaIncreaseRequestsInTemplateRequest < Struct.new(
587
+ :service_code,
588
+ :aws_region,
589
+ :next_token,
590
+ :max_results)
591
+ include Aws::Structure
592
+ end
593
+
594
+ # @!attribute [rw] service_quota_increase_request_in_template_list
595
+ # Returns the list of values of the quota increase request in the
596
+ # template.
597
+ # @return [Array<Types::ServiceQuotaIncreaseRequestInTemplate>]
598
+ #
599
+ # @!attribute [rw] next_token
600
+ # If present in the response, this value indicates there's more
601
+ # output available that what's included in the current response. This
602
+ # can occur even when the response includes no values at all, such as
603
+ # when you ask for a filtered view of a very long list. Use this value
604
+ # in the `NextToken` request parameter in a subsequent call to the
605
+ # operation to continue processing and get the next part of the
606
+ # output. You should repeat this until the `NextToken` response
607
+ # element comes back empty (as `null`).
608
+ # @return [String]
609
+ #
610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplateResponse AWS API Documentation
611
+ #
612
+ class ListServiceQuotaIncreaseRequestsInTemplateResponse < Struct.new(
613
+ :service_quota_increase_request_in_template_list,
614
+ :next_token)
615
+ include Aws::Structure
616
+ end
617
+
618
+ # @note When making an API call, you may pass ListServiceQuotasRequest
619
+ # data as a hash:
620
+ #
621
+ # {
622
+ # service_code: "ServiceCode", # required
623
+ # next_token: "NextToken",
624
+ # max_results: 1,
625
+ # }
626
+ #
627
+ # @!attribute [rw] service_code
628
+ # The identifier for a service. When performing an operation, use the
629
+ # `ServiceCode` to specify a particular service.
630
+ # @return [String]
631
+ #
632
+ # @!attribute [rw] next_token
633
+ # (Optional) Use this parameter in a request if you receive a
634
+ # `NextToken` response in a previous request that indicates that
635
+ # there's more output available. In a subsequent call, set it to the
636
+ # value of the previous call's `NextToken` response to indicate where
637
+ # the output should continue from.
638
+ # @return [String]
639
+ #
640
+ # @!attribute [rw] max_results
641
+ # (Optional) Limits the number of results that you want to include in
642
+ # the response. If you don't include this parameter, the response
643
+ # defaults to a value that's specific to the operation. If additional
644
+ # items exist beyond the specified maximum, the `NextToken` element is
645
+ # present and has a value (isn't null). Include that value as the
646
+ # `NextToken` request parameter in the call to the operation to get
647
+ # the next part of the results. You should check `NextToken` after
648
+ # every operation to ensure that you receive all of the results.
649
+ # @return [Integer]
650
+ #
651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasRequest AWS API Documentation
652
+ #
653
+ class ListServiceQuotasRequest < Struct.new(
654
+ :service_code,
655
+ :next_token,
656
+ :max_results)
657
+ include Aws::Structure
658
+ end
659
+
660
+ # @!attribute [rw] next_token
661
+ # If present in the response, this value indicates there's more
662
+ # output available that what's included in the current response. This
663
+ # can occur even when the response includes no values at all, such as
664
+ # when you ask for a filtered view of a very long list. Use this value
665
+ # in the `NextToken` request parameter in a subsequent call to the
666
+ # operation to continue processing and get the next part of the
667
+ # output. You should repeat this until the `NextToken` response
668
+ # element comes back empty (as `null`).
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] quotas
672
+ # The response information for a quota lists all attribute information
673
+ # for the quota.
674
+ # @return [Array<Types::ServiceQuota>]
675
+ #
676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasResponse AWS API Documentation
677
+ #
678
+ class ListServiceQuotasResponse < Struct.new(
679
+ :next_token,
680
+ :quotas)
681
+ include Aws::Structure
682
+ end
683
+
684
+ # @note When making an API call, you may pass ListServicesRequest
685
+ # data as a hash:
686
+ #
687
+ # {
688
+ # next_token: "NextToken",
689
+ # max_results: 1,
690
+ # }
691
+ #
692
+ # @!attribute [rw] next_token
693
+ # (Optional) Use this parameter in a request if you receive a
694
+ # `NextToken` response in a previous request that indicates that
695
+ # there's more output available. In a subsequent call, set it to the
696
+ # value of the previous call's `NextToken` response to indicate where
697
+ # the output should continue from.
698
+ # @return [String]
699
+ #
700
+ # @!attribute [rw] max_results
701
+ # (Optional) Limits the number of results that you want to include in
702
+ # the response. If you don't include this parameter, the response
703
+ # defaults to a value that's specific to the operation. If additional
704
+ # items exist beyond the specified maximum, the `NextToken` element is
705
+ # present and has a value (isn't null). Include that value as the
706
+ # `NextToken` request parameter in the call to the operation to get
707
+ # the next part of the results. You should check `NextToken` after
708
+ # every operation to ensure that you receive all of the results.
709
+ # @return [Integer]
710
+ #
711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesRequest AWS API Documentation
712
+ #
713
+ class ListServicesRequest < Struct.new(
714
+ :next_token,
715
+ :max_results)
716
+ include Aws::Structure
717
+ end
718
+
719
+ # @!attribute [rw] next_token
720
+ # If present in the response, this value indicates there's more
721
+ # output available that what's included in the current response. This
722
+ # can occur even when the response includes no values at all, such as
723
+ # when you ask for a filtered view of a very long list. Use this value
724
+ # in the `NextToken` request parameter in a subsequent call to the
725
+ # operation to continue processing and get the next part of the
726
+ # output. You should repeat this until the `NextToken` response
727
+ # element comes back empty (as `null`).
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] services
731
+ # Returns a list of services.
732
+ # @return [Array<Types::ServiceInfo>]
733
+ #
734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesResponse AWS API Documentation
735
+ #
736
+ class ListServicesResponse < Struct.new(
737
+ :next_token,
738
+ :services)
739
+ include Aws::Structure
740
+ end
741
+
742
+ # A structure that uses CloudWatch metrics to gather data about the
743
+ # service quota.
744
+ #
745
+ # @!attribute [rw] metric_namespace
746
+ # The namespace of the metric. The namespace is a container for
747
+ # CloudWatch metrics. You can specify a name for the namespace when
748
+ # you create a metric.
749
+ # @return [String]
750
+ #
751
+ # @!attribute [rw] metric_name
752
+ # The name of the CloudWatch metric that measures usage of a service
753
+ # quota. This is a required field.
754
+ # @return [String]
755
+ #
756
+ # @!attribute [rw] metric_dimensions
757
+ # A dimension is a name/value pair that is part of the identity of a
758
+ # metric. Every metric has specific characteristics that describe it,
759
+ # and you can think of dimensions as categories for those
760
+ # characteristics. These dimensions are part of the CloudWatch Metric
761
+ # Identity that measures usage against a particular service quota.
762
+ # @return [Hash<String,String>]
763
+ #
764
+ # @!attribute [rw] metric_statistic_recommendation
765
+ # Statistics are metric data aggregations over specified periods of
766
+ # time. This is the recommended statistic to use when comparing usage
767
+ # in the CloudWatch Metric against your Service Quota.
768
+ # @return [String]
769
+ #
770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/MetricInfo AWS API Documentation
771
+ #
772
+ class MetricInfo < Struct.new(
773
+ :metric_namespace,
774
+ :metric_name,
775
+ :metric_dimensions,
776
+ :metric_statistic_recommendation)
777
+ include Aws::Structure
778
+ end
779
+
780
+ # The account making this call is not a member of an organization.
781
+ #
782
+ # @!attribute [rw] message
783
+ # @return [String]
784
+ #
785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/NoAvailableOrganizationException AWS API Documentation
786
+ #
787
+ class NoAvailableOrganizationException < Struct.new(
788
+ :message)
789
+ include Aws::Structure
790
+ end
791
+
792
+ # The specified resource does not exist.
793
+ #
794
+ # @!attribute [rw] message
795
+ # @return [String]
796
+ #
797
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/NoSuchResourceException AWS API Documentation
798
+ #
799
+ class NoSuchResourceException < Struct.new(
800
+ :message)
801
+ include Aws::Structure
802
+ end
803
+
804
+ # The organization that your account belongs to, is not in All Features
805
+ # mode. To enable all features mode, see [EnableAllFeatures][1].
806
+ #
807
+ #
808
+ #
809
+ # [1]: https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAllFeatures.html
810
+ #
811
+ # @!attribute [rw] message
812
+ # @return [String]
813
+ #
814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/OrganizationNotInAllFeaturesModeException AWS API Documentation
815
+ #
816
+ class OrganizationNotInAllFeaturesModeException < Struct.new(
817
+ :message)
818
+ include Aws::Structure
819
+ end
820
+
821
+ # @note When making an API call, you may pass PutServiceQuotaIncreaseRequestIntoTemplateRequest
822
+ # data as a hash:
823
+ #
824
+ # {
825
+ # quota_code: "QuotaCode", # required
826
+ # service_code: "ServiceCode", # required
827
+ # aws_region: "AwsRegion", # required
828
+ # desired_value: 1.0, # required
829
+ # }
830
+ #
831
+ # @!attribute [rw] quota_code
832
+ # Specifies the service quota that you want to use.
833
+ # @return [String]
834
+ #
835
+ # @!attribute [rw] service_code
836
+ # Specifies the service that you want to use.
837
+ # @return [String]
838
+ #
839
+ # @!attribute [rw] aws_region
840
+ # Specifies the AWS Region for the quota.
841
+ # @return [String]
842
+ #
843
+ # @!attribute [rw] desired_value
844
+ # Specifies the new, increased value for the quota.
845
+ # @return [Float]
846
+ #
847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplateRequest AWS API Documentation
848
+ #
849
+ class PutServiceQuotaIncreaseRequestIntoTemplateRequest < Struct.new(
850
+ :quota_code,
851
+ :service_code,
852
+ :aws_region,
853
+ :desired_value)
854
+ include Aws::Structure
855
+ end
856
+
857
+ # @!attribute [rw] service_quota_increase_request_in_template
858
+ # A structure that contains information about one service quota
859
+ # increase request.
860
+ # @return [Types::ServiceQuotaIncreaseRequestInTemplate]
861
+ #
862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplateResponse AWS API Documentation
863
+ #
864
+ class PutServiceQuotaIncreaseRequestIntoTemplateResponse < Struct.new(
865
+ :service_quota_increase_request_in_template)
866
+ include Aws::Structure
867
+ end
868
+
869
+ # You have exceeded your service quota. To perform the requested action,
870
+ # remove some of the relevant resources, or use Service Quotas to
871
+ # request a service quota increase.
872
+ #
873
+ # @!attribute [rw] message
874
+ # @return [String]
875
+ #
876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaExceededException AWS API Documentation
877
+ #
878
+ class QuotaExceededException < Struct.new(
879
+ :message)
880
+ include Aws::Structure
881
+ end
882
+
883
+ # A structure that contains information about the quota period.
884
+ #
885
+ # @!attribute [rw] period_value
886
+ # The value of a period.
887
+ # @return [Integer]
888
+ #
889
+ # @!attribute [rw] period_unit
890
+ # The time unit of a period.
891
+ # @return [String]
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaPeriod AWS API Documentation
894
+ #
895
+ class QuotaPeriod < Struct.new(
896
+ :period_value,
897
+ :period_unit)
898
+ include Aws::Structure
899
+ end
900
+
901
+ # @note When making an API call, you may pass RequestServiceQuotaIncreaseRequest
902
+ # data as a hash:
903
+ #
904
+ # {
905
+ # service_code: "ServiceCode", # required
906
+ # quota_code: "QuotaCode", # required
907
+ # desired_value: 1.0, # required
908
+ # }
909
+ #
910
+ # @!attribute [rw] service_code
911
+ # Specifies the service that you want to use.
912
+ # @return [String]
913
+ #
914
+ # @!attribute [rw] quota_code
915
+ # Specifies the service quota that you want to use.
916
+ # @return [String]
917
+ #
918
+ # @!attribute [rw] desired_value
919
+ # Specifies the value submitted in the service quota increase request.
920
+ # @return [Float]
921
+ #
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseRequest AWS API Documentation
923
+ #
924
+ class RequestServiceQuotaIncreaseRequest < Struct.new(
925
+ :service_code,
926
+ :quota_code,
927
+ :desired_value)
928
+ include Aws::Structure
929
+ end
930
+
931
+ # @!attribute [rw] requested_quota
932
+ # Returns a list of service quota requests.
933
+ # @return [Types::RequestedServiceQuotaChange]
934
+ #
935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseResponse AWS API Documentation
936
+ #
937
+ class RequestServiceQuotaIncreaseResponse < Struct.new(
938
+ :requested_quota)
939
+ include Aws::Structure
940
+ end
941
+
942
+ # A structure that contains information about a requested change for a
943
+ # quota.
944
+ #
945
+ # @!attribute [rw] id
946
+ # The unique identifier of a requested service quota change.
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] case_id
950
+ # The case Id for the service quota increase request.
951
+ # @return [String]
952
+ #
953
+ # @!attribute [rw] service_code
954
+ # Specifies the service that you want to use.
955
+ # @return [String]
956
+ #
957
+ # @!attribute [rw] service_name
958
+ # The name of the AWS service specified in the increase request.
959
+ # @return [String]
960
+ #
961
+ # @!attribute [rw] quota_code
962
+ # Specifies the service quota that you want to use.
963
+ # @return [String]
964
+ #
965
+ # @!attribute [rw] quota_name
966
+ # Name of the service quota.
967
+ # @return [String]
968
+ #
969
+ # @!attribute [rw] desired_value
970
+ # New increased value for the service quota.
971
+ # @return [Float]
972
+ #
973
+ # @!attribute [rw] status
974
+ # State of the service quota increase request.
975
+ # @return [String]
976
+ #
977
+ # @!attribute [rw] created
978
+ # The date and time when the service quota increase request was
979
+ # received and the case Id was created.
980
+ # @return [Time]
981
+ #
982
+ # @!attribute [rw] last_updated
983
+ # The date and time of the most recent change in the service quota
984
+ # increase request.
985
+ # @return [Time]
986
+ #
987
+ # @!attribute [rw] requester
988
+ # The IAM identity who submitted the service quota increase request.
989
+ # @return [String]
990
+ #
991
+ # @!attribute [rw] quota_arn
992
+ # The Amazon Resource Name (ARN) of the service quota.
993
+ # @return [String]
994
+ #
995
+ # @!attribute [rw] global_quota
996
+ # Identifies if the quota is global.
997
+ # @return [Boolean]
998
+ #
999
+ # @!attribute [rw] unit
1000
+ # Specifies the unit used for the quota.
1001
+ # @return [String]
1002
+ #
1003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestedServiceQuotaChange AWS API Documentation
1004
+ #
1005
+ class RequestedServiceQuotaChange < Struct.new(
1006
+ :id,
1007
+ :case_id,
1008
+ :service_code,
1009
+ :service_name,
1010
+ :quota_code,
1011
+ :quota_name,
1012
+ :desired_value,
1013
+ :status,
1014
+ :created,
1015
+ :last_updated,
1016
+ :requester,
1017
+ :quota_arn,
1018
+ :global_quota,
1019
+ :unit)
1020
+ include Aws::Structure
1021
+ end
1022
+
1023
+ # The specified resource already exists.
1024
+ #
1025
+ # @!attribute [rw] message
1026
+ # @return [String]
1027
+ #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ResourceAlreadyExistsException AWS API Documentation
1029
+ #
1030
+ class ResourceAlreadyExistsException < Struct.new(
1031
+ :message)
1032
+ include Aws::Structure
1033
+ end
1034
+
1035
+ # Something went wrong.
1036
+ #
1037
+ # @!attribute [rw] message
1038
+ # @return [String]
1039
+ #
1040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceException AWS API Documentation
1041
+ #
1042
+ class ServiceException < Struct.new(
1043
+ :message)
1044
+ include Aws::Structure
1045
+ end
1046
+
1047
+ # A structure that contains the `ServiceName` and `ServiceCode`. It does
1048
+ # not include all details of the service quota. To get those values, use
1049
+ # the ListServiceQuotas operation.
1050
+ #
1051
+ # @!attribute [rw] service_code
1052
+ # Specifies the service that you want to use.
1053
+ # @return [String]
1054
+ #
1055
+ # @!attribute [rw] service_name
1056
+ # The name of the AWS service specified in the increase request.
1057
+ # @return [String]
1058
+ #
1059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceInfo AWS API Documentation
1060
+ #
1061
+ class ServiceInfo < Struct.new(
1062
+ :service_code,
1063
+ :service_name)
1064
+ include Aws::Structure
1065
+ end
1066
+
1067
+ # A structure that contains the full set of details that define the
1068
+ # service quota.
1069
+ #
1070
+ # @!attribute [rw] service_code
1071
+ # Specifies the service that you want to use.
1072
+ # @return [String]
1073
+ #
1074
+ # @!attribute [rw] service_name
1075
+ # The name of the AWS service specified in the increase request.
1076
+ # @return [String]
1077
+ #
1078
+ # @!attribute [rw] quota_arn
1079
+ # The Amazon Resource Name (ARN) of the service quota.
1080
+ # @return [String]
1081
+ #
1082
+ # @!attribute [rw] quota_code
1083
+ # The code identifier for the service quota specified.
1084
+ # @return [String]
1085
+ #
1086
+ # @!attribute [rw] quota_name
1087
+ # The name identifier of the service quota.
1088
+ # @return [String]
1089
+ #
1090
+ # @!attribute [rw] value
1091
+ # The value of service quota.
1092
+ # @return [Float]
1093
+ #
1094
+ # @!attribute [rw] unit
1095
+ # The unit of measurement for the value of the service quota.
1096
+ # @return [String]
1097
+ #
1098
+ # @!attribute [rw] adjustable
1099
+ # Specifies if the quota value can be increased.
1100
+ # @return [Boolean]
1101
+ #
1102
+ # @!attribute [rw] global_quota
1103
+ # Specifies if the quota is global.
1104
+ # @return [Boolean]
1105
+ #
1106
+ # @!attribute [rw] usage_metric
1107
+ # Specifies the details about the measurement.
1108
+ # @return [Types::MetricInfo]
1109
+ #
1110
+ # @!attribute [rw] period
1111
+ # Identifies the unit and value of how time is measured.
1112
+ # @return [Types::QuotaPeriod]
1113
+ #
1114
+ # @!attribute [rw] error_reason
1115
+ # Specifies the `ErrorCode` and `ErrorMessage` when success isn't
1116
+ # achieved.
1117
+ # @return [Types::ErrorReason]
1118
+ #
1119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuota AWS API Documentation
1120
+ #
1121
+ class ServiceQuota < Struct.new(
1122
+ :service_code,
1123
+ :service_name,
1124
+ :quota_arn,
1125
+ :quota_code,
1126
+ :quota_name,
1127
+ :value,
1128
+ :unit,
1129
+ :adjustable,
1130
+ :global_quota,
1131
+ :usage_metric,
1132
+ :period,
1133
+ :error_reason)
1134
+ include Aws::Structure
1135
+ end
1136
+
1137
+ # A structure that contains information about one service quota increase
1138
+ # request.
1139
+ #
1140
+ # @!attribute [rw] service_code
1141
+ # The code identifier for the AWS service specified in the increase
1142
+ # request.
1143
+ # @return [String]
1144
+ #
1145
+ # @!attribute [rw] service_name
1146
+ # The name of the AWS service specified in the increase request.
1147
+ # @return [String]
1148
+ #
1149
+ # @!attribute [rw] quota_code
1150
+ # The code identifier for the service quota specified in the increase
1151
+ # request.
1152
+ # @return [String]
1153
+ #
1154
+ # @!attribute [rw] quota_name
1155
+ # The name of the service quota in the increase request.
1156
+ # @return [String]
1157
+ #
1158
+ # @!attribute [rw] desired_value
1159
+ # Identifies the new, increased value of the service quota in the
1160
+ # increase request.
1161
+ # @return [Float]
1162
+ #
1163
+ # @!attribute [rw] aws_region
1164
+ # The AWS Region where the increase request occurs.
1165
+ # @return [String]
1166
+ #
1167
+ # @!attribute [rw] unit
1168
+ # The unit of measure for the increase request.
1169
+ # @return [String]
1170
+ #
1171
+ # @!attribute [rw] global_quota
1172
+ # Specifies if the quota is a global quota.
1173
+ # @return [Boolean]
1174
+ #
1175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuotaIncreaseRequestInTemplate AWS API Documentation
1176
+ #
1177
+ class ServiceQuotaIncreaseRequestInTemplate < Struct.new(
1178
+ :service_code,
1179
+ :service_name,
1180
+ :quota_code,
1181
+ :quota_name,
1182
+ :desired_value,
1183
+ :aws_region,
1184
+ :unit,
1185
+ :global_quota)
1186
+ include Aws::Structure
1187
+ end
1188
+
1189
+ # The quota request template is not associated with your organization.
1190
+ #
1191
+ # To use the template, call AssociateServiceQuotaTemplate.
1192
+ #
1193
+ # @!attribute [rw] message
1194
+ # @return [String]
1195
+ #
1196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuotaTemplateNotInUseException AWS API Documentation
1197
+ #
1198
+ class ServiceQuotaTemplateNotInUseException < Struct.new(
1199
+ :message)
1200
+ include Aws::Structure
1201
+ end
1202
+
1203
+ # The Service Quotas template is not available in the Region where you
1204
+ # are making the request. Please make the request in us-east-1.
1205
+ #
1206
+ # @!attribute [rw] message
1207
+ # @return [String]
1208
+ #
1209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TemplatesNotAvailableInRegionException AWS API Documentation
1210
+ #
1211
+ class TemplatesNotAvailableInRegionException < Struct.new(
1212
+ :message)
1213
+ include Aws::Structure
1214
+ end
1215
+
1216
+ # Due to throttling, the request was denied. Slow down the rate of
1217
+ # request calls, or request an increase for this quota.
1218
+ #
1219
+ # @!attribute [rw] message
1220
+ # @return [String]
1221
+ #
1222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TooManyRequestsException AWS API Documentation
1223
+ #
1224
+ class TooManyRequestsException < Struct.new(
1225
+ :message)
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ end
1230
+ end