aws-sdk-servicequotas 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ module Aws::ServiceQuotas
15
15
 
16
16
  AWSServiceAccessNotEnabledException = Shapes::StructureShape.new(name: 'AWSServiceAccessNotEnabledException')
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
19
  AssociateServiceQuotaTemplateRequest = Shapes::StructureShape.new(name: 'AssociateServiceQuotaTemplateRequest')
19
20
  AssociateServiceQuotaTemplateResponse = Shapes::StructureShape.new(name: 'AssociateServiceQuotaTemplateResponse')
20
21
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
@@ -41,6 +42,8 @@ module Aws::ServiceQuotas
41
42
  GetServiceQuotaResponse = Shapes::StructureShape.new(name: 'GetServiceQuotaResponse')
42
43
  GlobalQuota = Shapes::BooleanShape.new(name: 'GlobalQuota')
43
44
  IllegalArgumentException = Shapes::StructureShape.new(name: 'IllegalArgumentException')
45
+ InputTagKeys = Shapes::ListShape.new(name: 'InputTagKeys')
46
+ InputTags = Shapes::ListShape.new(name: 'InputTags')
44
47
  InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
45
48
  InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
46
49
  ListAWSDefaultServiceQuotasRequest = Shapes::StructureShape.new(name: 'ListAWSDefaultServiceQuotasRequest')
@@ -55,6 +58,8 @@ module Aws::ServiceQuotas
55
58
  ListServiceQuotasResponse = Shapes::StructureShape.new(name: 'ListServiceQuotasResponse')
56
59
  ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
57
60
  ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
61
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
62
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
58
63
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
59
64
  MetricDimensionName = Shapes::StringShape.new(name: 'MetricDimensionName')
60
65
  MetricDimensionValue = Shapes::StringShape.new(name: 'MetricDimensionValue')
@@ -64,6 +69,7 @@ module Aws::ServiceQuotas
64
69
  NoAvailableOrganizationException = Shapes::StructureShape.new(name: 'NoAvailableOrganizationException')
65
70
  NoSuchResourceException = Shapes::StructureShape.new(name: 'NoSuchResourceException')
66
71
  OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
72
+ OutputTags = Shapes::ListShape.new(name: 'OutputTags')
67
73
  PeriodUnit = Shapes::StringShape.new(name: 'PeriodUnit')
68
74
  PeriodValue = Shapes::IntegerShape.new(name: 'PeriodValue')
69
75
  PutServiceQuotaIncreaseRequestIntoTemplateRequest = Shapes::StructureShape.new(name: 'PutServiceQuotaIncreaseRequestIntoTemplateRequest')
@@ -98,8 +104,17 @@ module Aws::ServiceQuotas
98
104
  ServiceQuotaTemplateAssociationStatus = Shapes::StringShape.new(name: 'ServiceQuotaTemplateAssociationStatus')
99
105
  ServiceQuotaTemplateNotInUseException = Shapes::StructureShape.new(name: 'ServiceQuotaTemplateNotInUseException')
100
106
  Statistic = Shapes::StringShape.new(name: 'Statistic')
107
+ Tag = Shapes::StructureShape.new(name: 'Tag')
108
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
109
+ TagPolicyViolationException = Shapes::StructureShape.new(name: 'TagPolicyViolationException')
110
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
111
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
112
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
101
113
  TemplatesNotAvailableInRegionException = Shapes::StructureShape.new(name: 'TemplatesNotAvailableInRegionException')
102
114
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
115
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
116
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
117
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
103
118
 
104
119
  AWSServiceAccessNotEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
105
120
  AWSServiceAccessNotEnabledException.struct_class = Types::AWSServiceAccessNotEnabledException
@@ -165,6 +180,10 @@ module Aws::ServiceQuotas
165
180
  IllegalArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
166
181
  IllegalArgumentException.struct_class = Types::IllegalArgumentException
167
182
 
183
+ InputTagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
184
+
185
+ InputTags.member = Shapes::ShapeRef.new(shape: Tag)
186
+
168
187
  InvalidPaginationTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
169
188
  InvalidPaginationTokenException.struct_class = Types::InvalidPaginationTokenException
170
189
 
@@ -228,6 +247,12 @@ module Aws::ServiceQuotas
228
247
  ListServicesResponse.add_member(:services, Shapes::ShapeRef.new(shape: ServiceInfoListDefinition, location_name: "Services"))
229
248
  ListServicesResponse.struct_class = Types::ListServicesResponse
230
249
 
250
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
251
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
252
+
253
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTags, location_name: "Tags"))
254
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
255
+
231
256
  MetricDimensionsMapDefinition.key = Shapes::ShapeRef.new(shape: MetricDimensionName)
232
257
  MetricDimensionsMapDefinition.value = Shapes::ShapeRef.new(shape: MetricDimensionValue)
233
258
 
@@ -246,6 +271,8 @@ module Aws::ServiceQuotas
246
271
  OrganizationNotInAllFeaturesModeException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
247
272
  OrganizationNotInAllFeaturesModeException.struct_class = Types::OrganizationNotInAllFeaturesModeException
248
273
 
274
+ OutputTags.member = Shapes::ShapeRef.new(shape: Tag)
275
+
249
276
  PutServiceQuotaIncreaseRequestIntoTemplateRequest.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "QuotaCode"))
250
277
  PutServiceQuotaIncreaseRequestIntoTemplateRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, required: true, location_name: "ServiceCode"))
251
278
  PutServiceQuotaIncreaseRequestIntoTemplateRequest.add_member(:aws_region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "AwsRegion"))
@@ -331,12 +358,34 @@ module Aws::ServiceQuotas
331
358
  ServiceQuotaTemplateNotInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
332
359
  ServiceQuotaTemplateNotInUseException.struct_class = Types::ServiceQuotaTemplateNotInUseException
333
360
 
361
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
362
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
363
+ Tag.struct_class = Types::Tag
364
+
365
+ TagPolicyViolationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
366
+ TagPolicyViolationException.struct_class = Types::TagPolicyViolationException
367
+
368
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
369
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTags, required: true, location_name: "Tags"))
370
+ TagResourceRequest.struct_class = Types::TagResourceRequest
371
+
372
+ TagResourceResponse.struct_class = Types::TagResourceResponse
373
+
334
374
  TemplatesNotAvailableInRegionException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
335
375
  TemplatesNotAvailableInRegionException.struct_class = Types::TemplatesNotAvailableInRegionException
336
376
 
337
377
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
338
378
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
339
379
 
380
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
381
+ TooManyTagsException.struct_class = Types::TooManyTagsException
382
+
383
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
384
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: InputTagKeys, required: true, location_name: "TagKeys"))
385
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
386
+
387
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
388
+
340
389
 
341
390
  # @api private
342
391
  API = Seahorse::Model::Api.new.tap do |api|
@@ -597,6 +646,19 @@ module Aws::ServiceQuotas
597
646
  )
