aws-sdk-servicequotas 1.30.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicequotas/client.rb +259 -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
@@ -399,10 +399,10 @@ module Aws::ServiceQuotas
|
|
399
399
|
# @!group API Operations
|
400
400
|
|
401
401
|
# Associates your quota request template with your organization. When a
|
402
|
-
# new account is created in your organization, the
|
403
|
-
# requests in the template are automatically applied to
|
404
|
-
# can add a quota increase request for any adjustable
|
405
|
-
# 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.
|
406
406
|
#
|
407
407
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
408
408
|
#
|
@@ -419,13 +419,17 @@ module Aws::ServiceQuotas
|
|
419
419
|
# quota request template.
|
420
420
|
#
|
421
421
|
# @option params [required, String] :service_code
|
422
|
-
#
|
422
|
+
# Specifies the service identifier. To find the service code value for
|
423
|
+
# an Amazon Web Services service, use the ListServices operation.
|
423
424
|
#
|
424
425
|
# @option params [required, String] :quota_code
|
425
|
-
#
|
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.
|
426
429
|
#
|
427
430
|
# @option params [required, String] :aws_region
|
428
|
-
#
|
431
|
+
# Specifies the Amazon Web Services Region for which the request was
|
432
|
+
# made.
|
429
433
|
#
|
430
434
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
431
435
|
#
|
@@ -448,8 +452,8 @@ module Aws::ServiceQuotas
|
|
448
452
|
|
449
453
|
# Disables your quota request template. After a template is disabled,
|
450
454
|
# the quota increase requests in the template are not applied to new
|
451
|
-
# accounts in your organization. Disabling a quota
|
452
|
-
# 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.
|
453
457
|
#
|
454
458
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
455
459
|
#
|
@@ -466,10 +470,13 @@ module Aws::ServiceQuotas
|
|
466
470
|
# does not reflect any quota increases.
|
467
471
|
#
|
468
472
|
# @option params [required, String] :service_code
|
469
|
-
#
|
473
|
+
# Specifies the service identifier. To find the service code value for
|
474
|
+
# an Amazon Web Services service, use the ListServices operation.
|
470
475
|
#
|
471
476
|
# @option params [required, String] :quota_code
|
472
|
-
#
|
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.
|
473
480
|
#
|
474
481
|
# @return [Types::GetAWSDefaultServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
475
482
|
#
|
@@ -502,6 +509,10 @@ module Aws::ServiceQuotas
|
|
502
509
|
# resp.quota.period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
503
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"
|
504
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
|
505
516
|
#
|
506
517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota AWS API Documentation
|
507
518
|
#
|
@@ -535,7 +546,7 @@ module Aws::ServiceQuotas
|
|
535
546
|
# Retrieves information about the specified quota increase request.
|
536
547
|
#
|
537
548
|
# @option params [required, String] :request_id
|
538
|
-
#
|
549
|
+
# Specifies the ID of the quota increase request.
|
539
550
|
#
|
540
551
|
# @return [Types::GetRequestedServiceQuotaChangeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
541
552
|
#
|
@@ -556,13 +567,17 @@ module Aws::ServiceQuotas
|
|
556
567
|
# resp.requested_quota.quota_code #=> String
|
557
568
|
# resp.requested_quota.quota_name #=> String
|
558
569
|
# resp.requested_quota.desired_value #=> Float
|
559
|
-
# 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"
|
560
571
|
# resp.requested_quota.created #=> Time
|
561
572
|
# resp.requested_quota.last_updated #=> Time
|
562
573
|
# resp.requested_quota.requester #=> String
|
563
574
|
# resp.requested_quota.quota_arn #=> String
|
564
575
|
# resp.requested_quota.global_quota #=> Boolean
|
565
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
|
566
581
|
#
|
567
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange AWS API Documentation
|
568
583
|
#
|
@@ -578,10 +593,18 @@ module Aws::ServiceQuotas
|
|
578
593
|
# value is not available for a quota, the quota is not retrieved.
|
579
594
|
#
|
580
595
|
# @option params [required, String] :service_code
|
581
|
-
#
|
596
|
+
# Specifies the service identifier. To find the service code value for
|
597
|
+
# an Amazon Web Services service, use the ListServices operation.
|
582
598
|
#
|
583
599
|
# @option params [required, String] :quota_code
|
584
|
-
#
|
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.
|
585
608
|
#
|
586
609
|
# @return [Types::GetServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
587
610
|
#
|
@@ -592,6 +615,7 @@ module Aws::ServiceQuotas
|
|
592
615
|
# resp = client.get_service_quota({
|
593
616
|
# service_code: "ServiceCode", # required
|
594
617
|
# quota_code: "QuotaCode", # required
|
618
|
+
# context_id: "QuotaContextId",
|
595
619
|
# })
|
596
620
|
#
|
597
621
|
# @example Response structure
|
@@ -614,6 +638,10 @@ module Aws::ServiceQuotas
|
|
614
638
|
# resp.quota.period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
615
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"
|
616
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
|
617
645
|
#
|
618
646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota AWS API Documentation
|
619
647
|
#
|
@@ -628,13 +656,17 @@ module Aws::ServiceQuotas
|
|
628
656
|
# your quota request template.
|
629
657
|
#
|
630
658
|
# @option params [required, String] :service_code
|
631
|
-
#
|
659
|
+
# Specifies the service identifier. To find the service code value for
|
660
|
+
# an Amazon Web Services service, use the ListServices operation.
|
632
661
|
#
|
633
662
|
# @option params [required, String] :quota_code
|
634
|
-
#
|
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.
|
635
666
|
#
|
636
667
|
# @option params [required, String] :aws_region
|
637
|
-
#
|
668
|
+
# Specifies the Amazon Web Services Region for which you made the
|
669
|
+
# request.
|
638
670
|
#
|
639
671
|
# @return [Types::GetServiceQuotaIncreaseRequestFromTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
640
672
|
#
|
@@ -668,19 +700,34 @@ module Aws::ServiceQuotas
|
|
668
700
|
req.send_request(options)
|
669
701
|
end
|
670
702
|
|
671
|
-
# Lists the default values for the quotas for the specified
|
672
|
-
# 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.
|
673
705
|
#
|
674
706
|
# @option params [required, String] :service_code
|
675
|
-
#
|
707
|
+
# Specifies the service identifier. To find the service code value for
|
708
|
+
# an Amazon Web Services service, use the ListServices operation.
|
676
709
|
#
|
677
710
|
# @option params [String] :next_token
|
678
|
-
#
|
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.
|
679
716
|
#
|
680
717
|
# @option params [Integer] :max_results
|
681
|
-
#
|
682
|
-
#
|
683
|
-
#
|
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>
|
684
731
|
#
|
685
732
|
# @return [Types::ListAWSDefaultServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
686
733
|
#
|
@@ -719,6 +766,10 @@ module Aws::ServiceQuotas
|
|
719
766
|
# resp.quotas[0].period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
720
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"
|
721
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
|
722
773
|
#
|
723
774
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas AWS API Documentation
|
724
775
|
#
|
@@ -729,21 +780,42 @@ module Aws::ServiceQuotas
|
|
729
780
|
req.send_request(options)
|
730
781
|
end
|
731
782
|
|
732
|
-
# Retrieves the quota increase requests for the specified
|
783
|
+
# Retrieves the quota increase requests for the specified Amazon Web
|
784
|
+
# Service.
|
733
785
|
#
|
734
786
|
# @option params [String] :service_code
|
735
|
-
#
|
787
|
+
# Specifies the service identifier. To find the service code value for
|
788
|
+
# an Amazon Web Services service, use the ListServices operation.
|
736
789
|
#
|
737
790
|
# @option params [String] :status
|
738
|
-
#
|
791
|
+
# Specifies that you want to filter the results to only the requests
|
792
|
+
# with the matching status.
|
739
793
|
#
|
740
794
|
# @option params [String] :next_token
|
741
|
-
#
|
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.
|
742
800
|
#
|
743
801
|
# @option params [Integer] :max_results
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
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.
|
747
819
|
#
|
748
820
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
749
821
|
#
|
@@ -756,9 +828,10 @@ module Aws::ServiceQuotas
|
|
756
828
|
#
|
757
829
|
# resp = client.list_requested_service_quota_change_history({
|
758
830
|
# service_code: "ServiceCode",
|
759
|
-
# 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
|
760
832
|
# next_token: "NextToken",
|
761
833
|
# max_results: 1,
|
834
|
+
# quota_requested_at_level: "ACCOUNT", # accepts ACCOUNT, RESOURCE, ALL
|
762
835
|
# })
|
763
836
|
#
|
764
837
|
# @example Response structure
|
@@ -772,13 +845,17 @@ module Aws::ServiceQuotas
|
|
772
845
|
# resp.requested_quotas[0].quota_code #=> String
|
773
846
|
# resp.requested_quotas[0].quota_name #=> String
|
774
847
|
# resp.requested_quotas[0].desired_value #=> Float
|
775
|
-
# 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"
|
776
849
|
# resp.requested_quotas[0].created #=> Time
|
777
850
|
# resp.requested_quotas[0].last_updated #=> Time
|
778
851
|
# resp.requested_quotas[0].requester #=> String
|
779
852
|
# resp.requested_quotas[0].quota_arn #=> String
|
780
853
|
# resp.requested_quotas[0].global_quota #=> Boolean
|
781
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
|
782
859
|
#
|
783
860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory AWS API Documentation
|
784
861
|
#
|
@@ -792,21 +869,43 @@ module Aws::ServiceQuotas
|
|
792
869
|
# Retrieves the quota increase requests for the specified quota.
|
793
870
|
#
|
794
871
|
# @option params [required, String] :service_code
|
795
|
-
#
|
872
|
+
# Specifies the service identifier. To find the service code value for
|
873
|
+
# an Amazon Web Services service, use the ListServices operation.
|
796
874
|
#
|
797
875
|
# @option params [required, String] :quota_code
|
798
|
-
#
|
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.
|
799
879
|
#
|
800
880
|
# @option params [String] :status
|
801
|
-
#
|
881
|
+
# Specifies that you want to filter the results to only the requests
|
882
|
+
# with the matching status.
|
802
883
|
#
|
803
884
|
# @option params [String] :next_token
|
804
|
-
#
|
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.
|
805
890
|
#
|
806
891
|
# @option params [Integer] :max_results
|
807
|
-
#
|
808
|
-
#
|
809
|
-
#
|
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.
|
810
909
|
#
|
811
910
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
812
911
|
#
|
@@ -820,9 +919,10 @@ module Aws::ServiceQuotas
|
|
820
919
|
# resp = client.list_requested_service_quota_change_history_by_quota({
|
821
920
|
# service_code: "ServiceCode", # required
|
822
921
|
# quota_code: "QuotaCode", # required
|
823
|
-
# 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
|
824
923
|
# next_token: "NextToken",
|
825
924
|
# max_results: 1,
|
925
|
+
# quota_requested_at_level: "ACCOUNT", # accepts ACCOUNT, RESOURCE, ALL
|
826
926
|
# })
|
827
927
|
#
|
828
928
|
# @example Response structure
|
@@ -836,13 +936,17 @@ module Aws::ServiceQuotas
|
|
836
936
|
# resp.requested_quotas[0].quota_code #=> String
|
837
937
|
# resp.requested_quotas[0].quota_name #=> String
|
838
938
|
# resp.requested_quotas[0].desired_value #=> Float
|
839
|
-
# 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"
|
840
940
|
# resp.requested_quotas[0].created #=> Time
|
841
941
|
# resp.requested_quotas[0].last_updated #=> Time
|
842
942
|
# resp.requested_quotas[0].requester #=> String
|
843
943
|
# resp.requested_quotas[0].quota_arn #=> String
|
844
944
|
# resp.requested_quotas[0].global_quota #=> Boolean
|
845
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
|
846
950
|
#
|
847
951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota AWS API Documentation
|
848
952
|
#
|
@@ -857,18 +961,34 @@ module Aws::ServiceQuotas
|
|
857
961
|
# template.
|
858
962
|
#
|
859
963
|
# @option params [String] :service_code
|
860
|
-
#
|
964
|
+
# Specifies the service identifier. To find the service code value for
|
965
|
+
# an Amazon Web Services service, use the ListServices operation.
|
861
966
|
#
|
862
967
|
# @option params [String] :aws_region
|
863
|
-
#
|
968
|
+
# Specifies the Amazon Web Services Region for which you made the
|
969
|
+
# request.
|
864
970
|
#
|
865
971
|
# @option params [String] :next_token
|
866
|
-
#
|
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.
|
867
977
|
#
|
868
978
|
# @option params [Integer] :max_results
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
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>
|
872
992
|
#
|
873
993
|
# @return [Types::ListServiceQuotaIncreaseRequestsInTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
874
994
|
#
|
@@ -908,20 +1028,44 @@ module Aws::ServiceQuotas
|
|
908
1028
|
req.send_request(options)
|
909
1029
|
end
|
910
1030
|
|
911
|
-
# Lists the applied quota values for the specified
|
912
|
-
# quotas, only the default values are available. If the applied
|
913
|
-
# 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.
|
914
1034
|
#
|
915
1035
|
# @option params [required, String] :service_code
|
916
|
-
#
|
1036
|
+
# Specifies the service identifier. To find the service code value for
|
1037
|
+
# an Amazon Web Services service, use the ListServices operation.
|
917
1038
|
#
|
918
1039
|
# @option params [String] :next_token
|
919
|
-
#
|
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.
|
920
1045
|
#
|
921
1046
|
# @option params [Integer] :max_results
|
922
|
-
#
|
923
|
-
#
|
924
|
-
#
|
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.
|
925
1069
|
#
|
926
1070
|
# @return [Types::ListServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
927
1071
|
#
|
@@ -936,6 +1080,8 @@ module Aws::ServiceQuotas
|
|
936
1080
|
# service_code: "ServiceCode", # required
|
937
1081
|
# next_token: "NextToken",
|
938
1082
|
# max_results: 1,
|
1083
|
+
# quota_code: "QuotaCode",
|
1084
|
+
# quota_applied_at_level: "ACCOUNT", # accepts ACCOUNT, RESOURCE, ALL
|
939
1085
|
# })
|
940
1086
|
#
|
941
1087
|
# @example Response structure
|
@@ -960,6 +1106,10 @@ module Aws::ServiceQuotas
|
|
960
1106
|
# resp.quotas[0].period.period_unit #=> String, one of "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK"
|
961
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"
|
962
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
|
963
1113
|
#
|
964
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas AWS API Documentation
|
965
1115
|
#
|
@@ -970,16 +1120,30 @@ module Aws::ServiceQuotas
|
|
970
1120
|
req.send_request(options)
|
971
1121
|
end
|
972
1122
|
|
973
|
-
# Lists the names and codes for the
|
974
|
-
# Quotas.
|
1123
|
+
# Lists the names and codes for the Amazon Web Services integrated with
|
1124
|
+
# Service Quotas.
|
975
1125
|
#
|
976
1126
|
# @option params [String] :next_token
|
977
|
-
#
|
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.
|
978
1132
|
#
|
979
1133
|
# @option params [Integer] :max_results
|
980
|
-
#
|
981
|
-
#
|
982
|
-
#
|
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>
|
983
1147
|
#
|
984
1148
|
# @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
985
1149
|
#
|
@@ -1017,8 +1181,8 @@ module Aws::ServiceQuotas
|
|
1017
1181
|
# The Amazon Resource Name (ARN) for the applied quota for which you
|
1018
1182
|
# want to list tags. You can get this information by using the Service
|
1019
1183
|
# Quotas console, or by listing the quotas using the
|
1020
|
-
# [list-service-quotas][1]
|
1021
|
-
#
|
1184
|
+
# [list-service-quotas][1] CLI command or the [ListServiceQuotas][2]
|
1185
|
+
# Amazon Web Services API operation.
|
1022
1186
|
#
|
1023
1187
|
#
|
1024
1188
|
#
|
@@ -1053,16 +1217,20 @@ module Aws::ServiceQuotas
|
|
1053
1217
|
# Adds a quota increase request to your quota request template.
|
1054
1218
|
#
|
1055
1219
|
# @option params [required, String] :quota_code
|
1056
|
-
#
|
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.
|
1057
1223
|
#
|
1058
1224
|
# @option params [required, String] :service_code
|
1059
|
-
#
|
1225
|
+
# Specifies the service identifier. To find the service code value for
|
1226
|
+
# an Amazon Web Services service, use the ListServices operation.
|
1060
1227
|
#
|
1061
1228
|
# @option params [required, String] :aws_region
|
1062
|
-
#
|
1229
|
+
# Specifies the Amazon Web Services Region to which the template
|
1230
|
+
# applies.
|
1063
1231
|
#
|
1064
1232
|
# @option params [required, Float] :desired_value
|
1065
|
-
#
|
1233
|
+
# Specifies the new, increased value for the quota.
|
1066
1234
|
#
|
1067
1235
|
# @return [Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1068
1236
|
#
|
@@ -1100,13 +1268,21 @@ module Aws::ServiceQuotas
|
|
1100
1268
|
# Submits a quota increase request for the specified quota.
|
1101
1269
|
#
|
1102
1270
|
# @option params [required, String] :service_code
|
1103
|
-
#
|
1271
|
+
# Specifies the service identifier. To find the service code value for
|
1272
|
+
# an Amazon Web Services service, use the ListServices operation.
|
1104
1273
|
#
|
1105
1274
|
# @option params [required, String] :quota_code
|
1106
|
-
#
|
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.
|
1107
1278
|
#
|
1108
1279
|
# @option params [required, Float] :desired_value
|
1109
|
-
#
|
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.
|
1110
1286
|
#
|
1111
1287
|
# @return [Types::RequestServiceQuotaIncreaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1112
1288
|
#
|
@@ -1118,6 +1294,7 @@ module Aws::ServiceQuotas
|
|
1118
1294
|
# service_code: "ServiceCode", # required
|
1119
1295
|
# quota_code: "QuotaCode", # required
|
1120
1296
|
# desired_value: 1.0, # required
|
1297
|
+
# context_id: "QuotaContextId",
|
1121
1298
|
# })
|
1122
1299
|
#
|
1123
1300
|
# @example Response structure
|
@@ -1129,13 +1306,17 @@ module Aws::ServiceQuotas
|
|
1129
1306
|
# resp.requested_quota.quota_code #=> String
|
1130
1307
|
# resp.requested_quota.quota_name #=> String
|
1131
1308
|
# resp.requested_quota.desired_value #=> Float
|
1132
|
-
# 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"
|
1133
1310
|
# resp.requested_quota.created #=> Time
|
1134
1311
|
# resp.requested_quota.last_updated #=> Time
|
1135
1312
|
# resp.requested_quota.requester #=> String
|
1136
1313
|
# resp.requested_quota.quota_arn #=> String
|
1137
1314
|
# resp.requested_quota.global_quota #=> Boolean
|
1138
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
|
1139
1320
|
#
|
1140
1321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease AWS API Documentation
|
1141
1322
|
#
|
@@ -1152,8 +1333,8 @@ module Aws::ServiceQuotas
|
|
1152
1333
|
# @option params [required, String] :resource_arn
|
1153
1334
|
# The Amazon Resource Name (ARN) for the applied quota. You can get this
|
1154
1335
|
# information by using the Service Quotas console, or by listing the
|
1155
|
-
# quotas using the [list-service-quotas][1]
|
1156
|
-
# [ListServiceQuotas][2]
|
1336
|
+
# quotas using the [list-service-quotas][1] CLI command or the
|
1337
|
+
# [ListServiceQuotas][2] Amazon Web Services API operation.
|
1157
1338
|
#
|
1158
1339
|
#
|
1159
1340
|
#
|
@@ -1193,7 +1374,8 @@ module Aws::ServiceQuotas
|
|
1193
1374
|
# The Amazon Resource Name (ARN) for the applied quota that you want to
|
1194
1375
|
# untag. You can get this information by using the Service Quotas
|
1195
1376
|
# console, or by listing the quotas using the [list-service-quotas][1]
|
1196
|
-
#
|
1377
|
+
# CLI command or the [ListServiceQuotas][2] Amazon Web Services API
|
1378
|
+
# operation.
|
1197
1379
|
#
|
1198
1380
|
#
|
1199
1381
|
#
|
@@ -1234,7 +1416,7 @@ module Aws::ServiceQuotas
|
|
1234
1416
|
params: params,
|
1235
1417
|
config: config)
|
1236
1418
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1237
|
-
context[:gem_version] = '1.
|
1419
|
+
context[:gem_version] = '1.31.0'
|
1238
1420
|
Seahorse::Client::Request.new(handlers, context)
|
1239
1421
|
end
|
1240
1422
|
|