aws-sdk-servicequotas 1.65.0 → 1.66.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b53d56eecde70c667a0ada0abc03d293872831f48f67c2aca296f8ee0c9345d
4
- data.tar.gz: bbf3e8e62593b7564f08ee9de843d84f314925056ae8f22ea1e1eb062c2bf3d7
3
+ metadata.gz: b7512ce66f63ff42f273b752400159e30e7239f6c1c832158002bfa94684446e
4
+ data.tar.gz: 7ba3a9c80ac52de3622c31624feda2476ae74d927ac869280aac36b943b4ed19
5
5
  SHA512:
6
- metadata.gz: c75cdb8817c62b226a67c455d1345484348add5cda977e28a00c01dea7a9fcf599ffbbfd63671dc1ca9fd3504720c52199b7b53b6065eb9cb16157998afea791
7
- data.tar.gz: '079b278ec353af33b758a604d683309bf2862bd9e0f9a45c000fc207c760a0b83ab9d00a2a23d66a1600ee8116f6c7c1bcd177334e347465771f936739481548'
6
+ metadata.gz: 89b6584f917b72941768133860a205f0eacb29ae9e35defa8ff9be184dd3a551962406849590c52ed21818d23a2843a1a0504705770a2d464c6e3e65391130a4
7
+ data.tar.gz: ae22768ab6131aa7077137a4d16af08109b8a6b500357c3abb3d4a4d94d6e792fa8ec8342769643a8162fc08b1a463ac71c207b402675c384c38ccef7a3cd166
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2025-12-15)
5
+ ------------------
6
+
7
+ * Feature - Add support for SQ Dashboard Api
8
+
4
9
  1.65.0 (2025-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.66.0
@@ -691,6 +691,82 @@ module Aws::ServiceQuotas
691
691
  req.send_request(options)
692
692
  end
693
693
 
694
+ # Retrieves the quota utilization report for your Amazon Web Services
695
+ # account. This operation returns paginated results showing your quota
696
+ # usage across all Amazon Web Services services, sorted by utilization
697
+ # percentage in descending order (highest utilization first).
698
+ #
699
+ # You must first initiate a report using the
700
+ # `StartQuotaUtilizationReport` operation. The report generation process
701
+ # is asynchronous and may take several seconds to complete. Poll this
702
+ # operation periodically to check the status and retrieve results when
703
+ # the report is ready.
704
+ #
705
+ # Each report contains up to 1,000 quota records per page. Use the
706
+ # `NextToken` parameter to retrieve additional pages of results. Reports
707
+ # are automatically deleted after 15 minutes.
708
+ #
709
+ # @option params [required, String] :report_id
710
+ # The unique identifier for the quota utilization report. This
711
+ # identifier is returned by the `StartQuotaUtilizationReport` operation.
712
+ #
713
+ # @option params [String] :next_token
714
+ # A token that indicates the next page of results to retrieve. This
715
+ # token is returned in the response when there are more results
716
+ # available. Omit this parameter for the first request.
717
+ #
718
+ # @option params [Integer] :max_results
719
+ # The maximum number of results to return per page. The default value is
720
+ # 1,000 and the maximum allowed value is 1,000.
721
+ #
722
+ # @return [Types::GetQuotaUtilizationReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
723
+ #
724
+ # * {Types::GetQuotaUtilizationReportResponse#report_id #report_id} => String
725
+ # * {Types::GetQuotaUtilizationReportResponse#status #status} => String
726
+ # * {Types::GetQuotaUtilizationReportResponse#generated_at #generated_at} => Time
727
+ # * {Types::GetQuotaUtilizationReportResponse#total_count #total_count} => Integer
728
+ # * {Types::GetQuotaUtilizationReportResponse#quotas #quotas} => Array<Types::QuotaUtilizationInfo>
729
+ # * {Types::GetQuotaUtilizationReportResponse#next_token #next_token} => String
730
+ # * {Types::GetQuotaUtilizationReportResponse#error_code #error_code} => String
731
+ # * {Types::GetQuotaUtilizationReportResponse#error_message #error_message} => String
732
+ #
733
+ # @example Request syntax with placeholder values
734
+ #
735
+ # resp = client.get_quota_utilization_report({
736
+ # report_id: "ReportId", # required
737
+ # next_token: "NextToken",
738
+ # max_results: 1,
739
+ # })
740
+ #
741
+ # @example Response structure
742
+ #
743
+ # resp.report_id #=> String
744
+ # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED"
745
+ # resp.generated_at #=> Time
746
+ # resp.total_count #=> Integer
747
+ # resp.quotas #=> Array
748
+ # resp.quotas[0].quota_code #=> String
749
+ # resp.quotas[0].service_code #=> String
750
+ # resp.quotas[0].quota_name #=> String
751
+ # resp.quotas[0].namespace #=> String
752
+ # resp.quotas[0].utilization #=> Float
753
+ # resp.quotas[0].default_value #=> Float
754
+ # resp.quotas[0].applied_value #=> Float
755
+ # resp.quotas[0].service_name #=> String
756
+ # resp.quotas[0].adjustable #=> Boolean
757
+ # resp.next_token #=> String
758
+ # resp.error_code #=> String
759
+ # resp.error_message #=> String
760
+ #
761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetQuotaUtilizationReport AWS API Documentation
762
+ #
763
+ # @overload get_quota_utilization_report(params = {})
764
+ # @param [Hash] params ({})
765
+ def get_quota_utilization_report(params = {}, options = {})
766
+ req = build_request(:get_quota_utilization_report, params)
767
+ req.send_request(options)
768
+ end
769
+
694
770
  # Retrieves information about the specified quota increase request.
695
771
  #
696
772
  # @option params [required, String] :request_id
@@ -709,6 +785,7 @@ module Aws::ServiceQuotas
709
785
  # @example Response structure
710
786
  #
711
787
  # resp.requested_quota.id #=> String
788
+ # resp.requested_quota.request_type #=> String, one of "AutomaticManagement"
712
789
  # resp.requested_quota.case_id #=> String
713
790
  # resp.requested_quota.service_code #=> String
714
791
  # resp.requested_quota.service_name #=> String
@@ -991,6 +1068,7 @@ module Aws::ServiceQuotas
991
1068
  # resp.next_token #=> String
992
1069
  # resp.requested_quotas #=> Array
993
1070
  # resp.requested_quotas[0].id #=> String
1071
+ # resp.requested_quotas[0].request_type #=> String, one of "AutomaticManagement"
994
1072
  # resp.requested_quotas[0].case_id #=> String
995
1073
  # resp.requested_quotas[0].service_code #=> String
996
1074
  # resp.requested_quotas[0].service_name #=> String
@@ -1084,6 +1162,7 @@ module Aws::ServiceQuotas
1084
1162
  # resp.next_token #=> String
1085
1163
  # resp.requested_quotas #=> Array
1086
1164
  # resp.requested_quotas[0].id #=> String
1165
+ # resp.requested_quotas[0].request_type #=> String, one of "AutomaticManagement"
1087
1166
  # resp.requested_quotas[0].case_id #=> String
1088
1167
  # resp.requested_quotas[0].service_code #=> String
1089
1168
  # resp.requested_quotas[0].service_name #=> String
@@ -1468,6 +1547,7 @@ module Aws::ServiceQuotas
1468
1547
  # @example Response structure
1469
1548
  #
1470
1549
  # resp.requested_quota.id #=> String
1550
+ # resp.requested_quota.request_type #=> String, one of "AutomaticManagement"
1471
1551
  # resp.requested_quota.case_id #=> String
1472
1552
  # resp.requested_quota.service_code #=> String
1473
1553
  # resp.requested_quota.service_name #=> String
@@ -1550,6 +1630,37 @@ module Aws::ServiceQuotas
1550
1630
  req.send_request(options)
1551
1631
  end
1552
1632
 
1633
+ # Initiates the generation of a quota utilization report for your Amazon
1634
+ # Web Services account. This asynchronous operation analyzes your quota
1635
+ # usage across all Amazon Web Services services and returns a unique
1636
+ # report identifier that you can use to retrieve the results.
1637
+ #
1638
+ # The report generation process may take several seconds to complete,
1639
+ # depending on the number of quotas in your account. Use the
1640
+ # `GetQuotaUtilizationReport` operation to check the status and retrieve
1641
+ # the results when the report is ready.
1642
+ #
1643
+ # @return [Types::StartQuotaUtilizationReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1644
+ #
1645
+ # * {Types::StartQuotaUtilizationReportResponse#report_id #report_id} => String
1646
+ # * {Types::StartQuotaUtilizationReportResponse#status #status} => String
1647
+ # * {Types::StartQuotaUtilizationReportResponse#message #message} => String
1648
+ #
1649
+ # @example Response structure
1650
+ #
1651
+ # resp.report_id #=> String
1652
+ # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED"
1653
+ # resp.message #=> String
1654
+ #
1655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StartQuotaUtilizationReport AWS API Documentation
1656
+ #
1657
+ # @overload start_quota_utilization_report(params = {})
1658
+ # @param [Hash] params ({})
1659
+ def start_quota_utilization_report(params = {}, options = {})
1660
+ req = build_request(:start_quota_utilization_report, params)
1661
+ req.send_request(options)
1662
+ end
1663
+
1553
1664
  # Stops [Service Quotas Automatic Management][1] for an Amazon Web
1554
1665
  # Services account and removes all associated configurations. Automatic
1555
1666
  # Management monitors your Service Quotas utilization and notifies you
@@ -1713,7 +1824,7 @@ module Aws::ServiceQuotas
1713
1824
  tracer: tracer
1714
1825
  )