598
647
  end)
599
648
 
649
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
650
+ o.name = "ListTagsForResource"
651
+ o.http_method = "POST"
652
+ o.http_request_uri = "/"
653
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
654
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
655
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
656
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
657
+ o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
658
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
660
+ end)
661
+
600
662
  api.add_operation(:put_service_quota_increase_request_into_template, Seahorse::Model::Operation.new.tap do |o|
601
663
  o.name = "PutServiceQuotaIncreaseRequestIntoTemplate"
602
664
  o.http_method = "POST"
@@ -631,6 +693,34 @@ module Aws::ServiceQuotas
631
693
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
632
694
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
633
695
  end)
696
+
697
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
698
+ o.name = "TagResource"
699
+ o.http_method = "POST"
700
+ o.http_request_uri = "/"
701
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
702
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
703
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
704
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
705
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
706
+ o.errors << Shapes::ShapeRef.new(shape: TagPolicyViolationException)
707
+ o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
708
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
710
+ end)
711
+
712
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "UntagResource"
714
+ o.http_method = "POST"
715
+ o.http_request_uri = "/"
716
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
717
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
718
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
719
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
720
+ o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
721
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
723
+ end)
634
724
  end
635
725
 
636
726
  end
@@ -40,8 +40,10 @@ module Aws::ServiceQuotas
40
40
  # * {ResourceAlreadyExistsException}
41
41
  # * {ServiceException}
42
42
  # * {ServiceQuotaTemplateNotInUseException}
43
+ # * {TagPolicyViolationException}
43
44
  # * {TemplatesNotAvailableInRegionException}
44
45
  # * {TooManyRequestsException}
46
+ # * {TooManyTagsException}
45
47
  #
46
48
  # Additionally, error classes are dynamically generated for service errors based on the error code
47
49
  # if they are not defined above.
@@ -244,6 +246,21 @@ module Aws::ServiceQuotas
244
246
  end
245
247
  end
246
248
 
249
+ class TagPolicyViolationException < ServiceError
250
+
251
+ # @param [Seahorse::Client::RequestContext] context
252
+ # @param [String] message
253
+ # @param [Aws::ServiceQuotas::Types::TagPolicyViolationException] data
254
+ def initialize(context, message, data = Aws::EmptyStructure.new)
255
+ super(context, message, data)
256
+ end
257
+
258
+ # @return [String]
259
+ def message
260
+ @message || @data[:message]
261
+ end
262
+ end
263
+
247
264
  class TemplatesNotAvailableInRegionException < ServiceError
248
265
 
249
266
  # @param [Seahorse::Client::RequestContext] context
@@ -274,5 +291,20 @@ module Aws::ServiceQuotas
274
291
  end
275
292
  end
276
293
 
294
+ class TooManyTagsException < ServiceError
295
+
296
+ # @param [Seahorse::Client::RequestContext] context
297
+ # @param [String] message
298
+ # @param [Aws::ServiceQuotas::Types::TooManyTagsException] data
299
+ def initialize(context, message, data = Aws::EmptyStructure.new)
300
+ super(context, message, data)
301
+ end
302
+
303
+ # @return [String]
304
+ def message
305
+ @message || @data[:message]
306
+ end
307
+ end
308
+
277
309
  end
278
310
  end
@@ -11,8 +11,7 @@ module Aws::ServiceQuotas
11
11
  module Types
12
12
 
13
13
  # The action you attempted is not allowed unless Service Access with
14
- # Service Quotas is enabled in your organization. To enable, call
15
- # AssociateServiceQuotaTemplate.
14
+ # Service Quotas is enabled in your organization.
16
15
  #
17
16
  # @!attribute [rw] message
18
17
  # @return [String]
@@ -25,7 +24,7 @@ module Aws::ServiceQuotas
25
24
  include Aws::Structure
26
25
  end
27
26
 
28
- # You do not have sufficient access to perform this action.
27
+ # You do not have sufficient permission to perform this action.
29
28
  #
30
29
  # @!attribute [rw] message
31
30
  # @return [String]
@@ -58,15 +57,15 @@ module Aws::ServiceQuotas
58
57
  # }
59
58
  #
60
59
  # @!attribute [rw] service_code
61
- # Specifies the code for the service that you want to delete.
60
+ # The service identifier.
62
61
  # @return [String]
63
62
  #
64
63
  # @!attribute [rw] quota_code
65
- # Specifies the code for the quota that you want to delete.
64
+ # The quota identifier.
66
65
  # @return [String]
67
66
  #
68
67
  # @!attribute [rw] aws_region
69
- # Specifies the AWS Region for the quota that you want to delete.
68
+ # The AWS Region.
70
69
  # @return [String]
71
70
  #
72
71
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplateRequest AWS API Documentation
@@ -107,28 +106,26 @@ module Aws::ServiceQuotas
107
106
  #
108
107
  class DisassociateServiceQuotaTemplateResponse < Aws::EmptyStructure; end
109
108
 
110
- # Returns an error that explains why the action did not succeed.
109
+ # An error that explains why an action did not succeed.
111
110
  #
112
111
  # @!attribute [rw] error_code
113
- # Service Quotas returns the following error values.
112
+ # Service Quotas returns the following error values:
114
113
  #
115
- # `DEPENDENCY_ACCESS_DENIED_ERROR` is returned when the caller does
116
- # not have permission to call the service or service quota. To resolve
117
- # the error, you need permission to access the service or service
118
- # quota.
114
+ # * `DEPENDENCY_ACCESS_DENIED_ERROR` - The caller does not have the
115
+ # required permissions to complete the action. To resolve the error,
116
+ # you must have permission to access the service or quota.
119
117
  #
120
- # `DEPENDENCY_THROTTLING_ERROR` is returned when the service being
121
- # called is throttling Service Quotas.
118
+ # * `DEPENDENCY_THROTTLING_ERROR` - The service is throttling Service
119
+ # Quotas.
122
120
  #
123
- # `DEPENDENCY_SERVICE_ERROR` is returned when the service being called
124
- # has availability issues.
121
+ # * `DEPENDENCY_SERVICE_ERROR` - The service is not available.
125
122
  #
126
- # `SERVICE_QUOTA_NOT_AVAILABLE_ERROR` is returned when there was an
127
- # error in Service Quotas.
123
+ # * `SERVICE_QUOTA_NOT_AVAILABLE_ERROR` - There was an error in
124
+ # Service Quotas.
128
125
  # @return [String]
129
126
  #
130
127
  # @!attribute [rw] error_message
131
- # The error message that provides more detail.
128
+ # The error message.
132
129
  # @return [String]
133
130
  #
134
131
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ErrorReason AWS API Documentation
@@ -149,11 +146,11 @@ module Aws::ServiceQuotas
149
146
  # }
150
147
  #
151
148
  # @!attribute [rw] service_code
152
- # Specifies the service that you want to use.
149
+ # The service identifier.
153
150
  # @return [String]
