aws-sdk-servicequotas 1.62.0 → 1.63.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 +162 -1
- data/lib/aws-sdk-servicequotas/client_api.rb +112 -0
- data/lib/aws-sdk-servicequotas/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-servicequotas/types.rb +165 -0
- data/lib/aws-sdk-servicequotas.rb +1 -1
- data/sig/client.rbs +44 -0
- data/sig/types.rbs +45 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13dd9a9d2f0dac3a7a862794a4426a8889ae267986b998c05a31685e8d06abcd
|
4
|
+
data.tar.gz: 3ef331177b4bbf21492eedaf8026949351a3774d6c32846ec29d04575b21bd19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc1239d862f550f3d77ed06a5fe659d1765642a1fc52eaafc0b0c93a5c170dce1f5b2eb6a6f73e65c071543875cf275c5a0ff145cc3323471397b07b4680672e
|
7
|
+
data.tar.gz: 4d3c780d7a7bb35464220862a94dc0b32d480d5327159bc748130bf197dd52debfd9002f3070b1a19cdc391297758a9032fa54f91e5b16d300f618f481d81dc4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.63.0 (2025-10-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - introduces Service Quotas Automatic Management. Users can opt-in to monitoring and managing service quotas, receive notifications when quota usage reaches thresholds, configure notification channels, subscribe to EventBridge events for automation, and view notifications in the AWS Health dashboard.
|
8
|
+
|
4
9
|
1.62.0 (2025-08-28)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.63.0
|
@@ -654,6 +654,43 @@ module Aws::ServiceQuotas
|
|
654
654
|
req.send_request(options)
|
655
655
|
end
|
656
656
|
|
657
|
+
# Retrieves information about your [Service Quotas Automatic
|
658
|
+
# Management][1] configuration. Automatic Management monitors your
|
659
|
+
# Service Quotas utilization and notifies you before you run out of your
|
660
|
+
# allocated quotas.
|
661
|
+
#
|
662
|
+
#
|
663
|
+
#
|
664
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/automatic-management.html
|
665
|
+
#
|
666
|
+
# @return [Types::GetAutoManagementConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
|
+
#
|
668
|
+
# * {Types::GetAutoManagementConfigurationResponse#opt_in_level #opt_in_level} => String
|
669
|
+
# * {Types::GetAutoManagementConfigurationResponse#opt_in_type #opt_in_type} => String
|
670
|
+
# * {Types::GetAutoManagementConfigurationResponse#notification_arn #notification_arn} => String
|
671
|
+
# * {Types::GetAutoManagementConfigurationResponse#opt_in_status #opt_in_status} => String
|
672
|
+
# * {Types::GetAutoManagementConfigurationResponse#exclusion_list #exclusion_list} => Hash<String,Array<Types::QuotaInfo>>
|
673
|
+
#
|
674
|
+
# @example Response structure
|
675
|
+
#
|
676
|
+
# resp.opt_in_level #=> String, one of "ACCOUNT"
|
677
|
+
# resp.opt_in_type #=> String, one of "NotifyOnly", "NotifyAndAdjust"
|
678
|
+
# resp.notification_arn #=> String
|
679
|
+
# resp.opt_in_status #=> String, one of "ENABLED", "DISABLED"
|
680
|
+
# resp.exclusion_list #=> Hash
|
681
|
+
# resp.exclusion_list["ExcludedService"] #=> Array
|
682
|
+
# resp.exclusion_list["ExcludedService"][0].quota_code #=> String
|
683
|
+
# resp.exclusion_list["ExcludedService"][0].quota_name #=> String
|
684
|
+
#
|
685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAutoManagementConfiguration AWS API Documentation
|
686
|
+
#
|
687
|
+
# @overload get_auto_management_configuration(params = {})
|
688
|
+
# @param [Hash] params ({})
|
689
|
+
def get_auto_management_configuration(params = {}, options = {})
|
690
|
+
req = build_request(:get_auto_management_configuration, params)
|
691
|
+
req.send_request(options)
|
692
|
+
end
|
693
|
+
|
657
694
|
# Retrieves information about the specified quota increase request.
|
658
695
|
#
|
659
696
|
# @option params [required, String] :request_id
|
@@ -1458,6 +1495,81 @@ module Aws::ServiceQuotas
|
|
1458
1495
|
req.send_request(options)
|
1459
1496
|
end
|
1460
1497
|
|
1498
|
+
# Starts [Service Quotas Automatic Management][1] for an Amazon Web
|
1499
|
+
# Services account, including notification preferences and excluded
|
1500
|
+
# quotas configurations. Automatic Management monitors your Service
|
1501
|
+
# Quotas utilization and notifies you before you run out of your
|
1502
|
+
# allocated quotas.
|
1503
|
+
#
|
1504
|
+
#
|
1505
|
+
#
|
1506
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/automatic-management.html
|
1507
|
+
#
|
1508
|
+
# @option params [required, String] :opt_in_level
|
1509
|
+
# Sets the opt-in level for Automatic Management. Only Amazon Web
|
1510
|
+
# Services account level is supported.
|
1511
|
+
#
|
1512
|
+
# @option params [required, String] :opt_in_type
|
1513
|
+
# Sets the opt-in type for Automatic Management. There are two modes:
|
1514
|
+
# Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly is
|
1515
|
+
# available.
|
1516
|
+
#
|
1517
|
+
# @option params [String] :notification_arn
|
1518
|
+
# The [User Notifications][1] Amazon Resource Name (ARN) for Automatic
|
1519
|
+
# Management notifications.
|
1520
|
+
#
|
1521
|
+
#
|
1522
|
+
#
|
1523
|
+
# [1]: https://docs.aws.amazon.com/notifications/latest/userguide/resource-level-permissions.html#rlp-table
|
1524
|
+
#
|
1525
|
+
# @option params [Hash<String,Array>] :exclusion_list
|
1526
|
+
# List of Amazon Web Services services excluded from Automatic
|
1527
|
+
# Management. You won't be notified of Service Quotas utilization for
|
1528
|
+
# Amazon Web Services services added to the Automatic Management
|
1529
|
+
# exclusion list.
|
1530
|
+
#
|
1531
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1532
|
+
#
|
1533
|
+
# @example Request syntax with placeholder values
|
1534
|
+
#
|
1535
|
+
# resp = client.start_auto_management({
|
1536
|
+
# opt_in_level: "ACCOUNT", # required, accepts ACCOUNT
|
1537
|
+
# opt_in_type: "NotifyOnly", # required, accepts NotifyOnly, NotifyAndAdjust
|
1538
|
+
# notification_arn: "AmazonResourceName",
|
1539
|
+
# exclusion_list: {
|
1540
|
+
# "ExcludedService" => ["ExcludedLimit"],
|
1541
|
+
# },
|
1542
|
+
# })
|
1543
|
+
#
|
1544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StartAutoManagement AWS API Documentation
|
1545
|
+
#
|
1546
|
+
# @overload start_auto_management(params = {})
|
1547
|
+
# @param [Hash] params ({})
|
1548
|
+
def start_auto_management(params = {}, options = {})
|
1549
|
+
req = build_request(:start_auto_management, params)
|
1550
|
+
req.send_request(options)
|
1551
|
+
end
|
1552
|
+
|
1553
|
+
# Stops [Service Quotas Automatic Management][1] for an Amazon Web
|
1554
|
+
# Services account and removes all associated configurations. Automatic
|
1555
|
+
# Management monitors your Service Quotas utilization and notifies you
|
1556
|
+
# before you run out of your allocated quotas.
|
1557
|
+
#
|
1558
|
+
#
|
1559
|
+
#
|
1560
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/automatic-management.html
|
1561
|
+
#
|
1562
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1563
|
+
#
|
1564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StopAutoManagement AWS API Documentation
|
1565
|
+
#
|
1566
|
+
# @overload stop_auto_management(params = {})
|
1567
|
+
# @param [Hash] params ({})
|
1568
|
+
def stop_auto_management(params = {}, options = {})
|
1569
|
+
req = build_request(:stop_auto_management, params)
|
1570
|
+
req.send_request(options)
|
1571
|
+
end
|
1572
|
+
|
1461
1573
|
# Adds tags to the specified applied quota. You can include one or more
|
1462
1574
|
# tags to add to the quota.
|
1463
1575
|
#
|
@@ -1534,6 +1646,55 @@ module Aws::ServiceQuotas
|
|
1534
1646
|
req.send_request(options)
|
1535
1647
|
end
|
1536
1648
|
|
1649
|
+
# Updates your [Service Quotas Automatic Management][1] configuration,
|
1650
|
+
# including notification preferences and excluded quotas. Automatic
|
1651
|
+
# Management monitors your Service Quotas utilization and notifies you
|
1652
|
+
# before you run out of your allocated quotas.
|
1653
|
+
#
|
1654
|
+
#
|
1655
|
+
#
|
1656
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/automatic-management.html
|
1657
|
+
#
|
1658
|
+
# @option params [String] :opt_in_type
|
1659
|
+
# Information on the opt-in type for your Automatic Management
|
1660
|
+
# configuration. There are two modes: Notify only and Notify and
|
1661
|
+
# Auto-Adjust. Currently, only NotifyOnly is available.
|
1662
|
+
#
|
1663
|
+
# @option params [String] :notification_arn
|
1664
|
+
# The [User Notifications][1] Amazon Resource Name (ARN) for Automatic
|
1665
|
+
# Management notifications you want to update.
|
1666
|
+
#
|
1667
|
+
#
|
1668
|
+
#
|
1669
|
+
# [1]: https://docs.aws.amazon.com/notifications/latest/userguide/resource-level-permissions.html#rlp-table
|
1670
|
+
#
|
1671
|
+
# @option params [Hash<String,Array>] :exclusion_list
|
1672
|
+
# List of Amazon Web Services services you want to exclude from
|
1673
|
+
# Automatic Management. You won't be notified of Service Quotas
|
1674
|
+
# utilization for Amazon Web Services services added to the Automatic
|
1675
|
+
# Management exclusion list.
|
1676
|
+
#
|
1677
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1678
|
+
#
|
1679
|
+
# @example Request syntax with placeholder values
|
1680
|
+
#
|
1681
|
+
# resp = client.update_auto_management({
|
1682
|
+
# opt_in_type: "NotifyOnly", # accepts NotifyOnly, NotifyAndAdjust
|
1683
|
+
# notification_arn: "AmazonResourceName",
|
1684
|
+
# exclusion_list: {
|
1685
|
+
# "ExcludedService" => ["ExcludedLimit"],
|
1686
|
+
# },
|
1687
|
+
# })
|
1688
|
+
#
|
1689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UpdateAutoManagement AWS API Documentation
|
1690
|
+
#
|
1691
|
+
# @overload update_auto_management(params = {})
|
1692
|
+
# @param [Hash] params ({})
|
1693
|
+
def update_auto_management(params = {}, options = {})
|
1694
|
+
req = build_request(:update_auto_management, params)
|
1695
|
+
req.send_request(options)
|
1696
|
+
end
|
1697
|
+
|
1537
1698
|
# @!endgroup
|
1538
1699
|
|
1539
1700
|
# @param params ({})
|
@@ -1552,7 +1713,7 @@ module Aws::ServiceQuotas
|
|
1552
1713
|
tracer: tracer
|
1553
1714
|
)
|
1554
1715
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1555
|
-
context[:gem_version] = '1.
|
1716
|
+
context[:gem_version] = '1.63.0'
|
1556
1717
|
Seahorse::Client::Request.new(handlers, context)
|
1557
1718
|
end
|
1558
1719
|
|
@@ -34,10 +34,17 @@ module Aws::ServiceQuotas
|
|
34
34
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
35
35
|
ErrorReason = Shapes::StructureShape.new(name: 'ErrorReason')
|
36
36
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
37
|
+
ExcludedLimit = Shapes::StringShape.new(name: 'ExcludedLimit')
|
38
|
+
ExcludedQuotaList = Shapes::ListShape.new(name: 'ExcludedQuotaList')
|
39
|
+
ExcludedService = Shapes::StringShape.new(name: 'ExcludedService')
|
40
|
+
ExclusionList = Shapes::MapShape.new(name: 'ExclusionList')
|
41
|
+
ExclusionQuotaList = Shapes::MapShape.new(name: 'ExclusionQuotaList')
|
37
42
|
GetAWSDefaultServiceQuotaRequest = Shapes::StructureShape.new(name: 'GetAWSDefaultServiceQuotaRequest')
|
38
43
|
GetAWSDefaultServiceQuotaResponse = Shapes::StructureShape.new(name: 'GetAWSDefaultServiceQuotaResponse')
|
39
44
|
GetAssociationForServiceQuotaTemplateRequest = Shapes::StructureShape.new(name: 'GetAssociationForServiceQuotaTemplateRequest')
|
40
45
|
GetAssociationForServiceQuotaTemplateResponse = Shapes::StructureShape.new(name: 'GetAssociationForServiceQuotaTemplateResponse')
|
46
|
+
GetAutoManagementConfigurationRequest = Shapes::StructureShape.new(name: 'GetAutoManagementConfigurationRequest')
|
47
|
+
GetAutoManagementConfigurationResponse = Shapes::StructureShape.new(name: 'GetAutoManagementConfigurationResponse')
|
41
48
|
GetRequestedServiceQuotaChangeRequest = Shapes::StructureShape.new(name: 'GetRequestedServiceQuotaChangeRequest')
|
42
49
|
GetRequestedServiceQuotaChangeResponse = Shapes::StructureShape.new(name: 'GetRequestedServiceQuotaChangeResponse')
|
43
50
|
GetServiceQuotaIncreaseRequestFromTemplateRequest = Shapes::StructureShape.new(name: 'GetServiceQuotaIncreaseRequestFromTemplateRequest')
|
@@ -72,6 +79,9 @@ module Aws::ServiceQuotas
|
|
72
79
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
73
80
|
NoAvailableOrganizationException = Shapes::StructureShape.new(name: 'NoAvailableOrganizationException')
|
74
81
|
NoSuchResourceException = Shapes::StructureShape.new(name: 'NoSuchResourceException')
|
82
|
+
OptInLevel = Shapes::StringShape.new(name: 'OptInLevel')
|
83
|
+
OptInStatus = Shapes::StringShape.new(name: 'OptInStatus')
|
84
|
+
OptInType = Shapes::StringShape.new(name: 'OptInType')
|
75
85
|
OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
|
76
86
|
OutputTags = Shapes::ListShape.new(name: 'OutputTags')
|
77
87
|
PeriodUnit = Shapes::StringShape.new(name: 'PeriodUnit')
|
@@ -87,6 +97,8 @@ module Aws::ServiceQuotas
|
|
87
97
|
QuotaContextScopeType = Shapes::StringShape.new(name: 'QuotaContextScopeType')
|
88
98
|
QuotaDescription = Shapes::StringShape.new(name: 'QuotaDescription')
|
89
99
|
QuotaExceededException = Shapes::StructureShape.new(name: 'QuotaExceededException')
|
100
|
+
QuotaInfo = Shapes::StructureShape.new(name: 'QuotaInfo')
|
101
|
+
QuotaInfoList = Shapes::ListShape.new(name: 'QuotaInfoList')
|
90
102
|
QuotaMetricName = Shapes::StringShape.new(name: 'QuotaMetricName')
|
91
103
|
QuotaMetricNamespace = Shapes::StringShape.new(name: 'QuotaMetricNamespace')
|
92
104
|
QuotaName = Shapes::StringShape.new(name: 'QuotaName')
|
@@ -112,7 +124,11 @@ module Aws::ServiceQuotas
|
|
112
124
|
ServiceQuotaListDefinition = Shapes::ListShape.new(name: 'ServiceQuotaListDefinition')
|
113
125
|
ServiceQuotaTemplateAssociationStatus = Shapes::StringShape.new(name: 'ServiceQuotaTemplateAssociationStatus')
|
114
126
|
ServiceQuotaTemplateNotInUseException = Shapes::StructureShape.new(name: 'ServiceQuotaTemplateNotInUseException')
|
127
|
+
StartAutoManagementRequest = Shapes::StructureShape.new(name: 'StartAutoManagementRequest')
|
128
|
+
StartAutoManagementResponse = Shapes::StructureShape.new(name: 'StartAutoManagementResponse')
|
115
129
|
Statistic = Shapes::StringShape.new(name: 'Statistic')
|
130
|
+
StopAutoManagementRequest = Shapes::StructureShape.new(name: 'StopAutoManagementRequest')
|
131
|
+
StopAutoManagementResponse = Shapes::StructureShape.new(name: 'StopAutoManagementResponse')
|
116
132
|
SupportCaseAllowed = Shapes::BooleanShape.new(name: 'SupportCaseAllowed')
|
117
133
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
118
134
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -125,6 +141,8 @@ module Aws::ServiceQuotas
|
|
125
141
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
126
142
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
127
143
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
144
|
+
UpdateAutoManagementRequest = Shapes::StructureShape.new(name: 'UpdateAutoManagementRequest')
|
145
|
+
UpdateAutoManagementResponse = Shapes::StructureShape.new(name: 'UpdateAutoManagementResponse')
|
128
146
|
|
129
147
|
AWSServiceAccessNotEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
130
148
|
AWSServiceAccessNotEnabledException.struct_class = Types::AWSServiceAccessNotEnabledException
|
@@ -159,6 +177,14 @@ module Aws::ServiceQuotas
|
|
159
177
|
ErrorReason.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
160
178
|
ErrorReason.struct_class = Types::ErrorReason
|
161
179
|
|
180
|
+
ExcludedQuotaList.member = Shapes::ShapeRef.new(shape: ExcludedLimit)
|
181
|
+
|
182
|
+
ExclusionList.key = Shapes::ShapeRef.new(shape: ExcludedService)
|
183
|
+
ExclusionList.value = Shapes::ShapeRef.new(shape: ExcludedQuotaList)
|
184
|
+
|
185
|
+
ExclusionQuotaList.key = Shapes::ShapeRef.new(shape: ExcludedService)
|
186
|
+
ExclusionQuotaList.value = Shapes::ShapeRef.new(shape: QuotaInfoList)
|
187
|
+
|
162
188
|
GetAWSDefaultServiceQuotaRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, required: true, location_name: "ServiceCode"))
|
163
189
|
GetAWSDefaultServiceQuotaRequest.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "QuotaCode"))
|
164
190
|
GetAWSDefaultServiceQuotaRequest.struct_class = Types::GetAWSDefaultServiceQuotaRequest
|
@@ -171,6 +197,15 @@ module Aws::ServiceQuotas
|
|
171
197
|
GetAssociationForServiceQuotaTemplateResponse.add_member(:service_quota_template_association_status, Shapes::ShapeRef.new(shape: ServiceQuotaTemplateAssociationStatus, location_name: "ServiceQuotaTemplateAssociationStatus"))
|
172
198
|
GetAssociationForServiceQuotaTemplateResponse.struct_class = Types::GetAssociationForServiceQuotaTemplateResponse
|
173
199
|
|
200
|
+
GetAutoManagementConfigurationRequest.struct_class = Types::GetAutoManagementConfigurationRequest
|
201
|
+
|
202
|
+
GetAutoManagementConfigurationResponse.add_member(:opt_in_level, Shapes::ShapeRef.new(shape: OptInLevel, location_name: "OptInLevel"))
|
203
|
+
GetAutoManagementConfigurationResponse.add_member(:opt_in_type, Shapes::ShapeRef.new(shape: OptInType, location_name: "OptInType"))
|
204
|
+
GetAutoManagementConfigurationResponse.add_member(:notification_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "NotificationArn"))
|
205
|
+
GetAutoManagementConfigurationResponse.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: OptInStatus, location_name: "OptInStatus"))
|
206
|
+
GetAutoManagementConfigurationResponse.add_member(:exclusion_list, Shapes::ShapeRef.new(shape: ExclusionQuotaList, location_name: "ExclusionList"))
|
207
|
+
GetAutoManagementConfigurationResponse.struct_class = Types::GetAutoManagementConfigurationResponse
|
208
|
+
|
174
209
|
GetRequestedServiceQuotaChangeRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "RequestId"))
|
175
210
|
GetRequestedServiceQuotaChangeRequest.struct_class = Types::GetRequestedServiceQuotaChangeRequest
|
176
211
|
|
@@ -310,6 +345,12 @@ module Aws::ServiceQuotas
|
|
310
345
|
QuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
311
346
|
QuotaExceededException.struct_class = Types::QuotaExceededException
|
312
347
|
|
348
|
+
QuotaInfo.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "QuotaCode"))
|
349
|
+
QuotaInfo.add_member(:quota_name, Shapes::ShapeRef.new(shape: QuotaName, location_name: "QuotaName"))
|
350
|
+
QuotaInfo.struct_class = Types::QuotaInfo
|
351
|
+
|
352
|
+
QuotaInfoList.member = Shapes::ShapeRef.new(shape: QuotaInfo)
|
353
|
+
|
313
354
|
QuotaPeriod.add_member(:period_value, Shapes::ShapeRef.new(shape: PeriodValue, location_name: "PeriodValue"))
|
314
355
|
QuotaPeriod.add_member(:period_unit, Shapes::ShapeRef.new(shape: PeriodUnit, location_name: "PeriodUnit"))
|
315
356
|
QuotaPeriod.struct_class = Types::QuotaPeriod
|
@@ -390,6 +431,18 @@ module Aws::ServiceQuotas
|
|
390
431
|
ServiceQuotaTemplateNotInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
391
432
|
ServiceQuotaTemplateNotInUseException.struct_class = Types::ServiceQuotaTemplateNotInUseException
|
392
433
|
|
434
|
+
StartAutoManagementRequest.add_member(:opt_in_level, Shapes::ShapeRef.new(shape: OptInLevel, required: true, location_name: "OptInLevel"))
|
435
|
+
StartAutoManagementRequest.add_member(:opt_in_type, Shapes::ShapeRef.new(shape: OptInType, required: true, location_name: "OptInType"))
|
436
|
+
StartAutoManagementRequest.add_member(:notification_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "NotificationArn"))
|
437
|
+
StartAutoManagementRequest.add_member(:exclusion_list, Shapes::ShapeRef.new(shape: ExclusionList, location_name: "ExclusionList"))
|
438
|
+
StartAutoManagementRequest.struct_class = Types::StartAutoManagementRequest
|
439
|
+
|
440
|
+
StartAutoManagementResponse.struct_class = Types::StartAutoManagementResponse
|
441
|
+
|
442
|
+
StopAutoManagementRequest.struct_class = Types::StopAutoManagementRequest
|
443
|
+
|
444
|
+
StopAutoManagementResponse.struct_class = Types::StopAutoManagementResponse
|
445
|
+
|
393
446
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
394
447
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
395
448
|
Tag.struct_class = Types::Tag
|
@@ -418,6 +471,13 @@ module Aws::ServiceQuotas
|
|
418
471
|
|
419
472
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
420
473
|
|
474
|
+
UpdateAutoManagementRequest.add_member(:opt_in_type, Shapes::ShapeRef.new(shape: OptInType, location_name: "OptInType"))
|
475
|
+
UpdateAutoManagementRequest.add_member(:notification_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "NotificationArn"))
|
476
|
+
UpdateAutoManagementRequest.add_member(:exclusion_list, Shapes::ShapeRef.new(shape: ExclusionList, location_name: "ExclusionList"))
|
477
|
+
UpdateAutoManagementRequest.struct_class = Types::UpdateAutoManagementRequest
|
478
|
+
|
479
|
+
UpdateAutoManagementResponse.struct_class = Types::UpdateAutoManagementResponse
|
480
|
+
|
421
481
|
|
422
482
|
# @api private
|
423
483
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -532,6 +592,19 @@ module Aws::ServiceQuotas
|
|
532
592
|
o.errors << Shapes::ShapeRef.new(shape: NoAvailableOrganizationException)
|
533
593
|
end)
|
534
594
|
|
595
|
+
api.add_operation(:get_auto_management_configuration, Seahorse::Model::Operation.new.tap do |o|
|
596
|
+
o.name = "GetAutoManagementConfiguration"
|
597
|
+
o.http_method = "POST"
|
598
|
+
o.http_request_uri = "/"
|
599
|
+
o.input = Shapes::ShapeRef.new(shape: GetAutoManagementConfigurationRequest)
|
600
|
+
o.output = Shapes::ShapeRef.new(shape: GetAutoManagementConfigurationResponse)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
606
|
+
end)
|
607
|
+
|
535
608
|
api.add_operation(:get_requested_service_quota_change, Seahorse::Model::Operation.new.tap do |o|
|
536
609
|
o.name = "GetRequestedServiceQuotaChange"
|
537
610
|
o.http_method = "POST"
|
@@ -744,6 +817,32 @@ module Aws::ServiceQuotas
|
|
744
817
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
745
818
|
end)
|
746
819
|
|
820
|
+
api.add_operation(:start_auto_management, Seahorse::Model::Operation.new.tap do |o|
|
821
|
+
o.name = "StartAutoManagement"
|
822
|
+
o.http_method = "POST"
|
823
|
+
o.http_request_uri = "/"
|
824
|
+
o.input = Shapes::ShapeRef.new(shape: StartAutoManagementRequest)
|
825
|
+
o.output = Shapes::ShapeRef.new(shape: StartAutoManagementResponse)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
830
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
831
|
+
end)
|
832
|
+
|
833
|
+
api.add_operation(:stop_auto_management, Seahorse::Model::Operation.new.tap do |o|
|
834
|
+
o.name = "StopAutoManagement"
|
835
|
+
o.http_method = "POST"
|
836
|
+
o.http_request_uri = "/"
|
837
|
+
o.input = Shapes::ShapeRef.new(shape: StopAutoManagementRequest)
|
838
|
+
o.output = Shapes::ShapeRef.new(shape: StopAutoManagementResponse)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
844
|
+
end)
|
845
|
+
|
747
846
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
748
847
|
o.name = "TagResource"
|
749
848
|
o.http_method = "POST"
|
@@ -771,6 +870,19 @@ module Aws::ServiceQuotas
|
|
771
870
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
772
871
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
773
872
|
end)
|
873
|
+
|
874
|
+
api.add_operation(:update_auto_management, Seahorse::Model::Operation.new.tap do |o|
|
875
|
+
o.name = "UpdateAutoManagement"
|
876
|
+
o.http_method = "POST"
|
877
|
+
o.http_request_uri = "/"
|
878
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAutoManagementRequest)
|
879
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAutoManagementResponse)
|
880
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
|
882
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
|
883
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
885
|
+
end)
|
774
886
|
end
|
775
887
|
|
776
888
|
end
|
@@ -13,22 +13,22 @@ module Aws::ServiceQuotas
|
|
13
13
|
# @!attribute region
|
14
14
|
# The AWS region used to dispatch the request.
|
15
15
|
#
|
16
|
-
# @return [
|
16
|
+
# @return [string]
|
17
17
|
#
|
18
18
|
# @!attribute use_dual_stack
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
20
|
#
|
21
|
-
# @return [
|
21
|
+
# @return [boolean]
|
22
22
|
#
|
23
23
|
# @!attribute use_fips
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
25
|
#
|
26
|
-
# @return [
|
26
|
+
# @return [boolean]
|
27
27
|
#
|
28
28
|
# @!attribute endpoint
|
29
29
|
# Override the endpoint used to send this request
|
30
30
|
#
|
31
|
-
# @return [
|
31
|
+
# @return [string]
|
32
32
|
#
|
33
33
|
EndpointParameters = Struct.new(
|
34
34
|
:region,
|
@@ -203,6 +203,55 @@ module Aws::ServiceQuotas
|
|
203
203
|
include Aws::Structure
|
204
204
|
end
|
205
205
|
|
206
|
+
# @api private
|
207
|
+
#
|
208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAutoManagementConfigurationRequest AWS API Documentation
|
209
|
+
#
|
210
|
+
class GetAutoManagementConfigurationRequest < Aws::EmptyStructure; end
|
211
|
+
|
212
|
+
# @!attribute [rw] opt_in_level
|
213
|
+
# Information on the opt-in level for Automatic Management. Only
|
214
|
+
# Amazon Web Services account level is supported.
|
215
|
+
# @return [String]
|
216
|
+
#
|
217
|
+
# @!attribute [rw] opt_in_type
|
218
|
+
# Information on the opt-in type for Automatic Management. There are
|
219
|
+
# two modes: Notify only and Notify and Auto-Adjust. Currently, only
|
220
|
+
# NotifyOnly is available.
|
221
|
+
# @return [String]
|
222
|
+
#
|
223
|
+
# @!attribute [rw] notification_arn
|
224
|
+
# The [User Notifications][1] Amazon Resource Name (ARN) for Automatic
|
225
|
+
# Management notifications.
|
226
|
+
#
|
227
|
+
#
|
228
|
+
#
|
229
|
+
# [1]: https://docs.aws.amazon.com/notifications/latest/userguide/resource-level-permissions.html#rlp-table
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] opt_in_status
|
233
|
+
# Status on whether Automatic Management is started or stopped.
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @!attribute [rw] exclusion_list
|
237
|
+
# List of Amazon Web Services services excluded from Automatic
|
238
|
+
# Management. You won't be notified of Service Quotas utilization for
|
239
|
+
# Amazon Web Services services added to the Automatic Management
|
240
|
+
# exclusion list.
|
241
|
+
# @return [Hash<String,Array<Types::QuotaInfo>>]
|
242
|
+
#
|
243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAutoManagementConfigurationResponse AWS API Documentation
|
244
|
+
#
|
245
|
+
class GetAutoManagementConfigurationResponse < Struct.new(
|
246
|
+
:opt_in_level,
|
247
|
+
:opt_in_type,
|
248
|
+
:notification_arn,
|
249
|
+
:opt_in_status,
|
250
|
+
:exclusion_list)
|
251
|
+
SENSITIVE = []
|
252
|
+
include Aws::Structure
|
253
|
+
end
|
254
|
+
|
206
255
|
# @!attribute [rw] request_id
|
207
256
|
# Specifies the ID of the quota increase request.
|
208
257
|
# @return [String]
|
@@ -951,6 +1000,34 @@ module Aws::ServiceQuotas
|
|
951
1000
|
include Aws::Structure
|
952
1001
|
end
|
953
1002
|
|
1003
|
+
# Information on your Service Quotas for [Service Quotas Automatic
|
1004
|
+
# Management][1]. Automatic Management monitors your Service Quotas
|
1005
|
+
# utilization and notifies you before you run out of your allocated
|
1006
|
+
# quotas.
|
1007
|
+
#
|
1008
|
+
#
|
1009
|
+
#
|
1010
|
+
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/automatic-management.html
|
1011
|
+
#
|
1012
|
+
# @!attribute [rw] quota_code
|
1013
|
+
# The Service Quotas code for the Amazon Web Services service
|
1014
|
+
# monitored with Automatic Management.
|
1015
|
+
# @return [String]
|
1016
|
+
#
|
1017
|
+
# @!attribute [rw] quota_name
|
1018
|
+
# The Service Quotas name for the Amazon Web Services service
|
1019
|
+
# monitored with Automatic Management.
|
1020
|
+
# @return [String]
|
1021
|
+
#
|
1022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaInfo AWS API Documentation
|
1023
|
+
#
|
1024
|
+
class QuotaInfo < Struct.new(
|
1025
|
+
:quota_code,
|
1026
|
+
:quota_name)
|
1027
|
+
SENSITIVE = []
|
1028
|
+
include Aws::Structure
|
1029
|
+
end
|
1030
|
+
|
954
1031
|
# Information about the quota period.
|
955
1032
|
#
|
956
1033
|
# @!attribute [rw] period_value
|
@@ -1342,6 +1419,58 @@ module Aws::ServiceQuotas
|
|
1342
1419
|
include Aws::Structure
|
1343
1420
|
end
|
1344
1421
|
|
1422
|
+
# @!attribute [rw] opt_in_level
|
1423
|
+
# Sets the opt-in level for Automatic Management. Only Amazon Web
|
1424
|
+
# Services account level is supported.
|
1425
|
+
# @return [String]
|
1426
|
+
#
|
1427
|
+
# @!attribute [rw] opt_in_type
|
1428
|
+
# Sets the opt-in type for Automatic Management. There are two modes:
|
1429
|
+
# Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly
|
1430
|
+
# is available.
|
1431
|
+
# @return [String]
|
1432
|
+
#
|
1433
|
+
# @!attribute [rw] notification_arn
|
1434
|
+
# The [User Notifications][1] Amazon Resource Name (ARN) for Automatic
|
1435
|
+
# Management notifications.
|
1436
|
+
#
|
1437
|
+
#
|
1438
|
+
#
|
1439
|
+
# [1]: https://docs.aws.amazon.com/notifications/latest/userguide/resource-level-permissions.html#rlp-table
|
1440
|
+
# @return [String]
|
1441
|
+
#
|
1442
|
+
# @!attribute [rw] exclusion_list
|
1443
|
+
# List of Amazon Web Services services excluded from Automatic
|
1444
|
+
# Management. You won't be notified of Service Quotas utilization for
|
1445
|
+
# Amazon Web Services services added to the Automatic Management
|
1446
|
+
# exclusion list.
|
1447
|
+
# @return [Hash<String,Array<String>>]
|
1448
|
+
#
|
1449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StartAutoManagementRequest AWS API Documentation
|
1450
|
+
#
|
1451
|
+
class StartAutoManagementRequest < Struct.new(
|
1452
|
+
:opt_in_level,
|
1453
|
+
:opt_in_type,
|
1454
|
+
:notification_arn,
|
1455
|
+
:exclusion_list)
|
1456
|
+
SENSITIVE = []
|
1457
|
+
include Aws::Structure
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StartAutoManagementResponse AWS API Documentation
|
1461
|
+
#
|
1462
|
+
class StartAutoManagementResponse < Aws::EmptyStructure; end
|
1463
|
+
|
1464
|
+
# @api private
|
1465
|
+
#
|
1466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StopAutoManagementRequest AWS API Documentation
|
1467
|
+
#
|
1468
|
+
class StopAutoManagementRequest < Aws::EmptyStructure; end
|
1469
|
+
|
1470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StopAutoManagementResponse AWS API Documentation
|
1471
|
+
#
|
1472
|
+
class StopAutoManagementResponse < Aws::EmptyStructure; end
|
1473
|
+
|
1345
1474
|
# A complex data type that contains a tag key and tag value.
|
1346
1475
|
#
|
1347
1476
|
# @!attribute [rw] key
|
@@ -1484,6 +1613,42 @@ module Aws::ServiceQuotas
|
|
1484
1613
|
#
|
1485
1614
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1486
1615
|
|
1616
|
+
# @!attribute [rw] opt_in_type
|
1617
|
+
# Information on the opt-in type for your Automatic Management
|
1618
|
+
# configuration. There are two modes: Notify only and Notify and
|
1619
|
+
# Auto-Adjust. Currently, only NotifyOnly is available.
|
1620
|
+
# @return [String]
|
1621
|
+
#
|
1622
|
+
# @!attribute [rw] notification_arn
|
1623
|
+
# The [User Notifications][1] Amazon Resource Name (ARN) for Automatic
|
1624
|
+
# Management notifications you want to update.
|
1625
|
+
#
|
1626
|
+
#
|
1627
|
+
#
|
1628
|
+
# [1]: https://docs.aws.amazon.com/notifications/latest/userguide/resource-level-permissions.html#rlp-table
|
1629
|
+
# @return [String]
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] exclusion_list
|
1632
|
+
# List of Amazon Web Services services you want to exclude from
|
1633
|
+
# Automatic Management. You won't be notified of Service Quotas
|
1634
|
+
# utilization for Amazon Web Services services added to the Automatic
|
1635
|
+
# Management exclusion list.
|
1636
|
+
# @return [Hash<String,Array<String>>]
|
1637
|
+
#
|
1638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UpdateAutoManagementRequest AWS API Documentation
|
1639
|
+
#
|
1640
|
+
class UpdateAutoManagementRequest < Struct.new(
|
1641
|
+
:opt_in_type,
|
1642
|
+
:notification_arn,
|
1643
|
+
:exclusion_list)
|
1644
|
+
SENSITIVE = []
|
1645
|
+
include Aws::Structure
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UpdateAutoManagementResponse AWS API Documentation
|
1649
|
+
#
|
1650
|
+
class UpdateAutoManagementResponse < Aws::EmptyStructure; end
|
1651
|
+
|
1487
1652
|
end
|
1488
1653
|
end
|
1489
1654
|
|
data/sig/client.rbs
CHANGED
@@ -135,6 +135,19 @@ module Aws
|
|
135
135
|
) -> _GetAssociationForServiceQuotaTemplateResponseSuccess
|
136
136
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssociationForServiceQuotaTemplateResponseSuccess
|
137
137
|
|
138
|
+
interface _GetAutoManagementConfigurationResponseSuccess
|
139
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAutoManagementConfigurationResponse]
|
140
|
+
def opt_in_level: () -> ("ACCOUNT")
|
141
|
+
def opt_in_type: () -> ("NotifyOnly" | "NotifyAndAdjust")
|
142
|
+
def notification_arn: () -> ::String
|
143
|
+
def opt_in_status: () -> ("ENABLED" | "DISABLED")
|
144
|
+
def exclusion_list: () -> ::Hash[::String, ::Array[Types::QuotaInfo]]
|
145
|
+
end
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#get_auto_management_configuration-instance_method
|
147
|
+
def get_auto_management_configuration: (
|
148
|
+
) -> _GetAutoManagementConfigurationResponseSuccess
|
149
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutoManagementConfigurationResponseSuccess
|
150
|
+
|
138
151
|
interface _GetRequestedServiceQuotaChangeResponseSuccess
|
139
152
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRequestedServiceQuotaChangeResponse]
|
140
153
|
def requested_quota: () -> Types::RequestedServiceQuotaChange
|
@@ -291,6 +304,26 @@ module Aws
|
|
291
304
|
) -> _RequestServiceQuotaIncreaseResponseSuccess
|
292
305
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RequestServiceQuotaIncreaseResponseSuccess
|
293
306
|
|
307
|
+
interface _StartAutoManagementResponseSuccess
|
308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartAutoManagementResponse]
|
309
|
+
end
|
310
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#start_auto_management-instance_method
|
311
|
+
def start_auto_management: (
|
312
|
+
opt_in_level: ("ACCOUNT"),
|
313
|
+
opt_in_type: ("NotifyOnly" | "NotifyAndAdjust"),
|
314
|
+
?notification_arn: ::String,
|
315
|
+
?exclusion_list: Hash[::String, Array[::String]]
|
316
|
+
) -> _StartAutoManagementResponseSuccess
|
317
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAutoManagementResponseSuccess
|
318
|
+
|
319
|
+
interface _StopAutoManagementResponseSuccess
|
320
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopAutoManagementResponse]
|
321
|
+
end
|
322
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#stop_auto_management-instance_method
|
323
|
+
def stop_auto_management: (
|
324
|
+
) -> _StopAutoManagementResponseSuccess
|
325
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopAutoManagementResponseSuccess
|
326
|
+
|
294
327
|
interface _TagResourceResponseSuccess
|
295
328
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
296
329
|
end
|
@@ -315,6 +348,17 @@ module Aws
|
|
315
348
|
tag_keys: Array[::String]
|
316
349
|
) -> _UntagResourceResponseSuccess
|
317
350
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
351
|
+
|
352
|
+
interface _UpdateAutoManagementResponseSuccess
|
353
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutoManagementResponse]
|
354
|
+
end
|
355
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#update_auto_management-instance_method
|
356
|
+
def update_auto_management: (
|
357
|
+
?opt_in_type: ("NotifyOnly" | "NotifyAndAdjust"),
|
358
|
+
?notification_arn: ::String,
|
359
|
+
?exclusion_list: Hash[::String, Array[::String]]
|
360
|
+
) -> _UpdateAutoManagementResponseSuccess
|
361
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutoManagementResponseSuccess
|
318
362
|
end
|
319
363
|
end
|
320
364
|
end
|
data/sig/types.rbs
CHANGED
@@ -78,6 +78,18 @@ module Aws::ServiceQuotas
|
|
78
78
|
SENSITIVE: []
|
79
79
|
end
|
80
80
|
|
81
|
+
class GetAutoManagementConfigurationRequest < Aws::EmptyStructure
|
82
|
+
end
|
83
|
+
|
84
|
+
class GetAutoManagementConfigurationResponse
|
85
|
+
attr_accessor opt_in_level: ("ACCOUNT")
|
86
|
+
attr_accessor opt_in_type: ("NotifyOnly" | "NotifyAndAdjust")
|
87
|
+
attr_accessor notification_arn: ::String
|
88
|
+
attr_accessor opt_in_status: ("ENABLED" | "DISABLED")
|
89
|
+
attr_accessor exclusion_list: ::Hash[::String, ::Array[Types::QuotaInfo]]
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
81
93
|
class GetRequestedServiceQuotaChangeRequest
|
82
94
|
attr_accessor request_id: ::String
|
83
95
|
SENSITIVE: []
|
@@ -270,6 +282,12 @@ module Aws::ServiceQuotas
|
|
270
282
|
SENSITIVE: []
|
271
283
|
end
|
272
284
|
|
285
|
+
class QuotaInfo
|
286
|
+
attr_accessor quota_code: ::String
|
287
|
+
attr_accessor quota_name: ::String
|
288
|
+
SENSITIVE: []
|
289
|
+
end
|
290
|
+
|
273
291
|
class QuotaPeriod
|
274
292
|
attr_accessor period_value: ::Integer
|
275
293
|
attr_accessor period_unit: ("MICROSECOND" | "MILLISECOND" | "SECOND" | "MINUTE" | "HOUR" | "DAY" | "WEEK")
|
@@ -362,6 +380,23 @@ module Aws::ServiceQuotas
|
|
362
380
|
SENSITIVE: []
|
363
381
|
end
|
364
382
|
|
383
|
+
class StartAutoManagementRequest
|
384
|
+
attr_accessor opt_in_level: ("ACCOUNT")
|
385
|
+
attr_accessor opt_in_type: ("NotifyOnly" | "NotifyAndAdjust")
|
386
|
+
attr_accessor notification_arn: ::String
|
387
|
+
attr_accessor exclusion_list: ::Hash[::String, ::Array[::String]]
|
388
|
+
SENSITIVE: []
|
389
|
+
end
|
390
|
+
|
391
|
+
class StartAutoManagementResponse < Aws::EmptyStructure
|
392
|
+
end
|
393
|
+
|
394
|
+
class StopAutoManagementRequest < Aws::EmptyStructure
|
395
|
+
end
|
396
|
+
|
397
|
+
class StopAutoManagementResponse < Aws::EmptyStructure
|
398
|
+
end
|
399
|
+
|
365
400
|
class Tag
|
366
401
|
attr_accessor key: ::String
|
367
402
|
attr_accessor value: ::String
|
@@ -405,5 +440,15 @@ module Aws::ServiceQuotas
|
|
405
440
|
|
406
441
|
class UntagResourceResponse < Aws::EmptyStructure
|
407
442
|
end
|
443
|
+
|
444
|
+
class UpdateAutoManagementRequest
|
445
|
+
attr_accessor opt_in_type: ("NotifyOnly" | "NotifyAndAdjust")
|
446
|
+
attr_accessor notification_arn: ::String
|
447
|
+
attr_accessor exclusion_list: ::Hash[::String, ::Array[::String]]
|
448
|
+
SENSITIVE: []
|
449
|
+
end
|
450
|
+
|
451
|
+
class UpdateAutoManagementResponse < Aws::EmptyStructure
|
452
|
+
end
|
408
453
|
end
|
409
454
|
end
|