1715
1826
  context[:gem_name] = 'aws-sdk-servicequotas'
1716
- context[:gem_version] = '1.65.0'
1827
+ context[:gem_version] = '1.66.0'
1717
1828
  Seahorse::Client::Request.new(handlers, context)
1718
1829
  end
1719
1830
 
@@ -18,6 +18,7 @@ module Aws::ServiceQuotas
18
18
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
19
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
20
20
  AppliedLevelEnum = Shapes::StringShape.new(name: 'AppliedLevelEnum')
21
+ AppliedValue = Shapes::FloatShape.new(name: 'AppliedValue')
21
22
  AssociateServiceQuotaTemplateRequest = Shapes::StructureShape.new(name: 'AssociateServiceQuotaTemplateRequest')
22
23
  AssociateServiceQuotaTemplateResponse = Shapes::StructureShape.new(name: 'AssociateServiceQuotaTemplateResponse')
23
24
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
@@ -25,6 +26,7 @@ module Aws::ServiceQuotas
25
26
  CreateSupportCaseResponse = Shapes::StructureShape.new(name: 'CreateSupportCaseResponse')
26
27
  CustomerServiceEngagementId = Shapes::StringShape.new(name: 'CustomerServiceEngagementId')
27
28
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
29
+ DefaultValue = Shapes::FloatShape.new(name: 'DefaultValue')
28
30
  DeleteServiceQuotaIncreaseRequestFromTemplateRequest = Shapes::StructureShape.new(name: 'DeleteServiceQuotaIncreaseRequestFromTemplateRequest')