154
151
  #
155
152
  # @!attribute [rw] quota_code
156
- # Identifies the service quota you want to select.
153
+ # The quota identifier.
157
154
  # @return [String]
158
155
  #
159
156
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuotaRequest AWS API Documentation
@@ -166,8 +163,7 @@ module Aws::ServiceQuotas
166
163
  end
167
164
 
168
165
  # @!attribute [rw] quota
169
- # Returns the ServiceQuota object which contains all values for a
170
- # quota.
166
+ # Information about the quota.
171
167
  # @return [Types::ServiceQuota]
172
168
  #
173
169
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuotaResponse AWS API Documentation
@@ -185,9 +181,9 @@ module Aws::ServiceQuotas
185
181
  class GetAssociationForServiceQuotaTemplateRequest < Aws::EmptyStructure; end
186
182
 
187
183
  # @!attribute [rw] service_quota_template_association_status
188
- # Specifies whether the template is `ASSOCIATED` or `DISASSOCIATED`.
189
- # If the template is `ASSOCIATED`, then it requests service quota
190
- # increases for all new accounts created in your organization.
184
+ # The association status. If the status is `ASSOCIATED`, the quota
185
+ # increase requests in the template are automatically applied to new
186
+ # accounts in your organization.
191
187
  # @return [String]
192
188
  #
193
189
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplateResponse AWS API Documentation
@@ -206,7 +202,7 @@ module Aws::ServiceQuotas
206
202
  # }
207
203
  #
208
204
  # @!attribute [rw] request_id
209
- # Identifies the quota increase request.
205
+ # The ID of the quota increase request.
210
206
  # @return [String]
211
207
  #
212
208
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChangeRequest AWS API Documentation
@@ -218,8 +214,7 @@ module Aws::ServiceQuotas
218
214
  end
219
215
 
220
216
  # @!attribute [rw] requested_quota
221
- # Returns the `RequestedServiceQuotaChange` object for the specific
222
- # increase request.
217
+ # Information about the quota increase request.
223
218
  # @return [Types::RequestedServiceQuotaChange]
224
219
  #
225
220
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChangeResponse AWS API Documentation
@@ -240,15 +235,15 @@ module Aws::ServiceQuotas
240
235
  # }
241
236
  #
242
237
  # @!attribute [rw] service_code
243
- # Specifies the service that you want to use.
238
+ # The service identifier.
244
239
  # @return [String]
245
240
  #
246
241
  # @!attribute [rw] quota_code
247
- # Specifies the quota you want.
242
+ # The quota identifier.
248
243
  # @return [String]
249
244
  #
250
245
  # @!attribute [rw] aws_region
251
- # Specifies the AWS Region for the quota that you want to use.
246
+ # The AWS Region.
252
247
  # @return [String]
253
248
  #
254
249
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplateRequest AWS API Documentation
@@ -262,7 +257,7 @@ module Aws::ServiceQuotas
262
257
  end
263
258
 
264
259
  # @!attribute [rw] service_quota_increase_request_in_template
265
- # This object contains the details about the quota increase request.
260
+ # Information about the quota increase request.
266
261
  # @return [Types::ServiceQuotaIncreaseRequestInTemplate]
267
262
  #
268
263
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplateResponse AWS API Documentation
@@ -282,11 +277,11 @@ module Aws::ServiceQuotas
282
277
  # }
283
278
  #
284
279
  # @!attribute [rw] service_code
285
- # Specifies the service that you want to use.
280
+ # The service identifier.
286
281
  # @return [String]
287
282
  #
288
283
  # @!attribute [rw] quota_code
289
- # Identifies the service quota you want to select.
284
+ # The quota identifier.
290
285
  # @return [String]
291
286
  #
292
287
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaRequest AWS API Documentation
@@ -299,8 +294,7 @@ module Aws::ServiceQuotas
299
294
  end
300
295
 
301
296
  # @!attribute [rw] quota
302
- # Returns the ServiceQuota object which contains all values for a
303
- # quota.
297
+ # Information about the quota.
304
298
  # @return [Types::ServiceQuota]
305
299
  #
306
300
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaResponse AWS API Documentation
@@ -337,7 +331,7 @@ module Aws::ServiceQuotas
337
331
  include Aws::Structure
338
332
  end
339
333
 
340
- # Invalid input was provided for the .
334
+ # The resource is in an invalid state.
341
335
  #
342
336
  # @!attribute [rw] message
343
337
  # @return [String]
@@ -360,31 +354,17 @@ module Aws::ServiceQuotas
360
354
  # }
361
355
  #
362
356
  # @!attribute [rw] service_code
363
- # Specifies the service that you want to use.
357
+ # The service identifier.
364
358
  # @return [String]
365
359
  #
366
360
  # @!attribute [rw] next_token
367
- # (Optional) Use this parameter in a request if you receive a
368
- # `NextToken` response in a previous request that indicates that
369
- # there's more output available. In a subsequent call, set it to the
370
- # value of the previous call's `NextToken` response to indicate where
371
- # the output should continue from. If additional items exist beyond
372
- # the specified maximum, the `NextToken` element is present and has a
373
- # value (isn't null). Include that value as the `NextToken` request
374
- # parameter in the call to the operation to get the next part of the
375
- # results. You should check `NextToken` after every operation to
376
- # ensure that you receive all of the results.
361
+ # The token for the next page of results.
377
362
  # @return [String]
378
363
  #
379
364
  # @!attribute [rw] max_results
380
- # (Optional) Limits the number of results that you want to include in
381
- # the response. If you don't include this parameter, the response
382
- # defaults to a value that's specific to the operation. If additional
383
- # items exist beyond the specified maximum, the `NextToken` element is
384
- # present and has a value (isn't null). Include that value as the
385
- # `NextToken` request parameter in the call to the operation to get
386
- # the next part of the results. You should check `NextToken` after
387
- # every operation to ensure that you receive all of the results.
365
+ # The maximum number of results to return with a single call. To
366
+ # retrieve the remaining results, if any, make another call with the
367
+ # token returned from this call.
388
368
  # @return [Integer]
389
369
  #
390
370
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotasRequest AWS API Documentation
@@ -398,15 +378,12 @@ module Aws::ServiceQuotas
398
378
  end
399
379
 
400
380
  # @!attribute [rw] next_token
401
- # (Optional) Use this parameter in a request if you receive a
402
- # `NextToken` response in a previous request that indicates that
403
- # there's more output available. In a subsequent call, set it to the
404
- # value of the previous call's `NextToken` response to indicate where
405
- # the output should continue from.
381
+ # The token to use to retrieve the next page of results. This value is
382
+ # null when there are no more results to return.
406
383
  # @return [String]
407
384
  #
408
385
  # @!attribute [rw] quotas
409
- # A list of the quotas in the account with the AWS default values.
386
+ # Information about the quotas.
410
387
  # @return [Array<Types::ServiceQuota>]
