aws-sdk-servicequotas 1.52.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicequotas/client.rb +46 -25
- data/lib/aws-sdk-servicequotas/client_api.rb +4 -0
- data/lib/aws-sdk-servicequotas/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-servicequotas/types.rb +86 -34
- data/lib/aws-sdk-servicequotas.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2289f7af42ce845c59872f6e6ee0d9fca1984d27246ffa271ab7bc90829c0b10
|
4
|
+
data.tar.gz: b69d3dd5f8030bf102f468e3bb78f94634c9758a348f1fc4ddca9b8f95c423ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f328d9582b222267b598d6b24ebd423768941f47b7d35398313b0576e498b4a3d734fe9a17c388c325dd170151b76ed47c50e326597add7d7d1587a57fd921a
|
7
|
+
data.tar.gz: 2a55bc7f70892cdecdb86103a749eca3b826b260905635ea9666b61f0c1a10876164b99063b3dcfa8ddf39c7d454a8f4b078d6688194a02c488441917c88eadd
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -592,6 +592,7 @@ module Aws::ServiceQuotas
|
|
592
592
|
# resp.quota.quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
593
593
|
# resp.quota.quota_context.context_scope_type #=> String
|
594
594
|
# resp.quota.quota_context.context_id #=> String
|
595
|
+
# resp.quota.description #=> String
|
595
596
|
#
|
596
597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota AWS API Documentation
|
597
598
|
#
|
@@ -667,9 +668,10 @@ module Aws::ServiceQuotas
|
|
667
668
|
req.send_request(options)
|
668
669
|
end
|
669
670
|
|
670
|
-
# Retrieves the applied quota value for the specified
|
671
|
-
# quotas, only the default values are
|
672
|
-
# value is not available for a quota,
|
671
|
+
# Retrieves the applied quota value for the specified account-level or
|
672
|
+
# resource-level quota. For some quotas, only the default values are
|
673
|
+
# available. If the applied quota value is not available for a quota,
|
674
|
+
# the quota is not retrieved.
|
673
675
|
#
|
674
676
|
# @option params [required, String] :service_code
|
675
677
|
# Specifies the service identifier. To find the service code value for
|
@@ -681,9 +683,7 @@ module Aws::ServiceQuotas
|
|
681
683
|
# `QuotaCode` response in the output for the quota you want.
|
682
684
|
#
|
683
685
|
# @option params [String] :context_id
|
684
|
-
# Specifies the
|
685
|
-
# quota applies. The value in this field depends on the context scope
|
686
|
-
# associated with the specified service quota.
|
686
|
+
# Specifies the resource with an Amazon Resource Name (ARN).
|
687
687
|
#
|
688
688
|
# @return [Types::GetServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
689
689
|
#
|
@@ -721,6 +721,7 @@ module Aws::ServiceQuotas
|
|
721
721
|
# resp.quota.quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
722
722
|
# resp.quota.quota_context.context_scope_type #=> String
|
723
723
|
# resp.quota.quota_context.context_id #=> String
|
724
|
+
# resp.quota.description #=> String
|
724
725
|
#
|
725
726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota AWS API Documentation
|
726
727
|
#
|
@@ -780,7 +781,8 @@ module Aws::ServiceQuotas
|
|
780
781
|
end
|
781
782
|
|
782
783
|
# Lists the default values for the quotas for the specified Amazon Web
|
783
|
-
#
|
784
|
+
# Services service. A default value does not reflect any quota
|
785
|
+
# increases.
|
784
786
|
#
|
785
787
|
# @option params [required, String] :service_code
|
786
788
|
# Specifies the service identifier. To find the service code value for
|
@@ -849,6 +851,7 @@ module Aws::ServiceQuotas
|
|
849
851
|
# resp.quotas[0].quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
850
852
|
# resp.quotas[0].quota_context.context_scope_type #=> String
|
851
853
|
# resp.quotas[0].quota_context.context_id #=> String
|
854
|
+
# resp.quotas[0].description #=> String
|
852
855
|
#
|
853
856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas AWS API Documentation
|
854
857
|
#
|
@@ -860,7 +863,9 @@ module Aws::ServiceQuotas
|
|
860
863
|
end
|
861
864
|
|
862
865
|
# Retrieves the quota increase requests for the specified Amazon Web
|
863
|
-
#
|
866
|
+
# Services service. Filter responses to return quota requests at either
|
867
|
+
# the account level, resource level, or all levels. Responses include
|
868
|
+
# any open or closed requests within 90 days.
|
864
869
|
#
|
865
870
|
# @option params [String] :service_code
|
866
871
|
# Specifies the service identifier. To find the service code value for
|
@@ -893,8 +898,8 @@ module Aws::ServiceQuotas
|
|
893
898
|
# </note>
|
894
899
|
#
|
895
900
|
# @option params [String] :quota_requested_at_level
|
896
|
-
#
|
897
|
-
#
|
901
|
+
# Filters the response to return quota requests for the `ACCOUNT`,
|
902
|
+
# `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
898
903
|
#
|
899
904
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
900
905
|
#
|
@@ -945,7 +950,9 @@ module Aws::ServiceQuotas
|
|
945
950
|
req.send_request(options)
|
946
951
|
end
|
947
952
|
|
948
|
-
# Retrieves the quota increase requests for the specified quota.
|
953
|
+
# Retrieves the quota increase requests for the specified quota. Filter
|
954
|
+
# responses to return quota requests at either the account level,
|
955
|
+
# resource level, or all levels.
|
949
956
|
#
|
950
957
|
# @option params [required, String] :service_code
|
951
958
|
# Specifies the service identifier. To find the service code value for
|
@@ -983,8 +990,8 @@ module Aws::ServiceQuotas
|
|
983
990
|
# </note>
|
984
991
|
#
|
985
992
|
# @option params [String] :quota_requested_at_level
|
986
|
-
#
|
987
|
-
#
|
993
|
+
# Filters the response to return quota requests for the `ACCOUNT`,
|
994
|
+
# `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
988
995
|
#
|
989
996
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
990
997
|
#
|
@@ -1107,9 +1114,11 @@ module Aws::ServiceQuotas
|
|
1107
1114
|
req.send_request(options)
|
1108
1115
|
end
|
1109
1116
|
|
1110
|
-
# Lists the applied quota values for the specified Amazon Web
|
1111
|
-
# For some quotas, only the default values are available. If
|
1112
|
-
# quota value is not available for a quota, the quota is not
|
1117
|
+
# Lists the applied quota values for the specified Amazon Web Services
|
1118
|
+
# service. For some quotas, only the default values are available. If
|
1119
|
+
# the applied quota value is not available for a quota, the quota is not
|
1120
|
+
# retrieved. Filter responses to return applied quota values at either
|
1121
|
+
# the account level, resource level, or all levels.
|
1113
1122
|
#
|
1114
1123
|
# @option params [required, String] :service_code
|
1115
1124
|
# Specifies the service identifier. To find the service code value for
|
@@ -1143,8 +1152,8 @@ module Aws::ServiceQuotas
|
|
1143
1152
|
# `QuotaCode` response in the output for the quota you want.
|
1144
1153
|
#
|
1145
1154
|
# @option params [String] :quota_applied_at_level
|
1146
|
-
#
|
1147
|
-
#
|
1155
|
+
# Filters the response to return applied quota values for the `ACCOUNT`,
|
1156
|
+
# `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
1148
1157
|
#
|
1149
1158
|
# @return [Types::ListServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1150
1159
|
#
|
@@ -1189,6 +1198,7 @@ module Aws::ServiceQuotas
|
|
1189
1198
|
# resp.quotas[0].quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
1190
1199
|
# resp.quotas[0].quota_context.context_scope_type #=> String
|
1191
1200
|
# resp.quotas[0].quota_context.context_id #=> String
|
1201
|
+
# resp.quotas[0].description #=> String
|
1192
1202
|
#
|
1193
1203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas AWS API Documentation
|
1194
1204
|
#
|
@@ -1199,8 +1209,8 @@ module Aws::ServiceQuotas
|
|
1199
1209
|
req.send_request(options)
|
1200
1210
|
end
|
1201
1211
|
|
1202
|
-
# Lists the names and codes for the Amazon Web Services
|
1203
|
-
# Service Quotas.
|
1212
|
+
# Lists the names and codes for the Amazon Web Services services
|
1213
|
+
# integrated with Service Quotas.
|
1204
1214
|
#
|
1205
1215
|
# @option params [String] :next_token
|
1206
1216
|
# Specifies a value for receiving additional results after you receive a
|
@@ -1344,7 +1354,8 @@ module Aws::ServiceQuotas
|
|
1344
1354
|
req.send_request(options)
|
1345
1355
|
end
|
1346
1356
|
|
1347
|
-
# Submits a quota increase request for the specified quota
|
1357
|
+
# Submits a quota increase request for the specified quota at the
|
1358
|
+
# account or resource level.
|
1348
1359
|
#
|
1349
1360
|
# @option params [required, String] :service_code
|
1350
1361
|
# Specifies the service identifier. To find the service code value for
|
@@ -1359,9 +1370,18 @@ module Aws::ServiceQuotas
|
|
1359
1370
|
# Specifies the new, increased value for the quota.
|
1360
1371
|
#
|
1361
1372
|
# @option params [String] :context_id
|
1362
|
-
# Specifies the
|
1363
|
-
#
|
1364
|
-
#
|
1373
|
+
# Specifies the resource with an Amazon Resource Name (ARN).
|
1374
|
+
#
|
1375
|
+
# @option params [Boolean] :support_case_allowed
|
1376
|
+
# Specifies if an Amazon Web Services Support case can be opened for the
|
1377
|
+
# quota increase request. This parameter is optional.
|
1378
|
+
#
|
1379
|
+
# By default, this flag is set to `True` and Amazon Web Services may
|
1380
|
+
# create a support case for some quota increase requests. You can set
|
1381
|
+
# this flag to `False` if you do not want a support case created when
|
1382
|
+
# you request a quota increase. If you set the flag to `False`, Amazon
|
1383
|
+
# Web Services does not open a support case and updates the request
|
1384
|
+
# status to `Not approved`.
|
1365
1385
|
#
|
1366
1386
|
# @return [Types::RequestServiceQuotaIncreaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1367
1387
|
#
|
@@ -1374,6 +1394,7 @@ module Aws::ServiceQuotas
|
|
1374
1394
|
# quota_code: "QuotaCode", # required
|
1375
1395
|
# desired_value: 1.0, # required
|
1376
1396
|
# context_id: "QuotaContextId",
|
1397
|
+
# support_case_allowed: false,
|
1377
1398
|
# })
|
1378
1399
|
#
|
1379
1400
|
# @example Response structure
|
@@ -1500,7 +1521,7 @@ module Aws::ServiceQuotas
|
|
1500
1521
|
tracer: tracer
|
1501
1522
|
)
|
1502
1523
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1503
|
-
context[:gem_version] = '1.
|
1524
|
+
context[:gem_version] = '1.53.0'
|
1504
1525
|
Seahorse::Client::Request.new(handlers, context)
|
1505
1526
|
end
|
1506
1527
|
|
@@ -83,6 +83,7 @@ module Aws::ServiceQuotas
|
|
83
83
|
QuotaContextInfo = Shapes::StructureShape.new(name: 'QuotaContextInfo')
|
84
84
|
QuotaContextScope = Shapes::StringShape.new(name: 'QuotaContextScope')
|
85
85
|
QuotaContextScopeType = Shapes::StringShape.new(name: 'QuotaContextScopeType')
|
86
|
+
QuotaDescription = Shapes::StringShape.new(name: 'QuotaDescription')
|
86
87
|
QuotaExceededException = Shapes::StructureShape.new(name: 'QuotaExceededException')
|
87
88
|
QuotaMetricName = Shapes::StringShape.new(name: 'QuotaMetricName')
|
88
89
|
QuotaMetricNamespace = Shapes::StringShape.new(name: 'QuotaMetricNamespace')
|
@@ -110,6 +111,7 @@ module Aws::ServiceQuotas
|
|
110
111
|
ServiceQuotaTemplateAssociationStatus = Shapes::StringShape.new(name: 'ServiceQuotaTemplateAssociationStatus')
|
111
112
|
ServiceQuotaTemplateNotInUseException = Shapes::StructureShape.new(name: 'ServiceQuotaTemplateNotInUseException')
|
112
113
|
Statistic = Shapes::StringShape.new(name: 'Statistic')
|
114
|
+
SupportCaseAllowed = Shapes::BooleanShape.new(name: 'SupportCaseAllowed')
|
113
115
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
114
116
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
115
117
|
TagPolicyViolationException = Shapes::StructureShape.new(name: 'TagPolicyViolationException')
|
@@ -309,6 +311,7 @@ module Aws::ServiceQuotas
|
|
309
311
|
RequestServiceQuotaIncreaseRequest.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "QuotaCode"))
|
310
312
|
RequestServiceQuotaIncreaseRequest.add_member(:desired_value, Shapes::ShapeRef.new(shape: QuotaValue, required: true, location_name: "DesiredValue"))
|
311
313
|
RequestServiceQuotaIncreaseRequest.add_member(:context_id, Shapes::ShapeRef.new(shape: QuotaContextId, location_name: "ContextId"))
|
314
|
+
RequestServiceQuotaIncreaseRequest.add_member(:support_case_allowed, Shapes::ShapeRef.new(shape: SupportCaseAllowed, location_name: "SupportCaseAllowed"))
|
312
315
|
RequestServiceQuotaIncreaseRequest.struct_class = Types::RequestServiceQuotaIncreaseRequest
|
313
316
|
|
314
317
|
RequestServiceQuotaIncreaseResponse.add_member(:requested_quota, Shapes::ShapeRef.new(shape: RequestedServiceQuotaChange, location_name: "RequestedQuota"))
|
@@ -360,6 +363,7 @@ module Aws::ServiceQuotas
|
|
360
363
|
ServiceQuota.add_member(:error_reason, Shapes::ShapeRef.new(shape: ErrorReason, location_name: "ErrorReason"))
|
361
364
|
ServiceQuota.add_member(:quota_applied_at_level, Shapes::ShapeRef.new(shape: AppliedLevelEnum, location_name: "QuotaAppliedAtLevel"))
|
362
365
|
ServiceQuota.add_member(:quota_context, Shapes::ShapeRef.new(shape: QuotaContextInfo, location_name: "QuotaContext"))
|
366
|
+
ServiceQuota.add_member(:description, Shapes::ShapeRef.new(shape: QuotaDescription, location_name: "Description"))
|
363
367
|
ServiceQuota.struct_class = Types::ServiceQuota
|
364
368
|
|
365
369
|
ServiceQuotaIncreaseRequestInTemplate.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "ServiceCode"))
|
@@ -28,8 +28,8 @@ module Aws::ServiceQuotas
|
|
28
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
29
29
|
end
|
30
30
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
31
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
32
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
31
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
32
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
33
33
|
return Aws::Endpoints::Endpoint.new(url: "https://servicequotas.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
34
34
|
end
|
35
35
|
return Aws::Endpoints::Endpoint.new(url: "https://servicequotas-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -108,14 +108,14 @@ module Aws::ServiceQuotas
|
|
108
108
|
#
|
109
109
|
# * `DEPENDENCY_ACCESS_DENIED_ERROR` - The caller does not have the
|
110
110
|
# required permissions to complete the action. To resolve the error,
|
111
|
-
# you must have permission to access the Amazon Web
|
112
|
-
# quota.
|
111
|
+
# you must have permission to access the Amazon Web Services service
|
112
|
+
# or quota.
|
113
113
|
#
|
114
|
-
# * `DEPENDENCY_THROTTLING_ERROR` - The Amazon Web
|
114
|
+
# * `DEPENDENCY_THROTTLING_ERROR` - The Amazon Web Services service is
|
115
115
|
# throttling Service Quotas.
|
116
116
|
#
|
117
|
-
# * `DEPENDENCY_SERVICE_ERROR` - The Amazon Web
|
118
|
-
# available.
|
117
|
+
# * `DEPENDENCY_SERVICE_ERROR` - The Amazon Web Services service is
|
118
|
+
# not available.
|
119
119
|
#
|
120
120
|
# * `SERVICE_QUOTA_NOT_AVAILABLE_ERROR` - There was an error in
|
121
121
|
# Service Quotas.
|
@@ -260,9 +260,7 @@ module Aws::ServiceQuotas
|
|
260
260
|
# @return [String]
|
261
261
|
#
|
262
262
|
# @!attribute [rw] context_id
|
263
|
-
# Specifies the
|
264
|
-
# quota applies. The value in this field depends on the context scope
|
265
|
-
# associated with the specified service quota.
|
263
|
+
# Specifies the resource with an Amazon Resource Name (ARN).
|
266
264
|
# @return [String]
|
267
265
|
#
|
268
266
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaRequest AWS API Documentation
|
@@ -427,8 +425,8 @@ module Aws::ServiceQuotas
|
|
427
425
|
# @return [Integer]
|
428
426
|
#
|
429
427
|
# @!attribute [rw] quota_requested_at_level
|
430
|
-
#
|
431
|
-
#
|
428
|
+
# Filters the response to return quota requests for the `ACCOUNT`,
|
429
|
+
# `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
432
430
|
# @return [String]
|
433
431
|
#
|
434
432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuotaRequest AWS API Documentation
|
@@ -500,8 +498,8 @@ module Aws::ServiceQuotas
|
|
500
498
|
# @return [Integer]
|
501
499
|
#
|
502
500
|
# @!attribute [rw] quota_requested_at_level
|
503
|
-
#
|
504
|
-
#
|
501
|
+
# Filters the response to return quota requests for the `ACCOUNT`,
|
502
|
+
# `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
505
503
|
# @return [String]
|
506
504
|
#
|
507
505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryRequest AWS API Documentation
|
@@ -639,8 +637,8 @@ module Aws::ServiceQuotas
|
|
639
637
|
# @return [String]
|
640
638
|
#
|
641
639
|
# @!attribute [rw] quota_applied_at_level
|
642
|
-
#
|
643
|
-
#
|
640
|
+
# Filters the response to return applied quota values for the
|
641
|
+
# `ACCOUNT`, `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
644
642
|
# @return [String]
|
645
643
|
#
|
646
644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotasRequest AWS API Documentation
|
@@ -718,7 +716,7 @@ module Aws::ServiceQuotas
|
|
718
716
|
# @return [String]
|
719
717
|
#
|
720
718
|
# @!attribute [rw] services
|
721
|
-
# The list of the Amazon Web
|
719
|
+
# The list of the Amazon Web Services service names and service codes.
|
722
720
|
# @return [Array<Types::ServiceInfo>]
|
723
721
|
#
|
724
722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServicesResponse AWS API Documentation
|
@@ -878,23 +876,37 @@ module Aws::ServiceQuotas
|
|
878
876
|
include Aws::Structure
|
879
877
|
end
|
880
878
|
|
881
|
-
# A structure that describes the context for a
|
882
|
-
#
|
879
|
+
# A structure that describes the context for a resource-level quota. For
|
880
|
+
# resource-level quotas, such as `Instances per OpenSearch Service
|
881
|
+
# Domain`, you can apply the quota value at the resource-level for each
|
882
|
+
# OpenSearch Service Domain in your Amazon Web Services account.
|
883
|
+
# Together the attributes of this structure help you understand how the
|
884
|
+
# quota is implemented by Amazon Web Services and how you can manage it.
|
885
|
+
# For quotas such as `Amazon OpenSearch Service Domains` which can be
|
886
|
+
# managed at the account-level for each Amazon Web Services Region, the
|
887
|
+
# `QuotaContext` field is absent. See the attribute descriptions below
|
888
|
+
# to further understand how to use them.
|
883
889
|
#
|
884
890
|
# @!attribute [rw] context_scope
|
885
|
-
# Specifies
|
886
|
-
#
|
891
|
+
# Specifies the scope to which the quota value is applied. If the
|
892
|
+
# scope is `RESOURCE`, the quota value is applied to each resource in
|
893
|
+
# the Amazon Web Services account. If the scope is `ACCOUNT`, the
|
894
|
+
# quota value is applied to the Amazon Web Services account.
|
887
895
|
# @return [String]
|
888
896
|
#
|
889
897
|
# @!attribute [rw] context_scope_type
|
890
|
-
#
|
891
|
-
# resource type of the specified resource.
|
898
|
+
# Specifies the resource type to which the quota can be applied.
|
892
899
|
# @return [String]
|
893
900
|
#
|
894
901
|
# @!attribute [rw] context_id
|
895
|
-
# Specifies the
|
896
|
-
#
|
897
|
-
#
|
902
|
+
# Specifies the resource, or resources, to which the quota applies.
|
903
|
+
# The value for this field is either an Amazon Resource Name (ARN) or
|
904
|
+
# *. If the value is an ARN, the quota value applies to that
|
905
|
+
# resource. If the value is *, then the quota value applies to all
|
906
|
+
# resources listed in the `ContextScopeType` field. The quota value
|
907
|
+
# applies to all resources for which you haven’t previously applied a
|
908
|
+
# quota value, and any new resources you create in your Amazon Web
|
909
|
+
# Services account.
|
898
910
|
# @return [String]
|
899
911
|
#
|
900
912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaContextInfo AWS API Documentation
|
@@ -957,18 +969,29 @@ module Aws::ServiceQuotas
|
|
957
969
|
# @return [Float]
|
958
970
|
#
|
959
971
|
# @!attribute [rw] context_id
|
960
|
-
# Specifies the
|
961
|
-
# quota applies. The value in this field depends on the context scope
|
962
|
-
# associated with the specified service quota.
|
972
|
+
# Specifies the resource with an Amazon Resource Name (ARN).
|
963
973
|
# @return [String]
|
964
974
|
#
|
975
|
+
# @!attribute [rw] support_case_allowed
|
976
|
+
# Specifies if an Amazon Web Services Support case can be opened for
|
977
|
+
# the quota increase request. This parameter is optional.
|
978
|
+
#
|
979
|
+
# By default, this flag is set to `True` and Amazon Web Services may
|
980
|
+
# create a support case for some quota increase requests. You can set
|
981
|
+
# this flag to `False` if you do not want a support case created when
|
982
|
+
# you request a quota increase. If you set the flag to `False`, Amazon
|
983
|
+
# Web Services does not open a support case and updates the request
|
984
|
+
# status to `Not approved`.
|
985
|
+
# @return [Boolean]
|
986
|
+
#
|
965
987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncreaseRequest AWS API Documentation
|
966
988
|
#
|
967
989
|
class RequestServiceQuotaIncreaseRequest < Struct.new(
|
968
990
|
:service_code,
|
969
991
|
:quota_code,
|
970
992
|
:desired_value,
|
971
|
-
:context_id
|
993
|
+
:context_id,
|
994
|
+
:support_case_allowed)
|
972
995
|
SENSITIVE = []
|
973
996
|
include Aws::Structure
|
974
997
|
end
|
@@ -1020,6 +1043,30 @@ module Aws::ServiceQuotas
|
|
1020
1043
|
#
|
1021
1044
|
# @!attribute [rw] status
|
1022
1045
|
# The state of the quota increase request.
|
1046
|
+
#
|
1047
|
+
# * `PENDING`: The quota increase request is under review by Amazon
|
1048
|
+
# Web Services.
|
1049
|
+
#
|
1050
|
+
# * `CASE_OPENED`: Service Quotas opened a support case to process the
|
1051
|
+
# quota increase request. Follow-up on the support case for more
|
1052
|
+
# information.
|
1053
|
+
#
|
1054
|
+
# * `APPROVED`: The quota increase request is approved.
|
1055
|
+
#
|
1056
|
+
# * `DENIED`: The quota increase request can't be approved by Service
|
1057
|
+
# Quotas. Contact Amazon Web Services Support for more details.
|
1058
|
+
#
|
1059
|
+
# * `NOT APPROVED`: The quota increase request can't be approved by
|
1060
|
+
# Service Quotas. Contact Amazon Web Services Support for more
|
1061
|
+
# details.
|
1062
|
+
#
|
1063
|
+
# * `CASE_CLOSED`: The support case associated with this quota
|
1064
|
+
# increase request was closed. Check the support case correspondence
|
1065
|
+
# for the outcome of your quota request.
|
1066
|
+
#
|
1067
|
+
# * `INVALID_REQUEST`: Service Quotas couldn't process your
|
1068
|
+
# resource-level quota increase request because the Amazon Resource
|
1069
|
+
# Name (ARN) specified as part of the `ContextId` is invalid.
|
1023
1070
|
# @return [String]
|
1024
1071
|
#
|
1025
1072
|
# @!attribute [rw] created
|
@@ -1048,8 +1095,8 @@ module Aws::ServiceQuotas
|
|
1048
1095
|
# @return [String]
|
1049
1096
|
#
|
1050
1097
|
# @!attribute [rw] quota_requested_at_level
|
1051
|
-
#
|
1052
|
-
#
|
1098
|
+
# Filters the response to return quota requests for the `ACCOUNT`,
|
1099
|
+
# `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
1053
1100
|
# @return [String]
|
1054
1101
|
#
|
1055
1102
|
# @!attribute [rw] quota_context
|
@@ -1105,7 +1152,7 @@ module Aws::ServiceQuotas
|
|
1105
1152
|
include Aws::Structure
|
1106
1153
|
end
|
1107
1154
|
|
1108
|
-
# Information about an Amazon Web
|
1155
|
+
# Information about an Amazon Web Services service.
|
1109
1156
|
#
|
1110
1157
|
# @!attribute [rw] service_code
|
1111
1158
|
# Specifies the service identifier. To find the service code value for
|
@@ -1179,14 +1226,18 @@ module Aws::ServiceQuotas
|
|
1179
1226
|
# @return [Types::ErrorReason]
|
1180
1227
|
#
|
1181
1228
|
# @!attribute [rw] quota_applied_at_level
|
1182
|
-
#
|
1183
|
-
#
|
1229
|
+
# Filters the response to return applied quota values for the
|
1230
|
+
# `ACCOUNT`, `RESOURCE`, or `ALL` levels. `ACCOUNT` is the default.
|
1184
1231
|
# @return [String]
|
1185
1232
|
#
|
1186
1233
|
# @!attribute [rw] quota_context
|
1187
1234
|
# The context for this service quota.
|
1188
1235
|
# @return [Types::QuotaContextInfo]
|
1189
1236
|
#
|
1237
|
+
# @!attribute [rw] description
|
1238
|
+
# The quota description.
|
1239
|
+
# @return [String]
|
1240
|
+
#
|
1190
1241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceQuota AWS API Documentation
|
1191
1242
|
#
|
1192
1243
|
class ServiceQuota < Struct.new(
|
@@ -1203,7 +1254,8 @@ module Aws::ServiceQuotas
|
|
1203
1254
|
:period,
|
1204
1255
|
:error_reason,
|
1205
1256
|
:quota_applied_at_level,
|
1206
|
-
:quota_context
|
1257
|
+
:quota_context,
|
1258
|
+
:description)
|
1207
1259
|
SENSITIVE = []
|
1208
1260
|
include Aws::Structure
|
1209
1261
|
end
|
data/sig/client.rbs
CHANGED
@@ -276,7 +276,8 @@ module Aws
|
|
276
276
|
service_code: ::String,
|
277
277
|
quota_code: ::String,
|
278
278
|
desired_value: ::Float,
|
279
|
-
?context_id: ::String
|
279
|
+
?context_id: ::String,
|
280
|
+
?support_case_allowed: bool
|
280
281
|
) -> _RequestServiceQuotaIncreaseResponseSuccess
|
281
282
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RequestServiceQuotaIncreaseResponseSuccess
|
282
283
|
|
data/sig/types.rbs
CHANGED
@@ -273,6 +273,7 @@ module Aws::ServiceQuotas
|
|
273
273
|
attr_accessor quota_code: ::String
|
274
274
|
attr_accessor desired_value: ::Float
|
275
275
|
attr_accessor context_id: ::String
|
276
|
+
attr_accessor support_case_allowed: bool
|
276
277
|
SENSITIVE: []
|
277
278
|
end
|
278
279
|
|
@@ -332,6 +333,7 @@ module Aws::ServiceQuotas
|
|
332
333
|
attr_accessor error_reason: Types::ErrorReason
|
333
334
|
attr_accessor quota_applied_at_level: ("ACCOUNT" | "RESOURCE" | "ALL")
|
334
335
|
attr_accessor quota_context: Types::QuotaContextInfo
|
336
|
+
attr_accessor description: ::String
|
335
337
|
SENSITIVE: []
|
336
338
|
end
|
337
339
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-servicequotas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|