29
31
  DeleteServiceQuotaIncreaseRequestFromTemplateResponse = Shapes::StructureShape.new(name: 'DeleteServiceQuotaIncreaseRequestFromTemplateResponse')
30
32
  DependencyAccessDeniedException = Shapes::StructureShape.new(name: 'DependencyAccessDeniedException')
@@ -45,6 +47,8 @@ module Aws::ServiceQuotas
45
47
  GetAssociationForServiceQuotaTemplateResponse = Shapes::StructureShape.new(name: 'GetAssociationForServiceQuotaTemplateResponse')
46
48
  GetAutoManagementConfigurationRequest = Shapes::StructureShape.new(name: 'GetAutoManagementConfigurationRequest')
47
49
  GetAutoManagementConfigurationResponse = Shapes::StructureShape.new(name: 'GetAutoManagementConfigurationResponse')
50
+ GetQuotaUtilizationReportRequest = Shapes::StructureShape.new(name: 'GetQuotaUtilizationReportRequest')
51
+ GetQuotaUtilizationReportResponse = Shapes::StructureShape.new(name: 'GetQuotaUtilizationReportResponse')
48
52
  GetRequestedServiceQuotaChangeRequest = Shapes::StructureShape.new(name: 'GetRequestedServiceQuotaChangeRequest')
49
53
  GetRequestedServiceQuotaChangeResponse = Shapes::StructureShape.new(name: 'GetRequestedServiceQuotaChangeResponse')
50
54
  GetServiceQuotaIncreaseRequestFromTemplateRequest = Shapes::StructureShape.new(name: 'GetServiceQuotaIncreaseRequestFromTemplateRequest')
@@ -72,6 +76,7 @@ module Aws::ServiceQuotas
72
76
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
73
77
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
74
78
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
79
+ MaxResultsUtilization = Shapes::IntegerShape.new(name: 'MaxResultsUtilization')
75
80
  MetricDimensionName = Shapes::StringShape.new(name: 'MetricDimensionName')
76
81
  MetricDimensionValue = Shapes::StringShape.new(name: 'MetricDimensionValue')
77
82
  MetricDimensionsMapDefinition = Shapes::MapShape.new(name: 'MetricDimensionsMapDefinition')
@@ -104,11 +109,19 @@ module Aws::ServiceQuotas
104
109
  QuotaName = Shapes::StringShape.new(name: 'QuotaName')
105
110
  QuotaPeriod = Shapes::StructureShape.new(name: 'QuotaPeriod')
106
111
  QuotaUnit = Shapes::StringShape.new(name: 'QuotaUnit')
112
+ QuotaUtilizationInfo = Shapes::StructureShape.new(name: 'QuotaUtilizationInfo')
113
+ QuotaUtilizationInfoList = Shapes::ListShape.new(name: 'QuotaUtilizationInfoList')
107
114
  QuotaValue = Shapes::FloatShape.new(name: 'QuotaValue')
115
+ ReportErrorCode = Shapes::StringShape.new(name: 'ReportErrorCode')
116
+ ReportErrorMessage = Shapes::StringShape.new(name: 'ReportErrorMessage')
117
+ ReportId = Shapes::StringShape.new(name: 'ReportId')
118
+ ReportMessage = Shapes::StringShape.new(name: 'ReportMessage')
119
+ ReportStatus = Shapes::StringShape.new(name: 'ReportStatus')
108
120
  RequestId = Shapes::StringShape.new(name: 'RequestId')
109
121
  RequestServiceQuotaIncreaseRequest = Shapes::StructureShape.new(name: 'RequestServiceQuotaIncreaseRequest')