411
388
  #
412
389
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotasResponse AWS API Documentation
@@ -430,34 +407,25 @@ module Aws::ServiceQuotas
430
407
  # }
431
408
  #
432
409
  # @!attribute [rw] service_code
433
- # Specifies the service that you want to use.
410
+ # The service identifier.
434
411
  # @return [String]
435
412
  #
436
413
  # @!attribute [rw] quota_code
437
- # Specifies the service quota that you want to use
414
+ # The quota identifier.
438
415
  # @return [String]
439
416
  #
440
417
  # @!attribute [rw] status
441
- # Specifies the status value of the quota increase request.
418
+ # The status value of the quota increase request.
442
419
  # @return [String]
443
420
  #
444
421
  # @!attribute [rw] next_token
445
- # (Optional) Use this parameter in a request if you receive a
446
- # `NextToken` response in a previous request that indicates that
447
- # there's more output available. In a subsequent call, set it to the
448
- # value of the previous call's `NextToken` response to indicate where
449
- # the output should continue from.
422
+ # The token for the next page of results.
450
423
  # @return [String]
451
424
  #
452
425
  # @!attribute [rw] max_results
453
- # (Optional) Limits the number of results that you want to include in
454
- # the response. If you don't include this parameter, the response
455
- # defaults to a value that's specific to the operation. If additional
456
- # items exist beyond the specified maximum, the `NextToken` element is
457
- # present and has a value (isn't null). Include that value as the
458
- # `NextToken` request parameter in the call to the operation to get
459
- # the next part of the results. You should check `NextToken` after
460
- # every operation to ensure that you receive all of the results.
426
+ # The maximum number of results to return with a single call. To
427
+ # retrieve the remaining results, if any, make another call with the
428
+ # token returned from this call.
461
429
  # @return [Integer]
462
430
  #
463
431
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaRequest AWS API Documentation
@@ -473,18 +441,12 @@ module Aws::ServiceQuotas
473
441
  end
474
442
 
475
443
  # @!attribute [rw] next_token
476
- # If present in the response, this value indicates there's more
477
- # output available that what's included in the current response. This
478
- # can occur even when the response includes no values at all, such as
479
- # when you ask for a filtered view of a very long list. Use this value
480
- # in the `NextToken` request parameter in a subsequent call to the
481
- # operation to continue processing and get the next part of the
482
- # output. You should repeat this until the `NextToken` response
483
- # element comes back empty (as `null`).
444
+ # The token to use to retrieve the next page of results. This value is
445
+ # null when there are no more results to return.
484
446
  # @return [String]
485
447
  #
486
448
  # @!attribute [rw] requested_quotas
487
- # Returns a list of service quota requests.
449
+ # Information about the quota increase requests.
488
450
  # @return [Array<Types::RequestedServiceQuotaChange>]
489
451
  #
490
452
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaResponse AWS API Documentation
@@ -507,30 +469,21 @@ module Aws::ServiceQuotas
507
469
  # }
508
470
  #
509
471
  # @!attribute [rw] service_code
510
- # Specifies the service that you want to use.
472
+ # The service identifier.
511
473
  # @return [String]
512
474
  #
513
475
  # @!attribute [rw] status
514
- # Specifies the status value of the quota increase request.
476
+ # The status of the quota increase request.
515
477
  # @return [String]
516
478
  #
517
479
  # @!attribute [rw] next_token
518
- # (Optional) Use this parameter in a request if you receive a
519
- # `NextToken` response in a previous request that indicates that
520
- # there's more output available. In a subsequent call, set it to the
521
- # value of the previous call's `NextToken` response to indicate where
522
- # the output should continue from.
480
+ # The token for the next page of results.
523
481
  # @return [String]
524
482
  #
525
483
  # @!attribute [rw] max_results
526
- # (Optional) Limits the number of results that you want to include in
527
- # the response. If you don't include this parameter, the response
528
- # defaults to a value that's specific to the operation. If additional
529
- # items exist beyond the specified maximum, the `NextToken` element is
530
- # present and has a value (isn't null). Include that value as the
531
- # `NextToken` request parameter in the call to the operation to get
532
- # the next part of the results. You should check `NextToken` after
533
- # every operation to ensure that you receive all of the results.
484
+ # The maximum number of results to return with a single call. To
485
+ # retrieve the remaining results, if any, make another call with the
486
+ # token returned from this call.
534
487
  # @return [Integer]
535
488
  #
536
489
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryRequest AWS API Documentation
@@ -545,18 +498,12 @@ module Aws::ServiceQuotas
545
498
  end
546
499
 
547
500
  # @!attribute [rw] next_token
548
- # If present in the response, this value indicates there's more
549
- # output available that what's included in the current response. This
550
- # can occur even when the response includes no values at all, such as
551
- # when you ask for a filtered view of a very long list. Use this value
552
- # in the `NextToken` request parameter in a subsequent call to the
553
- # operation to continue processing and get the next part of the
554
- # output. You should repeat this until the `NextToken` response
555
- # element comes back empty (as `null`).
501
+ # The token to use to retrieve the next page of results. This value is
502
+ # null when there are no more results to return.
556
503
  # @return [String]
557
504
  #
558
505
  # @!attribute [rw] requested_quotas
559
- # Returns a list of service quota requests.
506
+ # Information about the quota increase requests.
560
507
  # @return [Array<Types::RequestedServiceQuotaChange>]
561
508
  #
562
509
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryResponse AWS API Documentation
@@ -579,31 +526,21 @@ module Aws::ServiceQuotas
579
526
  # }
580
527
  #
581
528
  # @!attribute [rw] service_code
582
- # The identifier for a service. When performing an operation, use the
583
- # `ServiceCode` to specify a particular service.
529
+ # The service identifier.
584
530
  # @return [String]
585
531
  #
586
532
  # @!attribute [rw] aws_region
587
- # Specifies the AWS Region for the quota that you want to use.
533
+ # The AWS Region.
588
534
  # @return [String]
589
535
  #
590
536
  # @!attribute [rw] next_token
591
- # (Optional) Use this parameter in a request if you receive a
592
- # `NextToken` response in a previous request that indicates that
593
- # there's more output available. In a subsequent call, set it to the
594
- # value of the previous call's `NextToken` response to indicate where
595
- # the output should continue from.
537
+ # The token for the next page of results.
596
538
  # @return [String]
597
539
  #
598
540
  # @!attribute [rw] max_results
599
- # (Optional) Limits the number of results that you want to include in
600
- # the response. If you don't include this parameter, the response
601
- # defaults to a value that's specific to the operation. If additional
602
- # items exist beyond the specified maximum, the `NextToken` element is
603
- # present and has a value (isn't null). Include that value as the
604
- # `NextToken` request parameter in the call to the operation to get
605
- # the next part of the results. You should check `NextToken` after
606
- # every operation to ensure that you receive all of the results.
541
+ # The maximum number of results to return with a single call. To
542
+ # retrieve the remaining results, if any, make another call with the
543
+ # token returned from this call.
607
544
  # @return [Integer]
