aws-sdk-servicequotas 1.29.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicequotas/client.rb +263 -77
- data/lib/aws-sdk-servicequotas/client_api.rb +20 -0
- data/lib/aws-sdk-servicequotas/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-servicequotas/types.rb +340 -102
- data/lib/aws-sdk-servicequotas.rb +1 -1
- metadata +2 -2
@@ -216,6 +216,10 @@ module Aws::ServiceQuotas
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -395,10 +399,10 @@ module Aws::ServiceQuotas
|
|
395
399
|
# @!group API Operations
|
396
400
|
|
397
401
|
# Associates your quota request template with your organization. When a
|
398
|
-
# new account is created in your organization, the
|
399
|
-
# requests in the template are automatically applied to
|
400
|
-
# can add a quota increase request for any adjustable
|
401
|
-
# template.
|
402
|
+
# new Amazon Web Services account is created in your organization, the
|
403
|
+
# quota increase requests in the template are automatically applied to
|
404
|
+
# the account. You can add a quota increase request for any adjustable
|
405
|
+
# quota to your template.
|
402
406
|
#
|
403
407
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
404
408
|
#
|
@@ -415,13 +419,17 @@ module Aws::ServiceQuotas
|
|
415
419
|
# quota request template.
|
416
420
|
#
|
417
421
|
# @option params [required, String] :service_code
|
418
|
-
#
|
422
|
+
# Specifies the service identifier. To find the service code value for
|
423
|
+
# an Amazon Web Services service, use the ListServices operation.
|
419
424
|
#
|
420
425
|
# @option params [required, String] :quota_code
|
421
|
-
#
|
426
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
427
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
428
|
+
# `QuotaCode` response in the output for the quota you want.
|
422
429
|
#
|
423
430
|
# @option params [required, String] :aws_region
|
424
|
-
#
|
431
|
+
# Specifies the Amazon Web Services Region for which the request was
|
432
|
+
# made.
|
425
433
|
#
|
426
434
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
427
435
|
#
|
@@ -444,8 +452,8 @@ module Aws::ServiceQuotas
|
|
444
452
|
|
445
453
|
# Disables your quota request template. After a template is disabled,
|
446
454
|
# the quota increase requests in the template are not applied to new
|
447
|
-
# accounts in your organization. Disabling a quota
|
448
|
-
# not apply its quota increase requests.
|
455
|
+
# Amazon Web Services accounts in your organization. Disabling a quota
|
456
|
+
# request template does not apply its quota increase requests.
|
449
457
|
#
|
450
458
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
451
459
|
#
|
@@ -462,10 +470,13 @@ module Aws::ServiceQuotas
|
|
462
470
|
# does not reflect any quota increases.
|
463
471
|
#
|
464
472
|
# @option params [required, String] :service_code
|
465
|
-
#
|
473
|
+
# Specifies the service identifier. To find the service code value for
|
474
|
+
# an Amazon Web Services service, use the ListServices operation.
|
466
475
|
#
|
467
476
|
# @option params [required, String] :quota_code
|
468
|
-
#
|
477
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
478
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
479
|
+
# `QuotaCode` response in the output for the quota you want.
|
469
480
|
#
|
470
481
|
# @return [Types::GetAWSDefaultServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
471
482
|
#
|
@@ -498,6 +509,10 @@ module Aws::ServiceQuotas
|
|
498
509
|
# resp.quota.period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
499
510
|
# resp.quota.error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
500
511
|
# resp.quota.error_reason.error_message #=> String
|
512
|
+
# resp.quota.quota_applied_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
513
|
+
# resp.quota.quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
514
|
+
# resp.quota.quota_context.context_scope_type #=> String
|
515
|
+
# resp.quota.quota_context.context_id #=> String
|
501
516
|
#
|
502
517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota AWS API Documentation
|
503
518
|
#
|
@@ -531,7 +546,7 @@ module Aws::ServiceQuotas
|
|
531
546
|
# Retrieves information about the specified quota increase request.
|
532
547
|
#
|
533
548
|
# @option params [required, String] :request_id
|
534
|
-
#
|
549
|
+
# Specifies the ID of the quota increase request.
|
535
550
|
#
|
536
551
|
# @return [Types::GetRequestedServiceQuotaChangeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
537
552
|
#
|
@@ -552,13 +567,17 @@ module Aws::ServiceQuotas
|
|
552
567
|
# resp.requested_quota.quota_code #=> String
|
553
568
|
# resp.requested_quota.quota_name #=> String
|
554
569
|
# resp.requested_quota.desired_value #=> Float
|
555
|
-
# resp.requested_quota.status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
570
|
+
# resp.requested_quota.status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED", "NOT_APPROVED", "INVALID_REQUEST"
|
556
571
|
# resp.requested_quota.created #=> Time
|
557
572
|
# resp.requested_quota.last_updated #=> Time
|
558
573
|
# resp.requested_quota.requester #=> String
|
559
574
|
# resp.requested_quota.quota_arn #=> String
|
560
575
|
# resp.requested_quota.global_quota #=> Boolean
|
561
576
|
# resp.requested_quota.unit #=> String
|
577
|
+
# resp.requested_quota.quota_requested_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
578
|
+
# resp.requested_quota.quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
579
|
+
# resp.requested_quota.quota_context.context_scope_type #=> String
|
580
|
+
# resp.requested_quota.quota_context.context_id #=> String
|
562
581
|
#
|
563
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange AWS API Documentation
|
564
583
|
#
|
@@ -574,10 +593,18 @@ module Aws::ServiceQuotas
|
|
574
593
|
# value is not available for a quota, the quota is not retrieved.
|
575
594
|
#
|
576
595
|
# @option params [required, String] :service_code
|
577
|
-
#
|
596
|
+
# Specifies the service identifier. To find the service code value for
|
597
|
+
# an Amazon Web Services service, use the ListServices operation.
|
578
598
|
#
|
579
599
|
# @option params [required, String] :quota_code
|
580
|
-
#
|
600
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
601
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
602
|
+
# `QuotaCode` response in the output for the quota you want.
|
603
|
+
#
|
604
|
+
# @option params [String] :context_id
|
605
|
+
# Specifies the Amazon Web Services account or resource to which the
|
606
|
+
# quota applies. The value in this field depends on the context scope
|
607
|
+
# associated with the specified service quota.
|
581
608
|
#
|
582
609
|
# @return [Types::GetServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
583
610
|
#
|
@@ -588,6 +615,7 @@ module Aws::ServiceQuotas
|
|
588
615
|
# resp = client.get_service_quota({
|
589
616
|
# service_code: "ServiceCode", # required
|
590
617
|
# quota_code: "QuotaCode", # required
|
618
|
+
# context_id: "QuotaContextId",
|
591
619
|
# })
|
592
620
|
#
|
593
621
|
# @example Response structure
|
@@ -610,6 +638,10 @@ module Aws::ServiceQuotas
|
|
610
638
|
# resp.quota.period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
611
639
|
# resp.quota.error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
612
640
|
# resp.quota.error_reason.error_message #=> String
|
641
|
+
# resp.quota.quota_applied_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
642
|
+
# resp.quota.quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
643
|
+
# resp.quota.quota_context.context_scope_type #=> String
|
644
|
+
# resp.quota.quota_context.context_id #=> String
|
613
645
|
#
|
614
646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota AWS API Documentation
|
615
647
|
#
|
@@ -624,13 +656,17 @@ module Aws::ServiceQuotas
|
|
624
656
|
# your quota request template.
|
625
657
|
#
|
626
658
|
# @option params [required, String] :service_code
|
627
|
-
#
|
659
|
+
# Specifies the service identifier. To find the service code value for
|
660
|
+
# an Amazon Web Services service, use the ListServices operation.
|
628
661
|
#
|
629
662
|
# @option params [required, String] :quota_code
|
630
|
-
#
|
663
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
664
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
665
|
+
# `QuotaCode` response in the output for the quota you want.
|
631
666
|
#
|
632
667
|
# @option params [required, String] :aws_region
|
633
|
-
#
|
668
|
+
# Specifies the Amazon Web Services Region for which you made the
|
669
|
+
# request.
|
634
670
|
#
|
635
671
|
# @return [Types::GetServiceQuotaIncreaseRequestFromTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
636
672
|
#
|
@@ -664,19 +700,34 @@ module Aws::ServiceQuotas
|
|
664
700
|
req.send_request(options)
|
665
701
|
end
|
666
702
|
|
667
|
-
# Lists the default values for the quotas for the specified
|
668
|
-
# A default value does not reflect any quota increases.
|
703
|
+
# Lists the default values for the quotas for the specified Amazon Web
|
704
|
+
# Service. A default value does not reflect any quota increases.
|
669
705
|
#
|
670
706
|
# @option params [required, String] :service_code
|
671
|
-
#
|
707
|
+
# Specifies the service identifier. To find the service code value for
|
708
|
+
# an Amazon Web Services service, use the ListServices operation.
|
672
709
|
#
|
673
710
|
# @option params [String] :next_token
|
674
|
-
#
|
711
|
+
# Specifies a value for receiving additional results after you receive a
|
712
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
713
|
+
# indicates that more output is available. Set this parameter to the
|
714
|
+
# value of the previous call's `NextToken` response to indicate where
|
715
|
+
# the output should continue from.
|
675
716
|
#
|
676
717
|
# @option params [Integer] :max_results
|
677
|
-
#
|
678
|
-
#
|
679
|
-
#
|
718
|
+
# Specifies the maximum number of results that you want included on each
|
719
|
+
# page of the response. If you do not include this parameter, it
|
720
|
+
# defaults to a value appropriate to the operation. If additional items
|
721
|
+
# exist beyond those included in the current response, the `NextToken`
|
722
|
+
# response element is present and has a value (is not null). Include
|
723
|
+
# that value as the `NextToken` request parameter in the next call to
|
724
|
+
# the operation to get the next part of the results.
|
725
|
+
#
|
726
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
727
|
+
# there are more results available. You should check `NextToken` after
|
728
|
+
# every operation to ensure that you receive all of the results.
|
729
|
+
#
|
730
|
+
# </note>
|
680
731
|
#
|
681
732
|
# @return [Types::ListAWSDefaultServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
682
733
|
#
|
@@ -715,6 +766,10 @@ module Aws::ServiceQuotas
|
|
715
766
|
# resp.quotas[0].period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
716
767
|
# resp.quotas[0].error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
717
768
|
# resp.quotas[0].error_reason.error_message #=> String
|
769
|
+
# resp.quotas[0].quota_applied_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
770
|
+
# resp.quotas[0].quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
771
|
+
# resp.quotas[0].quota_context.context_scope_type #=> String
|
772
|
+
# resp.quotas[0].quota_context.context_id #=> String
|
718
773
|
#
|
719
774
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas AWS API Documentation
|
720
775
|
#
|
@@ -725,21 +780,42 @@ module Aws::ServiceQuotas
|
|
725
780
|
req.send_request(options)
|
726
781
|
end
|
727
782
|
|
728
|
-
# Retrieves the quota increase requests for the specified
|
783
|
+
# Retrieves the quota increase requests for the specified Amazon Web
|
784
|
+
# Service.
|
729
785
|
#
|
730
786
|
# @option params [String] :service_code
|
731
|
-
#
|
787
|
+
# Specifies the service identifier. To find the service code value for
|
788
|
+
# an Amazon Web Services service, use the ListServices operation.
|
732
789
|
#
|
733
790
|
# @option params [String] :status
|
734
|
-
#
|
791
|
+
# Specifies that you want to filter the results to only the requests
|
792
|
+
# with the matching status.
|
735
793
|
#
|
736
794
|
# @option params [String] :next_token
|
737
|
-
#
|
795
|
+
# Specifies a value for receiving additional results after you receive a
|
796
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
797
|
+
# indicates that more output is available. Set this parameter to the
|
798
|
+
# value of the previous call's `NextToken` response to indicate where
|
799
|
+
# the output should continue from.
|
738
800
|
#
|
739
801
|
# @option params [Integer] :max_results
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
802
|
+
# Specifies the maximum number of results that you want included on each
|
803
|
+
# page of the response. If you do not include this parameter, it
|
804
|
+
# defaults to a value appropriate to the operation. If additional items
|
805
|
+
# exist beyond those included in the current response, the `NextToken`
|
806
|
+
# response element is present and has a value (is not null). Include
|
807
|
+
# that value as the `NextToken` request parameter in the next call to
|
808
|
+
# the operation to get the next part of the results.
|
809
|
+
#
|
810
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
811
|
+
# there are more results available. You should check `NextToken` after
|
812
|
+
# every operation to ensure that you receive all of the results.
|
813
|
+
#
|
814
|
+
# </note>
|
815
|
+
#
|
816
|
+
# @option params [String] :quota_requested_at_level
|
817
|
+
# Specifies at which level within the Amazon Web Services account the
|
818
|
+
# quota request applies to.
|
743
819
|
#
|
744
820
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
745
821
|
#
|
@@ -752,9 +828,10 @@ module Aws::ServiceQuotas
|
|
752
828
|
#
|
753
829
|
# resp = client.list_requested_service_quota_change_history({
|
754
830
|
# service_code: "ServiceCode",
|
755
|
-
# status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED
|
831
|
+
# status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED, NOT_APPROVED, INVALID_REQUEST
|
756
832
|
# next_token: "NextToken",
|
757
833
|
# max_results: 1,
|
834
|
+
# quota_requested_at_level: "ACCOUNT", # accepts ACCOUNT, RESOURCE, ALL
|
758
835
|
# })
|
759
836
|
#
|
760
837
|
# @example Response structure
|
@@ -768,13 +845,17 @@ module Aws::ServiceQuotas
|
|
768
845
|
# resp.requested_quotas[0].quota_code #=> String
|
769
846
|
# resp.requested_quotas[0].quota_name #=> String
|
770
847
|
# resp.requested_quotas[0].desired_value #=> Float
|
771
|
-
# resp.requested_quotas[0].status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
848
|
+
# resp.requested_quotas[0].status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED", "NOT_APPROVED", "INVALID_REQUEST"
|
772
849
|
# resp.requested_quotas[0].created #=> Time
|
773
850
|
# resp.requested_quotas[0].last_updated #=> Time
|
774
851
|
# resp.requested_quotas[0].requester #=> String
|
775
852
|
# resp.requested_quotas[0].quota_arn #=> String
|
776
853
|
# resp.requested_quotas[0].global_quota #=> Boolean
|
777
854
|
# resp.requested_quotas[0].unit #=> String
|
855
|
+
# resp.requested_quotas[0].quota_requested_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
856
|
+
# resp.requested_quotas[0].quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
857
|
+
# resp.requested_quotas[0].quota_context.context_scope_type #=> String
|
858
|
+
# resp.requested_quotas[0].quota_context.context_id #=> String
|
778
859
|
#
|
779
860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory AWS API Documentation
|
780
861
|
#
|
@@ -788,21 +869,43 @@ module Aws::ServiceQuotas
|
|
788
869
|
# Retrieves the quota increase requests for the specified quota.
|
789
870
|
#
|
790
871
|
# @option params [required, String] :service_code
|
791
|
-
#
|
872
|
+
# Specifies the service identifier. To find the service code value for
|
873
|
+
# an Amazon Web Services service, use the ListServices operation.
|
792
874
|
#
|
793
875
|
# @option params [required, String] :quota_code
|
794
|
-
#
|
876
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
877
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
878
|
+
# `QuotaCode` response in the output for the quota you want.
|
795
879
|
#
|
796
880
|
# @option params [String] :status
|
797
|
-
#
|
881
|
+
# Specifies that you want to filter the results to only the requests
|
882
|
+
# with the matching status.
|
798
883
|
#
|
799
884
|
# @option params [String] :next_token
|
800
|
-
#
|
885
|
+
# Specifies a value for receiving additional results after you receive a
|
886
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
887
|
+
# indicates that more output is available. Set this parameter to the
|
888
|
+
# value of the previous call's `NextToken` response to indicate where
|
889
|
+
# the output should continue from.
|
801
890
|
#
|
802
891
|
# @option params [Integer] :max_results
|
803
|
-
#
|
804
|
-
#
|
805
|
-
#
|
892
|
+
# Specifies the maximum number of results that you want included on each
|
893
|
+
# page of the response. If you do not include this parameter, it
|
894
|
+
# defaults to a value appropriate to the operation. If additional items
|
895
|
+
# exist beyond those included in the current response, the `NextToken`
|
896
|
+
# response element is present and has a value (is not null). Include
|
897
|
+
# that value as the `NextToken` request parameter in the next call to
|
898
|
+
# the operation to get the next part of the results.
|
899
|
+
#
|
900
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
901
|
+
# there are more results available. You should check `NextToken` after
|
902
|
+
# every operation to ensure that you receive all of the results.
|
903
|
+
#
|
904
|
+
# </note>
|
905
|
+
#
|
906
|
+
# @option params [String] :quota_requested_at_level
|
907
|
+
# Specifies at which level within the Amazon Web Services account the
|
908
|
+
# quota request applies to.
|
806
909
|
#
|
807
910
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
808
911
|
#
|
@@ -816,9 +919,10 @@ module Aws::ServiceQuotas
|
|
816
919
|
# resp = client.list_requested_service_quota_change_history_by_quota({
|
817
920
|
# service_code: "ServiceCode", # required
|
818
921
|
# quota_code: "QuotaCode", # required
|
819
|
-
# status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED
|
922
|
+
# status: "PENDING", # accepts PENDING, CASE_OPENED, APPROVED, DENIED, CASE_CLOSED, NOT_APPROVED, INVALID_REQUEST
|
820
923
|
# next_token: "NextToken",
|
821
924
|
# max_results: 1,
|
925
|
+
# quota_requested_at_level: "ACCOUNT", # accepts ACCOUNT, RESOURCE, ALL
|
822
926
|
# })
|
823
927
|
#
|
824
928
|
# @example Response structure
|
@@ -832,13 +936,17 @@ module Aws::ServiceQuotas
|
|
832
936
|
# resp.requested_quotas[0].quota_code #=> String
|
833
937
|
# resp.requested_quotas[0].quota_name #=> String
|
834
938
|
# resp.requested_quotas[0].desired_value #=> Float
|
835
|
-
# resp.requested_quotas[0].status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
939
|
+
# resp.requested_quotas[0].status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED", "NOT_APPROVED", "INVALID_REQUEST"
|
836
940
|
# resp.requested_quotas[0].created #=> Time
|
837
941
|
# resp.requested_quotas[0].last_updated #=> Time
|
838
942
|
# resp.requested_quotas[0].requester #=> String
|
839
943
|
# resp.requested_quotas[0].quota_arn #=> String
|
840
944
|
# resp.requested_quotas[0].global_quota #=> Boolean
|
841
945
|
# resp.requested_quotas[0].unit #=> String
|
946
|
+
# resp.requested_quotas[0].quota_requested_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
947
|
+
# resp.requested_quotas[0].quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
948
|
+
# resp.requested_quotas[0].quota_context.context_scope_type #=> String
|
949
|
+
# resp.requested_quotas[0].quota_context.context_id #=> String
|
842
950
|
#
|
843
951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota AWS API Documentation
|
844
952
|
#
|
@@ -853,18 +961,34 @@ module Aws::ServiceQuotas
|
|
853
961
|
# template.
|
854
962
|
#
|
855
963
|
# @option params [String] :service_code
|
856
|
-
#
|
964
|
+
# Specifies the service identifier. To find the service code value for
|
965
|
+
# an Amazon Web Services service, use the ListServices operation.
|
857
966
|
#
|
858
967
|
# @option params [String] :aws_region
|
859
|
-
#
|
968
|
+
# Specifies the Amazon Web Services Region for which you made the
|
969
|
+
# request.
|
860
970
|
#
|
861
971
|
# @option params [String] :next_token
|
862
|
-
#
|
972
|
+
# Specifies a value for receiving additional results after you receive a
|
973
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
974
|
+
# indicates that more output is available. Set this parameter to the
|
975
|
+
# value of the previous call's `NextToken` response to indicate where
|
976
|
+
# the output should continue from.
|
863
977
|
#
|
864
978
|
# @option params [Integer] :max_results
|
865
|
-
#
|
866
|
-
#
|
867
|
-
#
|
979
|
+
# Specifies the maximum number of results that you want included on each
|
980
|
+
# page of the response. If you do not include this parameter, it
|
981
|
+
# defaults to a value appropriate to the operation. If additional items
|
982
|
+
# exist beyond those included in the current response, the `NextToken`
|
983
|
+
# response element is present and has a value (is not null). Include
|
984
|
+
# that value as the `NextToken` request parameter in the next call to
|
985
|
+
# the operation to get the next part of the results.
|
986
|
+
#
|
987
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
988
|
+
# there are more results available. You should check `NextToken` after
|
989
|
+
# every operation to ensure that you receive all of the results.
|
990
|
+
#
|
991
|
+
# </note>
|
868
992
|
#
|
869
993
|
# @return [Types::ListServiceQuotaIncreaseRequestsInTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
870
994
|
#
|
@@ -904,20 +1028,44 @@ module Aws::ServiceQuotas
|
|
904
1028
|
req.send_request(options)
|
905
1029
|
end
|
906
1030
|
|
907
|
-
# Lists the applied quota values for the specified
|
908
|
-
# quotas, only the default values are available. If the applied
|
909
|
-
# value is not available for a quota, the quota is not retrieved.
|
1031
|
+
# Lists the applied quota values for the specified Amazon Web Service.
|
1032
|
+
# For some quotas, only the default values are available. If the applied
|
1033
|
+
# quota value is not available for a quota, the quota is not retrieved.
|
910
1034
|
#
|
911
1035
|
# @option params [required, String] :service_code
|
912
|
-
#
|
1036
|
+
# Specifies the service identifier. To find the service code value for
|
1037
|
+
# an Amazon Web Services service, use the ListServices operation.
|
913
1038
|
#
|
914
1039
|
# @option params [String] :next_token
|
915
|
-
#
|
1040
|
+
# Specifies a value for receiving additional results after you receive a
|
1041
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
1042
|
+
# indicates that more output is available. Set this parameter to the
|
1043
|
+
# value of the previous call's `NextToken` response to indicate where
|
1044
|
+
# the output should continue from.
|
916
1045
|
#
|
917
1046
|
# @option params [Integer] :max_results
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
1047
|
+
# Specifies the maximum number of results that you want included on each
|
1048
|
+
# page of the response. If you do not include this parameter, it
|
1049
|
+
# defaults to a value appropriate to the operation. If additional items
|
1050
|
+
# exist beyond those included in the current response, the `NextToken`
|
1051
|
+
# response element is present and has a value (is not null). Include
|
1052
|
+
# that value as the `NextToken` request parameter in the next call to
|
1053
|
+
# the operation to get the next part of the results.
|
1054
|
+
#
|
1055
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
1056
|
+
# there are more results available. You should check `NextToken` after
|
1057
|
+
# every operation to ensure that you receive all of the results.
|
1058
|
+
#
|
1059
|
+
# </note>
|
1060
|
+
#
|
1061
|
+
# @option params [String] :quota_code
|
1062
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
1063
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
1064
|
+
# `QuotaCode` response in the output for the quota you want.
|
1065
|
+
#
|
1066
|
+
# @option params [String] :quota_applied_at_level
|
1067
|
+
# Specifies at which level of granularity that the quota value is
|
1068
|
+
# applied.
|
921
1069
|
#
|
922
1070
|
# @return [Types::ListServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
923
1071
|
#
|
@@ -932,6 +1080,8 @@ module Aws::ServiceQuotas
|
|
932
1080
|
# service_code: "ServiceCode", # required
|
933
1081
|
# next_token: "NextToken",
|
934
1082
|
# max_results: 1,
|
1083
|
+
# quota_code: "QuotaCode",
|
1084
|
+
# quota_applied_at_level: "ACCOUNT", # accepts ACCOUNT, RESOURCE, ALL
|
935
1085
|
# })
|
936
1086
|
#
|
937
1087
|
# @example Response structure
|
@@ -956,6 +1106,10 @@ module Aws::ServiceQuotas
|
|
956
1106
|
# resp.quotas[0].period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
957
1107
|
# resp.quotas[0].error_reason.error_code #=> String, one of "DEPENDENCY_ACCESS_DENIED_ERROR", "DEPENDENCY_THROTTLING_ERROR", "DEPENDENCY_SERVICE_ERROR", "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
|
958
1108
|
# resp.quotas[0].error_reason.error_message #=> String
|
1109
|
+
# resp.quotas[0].quota_applied_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
1110
|
+
# resp.quotas[0].quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
1111
|
+
# resp.quotas[0].quota_context.context_scope_type #=> String
|
1112
|
+
# resp.quotas[0].quota_context.context_id #=> String
|
959
1113
|
#
|
960
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas AWS API Documentation
|
961
1115
|
#
|
@@ -966,16 +1120,30 @@ module Aws::ServiceQuotas
|
|
966
1120
|
req.send_request(options)
|
967
1121
|
end
|
968
1122
|
|
969
|
-
# Lists the names and codes for the
|
970
|
-
# Quotas.
|
1123
|
+
# Lists the names and codes for the Amazon Web Services integrated with
|
1124
|
+
# Service Quotas.
|
971
1125
|
#
|
972
1126
|
# @option params [String] :next_token
|
973
|
-
#
|
1127
|
+
# Specifies a value for receiving additional results after you receive a
|
1128
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
1129
|
+
# indicates that more output is available. Set this parameter to the
|
1130
|
+
# value of the previous call's `NextToken` response to indicate where
|
1131
|
+
# the output should continue from.
|
974
1132
|
#
|
975
1133
|
# @option params [Integer] :max_results
|
976
|
-
#
|
977
|
-
#
|
978
|
-
#
|
1134
|
+
# Specifies the maximum number of results that you want included on each
|
1135
|
+
# page of the response. If you do not include this parameter, it
|
1136
|
+
# defaults to a value appropriate to the operation. If additional items
|
1137
|
+
# exist beyond those included in the current response, the `NextToken`
|
1138
|
+
# response element is present and has a value (is not null). Include
|
1139
|
+
# that value as the `NextToken` request parameter in the next call to
|
1140
|
+
# the operation to get the next part of the results.
|
1141
|
+
#
|
1142
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
1143
|
+
# there are more results available. You should check `NextToken` after
|
1144
|
+
# every operation to ensure that you receive all of the results.
|
1145
|
+
#
|
1146
|
+
# </note>
|
979
1147
|
#
|
980
1148
|
# @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
981
1149
|
#
|
@@ -1013,8 +1181,8 @@ module Aws::ServiceQuotas
|
|
1013
1181
|
# The Amazon Resource Name (ARN) for the applied quota for which you
|
1014
1182
|
# want to list tags. You can get this information by using the Service
|
1015
1183
|
# Quotas console, or by listing the quotas using the
|
1016
|
-
# [list-service-quotas][1]
|
1017
|
-
#
|
1184
|
+
# [list-service-quotas][1] CLI command or the [ListServiceQuotas][2]
|
1185
|
+
# Amazon Web Services API operation.
|
1018
1186
|
#
|
1019
1187
|
#
|
1020
1188
|
#
|
@@ -1049,16 +1217,20 @@ module Aws::ServiceQuotas
|
|
1049
1217
|
# Adds a quota increase request to your quota request template.
|
1050
1218
|
#
|
1051
1219
|
# @option params [required, String] :quota_code
|
1052
|
-
#
|
1220
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
1221
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
1222
|
+
# `QuotaCode` response in the output for the quota you want.
|
1053
1223
|
#
|
1054
1224
|
# @option params [required, String] :service_code
|
1055
|
-
#
|
1225
|
+
# Specifies the service identifier. To find the service code value for
|
1226
|
+
# an Amazon Web Services service, use the ListServices operation.
|
1056
1227
|
#
|
1057
1228
|
# @option params [required, String] :aws_region
|
1058
|
-
#
|
1229
|
+
# Specifies the Amazon Web Services Region to which the template
|
1230
|
+
# applies.
|
1059
1231
|
#
|
1060
1232
|
# @option params [required, Float] :desired_value
|
1061
|
-
#
|
1233
|
+
# Specifies the new, increased value for the quota.
|
1062
1234
|
#
|
1063
1235
|
# @return [Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1064
1236
|
#
|
@@ -1096,13 +1268,21 @@ module Aws::ServiceQuotas
|
|
1096
1268
|
# Submits a quota increase request for the specified quota.
|
1097
1269
|
#
|
1098
1270
|
# @option params [required, String] :service_code
|
1099
|
-
#
|
1271
|
+
# Specifies the service identifier. To find the service code value for
|
1272
|
+
# an Amazon Web Services service, use the ListServices operation.
|
1100
1273
|
#
|
1101
1274
|
# @option params [required, String] :quota_code
|
1102
|
-
#
|
1275
|
+
# Specifies the quota identifier. To find the quota code for a specific
|
1276
|
+
# quota, use the ListServiceQuotas operation, and look for the
|
1277
|
+
# `QuotaCode` response in the output for the quota you want.
|
1103
1278
|
#
|
1104
1279
|
# @option params [required, Float] :desired_value
|
1105
|
-
#
|
1280
|
+
# Specifies the new, increased value for the quota.
|
1281
|
+
#
|
1282
|
+
# @option params [String] :context_id
|
1283
|
+
# Specifies the Amazon Web Services account or resource to which the
|
1284
|
+
# quota applies. The value in this field depends on the context scope
|
1285
|
+
# associated with the specified service quota.
|
1106
1286
|
#
|
1107
1287
|
# @return [Types::RequestServiceQuotaIncreaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1108
1288
|
#
|
@@ -1114,6 +1294,7 @@ module Aws::ServiceQuotas
|
|
1114
1294
|
# service_code: "ServiceCode", # required
|
1115
1295
|
# quota_code: "QuotaCode", # required
|
1116
1296
|
# desired_value: 1.0, # required
|
1297
|
+
# context_id: "QuotaContextId",
|
1117
1298
|
# })
|
1118
1299
|
#
|
1119
1300
|
# @example Response structure
|
@@ -1125,13 +1306,17 @@ module Aws::ServiceQuotas
|
|
1125
1306
|
# resp.requested_quota.quota_code #=> String
|
1126
1307
|
# resp.requested_quota.quota_name #=> String
|
1127
1308
|
# resp.requested_quota.desired_value #=> Float
|
1128
|
-
# resp.requested_quota.status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED"
|
1309
|
+
# resp.requested_quota.status #=> String, one of "PENDING", "CASE_OPENED", "APPROVED", "DENIED", "CASE_CLOSED", "NOT_APPROVED", "INVALID_REQUEST"
|
1129
1310
|
# resp.requested_quota.created #=> Time
|
1130
1311
|
# resp.requested_quota.last_updated #=> Time
|
1131
1312
|
# resp.requested_quota.requester #=> String
|
1132
1313
|
# resp.requested_quota.quota_arn #=> String
|
1133
1314
|
# resp.requested_quota.global_quota #=> Boolean
|
1134
1315
|
# resp.requested_quota.unit #=> String
|
1316
|
+
# resp.requested_quota.quota_requested_at_level #=> String, one of "ACCOUNT", "RESOURCE", "ALL"
|
1317
|
+
# resp.requested_quota.quota_context.context_scope #=> String, one of "RESOURCE", "ACCOUNT"
|
1318
|
+
# resp.requested_quota.quota_context.context_scope_type #=> String
|
1319
|
+
# resp.requested_quota.quota_context.context_id #=> String
|
1135
1320
|
#
|
1136
1321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease AWS API Documentation
|
1137
1322
|
#
|
@@ -1148,8 +1333,8 @@ module Aws::ServiceQuotas
|
|
1148
1333
|
# @option params [required, String] :resource_arn
|
1149
1334
|
# The Amazon Resource Name (ARN) for the applied quota. You can get this
|
1150
1335
|
# information by using the Service Quotas console, or by listing the
|
1151
|
-
# quotas using the [list-service-quotas][1]
|
1152
|
-
# [ListServiceQuotas][2]
|
1336
|
+
# quotas using the [list-service-quotas][1] CLI command or the
|
1337
|
+
# [ListServiceQuotas][2] Amazon Web Services API operation.
|
1153
1338
|
#
|
1154
1339
|
#
|
1155
1340
|
#
|
@@ -1189,7 +1374,8 @@ module Aws::ServiceQuotas
|
|
1189
1374
|
# The Amazon Resource Name (ARN) for the applied quota that you want to
|
1190
1375
|
# untag. You can get this information by using the Service Quotas
|
1191
1376
|
# console, or by listing the quotas using the [list-service-quotas][1]
|
1192
|
-
#
|
1377
|
+
# CLI command or the [ListServiceQuotas][2] Amazon Web Services API
|
1378
|
+
# operation.
|
1193
1379
|
#
|
1194
1380
|
#
|
1195
1381
|
#
|
@@ -1230,7 +1416,7 @@ module Aws::ServiceQuotas
|
|
1230
1416
|
params: params,
|
1231
1417
|
config: config)
|
1232
1418
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1233
|
-
context[:gem_version] = '1.
|
1419
|
+
context[:gem_version] = '1.31.0'
|
1234
1420
|
Seahorse::Client::Request.new(handlers, context)
|
1235
1421
|
end
|
1236
1422
|
|