110
122
  RequestServiceQuotaIncreaseResponse = Shapes::StructureShape.new(name: 'RequestServiceQuotaIncreaseResponse')
111
123
  RequestStatus = Shapes::StringShape.new(name: 'RequestStatus')
124
+ RequestType = Shapes::StringShape.new(name: 'RequestType')
112
125
  RequestedServiceQuotaChange = Shapes::StructureShape.new(name: 'RequestedServiceQuotaChange')
113
126
  RequestedServiceQuotaChangeHistoryListDefinition = Shapes::ListShape.new(name: 'RequestedServiceQuotaChangeHistoryListDefinition')
114
127
  Requester = Shapes::StringShape.new(name: 'Requester')
@@ -126,6 +139,8 @@ module Aws::ServiceQuotas
126
139
  ServiceQuotaTemplateNotInUseException = Shapes::StructureShape.new(name: 'ServiceQuotaTemplateNotInUseException')
127
140
  StartAutoManagementRequest = Shapes::StructureShape.new(name: 'StartAutoManagementRequest')
128
141
  StartAutoManagementResponse = Shapes::StructureShape.new(name: 'StartAutoManagementResponse')
142
+ StartQuotaUtilizationReportRequest = Shapes::StructureShape.new(name: 'StartQuotaUtilizationReportRequest')
143
+ StartQuotaUtilizationReportResponse = Shapes::StructureShape.new(name: 'StartQuotaUtilizationReportResponse')
129
144
  Statistic = Shapes::StringShape.new(name: 'Statistic')
130
145
  StopAutoManagementRequest = Shapes::StructureShape.new(name: 'StopAutoManagementRequest')
131
146
  StopAutoManagementResponse = Shapes::StructureShape.new(name: 'StopAutoManagementResponse')
@@ -139,10 +154,12 @@ module Aws::ServiceQuotas
139
154
  TemplatesNotAvailableInRegionException = Shapes::StructureShape.new(name: 'TemplatesNotAvailableInRegionException')
140
155
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
141
156
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
157
+ TotalCount = Shapes::IntegerShape.new(name: 'TotalCount')
142
158
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
143
159
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
144
160
  UpdateAutoManagementRequest = Shapes::StructureShape.new(name: 'UpdateAutoManagementRequest')
145
161
  UpdateAutoManagementResponse = Shapes::StructureShape.new(name: 'UpdateAutoManagementResponse')
162
+ UtilizationPct = Shapes::FloatShape.new(name: 'UtilizationPct')
146
163
 
147
164
  AWSServiceAccessNotEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
148
165
  AWSServiceAccessNotEnabledException.struct_class = Types::AWSServiceAccessNotEnabledException
@@ -206,6 +223,21 @@ module Aws::ServiceQuotas
206
223
  GetAutoManagementConfigurationResponse.add_member(:exclusion_list, Shapes::ShapeRef.new(shape: ExclusionQuotaList, location_name: "ExclusionList"))
207
224
  GetAutoManagementConfigurationResponse.struct_class = Types::GetAutoManagementConfigurationResponse
208
225
 
226
+ GetQuotaUtilizationReportRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "ReportId"))
227
+ GetQuotaUtilizationReportRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
228
+ GetQuotaUtilizationReportRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsUtilization, location_name: "MaxResults"))
229
+ GetQuotaUtilizationReportRequest.struct_class = Types::GetQuotaUtilizationReportRequest
230
+
231
+ GetQuotaUtilizationReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "ReportId"))
232
+ GetQuotaUtilizationReportResponse.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, location_name: "Status"))
233
+ GetQuotaUtilizationReportResponse.add_member(:generated_at, Shapes::ShapeRef.new(shape: DateTime, location_name: "GeneratedAt"))
234
+ GetQuotaUtilizationReportResponse.add_member(:total_count, Shapes::ShapeRef.new(shape: TotalCount, location_name: "TotalCount"))
235
+ GetQuotaUtilizationReportResponse.add_member(:quotas, Shapes::ShapeRef.new(shape: QuotaUtilizationInfoList, location_name: "Quotas"))
236
+ GetQuotaUtilizationReportResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
237
+ GetQuotaUtilizationReportResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ReportErrorCode, location_name: "ErrorCode"))
238
+ GetQuotaUtilizationReportResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ReportErrorMessage, location_name: "ErrorMessage"))
239
+ GetQuotaUtilizationReportResponse.struct_class = Types::GetQuotaUtilizationReportResponse
240
+
209
241
  GetRequestedServiceQuotaChangeRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "RequestId"))
210
242
  GetRequestedServiceQuotaChangeRequest.struct_class = Types::GetRequestedServiceQuotaChangeRequest
211
243
 
@@ -355,6 +387,19 @@ module Aws::ServiceQuotas
355
387
  QuotaPeriod.add_member(:period_unit, Shapes::ShapeRef.new(shape: PeriodUnit, location_name: "PeriodUnit"))