608
545
  #
609
546
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplateRequest AWS API Documentation
@@ -618,19 +555,12 @@ module Aws::ServiceQuotas
618
555
  end
619
556
 
620
557
  # @!attribute [rw] service_quota_increase_request_in_template_list
621
- # Returns the list of values of the quota increase request in the
622
- # template.
558
+ # Information about the quota increase requests.
623
559
  # @return [Array<Types::ServiceQuotaIncreaseRequestInTemplate>]
624
560
  #
625
561
  # @!attribute [rw] next_token
626
- # If present in the response, this value indicates there's more
627
- # output available that what's included in the current response. This
628
- # can occur even when the response includes no values at all, such as
629
- # when you ask for a filtered view of a very long list. Use this value
630
- # in the `NextToken` request parameter in a subsequent call to the
631
- # operation to continue processing and get the next part of the
632
- # output. You should repeat this until the `NextToken` response
633
- # element comes back empty (as `null`).
562
+ # The token to use to retrieve the next page of results. This value is
563
+ # null when there are no more results to return.
634
564
  # @return [String]
635
565
  #
636
566
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplateResponse AWS API Documentation
@@ -652,27 +582,17 @@ module Aws::ServiceQuotas
652
582
  # }
653
583
  #
654
584
  # @!attribute [rw] service_code
655
- # The identifier for a service. When performing an operation, use the
656
- # `ServiceCode` to specify a particular service.
585
+ # The service identifier.
657
586
  # @return [String]
658
587
  #
659
588
  # @!attribute [rw] next_token
660
- # (Optional) Use this parameter in a request if you receive a
661
- # `NextToken` response in a previous request that indicates that
662
- # there's more output available. In a subsequent call, set it to the
663
- # value of the previous call's `NextToken` response to indicate where
664
- # the output should continue from.
589
+ # The token for the next page of results.
665
590
  # @return [String]
666
591
  #
667
592
  # @!attribute [rw] max_results
668
- # (Optional) Limits the number of results that you want to include in
669
- # the response. If you don't include this parameter, the response
670
- # defaults to a value that's specific to the operation. If additional
671
- # items exist beyond the specified maximum, the `NextToken` element is
672
- # present and has a value (isn't null). Include that value as the
673
- # `NextToken` request parameter in the call to the operation to get
674
- # the next part of the results. You should check `NextToken` after
675
- # every operation to ensure that you receive all of the results.
593
+ # The maximum number of results to return with a single call. To
594
+ # retrieve the remaining results, if any, make another call with the
595
+ # token returned from this call.
676
596
  # @return [Integer]
677
597
  #
678
598
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasRequest AWS API Documentation
@@ -686,19 +606,12 @@ module Aws::ServiceQuotas
686
606
  end
687
607
 
688
608
  # @!attribute [rw] next_token
689
- # If present in the response, this value indicates there's more
690
- # output available that what's included in the current response. This
691
- # can occur even when the response includes no values at all, such as
692
- # when you ask for a filtered view of a very long list. Use this value
693
- # in the `NextToken` request parameter in a subsequent call to the
694
- # operation to continue processing and get the next part of the
695
- # output. You should repeat this until the `NextToken` response
696
- # element comes back empty (as `null`).
609
+ # The token to use to retrieve the next page of results. This value is
610
+ # null when there are no more results to return.
697
611
  # @return [String]
698
612
  #
699
613
  # @!attribute [rw] quotas
700
- # The response information for a quota lists all attribute information
701
- # for the quota.
614
+ # Information about the quotas.
702
615
  # @return [Array<Types::ServiceQuota>]
703
616
  #
704
617
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasResponse AWS API Documentation
@@ -719,22 +632,13 @@ module Aws::ServiceQuotas
719
632
  # }
720
633
  #
721
634
  # @!attribute [rw] next_token
722
- # (Optional) Use this parameter in a request if you receive a
723
- # `NextToken` response in a previous request that indicates that
724
- # there's more output available. In a subsequent call, set it to the
725
- # value of the previous call's `NextToken` response to indicate where
726
- # the output should continue from.
635
+ # The token for the next page of results.
727
636
  # @return [String]
728
637
  #
729
638
  # @!attribute [rw] max_results
730
- # (Optional) Limits the number of results that you want to include in
731
- # the response. If you don't include this parameter, the response
732
- # defaults to a value that's specific to the operation. If additional
733
- # items exist beyond the specified maximum, the `NextToken` element is
734
- # present and has a value (isn't null). Include that value as the
735
- # `NextToken` request parameter in the call to the operation to get
736
- # the next part of the results. You should check `NextToken` after
737
- # every operation to ensure that you receive all of the results.
639
+ # The maximum number of results to return with a single call. To
640
+ # retrieve the remaining results, if any, make another call with the
641
+ # token returned from this call.
738
642
  # @return [Integer]
739
643
  #
740
644
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesRequest AWS API Documentation
@@ -747,18 +651,12 @@ module Aws::ServiceQuotas
747
651
  end
748
652
 
749
653
  # @!attribute [rw] next_token
750
- # If present in the response, this value indicates there's more
751
- # output available that what's included in the current response. This
752
- # can occur even when the response includes no values at all, such as
753
- # when you ask for a filtered view of a very long list. Use this value
754
- # in the `NextToken` request parameter in a subsequent call to the
755
- # operation to continue processing and get the next part of the
756
- # output. You should repeat this until the `NextToken` response
757
- # element comes back empty (as `null`).
654
+ # The token to use to retrieve the next page of results. This value is
655
+ # null when there are no more results to return.
758
656
  # @return [String]
759
657
  #
760
658
  # @!attribute [rw] services
761
- # Returns a list of services.
659
+ # Information about the services.
762
660
  # @return [Array<Types::ServiceInfo>]
763
661
  #
764
662
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesResponse AWS API Documentation
@@ -770,32 +668,64 @@ module Aws::ServiceQuotas
770
668
  include Aws::Structure
771
669
  end
772
670
 
