aws-sdk-applicationautoscaling 1.33.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 258105faefb5953b6c3e2629247753ee68e8dd16
|
4
|
+
data.tar.gz: a148d4602d1effe53ccbb30aefe42fc58deb6183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13e42465c4359b3e6e6eb43fd771301db301de64420055d7f5320da40931e18ee20e7a8c1e769e70f92580a239207529ee661f060f824f029f6686281db65a43
|
7
|
+
data.tar.gz: ff569c730bb0e6293b3d2928fbee5d2f065816b9809649301ab0faea7a2572619499738acd721f898ed0cc7bbcecf8d81d4dbaca4e664f2a8c8c3d6c382324e2
|
@@ -316,16 +316,16 @@ module Aws::ApplicationAutoScaling
|
|
316
316
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
317
317
|
#
|
318
318
|
# * DynamoDB table - The resource type is `table` and the unique
|
319
|
-
# identifier is the
|
319
|
+
# identifier is the table name. Example: `table/my-table`.
|
320
320
|
#
|
321
321
|
# * DynamoDB global secondary index - The resource type is `index` and
|
322
|
-
# the unique identifier is the
|
322
|
+
# the unique identifier is the index name. Example:
|
323
323
|
# `table/my-table/index/my-table-index`.
|
324
324
|
#
|
325
325
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
326
326
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
327
327
|
#
|
328
|
-
# * Amazon SageMaker endpoint
|
328
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
329
329
|
# and the unique identifier is the resource ID. Example:
|
330
330
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
331
331
|
#
|
@@ -335,6 +335,11 @@ module Aws::ApplicationAutoScaling
|
|
335
335
|
# is defined by the service provider. More information is available in
|
336
336
|
# our [GitHub repository][1].
|
337
337
|
#
|
338
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
339
|
+
# type and unique identifier are specified using the endpoint ARN.
|
340
|
+
# Example:
|
341
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
342
|
+
#
|
338
343
|
#
|
339
344
|
#
|
340
345
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -377,6 +382,10 @@ module Aws::ApplicationAutoScaling
|
|
377
382
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
378
383
|
# a custom resource provided by your own application or service.
|
379
384
|
#
|
385
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
386
|
+
# The number of inference units for an Amazon Comprehend document
|
387
|
+
# classification endpoint.
|
388
|
+
#
|
380
389
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
381
390
|
#
|
382
391
|
#
|
@@ -400,9 +409,9 @@ module Aws::ApplicationAutoScaling
|
|
400
409
|
#
|
401
410
|
# resp = client.delete_scaling_policy({
|
402
411
|
# policy_name: "ResourceIdMaxLen1600", # required
|
403
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
412
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
404
413
|
# resource_id: "ResourceIdMaxLen1600", # required
|
405
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
414
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
406
415
|
# })
|
407
416
|
#
|
408
417
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -457,16 +466,16 @@ module Aws::ApplicationAutoScaling
|
|
457
466
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
458
467
|
#
|
459
468
|
# * DynamoDB table - The resource type is `table` and the unique
|
460
|
-
# identifier is the
|
469
|
+
# identifier is the table name. Example: `table/my-table`.
|
461
470
|
#
|
462
471
|
# * DynamoDB global secondary index - The resource type is `index` and
|
463
|
-
# the unique identifier is the
|
472
|
+
# the unique identifier is the index name. Example:
|
464
473
|
# `table/my-table/index/my-table-index`.
|
465
474
|
#
|
466
475
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
467
476
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
468
477
|
#
|
469
|
-
# * Amazon SageMaker endpoint
|
478
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
470
479
|
# and the unique identifier is the resource ID. Example:
|
471
480
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
472
481
|
#
|
@@ -476,6 +485,11 @@ module Aws::ApplicationAutoScaling
|
|
476
485
|
# is defined by the service provider. More information is available in
|
477
486
|
# our [GitHub repository][1].
|
478
487
|
#
|
488
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
489
|
+
# type and unique identifier are specified using the endpoint ARN.
|
490
|
+
# Example:
|
491
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
492
|
+
#
|
479
493
|
#
|
480
494
|
#
|
481
495
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -518,15 +532,19 @@ module Aws::ApplicationAutoScaling
|
|
518
532
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
519
533
|
# a custom resource provided by your own application or service.
|
520
534
|
#
|
535
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
536
|
+
# The number of inference units for an Amazon Comprehend document
|
537
|
+
# classification endpoint.
|
538
|
+
#
|
521
539
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
522
540
|
#
|
523
541
|
# @example Request syntax with placeholder values
|
524
542
|
#
|
525
543
|
# resp = client.delete_scheduled_action({
|
526
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
544
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
527
545
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
528
546
|
# resource_id: "ResourceIdMaxLen1600", # required
|
529
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
547
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
530
548
|
# })
|
531
549
|
#
|
532
550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -576,16 +594,16 @@ module Aws::ApplicationAutoScaling
|
|
576
594
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
577
595
|
#
|
578
596
|
# * DynamoDB table - The resource type is `table` and the unique
|
579
|
-
# identifier is the
|
597
|
+
# identifier is the table name. Example: `table/my-table`.
|
580
598
|
#
|
581
599
|
# * DynamoDB global secondary index - The resource type is `index` and
|
582
|
-
# the unique identifier is the
|
600
|
+
# the unique identifier is the index name. Example:
|
583
601
|
# `table/my-table/index/my-table-index`.
|
584
602
|
#
|
585
603
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
586
604
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
587
605
|
#
|
588
|
-
# * Amazon SageMaker endpoint
|
606
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
589
607
|
# and the unique identifier is the resource ID. Example:
|
590
608
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
591
609
|
#
|
@@ -595,6 +613,11 @@ module Aws::ApplicationAutoScaling
|
|
595
613
|
# is defined by the service provider. More information is available in
|
596
614
|
# our [GitHub repository][1].
|
597
615
|
#
|
616
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
617
|
+
# type and unique identifier are specified using the endpoint ARN.
|
618
|
+
# Example:
|
619
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
620
|
+
#
|
598
621
|
#
|
599
622
|
#
|
600
623
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -638,6 +661,10 @@ module Aws::ApplicationAutoScaling
|
|
638
661
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
639
662
|
# a custom resource provided by your own application or service.
|
640
663
|
#
|
664
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
665
|
+
# The number of inference units for an Amazon Comprehend document
|
666
|
+
# classification endpoint.
|
667
|
+
#
|
641
668
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
642
669
|
#
|
643
670
|
#
|
@@ -659,9 +686,9 @@ module Aws::ApplicationAutoScaling
|
|
659
686
|
# @example Request syntax with placeholder values
|
660
687
|
#
|
661
688
|
# resp = client.deregister_scalable_target({
|
662
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
689
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
663
690
|
# resource_id: "ResourceIdMaxLen1600", # required
|
664
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
691
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
665
692
|
# })
|
666
693
|
#
|
667
694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -714,16 +741,16 @@ module Aws::ApplicationAutoScaling
|
|
714
741
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
715
742
|
#
|
716
743
|
# * DynamoDB table - The resource type is `table` and the unique
|
717
|
-
# identifier is the
|
744
|
+
# identifier is the table name. Example: `table/my-table`.
|
718
745
|
#
|
719
746
|
# * DynamoDB global secondary index - The resource type is `index` and
|
720
|
-
# the unique identifier is the
|
747
|
+
# the unique identifier is the index name. Example:
|
721
748
|
# `table/my-table/index/my-table-index`.
|
722
749
|
#
|
723
750
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
724
751
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
725
752
|
#
|
726
|
-
# * Amazon SageMaker endpoint
|
753
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
727
754
|
# and the unique identifier is the resource ID. Example:
|
728
755
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
729
756
|
#
|
@@ -733,6 +760,11 @@ module Aws::ApplicationAutoScaling
|
|
733
760
|
# is defined by the service provider. More information is available in
|
734
761
|
# our [GitHub repository][1].
|
735
762
|
#
|
763
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
764
|
+
# type and unique identifier are specified using the endpoint ARN.
|
765
|
+
# Example:
|
766
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
767
|
+
#
|
736
768
|
#
|
737
769
|
#
|
738
770
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -777,6 +809,10 @@ module Aws::ApplicationAutoScaling
|
|
777
809
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
778
810
|
# a custom resource provided by your own application or service.
|
779
811
|
#
|
812
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
813
|
+
# The number of inference units for an Amazon Comprehend document
|
814
|
+
# classification endpoint.
|
815
|
+
#
|
780
816
|
# @option params [Integer] :max_results
|
781
817
|
# The maximum number of scalable targets. This value can be between 1
|
782
818
|
# and 50. The default value is 50.
|
@@ -827,9 +863,9 @@ module Aws::ApplicationAutoScaling
|
|
827
863
|
# @example Request syntax with placeholder values
|
828
864
|
#
|
829
865
|
# resp = client.describe_scalable_targets({
|
830
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
866
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
831
867
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
832
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
868
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
833
869
|
# max_results: 1,
|
834
870
|
# next_token: "XmlString",
|
835
871
|
# })
|
@@ -837,9 +873,9 @@ module Aws::ApplicationAutoScaling
|
|
837
873
|
# @example Response structure
|
838
874
|
#
|
839
875
|
# resp.scalable_targets #=> Array
|
840
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource"
|
876
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend"
|
841
877
|
# resp.scalable_targets[0].resource_id #=> String
|
842
|
-
# resp.scalable_targets[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property"
|
878
|
+
# resp.scalable_targets[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits"
|
843
879
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
844
880
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
845
881
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -899,16 +935,16 @@ module Aws::ApplicationAutoScaling
|
|
899
935
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
900
936
|
#
|
901
937
|
# * DynamoDB table - The resource type is `table` and the unique
|
902
|
-
# identifier is the
|
938
|
+
# identifier is the table name. Example: `table/my-table`.
|
903
939
|
#
|
904
940
|
# * DynamoDB global secondary index - The resource type is `index` and
|
905
|
-
# the unique identifier is the
|
941
|
+
# the unique identifier is the index name. Example:
|
906
942
|
# `table/my-table/index/my-table-index`.
|
907
943
|
#
|
908
944
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
909
945
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
910
946
|
#
|
911
|
-
# * Amazon SageMaker endpoint
|
947
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
912
948
|
# and the unique identifier is the resource ID. Example:
|
913
949
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
914
950
|
#
|
@@ -918,6 +954,11 @@ module Aws::ApplicationAutoScaling
|
|
918
954
|
# is defined by the service provider. More information is available in
|
919
955
|
# our [GitHub repository][1].
|
920
956
|
#
|
957
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
958
|
+
# type and unique identifier are specified using the endpoint ARN.
|
959
|
+
# Example:
|
960
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
961
|
+
#
|
921
962
|
#
|
922
963
|
#
|
923
964
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -961,6 +1002,10 @@ module Aws::ApplicationAutoScaling
|
|
961
1002
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
962
1003
|
# a custom resource provided by your own application or service.
|
963
1004
|
#
|
1005
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
1006
|
+
# The number of inference units for an Amazon Comprehend document
|
1007
|
+
# classification endpoint.
|
1008
|
+
#
|
964
1009
|
# @option params [Integer] :max_results
|
965
1010
|
# The maximum number of scalable targets. This value can be between 1
|
966
1011
|
# and 50. The default value is 50.
|
@@ -1012,9 +1057,9 @@ module Aws::ApplicationAutoScaling
|
|
1012
1057
|
# @example Request syntax with placeholder values
|
1013
1058
|
#
|
1014
1059
|
# resp = client.describe_scaling_activities({
|
1015
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
1060
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
1016
1061
|
# resource_id: "ResourceIdMaxLen1600",
|
1017
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1062
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
1018
1063
|
# max_results: 1,
|
1019
1064
|
# next_token: "XmlString",
|
1020
1065
|
# })
|
@@ -1023,9 +1068,9 @@ module Aws::ApplicationAutoScaling
|
|
1023
1068
|
#
|
1024
1069
|
# resp.scaling_activities #=> Array
|
1025
1070
|
# resp.scaling_activities[0].activity_id #=> String
|
1026
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource"
|
1071
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend"
|
1027
1072
|
# resp.scaling_activities[0].resource_id #=> String
|
1028
|
-
# resp.scaling_activities[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property"
|
1073
|
+
# resp.scaling_activities[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits"
|
1029
1074
|
# resp.scaling_activities[0].description #=> String
|
1030
1075
|
# resp.scaling_activities[0].cause #=> String
|
1031
1076
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1088,16 +1133,16 @@ module Aws::ApplicationAutoScaling
|
|
1088
1133
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
1089
1134
|
#
|
1090
1135
|
# * DynamoDB table - The resource type is `table` and the unique
|
1091
|
-
# identifier is the
|
1136
|
+
# identifier is the table name. Example: `table/my-table`.
|
1092
1137
|
#
|
1093
1138
|
# * DynamoDB global secondary index - The resource type is `index` and
|
1094
|
-
# the unique identifier is the
|
1139
|
+
# the unique identifier is the index name. Example:
|
1095
1140
|
# `table/my-table/index/my-table-index`.
|
1096
1141
|
#
|
1097
1142
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1098
1143
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1099
1144
|
#
|
1100
|
-
# * Amazon SageMaker endpoint
|
1145
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
1101
1146
|
# and the unique identifier is the resource ID. Example:
|
1102
1147
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1103
1148
|
#
|
@@ -1107,6 +1152,11 @@ module Aws::ApplicationAutoScaling
|
|
1107
1152
|
# is defined by the service provider. More information is available in
|
1108
1153
|
# our [GitHub repository][1].
|
1109
1154
|
#
|
1155
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
1156
|
+
# type and unique identifier are specified using the endpoint ARN.
|
1157
|
+
# Example:
|
1158
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1159
|
+
#
|
1110
1160
|
#
|
1111
1161
|
#
|
1112
1162
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1150,6 +1200,10 @@ module Aws::ApplicationAutoScaling
|
|
1150
1200
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1151
1201
|
# a custom resource provided by your own application or service.
|
1152
1202
|
#
|
1203
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
1204
|
+
# The number of inference units for an Amazon Comprehend document
|
1205
|
+
# classification endpoint.
|
1206
|
+
#
|
1153
1207
|
# @option params [Integer] :max_results
|
1154
1208
|
# The maximum number of scalable targets. This value can be between 1
|
1155
1209
|
# and 50. The default value is 50.
|
@@ -1213,9 +1267,9 @@ module Aws::ApplicationAutoScaling
|
|
1213
1267
|
#
|
1214
1268
|
# resp = client.describe_scaling_policies({
|
1215
1269
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1216
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
1270
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
1217
1271
|
# resource_id: "ResourceIdMaxLen1600",
|
1218
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1272
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
1219
1273
|
# max_results: 1,
|
1220
1274
|
# next_token: "XmlString",
|
1221
1275
|
# })
|
@@ -1225,9 +1279,9 @@ module Aws::ApplicationAutoScaling
|
|
1225
1279
|
# resp.scaling_policies #=> Array
|
1226
1280
|
# resp.scaling_policies[0].policy_arn #=> String
|
1227
1281
|
# resp.scaling_policies[0].policy_name #=> String
|
1228
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource"
|
1282
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend"
|
1229
1283
|
# resp.scaling_policies[0].resource_id #=> String
|
1230
|
-
# resp.scaling_policies[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property"
|
1284
|
+
# resp.scaling_policies[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits"
|
1231
1285
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1232
1286
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1233
1287
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1238,7 +1292,7 @@ module Aws::ApplicationAutoScaling
|
|
1238
1292
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1239
1293
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1240
1294
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1241
|
-
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization"
|
1295
|
+
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization"
|
1242
1296
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1243
1297
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1244
1298
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1309,16 +1363,16 @@ module Aws::ApplicationAutoScaling
|
|
1309
1363
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
1310
1364
|
#
|
1311
1365
|
# * DynamoDB table - The resource type is `table` and the unique
|
1312
|
-
# identifier is the
|
1366
|
+
# identifier is the table name. Example: `table/my-table`.
|
1313
1367
|
#
|
1314
1368
|
# * DynamoDB global secondary index - The resource type is `index` and
|
1315
|
-
# the unique identifier is the
|
1369
|
+
# the unique identifier is the index name. Example:
|
1316
1370
|
# `table/my-table/index/my-table-index`.
|
1317
1371
|
#
|
1318
1372
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1319
1373
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1320
1374
|
#
|
1321
|
-
# * Amazon SageMaker endpoint
|
1375
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
1322
1376
|
# and the unique identifier is the resource ID. Example:
|
1323
1377
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1324
1378
|
#
|
@@ -1328,6 +1382,11 @@ module Aws::ApplicationAutoScaling
|
|
1328
1382
|
# is defined by the service provider. More information is available in
|
1329
1383
|
# our [GitHub repository][1].
|
1330
1384
|
#
|
1385
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
1386
|
+
# type and unique identifier are specified using the endpoint ARN.
|
1387
|
+
# Example:
|
1388
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1389
|
+
#
|
1331
1390
|
#
|
1332
1391
|
#
|
1333
1392
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1371,6 +1430,10 @@ module Aws::ApplicationAutoScaling
|
|
1371
1430
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1372
1431
|
# a custom resource provided by your own application or service.
|
1373
1432
|
#
|
1433
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
1434
|
+
# The number of inference units for an Amazon Comprehend document
|
1435
|
+
# classification endpoint.
|
1436
|
+
#
|
1374
1437
|
# @option params [Integer] :max_results
|
1375
1438
|
# The maximum number of scheduled action results. This value can be
|
1376
1439
|
# between 1 and 50. The default value is 50.
|
@@ -1393,9 +1456,9 @@ module Aws::ApplicationAutoScaling
|
|
1393
1456
|
#
|
1394
1457
|
# resp = client.describe_scheduled_actions({
|
1395
1458
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1396
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
1459
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
1397
1460
|
# resource_id: "ResourceIdMaxLen1600",
|
1398
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1461
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
1399
1462
|
# max_results: 1,
|
1400
1463
|
# next_token: "XmlString",
|
1401
1464
|
# })
|
@@ -1405,10 +1468,10 @@ module Aws::ApplicationAutoScaling
|
|
1405
1468
|
# resp.scheduled_actions #=> Array
|
1406
1469
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1407
1470
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1408
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource"
|
1471
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend"
|
1409
1472
|
# resp.scheduled_actions[0].schedule #=> String
|
1410
1473
|
# resp.scheduled_actions[0].resource_id #=> String
|
1411
|
-
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property"
|
1474
|
+
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits"
|
1412
1475
|
# resp.scheduled_actions[0].start_time #=> Time
|
1413
1476
|
# resp.scheduled_actions[0].end_time #=> Time
|
1414
1477
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1494,16 +1557,16 @@ module Aws::ApplicationAutoScaling
|
|
1494
1557
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
1495
1558
|
#
|
1496
1559
|
# * DynamoDB table - The resource type is `table` and the unique
|
1497
|
-
# identifier is the
|
1560
|
+
# identifier is the table name. Example: `table/my-table`.
|
1498
1561
|
#
|
1499
1562
|
# * DynamoDB global secondary index - The resource type is `index` and
|
1500
|
-
# the unique identifier is the
|
1563
|
+
# the unique identifier is the index name. Example:
|
1501
1564
|
# `table/my-table/index/my-table-index`.
|
1502
1565
|
#
|
1503
1566
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1504
1567
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1505
1568
|
#
|
1506
|
-
# * Amazon SageMaker endpoint
|
1569
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
1507
1570
|
# and the unique identifier is the resource ID. Example:
|
1508
1571
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1509
1572
|
#
|
@@ -1513,6 +1576,11 @@ module Aws::ApplicationAutoScaling
|
|
1513
1576
|
# is defined by the service provider. More information is available in
|
1514
1577
|
# our [GitHub repository][1].
|
1515
1578
|
#
|
1579
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
1580
|
+
# type and unique identifier are specified using the endpoint ARN.
|
1581
|
+
# Example:
|
1582
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1583
|
+
#
|
1516
1584
|
#
|
1517
1585
|
#
|
1518
1586
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1555,15 +1623,19 @@ module Aws::ApplicationAutoScaling
|
|
1555
1623
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1556
1624
|
# a custom resource provided by your own application or service.
|
1557
1625
|
#
|
1626
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
1627
|
+
# The number of inference units for an Amazon Comprehend document
|
1628
|
+
# classification endpoint.
|
1629
|
+
#
|
1558
1630
|
# @option params [String] :policy_type
|
1559
1631
|
# The policy type. This parameter is required if you are creating a
|
1560
1632
|
# scaling policy.
|
1561
1633
|
#
|
1562
1634
|
# The following policy types are supported:
|
1563
1635
|
#
|
1564
|
-
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1636
|
+
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1565
1637
|
#
|
1566
|
-
# `StepScaling`—Not supported for Amazon
|
1638
|
+
# `StepScaling`—Not supported for DynamoDB or Amazon Comprehend
|
1567
1639
|
#
|
1568
1640
|
# For more information, see [Target Tracking Scaling Policies][1] and
|
1569
1641
|
# [Step Scaling Policies][2] in the *Application Auto Scaling User
|
@@ -1771,9 +1843,9 @@ module Aws::ApplicationAutoScaling
|
|
1771
1843
|
#
|
1772
1844
|
# resp = client.put_scaling_policy({
|
1773
1845
|
# policy_name: "PolicyName", # required
|
1774
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
1846
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
1775
1847
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1776
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1848
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
1777
1849
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
1778
1850
|
# step_scaling_policy_configuration: {
|
1779
1851
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -1791,7 +1863,7 @@ module Aws::ApplicationAutoScaling
|
|
1791
1863
|
# target_tracking_scaling_policy_configuration: {
|
1792
1864
|
# target_value: 1.0, # required
|
1793
1865
|
# predefined_metric_specification: {
|
1794
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
1866
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization
|
1795
1867
|
# resource_label: "ResourceLabel",
|
1796
1868
|
# },
|
1797
1869
|
# customized_metric_specification: {
|
@@ -1908,16 +1980,16 @@ module Aws::ApplicationAutoScaling
|
|
1908
1980
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
1909
1981
|
#
|
1910
1982
|
# * DynamoDB table - The resource type is `table` and the unique
|
1911
|
-
# identifier is the
|
1983
|
+
# identifier is the table name. Example: `table/my-table`.
|
1912
1984
|
#
|
1913
1985
|
# * DynamoDB global secondary index - The resource type is `index` and
|
1914
|
-
# the unique identifier is the
|
1986
|
+
# the unique identifier is the index name. Example:
|
1915
1987
|
# `table/my-table/index/my-table-index`.
|
1916
1988
|
#
|
1917
1989
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1918
1990
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1919
1991
|
#
|
1920
|
-
# * Amazon SageMaker endpoint
|
1992
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
1921
1993
|
# and the unique identifier is the resource ID. Example:
|
1922
1994
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1923
1995
|
#
|
@@ -1927,6 +1999,11 @@ module Aws::ApplicationAutoScaling
|
|
1927
1999
|
# is defined by the service provider. More information is available in
|
1928
2000
|
# our [GitHub repository][1].
|
1929
2001
|
#
|
2002
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
2003
|
+
# type and unique identifier are specified using the endpoint ARN.
|
2004
|
+
# Example:
|
2005
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2006
|
+
#
|
1930
2007
|
#
|
1931
2008
|
#
|
1932
2009
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1969,6 +2046,10 @@ module Aws::ApplicationAutoScaling
|
|
1969
2046
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1970
2047
|
# a custom resource provided by your own application or service.
|
1971
2048
|
#
|
2049
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
2050
|
+
# The number of inference units for an Amazon Comprehend document
|
2051
|
+
# classification endpoint.
|
2052
|
+
#
|
1972
2053
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
1973
2054
|
# The date and time for the scheduled action to start.
|
1974
2055
|
#
|
@@ -1987,11 +2068,11 @@ module Aws::ApplicationAutoScaling
|
|
1987
2068
|
# @example Request syntax with placeholder values
|
1988
2069
|
#
|
1989
2070
|
# resp = client.put_scheduled_action({
|
1990
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
2071
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
1991
2072
|
# schedule: "ResourceIdMaxLen1600",
|
1992
2073
|
# scheduled_action_name: "ScheduledActionName", # required
|
1993
2074
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1994
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
2075
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
1995
2076
|
# start_time: Time.now,
|
1996
2077
|
# end_time: Time.now,
|
1997
2078
|
# scalable_target_action: {
|
@@ -2063,16 +2144,16 @@ module Aws::ApplicationAutoScaling
|
|
2063
2144
|
# identifier is the fleet name. Example: `fleet/sample-fleet`.
|
2064
2145
|
#
|
2065
2146
|
# * DynamoDB table - The resource type is `table` and the unique
|
2066
|
-
# identifier is the
|
2147
|
+
# identifier is the table name. Example: `table/my-table`.
|
2067
2148
|
#
|
2068
2149
|
# * DynamoDB global secondary index - The resource type is `index` and
|
2069
|
-
# the unique identifier is the
|
2150
|
+
# the unique identifier is the index name. Example:
|
2070
2151
|
# `table/my-table/index/my-table-index`.
|
2071
2152
|
#
|
2072
2153
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2073
2154
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2074
2155
|
#
|
2075
|
-
# * Amazon SageMaker endpoint
|
2156
|
+
# * Amazon SageMaker endpoint variant - The resource type is `variant`
|
2076
2157
|
# and the unique identifier is the resource ID. Example:
|
2077
2158
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2078
2159
|
#
|
@@ -2082,6 +2163,11 @@ module Aws::ApplicationAutoScaling
|
|
2082
2163
|
# is defined by the service provider. More information is available in
|
2083
2164
|
# our [GitHub repository][1].
|
2084
2165
|
#
|
2166
|
+
# * Amazon Comprehend document classification endpoint - The resource
|
2167
|
+
# type and unique identifier are specified using the endpoint ARN.
|
2168
|
+
# Example:
|
2169
|
+
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2170
|
+
#
|
2085
2171
|
#
|
2086
2172
|
#
|
2087
2173
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2125,6 +2211,10 @@ module Aws::ApplicationAutoScaling
|
|
2125
2211
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2126
2212
|
# a custom resource provided by your own application or service.
|
2127
2213
|
#
|
2214
|
+
# * `comprehend:document-classifier-endpoint:DesiredInferenceUnits` -
|
2215
|
+
# The number of inference units for an Amazon Comprehend document
|
2216
|
+
# classification endpoint.
|
2217
|
+
#
|
2128
2218
|
# @option params [Integer] :min_capacity
|
2129
2219
|
# The minimum value to scale to in response to a scale-in event.
|
2130
2220
|
# `MinCapacity` is required to register a scalable target.
|
@@ -2167,8 +2257,8 @@ module Aws::ApplicationAutoScaling
|
|
2167
2257
|
# * For `ScheduledScalingSuspended`, while a suspension is in effect,
|
2168
2258
|
# all scaling activities that involve scheduled actions are suspended.
|
2169
2259
|
#
|
2170
|
-
# For more information, see [
|
2171
|
-
#
|
2260
|
+
# For more information, see [Suspending and Resuming Scaling][1] in the
|
2261
|
+
# *Application Auto Scaling User Guide*.
|
2172
2262
|
#
|
2173
2263
|
#
|
2174
2264
|
#
|
@@ -2210,9 +2300,9 @@ module Aws::ApplicationAutoScaling
|
|
2210
2300
|
# @example Request syntax with placeholder values
|
2211
2301
|
#
|
2212
2302
|
# resp = client.register_scalable_target({
|
2213
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
2303
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend
|
2214
2304
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2215
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
2305
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits
|
2216
2306
|
# min_capacity: 1,
|
2217
2307
|
# max_capacity: 1,
|
2218
2308
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2245,7 +2335,7 @@ module Aws::ApplicationAutoScaling
|
|
2245
2335
|
params: params,
|
2246
2336
|
config: config)
|
2247
2337
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2248
|
-
context[:gem_version] = '1.
|
2338
|
+
context[:gem_version] = '1.34.0'
|
2249
2339
|
Seahorse::Client::Request.new(handlers, context)
|
2250
2340
|
end
|
2251
2341
|
|