aws-sdk-applicationautoscaling 1.53.0 → 1.54.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-applicationautoscaling.rb +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +193 -92
- data/lib/aws-sdk-applicationautoscaling/types.rb +261 -117
- 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: 26aeabfbb0a5688251300355ba926312bb1ca25e27ff4585f13a7cbe47bf55ca
|
4
|
+
data.tar.gz: 9a31f90bd1be6984b2b357a0166a46d6c84e85fbc5998bee02cb6b8318416a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e5edb6a3999c546b5f962e9f37aea92c6f552ba47c293056ad10881c1d88f790b5859c5837ec87fc0fc5eb999e6953134e2feb70a0a7ac0ff87eb435775d91e
|
7
|
+
data.tar.gz: ce59c9ccdc077b49745429a05a8295087e0646712d25799ed3e7a71b06194938d0c459270fc5e7060ddabb6fd95a0583b875d7133f4d9720973671218fd24cb7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2021-08-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release extends Application Auto Scaling support for replication group of Amazon ElastiCache Redis clusters. Auto Scaling monitors and automatically expands node group count and number of replicas per node group when a critical usage threshold is met or according to customer-defined schedule.
|
8
|
+
|
4
9
|
1.53.0 (2021-07-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -357,9 +357,9 @@ module Aws::ApplicationAutoScaling
|
|
357
357
|
# The name of the scaling policy.
|
358
358
|
#
|
359
359
|
# @option params [required, String] :service_namespace
|
360
|
-
# The namespace of the
|
361
|
-
# resource provided by your own application or service,
|
362
|
-
# `custom-resource` instead.
|
360
|
+
# The namespace of the Amazon Web Services service that provides the
|
361
|
+
# resource. For a resource provided by your own application or service,
|
362
|
+
# use `custom-resource` instead.
|
363
363
|
#
|
364
364
|
# @option params [required, String] :resource_id
|
365
365
|
# The identifier of the resource associated with the scalable target.
|
@@ -422,6 +422,10 @@ module Aws::ApplicationAutoScaling
|
|
422
422
|
# specified using the cluster ARN. Example:
|
423
423
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
424
424
|
#
|
425
|
+
# * Amazon ElastiCache replication group - The resource type is
|
426
|
+
# `replication-group` and the unique identifier is the replication
|
427
|
+
# group name. Example: `replication-group/mycluster`.
|
428
|
+
#
|
425
429
|
#
|
426
430
|
#
|
427
431
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -433,12 +437,12 @@ module Aws::ApplicationAutoScaling
|
|
433
437
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
434
438
|
# service.
|
435
439
|
#
|
436
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
437
|
-
# Spot Fleet request.
|
438
|
-
#
|
439
440
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
440
441
|
# of an EMR Instance Group.
|
441
442
|
#
|
443
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
444
|
+
# Spot Fleet request.
|
445
|
+
#
|
442
446
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
443
447
|
# AppStream 2.0 fleet.
|
444
448
|
#
|
@@ -484,6 +488,12 @@ module Aws::ApplicationAutoScaling
|
|
484
488
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
485
489
|
# GiB) for brokers in an Amazon MSK cluster.
|
486
490
|
#
|
491
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
492
|
+
# groups for an Amazon ElastiCache replication group.
|
493
|
+
#
|
494
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
495
|
+
# per node group for an Amazon ElastiCache replication group.
|
496
|
+
#
|
487
497
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
488
498
|
#
|
489
499
|
#
|
@@ -507,9 +517,9 @@ module Aws::ApplicationAutoScaling
|
|
507
517
|
#
|
508
518
|
# resp = client.delete_scaling_policy({
|
509
519
|
# policy_name: "ResourceIdMaxLen1600", # required
|
510
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
520
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
511
521
|
# resource_id: "ResourceIdMaxLen1600", # required
|
512
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
522
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
513
523
|
# })
|
514
524
|
#
|
515
525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -532,9 +542,9 @@ module Aws::ApplicationAutoScaling
|
|
532
542
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action
|
533
543
|
#
|
534
544
|
# @option params [required, String] :service_namespace
|
535
|
-
# The namespace of the
|
536
|
-
# resource provided by your own application or service,
|
537
|
-
# `custom-resource` instead.
|
545
|
+
# The namespace of the Amazon Web Services service that provides the
|
546
|
+
# resource. For a resource provided by your own application or service,
|
547
|
+
# use `custom-resource` instead.
|
538
548
|
#
|
539
549
|
# @option params [required, String] :scheduled_action_name
|
540
550
|
# The name of the scheduled action.
|
@@ -600,6 +610,10 @@ module Aws::ApplicationAutoScaling
|
|
600
610
|
# specified using the cluster ARN. Example:
|
601
611
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
602
612
|
#
|
613
|
+
# * Amazon ElastiCache replication group - The resource type is
|
614
|
+
# `replication-group` and the unique identifier is the replication
|
615
|
+
# group name. Example: `replication-group/mycluster`.
|
616
|
+
#
|
603
617
|
#
|
604
618
|
#
|
605
619
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -611,12 +625,12 @@ module Aws::ApplicationAutoScaling
|
|
611
625
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
612
626
|
# service.
|
613
627
|
#
|
614
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
615
|
-
# Spot Fleet request.
|
616
|
-
#
|
617
628
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
618
629
|
# of an EMR Instance Group.
|
619
630
|
#
|
631
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
632
|
+
# Spot Fleet request.
|
633
|
+
#
|
620
634
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
621
635
|
# AppStream 2.0 fleet.
|
622
636
|
#
|
@@ -662,15 +676,21 @@ module Aws::ApplicationAutoScaling
|
|
662
676
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
663
677
|
# GiB) for brokers in an Amazon MSK cluster.
|
664
678
|
#
|
679
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
680
|
+
# groups for an Amazon ElastiCache replication group.
|
681
|
+
#
|
682
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
683
|
+
# per node group for an Amazon ElastiCache replication group.
|
684
|
+
#
|
665
685
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
666
686
|
#
|
667
687
|
# @example Request syntax with placeholder values
|
668
688
|
#
|
669
689
|
# resp = client.delete_scheduled_action({
|
670
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
690
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
671
691
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
672
692
|
# resource_id: "ResourceIdMaxLen1600", # required
|
673
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
693
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
674
694
|
# })
|
675
695
|
#
|
676
696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -696,9 +716,9 @@ module Aws::ApplicationAutoScaling
|
|
696
716
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
|
697
717
|
#
|
698
718
|
# @option params [required, String] :service_namespace
|
699
|
-
# The namespace of the
|
700
|
-
# resource provided by your own application or service,
|
701
|
-
# `custom-resource` instead.
|
719
|
+
# The namespace of the Amazon Web Services service that provides the
|
720
|
+
# resource. For a resource provided by your own application or service,
|
721
|
+
# use `custom-resource` instead.
|
702
722
|
#
|
703
723
|
# @option params [required, String] :resource_id
|
704
724
|
# The identifier of the resource associated with the scalable target.
|
@@ -761,6 +781,10 @@ module Aws::ApplicationAutoScaling
|
|
761
781
|
# specified using the cluster ARN. Example:
|
762
782
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
763
783
|
#
|
784
|
+
# * Amazon ElastiCache replication group - The resource type is
|
785
|
+
# `replication-group` and the unique identifier is the replication
|
786
|
+
# group name. Example: `replication-group/mycluster`.
|
787
|
+
#
|
764
788
|
#
|
765
789
|
#
|
766
790
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -773,12 +797,12 @@ module Aws::ApplicationAutoScaling
|
|
773
797
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
774
798
|
# service.
|
775
799
|
#
|
776
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
777
|
-
# Spot Fleet request.
|
778
|
-
#
|
779
800
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
780
801
|
# of an EMR Instance Group.
|
781
802
|
#
|
803
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
804
|
+
# Spot Fleet request.
|
805
|
+
#
|
782
806
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
783
807
|
# AppStream 2.0 fleet.
|
784
808
|
#
|
@@ -824,6 +848,12 @@ module Aws::ApplicationAutoScaling
|
|
824
848
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
825
849
|
# GiB) for brokers in an Amazon MSK cluster.
|
826
850
|
#
|
851
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
852
|
+
# groups for an Amazon ElastiCache replication group.
|
853
|
+
#
|
854
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
855
|
+
# per node group for an Amazon ElastiCache replication group.
|
856
|
+
#
|
827
857
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
828
858
|
#
|
829
859
|
#
|
@@ -845,9 +875,9 @@ module Aws::ApplicationAutoScaling
|
|
845
875
|
# @example Request syntax with placeholder values
|
846
876
|
#
|
847
877
|
# resp = client.deregister_scalable_target({
|
848
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
878
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
849
879
|
# resource_id: "ResourceIdMaxLen1600", # required
|
850
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
880
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
851
881
|
# })
|
852
882
|
#
|
853
883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -866,9 +896,9 @@ module Aws::ApplicationAutoScaling
|
|
866
896
|
# `ScalableDimension`.
|
867
897
|
#
|
868
898
|
# @option params [required, String] :service_namespace
|
869
|
-
# The namespace of the
|
870
|
-
# resource provided by your own application or service,
|
871
|
-
# `custom-resource` instead.
|
899
|
+
# The namespace of the Amazon Web Services service that provides the
|
900
|
+
# resource. For a resource provided by your own application or service,
|
901
|
+
# use `custom-resource` instead.
|
872
902
|
#
|
873
903
|
# @option params [Array<String>] :resource_ids
|
874
904
|
# The identifier of the resource associated with the scalable target.
|
@@ -931,6 +961,10 @@ module Aws::ApplicationAutoScaling
|
|
931
961
|
# specified using the cluster ARN. Example:
|
932
962
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
933
963
|
#
|
964
|
+
# * Amazon ElastiCache replication group - The resource type is
|
965
|
+
# `replication-group` and the unique identifier is the replication
|
966
|
+
# group name. Example: `replication-group/mycluster`.
|
967
|
+
#
|
934
968
|
#
|
935
969
|
#
|
936
970
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -944,12 +978,12 @@ module Aws::ApplicationAutoScaling
|
|
944
978
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
945
979
|
# service.
|
946
980
|
#
|
947
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
948
|
-
# Spot Fleet request.
|
949
|
-
#
|
950
981
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
951
982
|
# of an EMR Instance Group.
|
952
983
|
#
|
984
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
985
|
+
# Spot Fleet request.
|
986
|
+
#
|
953
987
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
954
988
|
# AppStream 2.0 fleet.
|
955
989
|
#
|
@@ -995,6 +1029,12 @@ module Aws::ApplicationAutoScaling
|
|
995
1029
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
996
1030
|
# GiB) for brokers in an Amazon MSK cluster.
|
997
1031
|
#
|
1032
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1033
|
+
# groups for an Amazon ElastiCache replication group.
|
1034
|
+
#
|
1035
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1036
|
+
# per node group for an Amazon ElastiCache replication group.
|
1037
|
+
#
|
998
1038
|
# @option params [Integer] :max_results
|
999
1039
|
# The maximum number of scalable targets. This value can be between 1
|
1000
1040
|
# and 50. The default value is 50.
|
@@ -1047,9 +1087,9 @@ module Aws::ApplicationAutoScaling
|
|
1047
1087
|
# @example Request syntax with placeholder values
|
1048
1088
|
#
|
1049
1089
|
# resp = client.describe_scalable_targets({
|
1050
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1090
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1051
1091
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
1052
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1092
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
1053
1093
|
# max_results: 1,
|
1054
1094
|
# next_token: "XmlString",
|
1055
1095
|
# })
|
@@ -1057,9 +1097,9 @@ module Aws::ApplicationAutoScaling
|
|
1057
1097
|
# @example Response structure
|
1058
1098
|
#
|
1059
1099
|
# resp.scalable_targets #=> Array
|
1060
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1100
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1061
1101
|
# resp.scalable_targets[0].resource_id #=> String
|
1062
|
-
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1102
|
+
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas"
|
1063
1103
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1064
1104
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1065
1105
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1084,9 +1124,9 @@ module Aws::ApplicationAutoScaling
|
|
1084
1124
|
# You can filter the results using `ResourceId` and `ScalableDimension`.
|
1085
1125
|
#
|
1086
1126
|
# @option params [required, String] :service_namespace
|
1087
|
-
# The namespace of the
|
1088
|
-
# resource provided by your own application or service,
|
1089
|
-
# `custom-resource` instead.
|
1127
|
+
# The namespace of the Amazon Web Services service that provides the
|
1128
|
+
# resource. For a resource provided by your own application or service,
|
1129
|
+
# use `custom-resource` instead.
|
1090
1130
|
#
|
1091
1131
|
# @option params [String] :resource_id
|
1092
1132
|
# The identifier of the resource associated with the scaling activity.
|
@@ -1149,6 +1189,10 @@ module Aws::ApplicationAutoScaling
|
|
1149
1189
|
# specified using the cluster ARN. Example:
|
1150
1190
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1151
1191
|
#
|
1192
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1193
|
+
# `replication-group` and the unique identifier is the replication
|
1194
|
+
# group name. Example: `replication-group/mycluster`.
|
1195
|
+
#
|
1152
1196
|
#
|
1153
1197
|
#
|
1154
1198
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1161,12 +1205,12 @@ module Aws::ApplicationAutoScaling
|
|
1161
1205
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1162
1206
|
# service.
|
1163
1207
|
#
|
1164
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1165
|
-
# Spot Fleet request.
|
1166
|
-
#
|
1167
1208
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1168
1209
|
# of an EMR Instance Group.
|
1169
1210
|
#
|
1211
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1212
|
+
# Spot Fleet request.
|
1213
|
+
#
|
1170
1214
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1171
1215
|
# AppStream 2.0 fleet.
|
1172
1216
|
#
|
@@ -1212,6 +1256,12 @@ module Aws::ApplicationAutoScaling
|
|
1212
1256
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1213
1257
|
# GiB) for brokers in an Amazon MSK cluster.
|
1214
1258
|
#
|
1259
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1260
|
+
# groups for an Amazon ElastiCache replication group.
|
1261
|
+
#
|
1262
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1263
|
+
# per node group for an Amazon ElastiCache replication group.
|
1264
|
+
#
|
1215
1265
|
# @option params [Integer] :max_results
|
1216
1266
|
# The maximum number of scalable targets. This value can be between 1
|
1217
1267
|
# and 50. The default value is 50.
|
@@ -1265,9 +1315,9 @@ module Aws::ApplicationAutoScaling
|
|
1265
1315
|
# @example Request syntax with placeholder values
|
1266
1316
|
#
|
1267
1317
|
# resp = client.describe_scaling_activities({
|
1268
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1318
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1269
1319
|
# resource_id: "ResourceIdMaxLen1600",
|
1270
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1320
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
1271
1321
|
# max_results: 1,
|
1272
1322
|
# next_token: "XmlString",
|
1273
1323
|
# })
|
@@ -1276,9 +1326,9 @@ module Aws::ApplicationAutoScaling
|
|
1276
1326
|
#
|
1277
1327
|
# resp.scaling_activities #=> Array
|
1278
1328
|
# resp.scaling_activities[0].activity_id #=> String
|
1279
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1329
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1280
1330
|
# resp.scaling_activities[0].resource_id #=> String
|
1281
|
-
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1331
|
+
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas"
|
1282
1332
|
# resp.scaling_activities[0].description #=> String
|
1283
1333
|
# resp.scaling_activities[0].cause #=> String
|
1284
1334
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1316,9 +1366,9 @@ module Aws::ApplicationAutoScaling
|
|
1316
1366
|
# The names of the scaling policies to describe.
|
1317
1367
|
#
|
1318
1368
|
# @option params [required, String] :service_namespace
|
1319
|
-
# The namespace of the
|
1320
|
-
# resource provided by your own application or service,
|
1321
|
-
# `custom-resource` instead.
|
1369
|
+
# The namespace of the Amazon Web Services service that provides the
|
1370
|
+
# resource. For a resource provided by your own application or service,
|
1371
|
+
# use `custom-resource` instead.
|
1322
1372
|
#
|
1323
1373
|
# @option params [String] :resource_id
|
1324
1374
|
# The identifier of the resource associated with the scaling policy.
|
@@ -1381,6 +1431,10 @@ module Aws::ApplicationAutoScaling
|
|
1381
1431
|
# specified using the cluster ARN. Example:
|
1382
1432
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1383
1433
|
#
|
1434
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1435
|
+
# `replication-group` and the unique identifier is the replication
|
1436
|
+
# group name. Example: `replication-group/mycluster`.
|
1437
|
+
#
|
1384
1438
|
#
|
1385
1439
|
#
|
1386
1440
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1393,12 +1447,12 @@ module Aws::ApplicationAutoScaling
|
|
1393
1447
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1394
1448
|
# service.
|
1395
1449
|
#
|
1396
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1397
|
-
# Spot Fleet request.
|
1398
|
-
#
|
1399
1450
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1400
1451
|
# of an EMR Instance Group.
|
1401
1452
|
#
|
1453
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1454
|
+
# Spot Fleet request.
|
1455
|
+
#
|
1402
1456
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1403
1457
|
# AppStream 2.0 fleet.
|
1404
1458
|
#
|
@@ -1444,6 +1498,12 @@ module Aws::ApplicationAutoScaling
|
|
1444
1498
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1445
1499
|
# GiB) for brokers in an Amazon MSK cluster.
|
1446
1500
|
#
|
1501
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1502
|
+
# groups for an Amazon ElastiCache replication group.
|
1503
|
+
#
|
1504
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1505
|
+
# per node group for an Amazon ElastiCache replication group.
|
1506
|
+
#
|
1447
1507
|
# @option params [Integer] :max_results
|
1448
1508
|
# The maximum number of scalable targets. This value can be between 1
|
1449
1509
|
# and 50. The default value is 50.
|
@@ -1509,9 +1569,9 @@ module Aws::ApplicationAutoScaling
|
|
1509
1569
|
#
|
1510
1570
|
# resp = client.describe_scaling_policies({
|
1511
1571
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1512
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1572
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1513
1573
|
# resource_id: "ResourceIdMaxLen1600",
|
1514
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1574
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
1515
1575
|
# max_results: 1,
|
1516
1576
|
# next_token: "XmlString",
|
1517
1577
|
# })
|
@@ -1521,9 +1581,9 @@ module Aws::ApplicationAutoScaling
|
|
1521
1581
|
# resp.scaling_policies #=> Array
|
1522
1582
|
# resp.scaling_policies[0].policy_arn #=> String
|
1523
1583
|
# resp.scaling_policies[0].policy_name #=> String
|
1524
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1584
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1525
1585
|
# resp.scaling_policies[0].resource_id #=> String
|
1526
|
-
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1586
|
+
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas"
|
1527
1587
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1528
1588
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1529
1589
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1534,7 +1594,7 @@ module Aws::ApplicationAutoScaling
|
|
1534
1594
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1535
1595
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1536
1596
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1537
|
-
# 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", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization"
|
1597
|
+
# 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", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"
|
1538
1598
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1539
1599
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1540
1600
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1579,9 +1639,9 @@ module Aws::ApplicationAutoScaling
|
|
1579
1639
|
# The names of the scheduled actions to describe.
|
1580
1640
|
#
|
1581
1641
|
# @option params [required, String] :service_namespace
|
1582
|
-
# The namespace of the
|
1583
|
-
# resource provided by your own application or service,
|
1584
|
-
# `custom-resource` instead.
|
1642
|
+
# The namespace of the Amazon Web Services service that provides the
|
1643
|
+
# resource. For a resource provided by your own application or service,
|
1644
|
+
# use `custom-resource` instead.
|
1585
1645
|
#
|
1586
1646
|
# @option params [String] :resource_id
|
1587
1647
|
# The identifier of the resource associated with the scheduled action.
|
@@ -1644,6 +1704,10 @@ module Aws::ApplicationAutoScaling
|
|
1644
1704
|
# specified using the cluster ARN. Example:
|
1645
1705
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1646
1706
|
#
|
1707
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1708
|
+
# `replication-group` and the unique identifier is the replication
|
1709
|
+
# group name. Example: `replication-group/mycluster`.
|
1710
|
+
#
|
1647
1711
|
#
|
1648
1712
|
#
|
1649
1713
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1656,12 +1720,12 @@ module Aws::ApplicationAutoScaling
|
|
1656
1720
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1657
1721
|
# service.
|
1658
1722
|
#
|
1659
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1660
|
-
# Spot Fleet request.
|
1661
|
-
#
|
1662
1723
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1663
1724
|
# of an EMR Instance Group.
|
1664
1725
|
#
|
1726
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1727
|
+
# Spot Fleet request.
|
1728
|
+
#
|
1665
1729
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1666
1730
|
# AppStream 2.0 fleet.
|
1667
1731
|
#
|
@@ -1707,6 +1771,12 @@ module Aws::ApplicationAutoScaling
|
|
1707
1771
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1708
1772
|
# GiB) for brokers in an Amazon MSK cluster.
|
1709
1773
|
#
|
1774
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1775
|
+
# groups for an Amazon ElastiCache replication group.
|
1776
|
+
#
|
1777
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1778
|
+
# per node group for an Amazon ElastiCache replication group.
|
1779
|
+
#
|
1710
1780
|
# @option params [Integer] :max_results
|
1711
1781
|
# The maximum number of scheduled action results. This value can be
|
1712
1782
|
# between 1 and 50. The default value is 50.
|
@@ -1731,9 +1801,9 @@ module Aws::ApplicationAutoScaling
|
|
1731
1801
|
#
|
1732
1802
|
# resp = client.describe_scheduled_actions({
|
1733
1803
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1734
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1804
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1735
1805
|
# resource_id: "ResourceIdMaxLen1600",
|
1736
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1806
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
1737
1807
|
# max_results: 1,
|
1738
1808
|
# next_token: "XmlString",
|
1739
1809
|
# })
|
@@ -1743,11 +1813,11 @@ module Aws::ApplicationAutoScaling
|
|
1743
1813
|
# resp.scheduled_actions #=> Array
|
1744
1814
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1745
1815
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1746
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1816
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1747
1817
|
# resp.scheduled_actions[0].schedule #=> String
|
1748
1818
|
# resp.scheduled_actions[0].timezone #=> String
|
1749
1819
|
# resp.scheduled_actions[0].resource_id #=> String
|
1750
|
-
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1820
|
+
# 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", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas"
|
1751
1821
|
# resp.scheduled_actions[0].start_time #=> Time
|
1752
1822
|
# resp.scheduled_actions[0].end_time #=> Time
|
1753
1823
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1812,9 +1882,9 @@ module Aws::ApplicationAutoScaling
|
|
1812
1882
|
# The name of the scaling policy.
|
1813
1883
|
#
|
1814
1884
|
# @option params [required, String] :service_namespace
|
1815
|
-
# The namespace of the
|
1816
|
-
# resource provided by your own application or service,
|
1817
|
-
# `custom-resource` instead.
|
1885
|
+
# The namespace of the Amazon Web Services service that provides the
|
1886
|
+
# resource. For a resource provided by your own application or service,
|
1887
|
+
# use `custom-resource` instead.
|
1818
1888
|
#
|
1819
1889
|
# @option params [required, String] :resource_id
|
1820
1890
|
# The identifier of the resource associated with the scaling policy.
|
@@ -1877,6 +1947,10 @@ module Aws::ApplicationAutoScaling
|
|
1877
1947
|
# specified using the cluster ARN. Example:
|
1878
1948
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1879
1949
|
#
|
1950
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1951
|
+
# `replication-group` and the unique identifier is the replication
|
1952
|
+
# group name. Example: `replication-group/mycluster`.
|
1953
|
+
#
|
1880
1954
|
#
|
1881
1955
|
#
|
1882
1956
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1888,12 +1962,12 @@ module Aws::ApplicationAutoScaling
|
|
1888
1962
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1889
1963
|
# service.
|
1890
1964
|
#
|
1891
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1892
|
-
# Spot Fleet request.
|
1893
|
-
#
|
1894
1965
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1895
1966
|
# of an EMR Instance Group.
|
1896
1967
|
#
|
1968
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1969
|
+
# Spot Fleet request.
|
1970
|
+
#
|
1897
1971
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1898
1972
|
# AppStream 2.0 fleet.
|
1899
1973
|
#
|
@@ -1939,6 +2013,12 @@ module Aws::ApplicationAutoScaling
|
|
1939
2013
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1940
2014
|
# GiB) for brokers in an Amazon MSK cluster.
|
1941
2015
|
#
|
2016
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2017
|
+
# groups for an Amazon ElastiCache replication group.
|
2018
|
+
#
|
2019
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2020
|
+
# per node group for an Amazon ElastiCache replication group.
|
2021
|
+
#
|
1942
2022
|
# @option params [String] :policy_type
|
1943
2023
|
# The policy type. This parameter is required if you are creating a
|
1944
2024
|
# scaling policy.
|
@@ -1948,7 +2028,8 @@ module Aws::ApplicationAutoScaling
|
|
1948
2028
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1949
2029
|
#
|
1950
2030
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1951
|
-
# Amazon Keyspaces (for Apache Cassandra), or Amazon
|
2031
|
+
# Amazon Keyspaces (for Apache Cassandra), Amazon MSK, or Amazon
|
2032
|
+
# ElastiCache for Redis.
|
1952
2033
|
#
|
1953
2034
|
# For more information, see [Target tracking scaling policies][1] and
|
1954
2035
|
# [Step scaling policies][2] in the *Application Auto Scaling User
|
@@ -2019,9 +2100,9 @@ module Aws::ApplicationAutoScaling
|
|
2019
2100
|
#
|
2020
2101
|
# resp = client.put_scaling_policy({
|
2021
2102
|
# policy_name: "PolicyName", # required
|
2022
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2103
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2023
2104
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2024
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2105
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
2025
2106
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
2026
2107
|
# step_scaling_policy_configuration: {
|
2027
2108
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -2039,7 +2120,7 @@ module Aws::ApplicationAutoScaling
|
|
2039
2120
|
# target_tracking_scaling_policy_configuration: {
|
2040
2121
|
# target_value: 1.0, # required
|
2041
2122
|
# predefined_metric_specification: {
|
2042
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
2123
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage
|
2043
2124
|
# resource_label: "ResourceLabel",
|
2044
2125
|
# },
|
2045
2126
|
# customized_metric_specification: {
|
@@ -2107,9 +2188,9 @@ module Aws::ApplicationAutoScaling
|
|
2107
2188
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
2108
2189
|
#
|
2109
2190
|
# @option params [required, String] :service_namespace
|
2110
|
-
# The namespace of the
|
2111
|
-
# resource provided by your own application or service,
|
2112
|
-
# `custom-resource` instead.
|
2191
|
+
# The namespace of the Amazon Web Services service that provides the
|
2192
|
+
# resource. For a resource provided by your own application or service,
|
2193
|
+
# use `custom-resource` instead.
|
2113
2194
|
#
|
2114
2195
|
# @option params [String] :schedule
|
2115
2196
|
# The schedule for this action. The following formats are supported:
|
@@ -2221,6 +2302,10 @@ module Aws::ApplicationAutoScaling
|
|
2221
2302
|
# specified using the cluster ARN. Example:
|
2222
2303
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2223
2304
|
#
|
2305
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2306
|
+
# `replication-group` and the unique identifier is the replication
|
2307
|
+
# group name. Example: `replication-group/mycluster`.
|
2308
|
+
#
|
2224
2309
|
#
|
2225
2310
|
#
|
2226
2311
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2232,12 +2317,12 @@ module Aws::ApplicationAutoScaling
|
|
2232
2317
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2233
2318
|
# service.
|
2234
2319
|
#
|
2235
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2236
|
-
# Spot Fleet request.
|
2237
|
-
#
|
2238
2320
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
2239
2321
|
# of an EMR Instance Group.
|
2240
2322
|
#
|
2323
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2324
|
+
# Spot Fleet request.
|
2325
|
+
#
|
2241
2326
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2242
2327
|
# AppStream 2.0 fleet.
|
2243
2328
|
#
|
@@ -2283,6 +2368,12 @@ module Aws::ApplicationAutoScaling
|
|
2283
2368
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2284
2369
|
# GiB) for brokers in an Amazon MSK cluster.
|
2285
2370
|
#
|
2371
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2372
|
+
# groups for an Amazon ElastiCache replication group.
|
2373
|
+
#
|
2374
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2375
|
+
# per node group for an Amazon ElastiCache replication group.
|
2376
|
+
#
|
2286
2377
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2287
2378
|
# The date and time for this scheduled action to start, in UTC.
|
2288
2379
|
#
|
@@ -2301,12 +2392,12 @@ module Aws::ApplicationAutoScaling
|
|
2301
2392
|
# @example Request syntax with placeholder values
|
2302
2393
|
#
|
2303
2394
|
# resp = client.put_scheduled_action({
|
2304
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2395
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2305
2396
|
# schedule: "ResourceIdMaxLen1600",
|
2306
2397
|
# timezone: "ResourceIdMaxLen1600",
|
2307
2398
|
# scheduled_action_name: "ScheduledActionName", # required
|
2308
2399
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2309
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2400
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
2310
2401
|
# start_time: Time.now,
|
2311
2402
|
# end_time: Time.now,
|
2312
2403
|
# scalable_target_action: {
|
@@ -2354,9 +2445,9 @@ module Aws::ApplicationAutoScaling
|
|
2354
2445
|
# [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html
|
2355
2446
|
#
|
2356
2447
|
# @option params [required, String] :service_namespace
|
2357
|
-
# The namespace of the
|
2358
|
-
# resource provided by your own application or service,
|
2359
|
-
# `custom-resource` instead.
|
2448
|
+
# The namespace of the Amazon Web Services service that provides the
|
2449
|
+
# resource. For a resource provided by your own application or service,
|
2450
|
+
# use `custom-resource` instead.
|
2360
2451
|
#
|
2361
2452
|
# @option params [required, String] :resource_id
|
2362
2453
|
# The identifier of the resource that is associated with the scalable
|
@@ -2420,6 +2511,10 @@ module Aws::ApplicationAutoScaling
|
|
2420
2511
|
# specified using the cluster ARN. Example:
|
2421
2512
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2422
2513
|
#
|
2514
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2515
|
+
# `replication-group` and the unique identifier is the replication
|
2516
|
+
# group name. Example: `replication-group/mycluster`.
|
2517
|
+
#
|
2423
2518
|
#
|
2424
2519
|
#
|
2425
2520
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2432,12 +2527,12 @@ module Aws::ApplicationAutoScaling
|
|
2432
2527
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2433
2528
|
# service.
|
2434
2529
|
#
|
2435
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2436
|
-
# Spot Fleet request.
|
2437
|
-
#
|
2438
2530
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
2439
2531
|
# of an EMR Instance Group.
|
2440
2532
|
#
|
2533
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2534
|
+
# Spot Fleet request.
|
2535
|
+
#
|
2441
2536
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2442
2537
|
# AppStream 2.0 fleet.
|
2443
2538
|
#
|
@@ -2483,6 +2578,12 @@ module Aws::ApplicationAutoScaling
|
|
2483
2578
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2484
2579
|
# GiB) for brokers in an Amazon MSK cluster.
|
2485
2580
|
#
|
2581
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2582
|
+
# groups for an Amazon ElastiCache replication group.
|
2583
|
+
#
|
2584
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2585
|
+
# per node group for an Amazon ElastiCache replication group.
|
2586
|
+
#
|
2486
2587
|
# @option params [Integer] :min_capacity
|
2487
2588
|
# The minimum value that you plan to scale in to. When a scaling policy
|
2488
2589
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
@@ -2573,9 +2674,9 @@ module Aws::ApplicationAutoScaling
|
|
2573
2674
|
# @example Request syntax with placeholder values
|
2574
2675
|
#
|
2575
2676
|
# resp = client.register_scalable_target({
|
2576
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2677
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2577
2678
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2578
|
-
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2679
|
+
# 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, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas
|
2579
2680
|
# min_capacity: 1,
|
2580
2681
|
# max_capacity: 1,
|
2581
2682
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2608,7 +2709,7 @@ module Aws::ApplicationAutoScaling
|
|
2608
2709
|
params: params,
|
2609
2710
|
config: config)
|
2610
2711
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2611
|
-
context[:gem_version] = '1.
|
2712
|
+
context[:gem_version] = '1.54.0'
|
2612
2713
|
Seahorse::Client::Request.new(handlers, context)
|
2613
2714
|
end
|
2614
2715
|
|