773
- # A structure that uses CloudWatch metrics to gather data about the
774
- # service quota.
671
+ # @note When making an API call, you may pass ListTagsForResourceRequest
672
+ # data as a hash:
673
+ #
674
+ # {
675
+ # resource_arn: "AmazonResourceName", # required
676
+ # }
677
+ #
678
+ # @!attribute [rw] resource_arn
679
+ # The Amazon Resource Name (ARN) for the applied quota for which you
680
+ # want to list tags. You can get this information by using the Service
681
+ # Quotas console, or by listing the quotas using the
682
+ # [list-service-quotas][1] AWS CLI command or the
683
+ # [ListServiceQuotas][2] AWS API operation.
684
+ #
685
+ #
686
+ #
687
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html
688
+ # [2]: https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html
689
+ # @return [String]
690
+ #
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResourceRequest AWS API Documentation
692
+ #
693
+ class ListTagsForResourceRequest < Struct.new(
694
+ :resource_arn)
695
+ SENSITIVE = []
696
+ include Aws::Structure
697
+ end
698
+
699
+ # @!attribute [rw] tags
700
+ # A complex data type that contains zero or more tag elements.
701
+ # @return [Array<Types::Tag>]
702
+ #
703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResourceResponse AWS API Documentation
704
+ #
705
+ class ListTagsForResourceResponse < Struct.new(
706
+ :tags)
707
+ SENSITIVE = []
708
+ include Aws::Structure
709
+ end
710
+
711
+ # Information about the CloudWatch metric that reflects quota usage.
775
712
  #
776
713
  # @!attribute [rw] metric_namespace
777
- # The namespace of the metric. The namespace is a container for
778
- # CloudWatch metrics. You can specify a name for the namespace when
779
- # you create a metric.
714
+ # The namespace of the metric.
780
715
  # @return [String]
781
716
  #
782
717
  # @!attribute [rw] metric_name
783
- # The name of the CloudWatch metric that measures usage of a service
784
- # quota. This is a required field.
718
+ # The name of the metric.
785
719
  # @return [String]
786
720
  #
787
721
  # @!attribute [rw] metric_dimensions
788
- # A dimension is a name/value pair that is part of the identity of a
789
- # metric. Every metric has specific characteristics that describe it,
790
- # and you can think of dimensions as categories for those
791
- # characteristics. These dimensions are part of the CloudWatch Metric
792
- # Identity that measures usage against a particular service quota.
722
+ # The metric dimension. This is a name/value pair that is part of the
723
+ # identity of a metric.
793
724
  # @return [Hash<String,String>]
794
725
  #
795
726
  # @!attribute [rw] metric_statistic_recommendation
796
- # Statistics are metric data aggregations over specified periods of
797
- # time. This is the recommended statistic to use when comparing usage
798
- # in the CloudWatch Metric against your Service Quota.
727
+ # The metric statistic that we recommend you use when determining
728
+ # quota usage.
799
729
  # @return [String]
800
730
  #
801
731
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/MetricInfo AWS API Documentation
@@ -835,12 +765,8 @@ module Aws::ServiceQuotas
835
765
  include Aws::Structure
836
766
  end
837
767
 
838
- # The organization that your account belongs to, is not in All Features
839
- # mode. To enable all features mode, see [EnableAllFeatures][1].
840
- #
841
- #
842
- #
843
- # [1]: https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAllFeatures.html
768
+ # The organization that your account belongs to is not in All Features
769
+ # mode.
844
770
  #
845
771
  # @!attribute [rw] message
846
772
  # @return [String]
@@ -864,19 +790,19 @@ module Aws::ServiceQuotas
864
790
  # }
865
791
  #
866
792
  # @!attribute [rw] quota_code
867
- # Specifies the service quota that you want to use.
793
+ # The quota identifier.
868
794
  # @return [String]
869
795
  #
870
796
  # @!attribute [rw] service_code
871
- # Specifies the service that you want to use.
797
+ # The service identifier.
872
798
  # @return [String]
873
799
  #
874
800
  # @!attribute [rw] aws_region
875
- # Specifies the AWS Region for the quota.
801
+ # The AWS Region.
876
802
  # @return [String]
877
803
  #
878
804
  # @!attribute [rw] desired_value
879
- # Specifies the new, increased value for the quota.
805
+ # The new, increased value for the quota.
880
806
  # @return [Float]
881
807
  #
882
808
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplateRequest AWS API Documentation
@@ -891,8 +817,7 @@ module Aws::ServiceQuotas
891
817
  end
892
818
 
893
819
  # @!attribute [rw] service_quota_increase_request_in_template
894
- # A structure that contains information about one service quota
895
- # increase request.
820
+ # Information about the quota increase request.
896
821
  # @return [Types::ServiceQuotaIncreaseRequestInTemplate]
897
822
  #
898
823
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplateResponse AWS API Documentation
@@ -918,14 +843,14 @@ module Aws::ServiceQuotas
918
843
  include Aws::Structure
919
844
  end
920
845
 
921
- # A structure that contains information about the quota period.
846
+ # Information about the quota period.
922
847
  #
923
848
  # @!attribute [rw] period_value
924
- # The value of a period.
849
+ # The value.
925
850
  # @return [Integer]
926
851
  #
927
852
  # @!attribute [rw] period_unit
928
- # The time unit of a period.
853
+ # The time unit.
929
854
  # @return [String]
930
855
  #
931
856
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaPeriod AWS API Documentation
@@ -947,15 +872,15 @@ module Aws::ServiceQuotas
947
872
  # }
948
873
  #
949
874
  # @!attribute [rw] service_code
950
- # Specifies the service that you want to use.
875
+ # The service identifier.
951
876
  # @return [String]
952
877
  #
953
878
  # @!attribute [rw] quota_code
954
- # Specifies the service quota that you want to use.
879
+ # The quota identifier.
955
880
  # @return [String]
956
881
  #
957
882
  # @!attribute [rw] desired_value
958
- # Specifies the value submitted in the service quota increase request.
883
+ # The new, increased value for the quota.
959
884
  # @return [Float]
960
885
  #
961
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseRequest AWS API Documentation
@@ -969,7 +894,7 @@ module Aws::ServiceQuotas
969
894
  end
970
895
 
971
896
  # @!attribute [rw] requested_quota
972
- # Returns a list of service quota requests.
897
+ # Information about the quota increase request.
973
898
  # @return [Types::RequestedServiceQuotaChange]
974
899
  #
975
900
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseResponse AWS API Documentation
@@ -980,65 +905,63 @@ module Aws::ServiceQuotas
980
905
  include Aws::Structure
981
906
  end
982
907
 
983
- # A structure that contains information about a requested change for a
984
- # quota.
908
+ # Information about a quota increase request.
985
909
  #
986
910
  # @!attribute [rw] id
987
- # The unique identifier of a requested service quota change.
911
+ # The unique identifier.
988
912
  # @return [String]
989
913
  #
990
914
  # @!attribute [rw] case_id
991
- # The case Id for the service quota increase request.
915
+ # The case ID.
992
916
  # @return [String]
993
917
  #
994
918
  # @!attribute [rw] service_code
995
- # Specifies the service that you want to use.
919
+ # The service identifier.
996
920
  # @return [String]
997
921
  #
998
922
  # @!attribute [rw] service_name
999
- # The name of the AWS service specified in the increase request.
923
+ # The service name.
1000
924
  # @return [String]
1001
925
  #
1002
926
  # @!attribute [rw] quota_code
1003
- # Specifies the service quota that you want to use.
927
+ # The quota identifier.
1004
928
  # @return [String]
1005
929
  #