356
388
  QuotaPeriod.struct_class = Types::QuotaPeriod
357
389
 
390
+ QuotaUtilizationInfo.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "QuotaCode"))
391
+ QuotaUtilizationInfo.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "ServiceCode"))
392
+ QuotaUtilizationInfo.add_member(:quota_name, Shapes::ShapeRef.new(shape: QuotaName, location_name: "QuotaName"))
393
+ QuotaUtilizationInfo.add_member(:namespace, Shapes::ShapeRef.new(shape: QuotaMetricNamespace, location_name: "Namespace"))
394
+ QuotaUtilizationInfo.add_member(:utilization, Shapes::ShapeRef.new(shape: UtilizationPct, location_name: "Utilization"))
395
+ QuotaUtilizationInfo.add_member(:default_value, Shapes::ShapeRef.new(shape: DefaultValue, location_name: "DefaultValue"))
396
+ QuotaUtilizationInfo.add_member(:applied_value, Shapes::ShapeRef.new(shape: AppliedValue, location_name: "AppliedValue"))
397
+ QuotaUtilizationInfo.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
398
+ QuotaUtilizationInfo.add_member(:adjustable, Shapes::ShapeRef.new(shape: QuotaAdjustable, location_name: "Adjustable"))
399
+ QuotaUtilizationInfo.struct_class = Types::QuotaUtilizationInfo
400
+
401
+ QuotaUtilizationInfoList.member = Shapes::ShapeRef.new(shape: QuotaUtilizationInfo)
402
+
358
403
  RequestServiceQuotaIncreaseRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, required: true, location_name: "ServiceCode"))
359
404
  RequestServiceQuotaIncreaseRequest.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "QuotaCode"))
360
405
  RequestServiceQuotaIncreaseRequest.add_member(:desired_value, Shapes::ShapeRef.new(shape: QuotaValue, required: true, location_name: "DesiredValue"))
@@ -366,6 +411,7 @@ module Aws::ServiceQuotas
366
411
  RequestServiceQuotaIncreaseResponse.struct_class = Types::RequestServiceQuotaIncreaseResponse
367
412
 
368
413
  RequestedServiceQuotaChange.add_member(:id, Shapes::ShapeRef.new(shape: RequestId, location_name: "Id"))
414
+ RequestedServiceQuotaChange.add_member(:request_type, Shapes::ShapeRef.new(shape: RequestType, location_name: "RequestType"))
369
415
  RequestedServiceQuotaChange.add_member(:case_id, Shapes::ShapeRef.new(shape: CustomerServiceEngagementId, location_name: "CaseId"))
370
416
  RequestedServiceQuotaChange.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "ServiceCode"))
371
417
  RequestedServiceQuotaChange.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
@@ -439,6 +485,13 @@ module Aws::ServiceQuotas
439
485
 
440
486
  StartAutoManagementResponse.struct_class = Types::StartAutoManagementResponse
441
487
 
488
+ StartQuotaUtilizationReportRequest.struct_class = Types::StartQuotaUtilizationReportRequest
489
+
490
+ StartQuotaUtilizationReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "ReportId"))
491
+ StartQuotaUtilizationReportResponse.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, location_name: "Status"))
492
+ StartQuotaUtilizationReportResponse.add_member(:message, Shapes::ShapeRef.new(shape: ReportMessage, location_name: "Message"))
493
+ StartQuotaUtilizationReportResponse.struct_class = Types::StartQuotaUtilizationReportResponse
494
+
442
495
  StopAutoManagementRequest.struct_class = Types::StopAutoManagementRequest
443
496
 
444
497
  StopAutoManagementResponse.struct_class = Types::StopAutoManagementResponse
@@ -605,6 +658,19 @@ module Aws::ServiceQuotas
605
658
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
606
659
  end)
607
660
 
661
+ api.add_operation(:get_quota_utilization_report, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "GetQuotaUtilizationReport"
663
+ o.http_method = "POST"
664
+ o.http_request_uri = "/"
665
+ o.input = Shapes::ShapeRef.new(shape: GetQuotaUtilizationReportRequest)
666
+ o.output = Shapes::ShapeRef.new(shape: GetQuotaUtilizationReportResponse)
667
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
668
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
669
+ o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
670
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
671
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
672
+ end)
673
+
608
674
  api.add_operation(:get_requested_service_quota_change, Seahorse::Model::Operation.new.tap do |o|
609
675
  o.name = "GetRequestedServiceQuotaChange"
610
676
  o.http_method = "POST"
@@ -830,6 +896,20 @@ module Aws::ServiceQuotas
830
896
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
831
897
  end)
832
898
 
