aws-sdk-servicequotas 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-servicequotas.rb +1 -1
- data/lib/aws-sdk-servicequotas/client.rb +200 -191
- data/lib/aws-sdk-servicequotas/client_api.rb +90 -0
- data/lib/aws-sdk-servicequotas/errors.rb +32 -0
- data/lib/aws-sdk-servicequotas/types.rb +328 -274
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd6f84051669b4f7f54cf6d26aecdd9046c2afc1a7d6d6eb3f5efaf0fe53ceb1
|
4
|
+
data.tar.gz: 37a54dcb93e1fb0aeddfc7834c000ec5db33729aac635195806d179ba9a3215a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 970dae58c519dc9d937bf0f16e1fce640fe9151bdd9ea8cdde172abd316ec9057737141faa834c366be6126b0b4bb83bd05f29e0e13a01604ed1ed7bd4dcf6be
|
7
|
+
data.tar.gz: de32f2e251ca09a9590a4af9bafe5e429ae1181aa8329680acd630655a673f368db3bc67b4ef868c9a4f2681b55bec58c57e6e29b02771dabdf392f63114c6fe
|
@@ -337,12 +337,11 @@ module Aws::ServiceQuotas
|
|
337
337
|
|
338
338
|
# @!group API Operations
|
339
339
|
|
340
|
-
# Associates
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
# operation to associate, or enable, the template.
|
340
|
+
# Associates your quota request template with your organization. When a
|
341
|
+
# new account is created in your organization, the quota increase
|
342
|
+
# requests in the template are automatically applied to the account. You
|
343
|
+
# can add a quota increase request for any adjustable quota to your
|
344
|
+
# template.
|
346
345
|
#
|
347
346
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
348
347
|
#
|
@@ -355,17 +354,17 @@ module Aws::ServiceQuotas
|
|
355
354
|
req.send_request(options)
|
356
355
|
end
|
357
356
|
|
358
|
-
#
|
359
|
-
# template.
|
357
|
+
# Deletes the quota increase request for the specified quota from your
|
358
|
+
# quota request template.
|
360
359
|
#
|
361
360
|
# @option params [required, String] :service_code
|
362
|
-
#
|
361
|
+
# The service identifier.
|
363
362
|
#
|
364
363
|
# @option params [required, String] :quota_code
|
365
|
-
#
|
364
|
+
# The quota identifier.
|
366
365
|
#
|
367
366
|
# @option params [required, String] :aws_region
|
368
|
-
#
|
367
|
+
# The AWS Region.
|
369
368
|
#
|
370
369
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
371
370
|
#
|
@@ -386,17 +385,10 @@ module Aws::ServiceQuotas
|
|
386
385
|
req.send_request(options)
|
387
386
|
end
|
388
387
|
|
389
|
-
# Disables
|
390
|
-
#
|
391
|
-
# organization. Disabling
|
392
|
-
#
|
393
|
-
#
|
394
|
-
# **Related operations**
|
395
|
-
#
|
396
|
-
# * To enable the quota template, call AssociateServiceQuotaTemplate.
|
397
|
-
#
|
398
|
-
# * To delete a specific service quota from the template, use
|
399
|
-
# DeleteServiceQuotaIncreaseRequestFromTemplate.
|
388
|
+
# Disables your quota request template. After a template is disabled,
|
389
|
+
# the quota increase requests in the template are not applied to new
|
390
|
+
# accounts in your organization. Disabling a quota request template does
|
391
|
+
# not apply its quota increase requests.
|
400
392
|
#
|
401
393
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
402
394
|
#
|
@@ -409,15 +401,14 @@ module Aws::ServiceQuotas
|
|
409
401
|
req.send_request(options)
|
410
402
|
end
|
411
403
|
|
412
|
-
# Retrieves the default
|
413
|
-
#
|
414
|
-
# increased..
|
404
|
+
# Retrieves the default value for the specified quota. The default value
|
405
|
+
# does not reflect any quota increases.
|
415
406
|
#
|
416
407
|
# @option params [required, String] :service_code
|
417
|
-
#
|
408
|
+
# The service identifier.
|
418
409
|
#
|
419
410
|
# @option params [required, String] :quota_code
|
420
|
-
#
|
411
|
+
# The quota identifier.
|
421
412
|
#
|
422
413
|
# @return [Types::GetAWSDefaultServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
423
414
|
#
|
@@ -460,9 +451,8 @@ module Aws::ServiceQuotas
|
|
460
451
|
req.send_request(options)
|
461
452
|
end
|
462
453
|
|
463
|
-
# Retrieves the
|
464
|
-
#
|
465
|
-
# associated, or enabled.
|
454
|
+
# Retrieves the status of the association for the quota request
|
455
|
+
# template.
|
466
456
|
#
|
467
457
|
# @return [Types::GetAssociationForServiceQuotaTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
468
458
|
#
|
@@ -481,10 +471,10 @@ module Aws::ServiceQuotas
|
|
481
471
|
req.send_request(options)
|
482
472
|
end
|
483
473
|
|
484
|
-
# Retrieves
|
474
|
+
# Retrieves information about the specified quota increase request.
|
485
475
|
#
|
486
476
|
# @option params [required, String] :request_id
|
487
|
-
#
|
477
|
+
# The ID of the quota increase request.
|
488
478
|
#
|
489
479
|
# @return [Types::GetRequestedServiceQuotaChangeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
490
480
|
#
|
@@ -522,17 +512,15 @@ module Aws::ServiceQuotas
|
|
522
512
|
req.send_request(options)
|
523
513
|
end
|
524
514
|
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
# `GetAWSDefaultServiceQuota` returns the default AWS value for each
|
529
|
-
# quota.
|
515
|
+
# Retrieves the applied quota value for the specified quota. For some
|
516
|
+
# quotas, only the default values are available. If the applied quota
|
517
|
+
# value is not available for a quota, the quota is not retrieved.
|
530
518
|
#
|
531
519
|
# @option params [required, String] :service_code
|
532
|
-
#
|
520
|
+
# The service identifier.
|
533
521
|
#
|
534
522
|
# @option params [required, String] :quota_code
|
535
|
-
#
|
523
|
+
# The quota identifier.
|
536
524
|
#
|
537
525
|
# @return [Types::GetServiceQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
538
526
|
#
|
@@ -575,17 +563,17 @@ module Aws::ServiceQuotas
|
|
575
563
|
req.send_request(options)
|
576
564
|
end
|
577
565
|
|
578
|
-
#
|
579
|
-
# template.
|
566
|
+
# Retrieves information about the specified quota increase request in
|
567
|
+
# your quota request template.
|
580
568
|
#
|
581
569
|
# @option params [required, String] :service_code
|
582
|
-
#
|
570
|
+
# The service identifier.
|
583
571
|
#
|
584
572
|
# @option params [required, String] :quota_code
|
585
|
-
#
|
573
|
+
# The quota identifier.
|
586
574
|
#
|
587
575
|
# @option params [required, String] :aws_region
|
588
|
-
#
|
576
|
+
# The AWS Region.
|
589
577
|
#
|
590
578
|
# @return [Types::GetServiceQuotaIncreaseRequestFromTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
591
579
|
#
|
@@ -619,46 +607,19 @@ module Aws::ServiceQuotas
|
|
619
607
|
req.send_request(options)
|
620
608
|
end
|
621
609
|
|
622
|
-
# Lists
|
623
|
-
#
|
624
|
-
# ListServiceQuotas except for the Value object. The Value object
|
625
|
-
# returned by `ListAWSDefaultServiceQuotas` is the default value
|
626
|
-
# assigned by AWS. This request returns a list of all service quotas for
|
627
|
-
# the specified service. The listing of each you'll see the default
|
628
|
-
# values are the values that AWS provides for the quotas.
|
629
|
-
#
|
630
|
-
# <note markdown="1"> Always check the `NextToken` response parameter when calling any of
|
631
|
-
# the `List*` operations. These operations can return an unexpected list
|
632
|
-
# of results, even when there are more results available. When this
|
633
|
-
# happens, the `NextToken` response parameter contains a value to pass
|
634
|
-
# the next call to the same API to request the next part of the list.
|
635
|
-
#
|
636
|
-
# </note>
|
610
|
+
# Lists the default values for the quotas for the specified AWS service.
|
611
|
+
# A default value does not reflect any quota increases.
|
637
612
|
#
|
638
613
|
# @option params [required, String] :service_code
|
639
|
-
#
|
614
|
+
# The service identifier.
|
640
615
|
#
|
641
616
|
# @option params [String] :next_token
|
642
|
-
#
|
643
|
-
# `NextToken` response in a previous request that indicates that
|
644
|
-
# there's more output available. In a subsequent call, set it to the
|
645
|
-
# value of the previous call's `NextToken` response to indicate where
|
646
|
-
# the output should continue from. If additional items exist beyond the
|
647
|
-
# specified maximum, the `NextToken` element is present and has a value
|
648
|
-
# (isn't null). Include that value as the `NextToken` request parameter
|
649
|
-
# in the call to the operation to get the next part of the results. You
|
650
|
-
# should check `NextToken` after every operation to ensure that you
|
651
|
-
# receive all of the results.
|
617
|
+
# The token for the next page of results.
|
652
618
|
#
|
653
619
|
# @option params [Integer] :max_results
|
654
|
-
#
|
655
|
-
# the
|
656
|
-
#
|
657
|
-
# items exist beyond the specified maximum, the `NextToken` element is
|
658
|
-
# present and has a value (isn't null). Include that value as the
|
659
|
-
# `NextToken` request parameter in the call to the operation to get the
|
660
|
-
# next part of the results. You should check `NextToken` after every
|
661
|
-
# operation to ensure that you receive all of the results.
|
620
|
+
# The maximum number of results to return with a single call. To
|
621
|
+
# retrieve the remaining results, if any, make another call with the
|
622
|
+
# token returned from this call.
|
662
623
|
#
|
663
624
|
# @return [Types::ListAWSDefaultServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
664
625
|
#
|
@@ -707,30 +668,21 @@ module Aws::ServiceQuotas
|
|
707
668
|
req.send_request(options)
|
708
669
|
end
|
709
670
|
|
710
|
-
#
|
671
|
+
# Retrieves the quota increase requests for the specified service.
|
711
672
|
#
|
712
673
|
# @option params [String] :service_code
|
713
|
-
#
|
674
|
+
# The service identifier.
|
714
675
|
#
|
715
676
|
# @option params [String] :status
|
716
|
-
#
|
677
|
+
# The status of the quota increase request.
|
717
678
|
#
|
718
679
|
# @option params [String] :next_token
|
719
|
-
#
|
720
|
-
# `NextToken` response in a previous request that indicates that
|
721
|
-
# there's more output available. In a subsequent call, set it to the
|
722
|
-
# value of the previous call's `NextToken` response to indicate where
|
723
|
-
# the output should continue from.
|
680
|
+
# The token for the next page of results.
|
724
681
|
#
|
725
682
|
# @option params [Integer] :max_results
|
726
|
-
#
|
727
|
-
# the
|
728
|
-
#
|
729
|
-
# items exist beyond the specified maximum, the `NextToken` element is
|
730
|
-
# present and has a value (isn't null). Include that value as the
|
731
|
-
# `NextToken` request parameter in the call to the operation to get the
|
732
|
-
# next part of the results. You should check `NextToken` after every
|
733
|
-
# operation to ensure that you receive all of the results.
|
683
|
+
# The maximum number of results to return with a single call. To
|
684
|
+
# retrieve the remaining results, if any, make another call with the
|
685
|
+
# token returned from this call.
|
734
686
|
#
|
735
687
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
736
688
|
#
|
@@ -776,37 +728,24 @@ module Aws::ServiceQuotas
|
|
776
728
|
req.send_request(options)
|
777
729
|
end
|
778
730
|
|
779
|
-
#
|
780
|
-
# command provides additional granularity over the
|
781
|
-
# `ListRequestedServiceQuotaChangeHistory` command. Once a quota change
|
782
|
-
# request has reached `CASE_CLOSED, APPROVED,` or `DENIED`, the history
|
783
|
-
# has been kept for 90 days.
|
731
|
+
# Retrieves the quota increase requests for the specified quota.
|
784
732
|
#
|
785
733
|
# @option params [required, String] :service_code
|
786
|
-
#
|
734
|
+
# The service identifier.
|
787
735
|
#
|
788
736
|
# @option params [required, String] :quota_code
|
789
|
-
#
|
737
|
+
# The quota identifier.
|
790
738
|
#
|
791
739
|
# @option params [String] :status
|
792
|
-
#
|
740
|
+
# The status value of the quota increase request.
|
793
741
|
#
|
794
742
|
# @option params [String] :next_token
|
795
|
-
#
|
796
|
-
# `NextToken` response in a previous request that indicates that
|
797
|
-
# there's more output available. In a subsequent call, set it to the
|
798
|
-
# value of the previous call's `NextToken` response to indicate where
|
799
|
-
# the output should continue from.
|
743
|
+
# The token for the next page of results.
|
800
744
|
#
|
801
745
|
# @option params [Integer] :max_results
|
802
|
-
#
|
803
|
-
# the
|
804
|
-
#
|
805
|
-
# items exist beyond the specified maximum, the `NextToken` element is
|
806
|
-
# present and has a value (isn't null). Include that value as the
|
807
|
-
# `NextToken` request parameter in the call to the operation to get the
|
808
|
-
# next part of the results. You should check `NextToken` after every
|
809
|
-
# operation to ensure that you receive all of the results.
|
746
|
+
# The maximum number of results to return with a single call. To
|
747
|
+
# retrieve the remaining results, if any, make another call with the
|
748
|
+
# token returned from this call.
|
810
749
|
#
|
811
750
|
# @return [Types::ListRequestedServiceQuotaChangeHistoryByQuotaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
812
751
|
#
|
@@ -853,31 +792,22 @@ module Aws::ServiceQuotas
|
|
853
792
|
req.send_request(options)
|
854
793
|
end
|
855
794
|
|
856
|
-
#
|
795
|
+
# Lists the quota increase requests in the specified quota request
|
796
|
+
# template.
|
857
797
|
#
|
858
798
|
# @option params [String] :service_code
|
859
|
-
# The identifier
|
860
|
-
# `ServiceCode` to specify a particular service.
|
799
|
+
# The service identifier.
|
861
800
|
#
|
862
801
|
# @option params [String] :aws_region
|
863
|
-
#
|
802
|
+
# The AWS Region.
|
864
803
|
#
|
865
804
|
# @option params [String] :next_token
|
866
|
-
#
|
867
|
-
# `NextToken` response in a previous request that indicates that
|
868
|
-
# there's more output available. In a subsequent call, set it to the
|
869
|
-
# value of the previous call's `NextToken` response to indicate where
|
870
|
-
# the output should continue from.
|
805
|
+
# The token for the next page of results.
|
871
806
|
#
|
872
807
|
# @option params [Integer] :max_results
|
873
|
-
#
|
874
|
-
# the
|
875
|
-
#
|
876
|
-
# items exist beyond the specified maximum, the `NextToken` element is
|
877
|
-
# present and has a value (isn't null). Include that value as the
|
878
|
-
# `NextToken` request parameter in the call to the operation to get the
|
879
|
-
# next part of the results. You should check `NextToken` after every
|
880
|
-
# operation to ensure that you receive all of the results.
|
808
|
+
# The maximum number of results to return with a single call. To
|
809
|
+
# retrieve the remaining results, if any, make another call with the
|
810
|
+
# token returned from this call.
|
881
811
|
#
|
882
812
|
# @return [Types::ListServiceQuotaIncreaseRequestsInTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
883
813
|
#
|
@@ -917,39 +847,20 @@ module Aws::ServiceQuotas
|
|
917
847
|
req.send_request(options)
|
918
848
|
end
|
919
849
|
|
920
|
-
# Lists
|
921
|
-
#
|
922
|
-
#
|
923
|
-
# the quotas.
|
924
|
-
#
|
925
|
-
# <note markdown="1"> Always check the `NextToken` response parameter when calling any of
|
926
|
-
# the `List*` operations. These operations can return an unexpected list
|
927
|
-
# of results, even when there are more results available. When this
|
928
|
-
# happens, the `NextToken` response parameter contains a value to pass
|
929
|
-
# the next call to the same API to request the next part of the list.
|
930
|
-
#
|
931
|
-
# </note>
|
850
|
+
# Lists the applied quota values for the specified AWS service. For some
|
851
|
+
# quotas, only the default values are available. If the applied quota
|
852
|
+
# value is not available for a quota, the quota is not retrieved.
|
932
853
|
#
|
933
854
|
# @option params [required, String] :service_code
|
934
|
-
# The identifier
|
935
|
-
# `ServiceCode` to specify a particular service.
|
855
|
+
# The service identifier.
|
936
856
|
#
|
937
857
|
# @option params [String] :next_token
|
938
|
-
#
|
939
|
-
# `NextToken` response in a previous request that indicates that
|
940
|
-
# there's more output available. In a subsequent call, set it to the
|
941
|
-
# value of the previous call's `NextToken` response to indicate where
|
942
|
-
# the output should continue from.
|
858
|
+
# The token for the next page of results.
|
943
859
|
#
|
944
860
|
# @option params [Integer] :max_results
|
945
|
-
#
|
946
|
-
# the
|
947
|
-
#
|
948
|
-
# items exist beyond the specified maximum, the `NextToken` element is
|
949
|
-
# present and has a value (isn't null). Include that value as the
|
950
|
-
# `NextToken` request parameter in the call to the operation to get the
|
951
|
-
# next part of the results. You should check `NextToken` after every
|
952
|
-
# operation to ensure that you receive all of the results.
|
861
|
+
# The maximum number of results to return with a single call. To
|
862
|
+
# retrieve the remaining results, if any, make another call with the
|
863
|
+
# token returned from this call.
|
953
864
|
#
|
954
865
|
# @return [Types::ListServiceQuotasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
955
866
|
#
|
@@ -998,26 +909,16 @@ module Aws::ServiceQuotas
|
|
998
909
|
req.send_request(options)
|
999
910
|
end
|
1000
911
|
|
1001
|
-
# Lists the
|
1002
|
-
#
|
1003
|
-
# the service quotas for a specific service, use ListServiceQuotas.
|
912
|
+
# Lists the names and codes for the services integrated with Service
|
913
|
+
# Quotas.
|
1004
914
|
#
|
1005
915
|
# @option params [String] :next_token
|
1006
|
-
#
|
1007
|
-
# `NextToken` response in a previous request that indicates that
|
1008
|
-
# there's more output available. In a subsequent call, set it to the
|
1009
|
-
# value of the previous call's `NextToken` response to indicate where
|
1010
|
-
# the output should continue from.
|
916
|
+
# The token for the next page of results.
|
1011
917
|
#
|
1012
918
|
# @option params [Integer] :max_results
|
1013
|
-
#
|
1014
|
-
# the
|
1015
|
-
#
|
1016
|
-
# items exist beyond the specified maximum, the `NextToken` element is
|
1017
|
-
# present and has a value (isn't null). Include that value as the
|
1018
|
-
# `NextToken` request parameter in the call to the operation to get the
|
1019
|
-
# next part of the results. You should check `NextToken` after every
|
1020
|
-
# operation to ensure that you receive all of the results.
|
919
|
+
# The maximum number of results to return with a single call. To
|
920
|
+
# retrieve the remaining results, if any, make another call with the
|
921
|
+
# token returned from this call.
|
1021
922
|
#
|
1022
923
|
# @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1023
924
|
#
|
@@ -1049,23 +950,58 @@ module Aws::ServiceQuotas
|
|
1049
950
|
req.send_request(options)
|
1050
951
|
end
|
1051
952
|
|
1052
|
-
#
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
#
|
953
|
+
# Returns a list of the tags assigned to the specified applied quota.
|
954
|
+
#
|
955
|
+
# @option params [required, String] :resource_arn
|
956
|
+
# The Amazon Resource Name (ARN) for the applied quota for which you
|
957
|
+
# want to list tags. You can get this information by using the Service
|
958
|
+
# Quotas console, or by listing the quotas using the
|
959
|
+
# [list-service-quotas][1] AWS CLI command or the [ListServiceQuotas][2]
|
960
|
+
# AWS API operation.
|
961
|
+
#
|
962
|
+
#
|
963
|
+
#
|
964
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html
|
965
|
+
# [2]: https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html
|
966
|
+
#
|
967
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
968
|
+
#
|
969
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
970
|
+
#
|
971
|
+
# @example Request syntax with placeholder values
|
972
|
+
#
|
973
|
+
# resp = client.list_tags_for_resource({
|
974
|
+
# resource_arn: "AmazonResourceName", # required
|
975
|
+
# })
|
976
|
+
#
|
977
|
+
# @example Response structure
|
978
|
+
#
|
979
|
+
# resp.tags #=> Array
|
980
|
+
# resp.tags[0].key #=> String
|
981
|
+
# resp.tags[0].value #=> String
|
982
|
+
#
|
983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResource AWS API Documentation
|
984
|
+
#
|
985
|
+
# @overload list_tags_for_resource(params = {})
|
986
|
+
# @param [Hash] params ({})
|
987
|
+
def list_tags_for_resource(params = {}, options = {})
|
988
|
+
req = build_request(:list_tags_for_resource, params)
|
989
|
+
req.send_request(options)
|
990
|
+
end
|
991
|
+
|
992
|
+
# Adds a quota increase request to your quota request template.
|
1057
993
|
#
|
1058
994
|
# @option params [required, String] :quota_code
|
1059
|
-
#
|
995
|
+
# The quota identifier.
|
1060
996
|
#
|
1061
997
|
# @option params [required, String] :service_code
|
1062
|
-
#
|
998
|
+
# The service identifier.
|
1063
999
|
#
|
1064
1000
|
# @option params [required, String] :aws_region
|
1065
|
-
#
|
1001
|
+
# The AWS Region.
|
1066
1002
|
#
|
1067
1003
|
# @option params [required, Float] :desired_value
|
1068
|
-
#
|
1004
|
+
# The new, increased value for the quota.
|
1069
1005
|
#
|
1070
1006
|
# @return [Types::PutServiceQuotaIncreaseRequestIntoTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1071
1007
|
#
|
@@ -1100,18 +1036,16 @@ module Aws::ServiceQuotas
|
|
1100
1036
|
req.send_request(options)
|
1101
1037
|
end
|
1102
1038
|
|
1103
|
-
#
|
1104
|
-
# response to this command provides the details in the
|
1105
|
-
# RequestedServiceQuotaChange object.
|
1039
|
+
# Submits a quota increase request for the specified quota.
|
1106
1040
|
#
|
1107
1041
|
# @option params [required, String] :service_code
|
1108
|
-
#
|
1042
|
+
# The service identifier.
|
1109
1043
|
#
|
1110
1044
|
# @option params [required, String] :quota_code
|
1111
|
-
#
|
1045
|
+
# The quota identifier.
|
1112
1046
|
#
|
1113
1047
|
# @option params [required, Float] :desired_value
|
1114
|
-
#
|
1048
|
+
# The new, increased value for the quota.
|
1115
1049
|
#
|
1116
1050
|
# @return [Types::RequestServiceQuotaIncreaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1117
1051
|
#
|
@@ -1151,6 +1085,81 @@ module Aws::ServiceQuotas
|
|
1151
1085
|
req.send_request(options)
|
1152
1086
|
end
|
1153
1087
|
|
1088
|
+
# Adds tags to the specified applied quota. You can include one or more
|
1089
|
+
# tags to add to the quota.
|
1090
|
+
#
|
1091
|
+
# @option params [required, String] :resource_arn
|
1092
|
+
# The Amazon Resource Name (ARN) for the applied quota. You can get this
|
1093
|
+
# information by using the Service Quotas console, or by listing the
|
1094
|
+
# quotas using the [list-service-quotas][1] AWS CLI command or the
|
1095
|
+
# [ListServiceQuotas][2] AWS API operation.
|
1096
|
+
#
|
1097
|
+
#
|
1098
|
+
#
|
1099
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html
|
1100
|
+
# [2]: https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html
|
1101
|
+
#
|
1102
|
+
# @option params [required, Array<Types::Tag>] :tags
|
1103
|
+
# The tags that you want to add to the resource.
|
1104
|
+
#
|
1105
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1106
|
+
#
|
1107
|
+
# @example Request syntax with placeholder values
|
1108
|
+
#
|
1109
|
+
# resp = client.tag_resource({
|
1110
|
+
# resource_arn: "AmazonResourceName", # required
|
1111
|
+
# tags: [ # required
|
1112
|
+
# {
|
1113
|
+
# key: "TagKey", # required
|
1114
|
+
# value: "TagValue", # required
|
1115
|
+
# },
|
1116
|
+
# ],
|
1117
|
+
# })
|
1118
|
+
#
|
1119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResource AWS API Documentation
|
1120
|
+
#
|
1121
|
+
# @overload tag_resource(params = {})
|
1122
|
+
# @param [Hash] params ({})
|
1123
|
+
def tag_resource(params = {}, options = {})
|
1124
|
+
req = build_request(:tag_resource, params)
|
1125
|
+
req.send_request(options)
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Removes tags from the specified applied quota. You can specify one or
|
1129
|
+
# more tags to remove.
|
1130
|
+
#
|
1131
|
+
# @option params [required, String] :resource_arn
|
1132
|
+
# The Amazon Resource Name (ARN) for the applied quota that you want to
|
1133
|
+
# untag. You can get this information by using the Service Quotas
|
1134
|
+
# console, or by listing the quotas using the [list-service-quotas][1]
|
1135
|
+
# AWS CLI command or the [ListServiceQuotas][2] AWS API operation.
|
1136
|
+
#
|
1137
|
+
#
|
1138
|
+
#
|
1139
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html
|
1140
|
+
# [2]: https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html
|
1141
|
+
#
|
1142
|
+
# @option params [required, Array<String>] :tag_keys
|
1143
|
+
# The keys of the tags that you want to remove from the resource.
|
1144
|
+
#
|
1145
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1146
|
+
#
|
1147
|
+
# @example Request syntax with placeholder values
|
1148
|
+
#
|
1149
|
+
# resp = client.untag_resource({
|
1150
|
+
# resource_arn: "AmazonResourceName", # required
|
1151
|
+
# tag_keys: ["TagKey"], # required
|
1152
|
+
# })
|
1153
|
+
#
|
1154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResource AWS API Documentation
|
1155
|
+
#
|
1156
|
+
# @overload untag_resource(params = {})
|
1157
|
+
# @param [Hash] params ({})
|
1158
|
+
def untag_resource(params = {}, options = {})
|
1159
|
+
req = build_request(:untag_resource, params)
|
1160
|
+
req.send_request(options)
|
1161
|
+
end
|
1162
|
+
|
1154
1163
|
# @!endgroup
|
1155
1164
|
|
1156
1165
|
# @param params ({})
|
@@ -1164,7 +1173,7 @@ module Aws::ServiceQuotas
|
|
1164
1173
|
params: params,
|
1165
1174
|
config: config)
|
1166
1175
|
context[:gem_name] = 'aws-sdk-servicequotas'
|
1167
|
-
context[:gem_version] = '1.
|
1176
|
+
context[:gem_version] = '1.12.0'
|
1168
1177
|
Seahorse::Client::Request.new(handlers, context)
|
1169
1178
|
end
|
1170
1179
|
|