1006
930
  # @!attribute [rw] quota_name
1007
- # Name of the service quota.
931
+ # The quota name.
1008
932
  # @return [String]
1009
933
  #
1010
934
  # @!attribute [rw] desired_value
1011
- # New increased value for the service quota.
935
+ # The new, increased value for the quota.
1012
936
  # @return [Float]
1013
937
  #
1014
938
  # @!attribute [rw] status
1015
- # State of the service quota increase request.
939
+ # The state of the quota increase request.
1016
940
  # @return [String]
1017
941
  #
1018
942
  # @!attribute [rw] created
1019
- # The date and time when the service quota increase request was
1020
- # received and the case Id was created.
943
+ # The date and time when the quota increase request was received and
944
+ # the case ID was created.
1021
945
  # @return [Time]
1022
946
  #
1023
947
  # @!attribute [rw] last_updated
1024
- # The date and time of the most recent change in the service quota
1025
- # increase request.
948
+ # The date and time of the most recent change.
1026
949
  # @return [Time]
1027
950
  #
1028
951
  # @!attribute [rw] requester
1029
- # The IAM identity who submitted the service quota increase request.
952
+ # The IAM identity of the requester.
1030
953
  # @return [String]
1031
954
  #
1032
955
  # @!attribute [rw] quota_arn
1033
- # The Amazon Resource Name (ARN) of the service quota.
956
+ # The Amazon Resource Name (ARN) of the quota.
1034
957
  # @return [String]
1035
958
  #
1036
959
  # @!attribute [rw] global_quota
1037
- # Identifies if the quota is global.
960
+ # Indicates whether the quota is global.
1038
961
  # @return [Boolean]
1039
962
  #
1040
963
  # @!attribute [rw] unit
1041
- # Specifies the unit used for the quota.
964
+ # The unit of measurement.
1042
965
  # @return [String]
1043
966
  #
1044
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestedServiceQuotaChange AWS API Documentation
@@ -1088,16 +1011,14 @@ module Aws::ServiceQuotas
1088
1011
  include Aws::Structure
1089
1012
  end
1090
1013
 
1091
- # A structure that contains the `ServiceName` and `ServiceCode`. It does
1092
- # not include all details of the service quota. To get those values, use
1093
- # the ListServiceQuotas operation.
1014
+ # Information about a service.
1094
1015
  #
1095
1016
  # @!attribute [rw] service_code
1096
- # Specifies the service that you want to use.
1017
+ # The service identifier.
1097
1018
  # @return [String]
1098
1019
  #
1099
1020
  # @!attribute [rw] service_name
1100
- # The name of the AWS service specified in the increase request.
1021
+ # The service name.
1101
1022
  # @return [String]
1102
1023
  #
1103
1024
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceInfo AWS API Documentation
@@ -1109,56 +1030,54 @@ module Aws::ServiceQuotas
1109
1030
  include Aws::Structure
1110
1031
  end
1111
1032
 
1112
- # A structure that contains the full set of details that define the
1113
- # service quota.
1033
+ # Information about a quota.
1114
1034
  #
1115
1035
  # @!attribute [rw] service_code
1116
- # Specifies the service that you want to use.
1036
+ # The service identifier.
1117
1037
  # @return [String]
1118
1038
  #
1119
1039
  # @!attribute [rw] service_name
1120
- # The name of the AWS service specified in the increase request.
1040
+ # The service name.
1121
1041
  # @return [String]
1122
1042
  #
1123
1043
  # @!attribute [rw] quota_arn
1124
- # The Amazon Resource Name (ARN) of the service quota.
1044
+ # The Amazon Resource Name (ARN) of the quota.
1125
1045
  # @return [String]
1126
1046
  #
1127
1047
  # @!attribute [rw] quota_code
1128
- # The code identifier for the service quota specified.
1048
+ # The quota identifier.
1129
1049
  # @return [String]
1130
1050
  #
1131
1051
  # @!attribute [rw] quota_name
1132
- # The name identifier of the service quota.
1052
+ # The quota name.
1133
1053
  # @return [String]
1134
1054
  #
1135
1055
  # @!attribute [rw] value
1136
- # The value of service quota.
1056
+ # The quota value.
1137
1057
  # @return [Float]
1138
1058
  #
1139
1059
  # @!attribute [rw] unit
1140
- # The unit of measurement for the value of the service quota.
1060
+ # The unit of measurement.
1141
1061
  # @return [String]
1142
1062
  #
1143
1063
  # @!attribute [rw] adjustable
1144
- # Specifies if the quota value can be increased.
1064
+ # Indicates whether the quota value can be increased.
1145
1065
  # @return [Boolean]
1146
1066
  #
1147
1067
  # @!attribute [rw] global_quota
1148
- # Specifies if the quota is global.
1068
+ # Indicates whether the quota is global.
1149
1069
  # @return [Boolean]
1150
1070
  #
1151
1071
  # @!attribute [rw] usage_metric
1152
- # Specifies the details about the measurement.
1072
+ # Information about the measurement.
1153
1073
  # @return [Types::MetricInfo]
1154
1074
  #
1155
1075
  # @!attribute [rw] period
1156
- # Identifies the unit and value of how time is measured.
1076
+ # The period of time.
1157
1077
  # @return [Types::QuotaPeriod]
1158
1078
  #
1159
1079
  # @!attribute [rw] error_reason
1160
- # Specifies the `ErrorCode` and `ErrorMessage` when success isn't
1161
- # achieved.
1080
+ # The error code and error reason.
1162
1081
  # @return [Types::ErrorReason]
1163
1082
  #
1164
1083
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuota AWS API Documentation
@@ -1180,42 +1099,38 @@ module Aws::ServiceQuotas
1180
1099
  include Aws::Structure
1181
1100
  end
1182
1101
 
1183
- # A structure that contains information about one service quota increase
1184
- # request.
1102
+ # Information about a quota increase request.
1185
1103
  #
1186
1104
  # @!attribute [rw] service_code
1187
- # The code identifier for the AWS service specified in the increase
1188
- # request.
1105
+ # The service identifier.
1189
1106
  # @return [String]
1190
1107
  #
1191
1108
  # @!attribute [rw] service_name
1192
- # The name of the AWS service specified in the increase request.
1109
+ # The service name.
1193
1110
  # @return [String]
1194
1111
  #
1195
1112
  # @!attribute [rw] quota_code
1196
- # The code identifier for the service quota specified in the increase
1197
- # request.
1113
+ # The quota identifier.
1198
1114
  # @return [String]
1199
1115
  #
1200
1116
  # @!attribute [rw] quota_name
1201
- # The name of the service quota in the increase request.
1117
+ # The quota name.
1202
1118
  # @return [String]
1203
1119
  #
1204
1120
  # @!attribute [rw] desired_value
1205
- # Identifies the new, increased value of the service quota in the
1206
- # increase request.
1121
+ # The new, increased value of the quota.
1207
1122
  # @return [Float]