899
+ api.add_operation(:start_quota_utilization_report, Seahorse::Model::Operation.new.tap do |o|
900
+ o.name = "StartQuotaUtilizationReport"
901
+ o.http_method = "POST"
902
+ o.http_request_uri = "/"
903
+ o.input = Shapes::ShapeRef.new(shape: StartQuotaUtilizationReportRequest)
904
+ o.output = Shapes::ShapeRef.new(shape: StartQuotaUtilizationReportResponse)
905
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
906
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResourceException)
907
+ o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
908
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
909
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
910
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
911
+ end)
912
+
833
913
  api.add_operation(:stop_auto_management, Seahorse::Model::Operation.new.tap do |o|
834
914
  o.name = "StopAutoManagement"
835
915
  o.http_method = "POST"
@@ -252,6 +252,102 @@ module Aws::ServiceQuotas
252
252
  include Aws::Structure
253
253
  end
254
254
 
255
+ # @!attribute [rw] report_id
256
+ # The unique identifier for the quota utilization report. This
257
+ # identifier is returned by the `StartQuotaUtilizationReport`
258
+ # operation.
259
+ # @return [String]
260
+ #
261
+ # @!attribute [rw] next_token
262
+ # A token that indicates the next page of results to retrieve. This
263
+ # token is returned in the response when there are more results
264
+ # available. Omit this parameter for the first request.
265
+ # @return [String]
266
+ #
267
+ # @!attribute [rw] max_results
268
+ # The maximum number of results to return per page. The default value
269
+ # is 1,000 and the maximum allowed value is 1,000.
270
+ # @return [Integer]
271
+ #
272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetQuotaUtilizationReportRequest AWS API Documentation
273
+ #
274
+ class GetQuotaUtilizationReportRequest < Struct.new(
275
+ :report_id,
276
+ :next_token,
277
+ :max_results)
278
+ SENSITIVE = []
279
+ include Aws::Structure
280
+ end
281
+
282
+ # @!attribute [rw] report_id
283
+ # The unique identifier for the quota utilization report.
284
+ # @return [String]
285
+ #
286
+ # @!attribute [rw] status
287
+ # The current status of the report generation. Possible values are:
288
+ #
289
+ # * `PENDING` - The report generation is in progress. Retry this
290
+ # operation after a few seconds.
291
+ #
292
+ # * `IN_PROGRESS` - The report is being processed. Continue polling
293
+ # until the status changes to `COMPLETED`.
294
+ #
295
+ # * `COMPLETED` - The report is ready and quota utilization data is
296
+ # available in the response.
297
+ #
298
+ # * `FAILED` - The report generation failed. Check the `ErrorCode` and
299
+ # `ErrorMessage` fields for details.
300
+ # @return [String]
301
+ #
302
+ # @!attribute [rw] generated_at
303
+ # The timestamp when the report was generated, in ISO 8601 format.
304
+ # @return [Time]
305
+ #
306
+ # @!attribute [rw] total_count
307
+ # The total number of quotas included in the report across all pages.
308
+ # @return [Integer]
309
+ #
310
+ # @!attribute [rw] quotas
311
+ # A list of quota utilization records, sorted by utilization
312
+ # percentage in descending order. Each record includes the quota code,
313
+ # service code, service name, quota name, namespace, utilization
314
+ # percentage, default value, applied value, and whether the quota is
315
+ # adjustable. Up to 1,000 records are returned per page.
316
+ # @return [Array<Types::QuotaUtilizationInfo>]
317
+ #
318
+ # @!attribute [rw] next_token
319
+ # A token that indicates more results are available. Include this
320
+ # token in the next request to retrieve the next page of results. If
321
+ # this field is not present, you have retrieved all available results.
322
+ # @return [String]
323
+ #
324
+ # @!attribute [rw] error_code
325
+ # An error code indicating the reason for failure when the report
326
+ # status is `FAILED`. This field is only present when the status is
327
+ # `FAILED`.
328
+ # @return [String]
329
+ #
330
+ # @!attribute [rw] error_message
331
+ # A detailed error message describing the failure when the report
332
+ # status is `FAILED`. This field is only present when the status is
333
+ # `FAILED`.
334
+ # @return [String]
335
+ #
336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetQuotaUtilizationReportResponse AWS API Documentation
337
+ #
338
+ class GetQuotaUtilizationReportResponse < Struct.new(
339
+ :report_id,
340
+ :status,
341
+ :generated_at,
342
+ :total_count,
343
+ :quotas,
344
+ :next_token,
345
+ :error_code,
346
+ :error_message)
347
+ SENSITIVE = []
348
+ include Aws::Structure
349
+ end
350
+
255
351
  # @!attribute [rw] request_id
256
352
  # Specifies the ID of the quota increase request.
257
353
  # @return [String]
@@ -1047,6 +1143,64 @@ module Aws::ServiceQuotas
1047
1143
  include Aws::Structure
1048
1144
  end
1049
1145
 
1146
+ # Information about a quota's utilization, including the quota code,
1147
+ # service information, current usage, and applied limits.
1148
+ #
1149
+ # @!attribute [rw] quota_code
1150
+ # The quota identifier.
1151
+ # @return [String]
1152
+ #
1153
+ # @!attribute [rw] service_code
1154
+ # The service identifier.
1155
+ # @return [String]
1156
+ #
1157
+ # @!attribute [rw] quota_name
1158
+ # The quota name.
1159
+ # @return [String]
1160
+ #
1161
+ # @!attribute [rw] namespace
1162
+ # The namespace of the metric used to track quota usage.
1163
+ # @return [String]
1164
+ #
1165
+ # @!attribute [rw] utilization
1166
+ # The utilization percentage of the quota, calculated as (current
1167
+ # usage / applied value) × 100. Values range from 0.0 to 100.0 or
1168
+ # higher if usage exceeds the quota limit.
1169
+ # @return [Float]
1170
+ #
1171
+ # @!attribute [rw] default_value
1172
+ # The default value of the quota.
1173
+ # @return [Float]
1174
+ #
1175
+ # @!attribute [rw] applied_value
1176
+ # The applied value of the quota, which may be higher than the default
1177
+ # value if a quota increase has been requested and approved.
1178
+ # @return [Float]
1179
+ #
1180
+ # @!attribute [rw] service_name
1181
+ # The service name.
1182
+ # @return [String]
1183
+ #
1184
+ # @!attribute [rw] adjustable
1185
+ # Indicates whether the quota value can be increased.
1186
+ # @return [Boolean]
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/QuotaUtilizationInfo AWS API Documentation
1189
+ #
1190
+ class QuotaUtilizationInfo < Struct.new(
1191
+ :quota_code,
1192
+ :service_code,
1193
+ :quota_name,
1194
+ :namespace,
1195
+ :utilization,
1196
+ :default_value,
1197
+ :applied_value,
1198
+ :service_name,
1199
+ :adjustable)
1200
+ SENSITIVE = []
1201
+ include Aws::Structure
1202
+ end
1203
+
1050
1204
  # @!attribute [rw] service_code
1051
1205
  # Specifies the service identifier. To find the service code value for
1052
1206
  # an Amazon Web Services service, use the ListServices operation.
@@ -1108,6 +1262,19 @@ module Aws::ServiceQuotas
1108
1262
  # The unique identifier.
1109
1263
  # @return [String]
1110
1264
  #
1265
+ # @!attribute [rw] request_type
1266
+ # The type of quota increase request. Possible values include:
1267
+ #
1268
+ # * `AutomaticManagement` - The request was automatically created by
1269
+ # Service Quotas Automatic Management when quota utilization
1270
+ # approached the limit.
1271
+ #
1272
+ # ^
1273
+ #
1274
+ # If this field is not present, the request was manually created by a
1275
+ # user.
1276
+ # @return [String]
1277
+ #
1111
1278
  # @!attribute [rw] case_id
1112
1279
  # The case ID.
1113
1280
  # @return [String]
@@ -1201,6 +1368,7 @@ module Aws::ServiceQuotas
1201
1368
  #
1202
1369
  class RequestedServiceQuotaChange < Struct.new(
1203
1370
  :id,
1371
+ :request_type,
1204
1372
  :case_id,
1205
1373
  :service_code,
1206
1374
  :service_name,
@@ -1461,6 +1629,40 @@ module Aws::ServiceQuotas
1461
1629
  #
1462
1630
  class StartAutoManagementResponse < Aws::EmptyStructure; end
1463
1631
 
1632
+ # @api private
1633
+ #
1634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StartQuotaUtilizationReportRequest AWS API Documentation
1635
+ #
1636
+ class StartQuotaUtilizationReportRequest < Aws::EmptyStructure; end
1637
+
1638
+ # @!attribute [rw] report_id
1639
+ # A unique identifier for the quota utilization report. Use this
1640
+ # identifier with the `GetQuotaUtilizationReport` operation to
1641
+ # retrieve the report results.
1642
+ # @return [String]
1643
+ #
1644
+ # @!attribute [rw] status
1645
+ # The current status of the report generation. The status will be
1646
+ # `PENDING` when the report is first initiated.
1647
+ # @return [String]
1648
+ #
1649
+ # @!attribute [rw] message
1650
+ # An optional message providing additional information about the
1651
+ # report generation status. This field may contain details about the
1652
+ # report initiation or indicate if an existing recent report is being
1653
+ # reused.
1654
+ # @return [String]
1655
+ #
1656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StartQuotaUtilizationReportResponse AWS API Documentation
1657
+ #
1658
+ class StartQuotaUtilizationReportResponse < Struct.new(
1659
+ :report_id,
1660
+ :status,
1661
+ :message)
1662
+ SENSITIVE = []
1663
+ include Aws::Structure
1664
+ end
1665
+
1464
1666
  # @api private
1465
1667
  #
1466
1668
  # @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/StopAutoManagementRequest AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::ServiceQuotas
54
54
  autoload :EndpointProvider, 'aws-sdk-servicequotas/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-servicequotas/endpoints'
56
56
 
57
- GEM_VERSION = '1.65.0'
57
+ GEM_VERSION = '1.66.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -148,6 +148,25 @@ module Aws
148
148
  ) -> _GetAutoManagementConfigurationResponseSuccess
149
149
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutoManagementConfigurationResponseSuccess
150
150
 
151
+ interface _GetQuotaUtilizationReportResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQuotaUtilizationReportResponse]
153
+ def report_id: () -> ::String
154
+ def status: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED")
155
+ def generated_at: () -> ::Time
156
+ def total_count: () -> ::Integer
157
+ def quotas: () -> ::Array[Types::QuotaUtilizationInfo]
158
+ def next_token: () -> ::String
159
+ def error_code: () -> ::String
160
+ def error_message: () -> ::String
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#get_quota_utilization_report-instance_method
163
+ def get_quota_utilization_report: (
164
+ report_id: ::String,
165
+ ?next_token: ::String,
166
+ ?max_results: ::Integer
167
+ ) -> _GetQuotaUtilizationReportResponseSuccess
168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQuotaUtilizationReportResponseSuccess
169
+
151
170
  interface _GetRequestedServiceQuotaChangeResponseSuccess