1208
1123
  #
1209
1124
  # @!attribute [rw] aws_region
1210
- # The AWS Region where the increase request occurs.
1125
+ # The AWS Region.
1211
1126
  # @return [String]
1212
1127
  #
1213
1128
  # @!attribute [rw] unit
1214
- # The unit of measure for the increase request.
1129
+ # The unit of measurement.
1215
1130
  # @return [String]
1216
1131
  #
1217
1132
  # @!attribute [rw] global_quota
1218
- # Specifies if the quota is a global quota.
1133
+ # Indicates whether the quota is global.
1219
1134
  # @return [Boolean]
1220
1135
  #
1221
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuotaIncreaseRequestInTemplate AWS API Documentation
@@ -1235,8 +1150,6 @@ module Aws::ServiceQuotas
1235
1150
 
1236
1151
  # The quota request template is not associated with your organization.
1237
1152
  #
1238
- # To use the template, call AssociateServiceQuotaTemplate.
1239
- #
1240
1153
  # @!attribute [rw] message
1241
1154
  # @return [String]
1242
1155
  #
@@ -1248,8 +1161,93 @@ module Aws::ServiceQuotas
1248
1161
  include Aws::Structure
1249
1162
  end
1250
1163
 
1251
- # The Service Quotas template is not available in the Region where you
1252
- # are making the request. Please make the request in us-east-1.
1164
+ # A complex data type that contains a tag key and tag value.
1165
+ #
1166
+ # @note When making an API call, you may pass Tag
1167
+ # data as a hash:
1168
+ #
1169
+ # {
1170
+ # key: "TagKey", # required
1171
+ # value: "TagValue", # required
1172
+ # }
1173
+ #
1174
+ # @!attribute [rw] key
1175
+ # A string that contains a tag key. The string length should be
1176
+ # between 1 and 128 characters. Valid characters include a-z, A-Z,
1177
+ # 0-9, space, and the special characters \_ - . : / = + @.
1178
+ # @return [String]
1179
+ #
1180
+ # @!attribute [rw] value
1181
+ # A string that contains an optional tag value. The string length
1182
+ # should be between 0 and 256 characters. Valid characters include
1183
+ # a-z, A-Z, 0-9, space, and the special characters \_ - . : / = + @.
1184
+ # @return [String]
1185
+ #
1186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/Tag AWS API Documentation
1187
+ #
1188
+ class Tag < Struct.new(
1189
+ :key,
1190
+ :value)
1191
+ SENSITIVE = []
1192
+ include Aws::Structure
1193
+ end
1194
+
1195
+ # The specified tag is a reserved word and cannot be used.
1196
+ #
1197
+ # @!attribute [rw] message
1198
+ # @return [String]
1199
+ #
1200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagPolicyViolationException AWS API Documentation
1201
+ #
1202
+ class TagPolicyViolationException < Struct.new(
1203
+ :message)
1204
+ SENSITIVE = []
1205
+ include Aws::Structure
1206
+ end
1207
+
1208
+ # @note When making an API call, you may pass TagResourceRequest
1209
+ # data as a hash:
1210
+ #
1211
+ # {
1212
+ # resource_arn: "AmazonResourceName", # required
1213
+ # tags: [ # required
1214
+ # {
1215
+ # key: "TagKey", # required
1216
+ # value: "TagValue", # required
1217
+ # },
1218
+ # ],
1219
+ # }
1220
+ #
1221
+ # @!attribute [rw] resource_arn
1222
+ # The Amazon Resource Name (ARN) for the applied quota. You can get
1223
+ # this information by using the Service Quotas console, or by listing
1224
+ # the quotas using the [list-service-quotas][1] AWS CLI command or the
1225
+ # [ListServiceQuotas][2] AWS API operation.
1226
+ #
1227
+ #
1228
+ #
1229
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html
1230
+ # [2]: https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html
1231
+ # @return [String]
1232
+ #
1233
+ # @!attribute [rw] tags
1234
+ # The tags that you want to add to the resource.
1235
+ # @return [Array<Types::Tag>]
1236
+ #
1237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResourceRequest AWS API Documentation
1238
+ #
1239
+ class TagResourceRequest < Struct.new(
1240
+ :resource_arn,
1241
+ :tags)
1242
+ SENSITIVE = []
1243
+ include Aws::Structure
1244
+ end
1245
+
1246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResourceResponse AWS API Documentation
1247
+ #
1248
+ class TagResourceResponse < Aws::EmptyStructure; end
1249
+
1250
+ # The Service Quotas template is not available in this AWS Region.
1253
1251
  #
1254
1252
  # @!attribute [rw] message
1255
1253
  # @return [String]
@@ -1276,5 +1274,61 @@ module Aws::ServiceQuotas
1276
1274
  include Aws::Structure
1277
1275
  end
1278
1276
 
1277
+ # You've exceeded the number of tags allowed for a resource. For more
1278
+ # information, see [Tag restrictions][1] in the *Service Quotas User
1279
+ # Guide*.
1280
+ #
1281
+ #
1282
+ #
1283
+ # [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions
1284
+ #
1285
+ # @!attribute [rw] message
1286
+ # @return [String]
1287
+ #
1288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TooManyTagsException AWS API Documentation
1289
+ #
1290
+ class TooManyTagsException < Struct.new(
1291
+ :message)
1292
+ SENSITIVE = []
1293
+ include Aws::Structure
1294
+ end
1295
+
1296
+ # @note When making an API call, you may pass UntagResourceRequest
1297
+ # data as a hash:
1298
+ #
1299
+ # {
1300
+ # resource_arn: "AmazonResourceName", # required
1301
+ # tag_keys: ["TagKey"], # required
1302
+ # }
1303
+ #
1304
+ # @!attribute [rw] resource_arn
1305
+ # The Amazon Resource Name (ARN) for the applied quota that you want
1306
+ # to untag. You can get this information by using the Service Quotas
1307
+ # console, or by listing the quotas using the [list-service-quotas][1]
1308
+ # AWS CLI command or the [ListServiceQuotas][2] AWS API operation.
1309
+ #
1310
+ #
1311
+ #
1312
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html
1313
+ # [2]: https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html
1314
+ # @return [String]
1315
+ #
1316
+ # @!attribute [rw] tag_keys
1317
+ # The keys of the tags that you want to remove from the resource.
1318
+ # @return [Array<String>]
1319
+ #
1320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResourceRequest AWS API Documentation
1321
+ #
1322
+ class UntagResourceRequest < Struct.new(
1323
+ :resource_arn,
1324
+ :tag_keys)
1325
+ SENSITIVE = []
1326
+ include Aws::Structure
1327
+ end
1328
+
1329
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResourceResponse AWS API Documentation
1330
+ #
1331
+ class UntagResourceResponse < Aws::EmptyStructure; end
1332
+
1279
1333
  end
1280
1334
  end