152
171
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRequestedServiceQuotaChangeResponse]
153
172
  def requested_quota: () -> Types::RequestedServiceQuotaChange
@@ -316,6 +335,17 @@ module Aws
316
335
  ) -> _StartAutoManagementResponseSuccess
317
336
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAutoManagementResponseSuccess
318
337
 
338
+ interface _StartQuotaUtilizationReportResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartQuotaUtilizationReportResponse]
340
+ def report_id: () -> ::String
341
+ def status: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED")
342
+ def message: () -> ::String
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceQuotas/Client.html#start_quota_utilization_report-instance_method
345
+ def start_quota_utilization_report: (
346
+ ) -> _StartQuotaUtilizationReportResponseSuccess
347
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQuotaUtilizationReportResponseSuccess
348
+
319
349
  interface _StopAutoManagementResponseSuccess
320
350
  include ::Seahorse::Client::_ResponseSuccess[Types::StopAutoManagementResponse]
321
351
  end
data/sig/types.rbs CHANGED
@@ -90,6 +90,25 @@ module Aws::ServiceQuotas
90
90
  SENSITIVE: []
91
91
  end
92
92
 
93
+ class GetQuotaUtilizationReportRequest
94
+ attr_accessor report_id: ::String
95
+ attr_accessor next_token: ::String
96
+ attr_accessor max_results: ::Integer
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class GetQuotaUtilizationReportResponse
101
+ attr_accessor report_id: ::String
102
+ attr_accessor status: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED")
103
+ attr_accessor generated_at: ::Time
104
+ attr_accessor total_count: ::Integer
105
+ attr_accessor quotas: ::Array[Types::QuotaUtilizationInfo]
106
+ attr_accessor next_token: ::String
107
+ attr_accessor error_code: ::String
108
+ attr_accessor error_message: ::String
109
+ SENSITIVE: []
110
+ end
111
+
93
112
  class GetRequestedServiceQuotaChangeRequest
94
113
  attr_accessor request_id: ::String
95
114
  SENSITIVE: []
@@ -294,6 +313,19 @@ module Aws::ServiceQuotas
294
313
  SENSITIVE: []
295
314
  end
296
315
 
316
+ class QuotaUtilizationInfo
317
+ attr_accessor quota_code: ::String
318
+ attr_accessor service_code: ::String
319
+ attr_accessor quota_name: ::String
320
+ attr_accessor namespace: ::String
321
+ attr_accessor utilization: ::Float
322
+ attr_accessor default_value: ::Float
323
+ attr_accessor applied_value: ::Float
324
+ attr_accessor service_name: ::String
325
+ attr_accessor adjustable: bool
326
+ SENSITIVE: []
327
+ end
328
+
297
329
  class RequestServiceQuotaIncreaseRequest
298
330
  attr_accessor service_code: ::String
299
331
  attr_accessor quota_code: ::String
@@ -310,6 +342,7 @@ module Aws::ServiceQuotas
310
342
 
311
343
  class RequestedServiceQuotaChange
312
344
  attr_accessor id: ::String
345
+ attr_accessor request_type: ("AutomaticManagement")
313
346
  attr_accessor case_id: ::String
314
347
  attr_accessor service_code: ::String
315
348
  attr_accessor service_name: ::String
@@ -391,6 +424,16 @@ module Aws::ServiceQuotas
391
424
  class StartAutoManagementResponse < Aws::EmptyStructure
392
425
  end
393
426
 
427
+ class StartQuotaUtilizationReportRequest < Aws::EmptyStructure
428
+ end
429
+
430
+ class StartQuotaUtilizationReportResponse
431
+ attr_accessor report_id: ::String
432
+ attr_accessor status: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED")
433
+ attr_accessor message: ::String
434
+ SENSITIVE: []
435
+ end
436
+
394
437
  class StopAutoManagementRequest < Aws::EmptyStructure
395
438
  end
396
439
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-servicequotas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services