aws-sdk-applicationautoscaling 1.55.0 → 1.56.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +163 -95
- data/lib/aws-sdk-applicationautoscaling/types.rb +224 -141
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- metadata +2 -2
@@ -369,8 +369,8 @@ module Aws::ApplicationAutoScaling
|
|
369
369
|
# identifier is the cluster name and service name. Example:
|
370
370
|
# `service/default/sample-webapp`.
|
371
371
|
#
|
372
|
-
# * Spot Fleet
|
373
|
-
#
|
372
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
373
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
374
374
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
375
375
|
#
|
376
376
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -390,8 +390,8 @@ module Aws::ApplicationAutoScaling
|
|
390
390
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
391
391
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
392
392
|
#
|
393
|
-
# *
|
394
|
-
#
|
393
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
394
|
+
# unique identifier is the resource ID. Example:
|
395
395
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
396
396
|
#
|
397
397
|
# * Custom resources are not supported with a resource type. This
|
@@ -426,6 +426,9 @@ module Aws::ApplicationAutoScaling
|
|
426
426
|
# `replication-group` and the unique identifier is the replication
|
427
427
|
# group name. Example: `replication-group/mycluster`.
|
428
428
|
#
|
429
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
430
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
431
|
+
#
|
429
432
|
#
|
430
433
|
#
|
431
434
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -441,7 +444,7 @@ module Aws::ApplicationAutoScaling
|
|
441
444
|
# of an EMR Instance Group.
|
442
445
|
#
|
443
446
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
444
|
-
# Spot Fleet
|
447
|
+
# Spot Fleet.
|
445
448
|
#
|
446
449
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
447
450
|
# AppStream 2.0 fleet.
|
@@ -463,7 +466,7 @@ module Aws::ApplicationAutoScaling
|
|
463
466
|
# Aurora PostgreSQL-compatible edition.
|
464
467
|
#
|
465
468
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
466
|
-
# instances for an
|
469
|
+
# instances for an SageMaker model endpoint variant.
|
467
470
|
#
|
468
471
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
469
472
|
# a custom resource provided by your own application or service.
|
@@ -494,6 +497,9 @@ module Aws::ApplicationAutoScaling
|
|
494
497
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
495
498
|
# per node group for an Amazon ElastiCache replication group.
|
496
499
|
#
|
500
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
501
|
+
# an Amazon Neptune DB cluster.
|
502
|
+
#
|
497
503
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
498
504
|
#
|
499
505
|
#
|
@@ -517,9 +523,9 @@ module Aws::ApplicationAutoScaling
|
|
517
523
|
#
|
518
524
|
# resp = client.delete_scaling_policy({
|
519
525
|
# policy_name: "ResourceIdMaxLen1600", # required
|
520
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
526
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
521
527
|
# resource_id: "ResourceIdMaxLen1600", # required
|
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
|
528
|
+
# 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, neptune:cluster:ReadReplicaCount
|
523
529
|
# })
|
524
530
|
#
|
525
531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -557,8 +563,8 @@ module Aws::ApplicationAutoScaling
|
|
557
563
|
# identifier is the cluster name and service name. Example:
|
558
564
|
# `service/default/sample-webapp`.
|
559
565
|
#
|
560
|
-
# * Spot Fleet
|
561
|
-
#
|
566
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
567
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
562
568
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
563
569
|
#
|
564
570
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -578,8 +584,8 @@ module Aws::ApplicationAutoScaling
|
|
578
584
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
579
585
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
580
586
|
#
|
581
|
-
# *
|
582
|
-
#
|
587
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
588
|
+
# unique identifier is the resource ID. Example:
|
583
589
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
584
590
|
#
|
585
591
|
# * Custom resources are not supported with a resource type. This
|
@@ -614,6 +620,9 @@ module Aws::ApplicationAutoScaling
|
|
614
620
|
# `replication-group` and the unique identifier is the replication
|
615
621
|
# group name. Example: `replication-group/mycluster`.
|
616
622
|
#
|
623
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
624
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
625
|
+
#
|
617
626
|
#
|
618
627
|
#
|
619
628
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -629,7 +638,7 @@ module Aws::ApplicationAutoScaling
|
|
629
638
|
# of an EMR Instance Group.
|
630
639
|
#
|
631
640
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
632
|
-
# Spot Fleet
|
641
|
+
# Spot Fleet.
|
633
642
|
#
|
634
643
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
635
644
|
# AppStream 2.0 fleet.
|
@@ -651,7 +660,7 @@ module Aws::ApplicationAutoScaling
|
|
651
660
|
# Aurora PostgreSQL-compatible edition.
|
652
661
|
#
|
653
662
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
654
|
-
# instances for an
|
663
|
+
# instances for an SageMaker model endpoint variant.
|
655
664
|
#
|
656
665
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
657
666
|
# a custom resource provided by your own application or service.
|
@@ -682,15 +691,18 @@ module Aws::ApplicationAutoScaling
|
|
682
691
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
683
692
|
# per node group for an Amazon ElastiCache replication group.
|
684
693
|
#
|
694
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
695
|
+
# an Amazon Neptune DB cluster.
|
696
|
+
#
|
685
697
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
686
698
|
#
|
687
699
|
# @example Request syntax with placeholder values
|
688
700
|
#
|
689
701
|
# resp = client.delete_scheduled_action({
|
690
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
702
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
691
703
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
692
704
|
# resource_id: "ResourceIdMaxLen1600", # required
|
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
|
705
|
+
# 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, neptune:cluster:ReadReplicaCount
|
694
706
|
# })
|
695
707
|
#
|
696
708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -728,8 +740,8 @@ module Aws::ApplicationAutoScaling
|
|
728
740
|
# identifier is the cluster name and service name. Example:
|
729
741
|
# `service/default/sample-webapp`.
|
730
742
|
#
|
731
|
-
# * Spot Fleet
|
732
|
-
#
|
743
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
744
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
733
745
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
734
746
|
#
|
735
747
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -749,8 +761,8 @@ module Aws::ApplicationAutoScaling
|
|
749
761
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
750
762
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
751
763
|
#
|
752
|
-
# *
|
753
|
-
#
|
764
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
765
|
+
# unique identifier is the resource ID. Example:
|
754
766
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
755
767
|
#
|
756
768
|
# * Custom resources are not supported with a resource type. This
|
@@ -785,6 +797,9 @@ module Aws::ApplicationAutoScaling
|
|
785
797
|
# `replication-group` and the unique identifier is the replication
|
786
798
|
# group name. Example: `replication-group/mycluster`.
|
787
799
|
#
|
800
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
801
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
802
|
+
#
|
788
803
|
#
|
789
804
|
#
|
790
805
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -801,7 +816,7 @@ module Aws::ApplicationAutoScaling
|
|
801
816
|
# of an EMR Instance Group.
|
802
817
|
#
|
803
818
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
804
|
-
# Spot Fleet
|
819
|
+
# Spot Fleet.
|
805
820
|
#
|
806
821
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
807
822
|
# AppStream 2.0 fleet.
|
@@ -823,7 +838,7 @@ module Aws::ApplicationAutoScaling
|
|
823
838
|
# Aurora PostgreSQL-compatible edition.
|
824
839
|
#
|
825
840
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
826
|
-
# instances for an
|
841
|
+
# instances for an SageMaker model endpoint variant.
|
827
842
|
#
|
828
843
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
829
844
|
# a custom resource provided by your own application or service.
|
@@ -854,6 +869,9 @@ module Aws::ApplicationAutoScaling
|
|
854
869
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
855
870
|
# per node group for an Amazon ElastiCache replication group.
|
856
871
|
#
|
872
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
873
|
+
# an Amazon Neptune DB cluster.
|
874
|
+
#
|
857
875
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
858
876
|
#
|
859
877
|
#
|
@@ -875,9 +893,9 @@ module Aws::ApplicationAutoScaling
|
|
875
893
|
# @example Request syntax with placeholder values
|
876
894
|
#
|
877
895
|
# resp = client.deregister_scalable_target({
|
878
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
896
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
879
897
|
# resource_id: "ResourceIdMaxLen1600", # required
|
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
|
898
|
+
# 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, neptune:cluster:ReadReplicaCount
|
881
899
|
# })
|
882
900
|
#
|
883
901
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -908,8 +926,8 @@ module Aws::ApplicationAutoScaling
|
|
908
926
|
# identifier is the cluster name and service name. Example:
|
909
927
|
# `service/default/sample-webapp`.
|
910
928
|
#
|
911
|
-
# * Spot Fleet
|
912
|
-
#
|
929
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
930
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
913
931
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
914
932
|
#
|
915
933
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -929,8 +947,8 @@ module Aws::ApplicationAutoScaling
|
|
929
947
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
930
948
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
931
949
|
#
|
932
|
-
# *
|
933
|
-
#
|
950
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
951
|
+
# unique identifier is the resource ID. Example:
|
934
952
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
935
953
|
#
|
936
954
|
# * Custom resources are not supported with a resource type. This
|
@@ -965,6 +983,9 @@ module Aws::ApplicationAutoScaling
|
|
965
983
|
# `replication-group` and the unique identifier is the replication
|
966
984
|
# group name. Example: `replication-group/mycluster`.
|
967
985
|
#
|
986
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
987
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
988
|
+
#
|
968
989
|
#
|
969
990
|
#
|
970
991
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -982,7 +1003,7 @@ module Aws::ApplicationAutoScaling
|
|
982
1003
|
# of an EMR Instance Group.
|
983
1004
|
#
|
984
1005
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
985
|
-
# Spot Fleet
|
1006
|
+
# Spot Fleet.
|
986
1007
|
#
|
987
1008
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
988
1009
|
# AppStream 2.0 fleet.
|
@@ -1004,7 +1025,7 @@ module Aws::ApplicationAutoScaling
|
|
1004
1025
|
# Aurora PostgreSQL-compatible edition.
|
1005
1026
|
#
|
1006
1027
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1007
|
-
# instances for an
|
1028
|
+
# instances for an SageMaker model endpoint variant.
|
1008
1029
|
#
|
1009
1030
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1010
1031
|
# a custom resource provided by your own application or service.
|
@@ -1035,6 +1056,9 @@ module Aws::ApplicationAutoScaling
|
|
1035
1056
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1036
1057
|
# per node group for an Amazon ElastiCache replication group.
|
1037
1058
|
#
|
1059
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1060
|
+
# an Amazon Neptune DB cluster.
|
1061
|
+
#
|
1038
1062
|
# @option params [Integer] :max_results
|
1039
1063
|
# The maximum number of scalable targets. This value can be between 1
|
1040
1064
|
# and 50. The default value is 50.
|
@@ -1087,9 +1111,9 @@ module Aws::ApplicationAutoScaling
|
|
1087
1111
|
# @example Request syntax with placeholder values
|
1088
1112
|
#
|
1089
1113
|
# resp = client.describe_scalable_targets({
|
1090
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1114
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1091
1115
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
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
|
1116
|
+
# 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, neptune:cluster:ReadReplicaCount
|
1093
1117
|
# max_results: 1,
|
1094
1118
|
# next_token: "XmlString",
|
1095
1119
|
# })
|
@@ -1097,9 +1121,9 @@ module Aws::ApplicationAutoScaling
|
|
1097
1121
|
# @example Response structure
|
1098
1122
|
#
|
1099
1123
|
# resp.scalable_targets #=> Array
|
1100
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1124
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1101
1125
|
# resp.scalable_targets[0].resource_id #=> String
|
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"
|
1126
|
+
# 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", "neptune:cluster:ReadReplicaCount"
|
1103
1127
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1104
1128
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1105
1129
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1136,8 +1160,8 @@ module Aws::ApplicationAutoScaling
|
|
1136
1160
|
# identifier is the cluster name and service name. Example:
|
1137
1161
|
# `service/default/sample-webapp`.
|
1138
1162
|
#
|
1139
|
-
# * Spot Fleet
|
1140
|
-
#
|
1163
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1164
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1141
1165
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1142
1166
|
#
|
1143
1167
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1157,8 +1181,8 @@ module Aws::ApplicationAutoScaling
|
|
1157
1181
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1158
1182
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1159
1183
|
#
|
1160
|
-
# *
|
1161
|
-
#
|
1184
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1185
|
+
# unique identifier is the resource ID. Example:
|
1162
1186
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1163
1187
|
#
|
1164
1188
|
# * Custom resources are not supported with a resource type. This
|
@@ -1193,6 +1217,9 @@ module Aws::ApplicationAutoScaling
|
|
1193
1217
|
# `replication-group` and the unique identifier is the replication
|
1194
1218
|
# group name. Example: `replication-group/mycluster`.
|
1195
1219
|
#
|
1220
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1221
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1222
|
+
#
|
1196
1223
|
#
|
1197
1224
|
#
|
1198
1225
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1209,7 +1236,7 @@ module Aws::ApplicationAutoScaling
|
|
1209
1236
|
# of an EMR Instance Group.
|
1210
1237
|
#
|
1211
1238
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1212
|
-
# Spot Fleet
|
1239
|
+
# Spot Fleet.
|
1213
1240
|
#
|
1214
1241
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1215
1242
|
# AppStream 2.0 fleet.
|
@@ -1231,7 +1258,7 @@ module Aws::ApplicationAutoScaling
|
|
1231
1258
|
# Aurora PostgreSQL-compatible edition.
|
1232
1259
|
#
|
1233
1260
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1234
|
-
# instances for an
|
1261
|
+
# instances for an SageMaker model endpoint variant.
|
1235
1262
|
#
|
1236
1263
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1237
1264
|
# a custom resource provided by your own application or service.
|
@@ -1262,6 +1289,9 @@ module Aws::ApplicationAutoScaling
|
|
1262
1289
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1263
1290
|
# per node group for an Amazon ElastiCache replication group.
|
1264
1291
|
#
|
1292
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1293
|
+
# an Amazon Neptune DB cluster.
|
1294
|
+
#
|
1265
1295
|
# @option params [Integer] :max_results
|
1266
1296
|
# The maximum number of scalable targets. This value can be between 1
|
1267
1297
|
# and 50. The default value is 50.
|
@@ -1315,9 +1345,9 @@ module Aws::ApplicationAutoScaling
|
|
1315
1345
|
# @example Request syntax with placeholder values
|
1316
1346
|
#
|
1317
1347
|
# resp = client.describe_scaling_activities({
|
1318
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1348
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1319
1349
|
# resource_id: "ResourceIdMaxLen1600",
|
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
|
1350
|
+
# 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, neptune:cluster:ReadReplicaCount
|
1321
1351
|
# max_results: 1,
|
1322
1352
|
# next_token: "XmlString",
|
1323
1353
|
# })
|
@@ -1326,9 +1356,9 @@ module Aws::ApplicationAutoScaling
|
|
1326
1356
|
#
|
1327
1357
|
# resp.scaling_activities #=> Array
|
1328
1358
|
# resp.scaling_activities[0].activity_id #=> String
|
1329
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1359
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1330
1360
|
# resp.scaling_activities[0].resource_id #=> String
|
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"
|
1361
|
+
# 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", "neptune:cluster:ReadReplicaCount"
|
1332
1362
|
# resp.scaling_activities[0].description #=> String
|
1333
1363
|
# resp.scaling_activities[0].cause #=> String
|
1334
1364
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1378,8 +1408,8 @@ module Aws::ApplicationAutoScaling
|
|
1378
1408
|
# identifier is the cluster name and service name. Example:
|
1379
1409
|
# `service/default/sample-webapp`.
|
1380
1410
|
#
|
1381
|
-
# * Spot Fleet
|
1382
|
-
#
|
1411
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1412
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1383
1413
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1384
1414
|
#
|
1385
1415
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1399,8 +1429,8 @@ module Aws::ApplicationAutoScaling
|
|
1399
1429
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1400
1430
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1401
1431
|
#
|
1402
|
-
# *
|
1403
|
-
#
|
1432
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1433
|
+
# unique identifier is the resource ID. Example:
|
1404
1434
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1405
1435
|
#
|
1406
1436
|
# * Custom resources are not supported with a resource type. This
|
@@ -1435,6 +1465,9 @@ module Aws::ApplicationAutoScaling
|
|
1435
1465
|
# `replication-group` and the unique identifier is the replication
|
1436
1466
|
# group name. Example: `replication-group/mycluster`.
|
1437
1467
|
#
|
1468
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1469
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1470
|
+
#
|
1438
1471
|
#
|
1439
1472
|
#
|
1440
1473
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1451,7 +1484,7 @@ module Aws::ApplicationAutoScaling
|
|
1451
1484
|
# of an EMR Instance Group.
|
1452
1485
|
#
|
1453
1486
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1454
|
-
# Spot Fleet
|
1487
|
+
# Spot Fleet.
|
1455
1488
|
#
|
1456
1489
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1457
1490
|
# AppStream 2.0 fleet.
|
@@ -1473,7 +1506,7 @@ module Aws::ApplicationAutoScaling
|
|
1473
1506
|
# Aurora PostgreSQL-compatible edition.
|
1474
1507
|
#
|
1475
1508
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1476
|
-
# instances for an
|
1509
|
+
# instances for an SageMaker model endpoint variant.
|
1477
1510
|
#
|
1478
1511
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1479
1512
|
# a custom resource provided by your own application or service.
|
@@ -1504,14 +1537,17 @@ module Aws::ApplicationAutoScaling
|
|
1504
1537
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1505
1538
|
# per node group for an Amazon ElastiCache replication group.
|
1506
1539
|
#
|
1540
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1541
|
+
# an Amazon Neptune DB cluster.
|
1542
|
+
#
|
1507
1543
|
# @option params [Integer] :max_results
|
1508
1544
|
# The maximum number of scalable targets. This value can be between 1
|
1509
|
-
# and
|
1545
|
+
# and 10. The default value is 10.
|
1510
1546
|
#
|
1511
1547
|
# If this parameter is used, the operation returns up to `MaxResults`
|
1512
1548
|
# results at a time, along with a `NextToken` value. To get the next set
|
1513
1549
|
# of results, include the `NextToken` value in a subsequent call. If
|
1514
|
-
# this parameter is not used, the operation returns up to
|
1550
|
+
# this parameter is not used, the operation returns up to 10 results and
|
1515
1551
|
# a `NextToken` value, if applicable.
|
1516
1552
|
#
|
1517
1553
|
# @option params [String] :next_token
|
@@ -1569,9 +1605,9 @@ module Aws::ApplicationAutoScaling
|
|
1569
1605
|
#
|
1570
1606
|
# resp = client.describe_scaling_policies({
|
1571
1607
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1572
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1608
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1573
1609
|
# resource_id: "ResourceIdMaxLen1600",
|
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
|
1610
|
+
# 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, neptune:cluster:ReadReplicaCount
|
1575
1611
|
# max_results: 1,
|
1576
1612
|
# next_token: "XmlString",
|
1577
1613
|
# })
|
@@ -1581,9 +1617,9 @@ module Aws::ApplicationAutoScaling
|
|
1581
1617
|
# resp.scaling_policies #=> Array
|
1582
1618
|
# resp.scaling_policies[0].policy_arn #=> String
|
1583
1619
|
# resp.scaling_policies[0].policy_name #=> String
|
1584
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1620
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1585
1621
|
# resp.scaling_policies[0].resource_id #=> String
|
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"
|
1622
|
+
# 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", "neptune:cluster:ReadReplicaCount"
|
1587
1623
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1588
1624
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1589
1625
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1594,7 +1630,7 @@ module Aws::ApplicationAutoScaling
|
|
1594
1630
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1595
1631
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1596
1632
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
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"
|
1633
|
+
# 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", "NeptuneReaderAverageCPUUtilization"
|
1598
1634
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1599
1635
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1600
1636
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1651,8 +1687,8 @@ module Aws::ApplicationAutoScaling
|
|
1651
1687
|
# identifier is the cluster name and service name. Example:
|
1652
1688
|
# `service/default/sample-webapp`.
|
1653
1689
|
#
|
1654
|
-
# * Spot Fleet
|
1655
|
-
#
|
1690
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1691
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1656
1692
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1657
1693
|
#
|
1658
1694
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1672,8 +1708,8 @@ module Aws::ApplicationAutoScaling
|
|
1672
1708
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1673
1709
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1674
1710
|
#
|
1675
|
-
# *
|
1676
|
-
#
|
1711
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1712
|
+
# unique identifier is the resource ID. Example:
|
1677
1713
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1678
1714
|
#
|
1679
1715
|
# * Custom resources are not supported with a resource type. This
|
@@ -1708,6 +1744,9 @@ module Aws::ApplicationAutoScaling
|
|
1708
1744
|
# `replication-group` and the unique identifier is the replication
|
1709
1745
|
# group name. Example: `replication-group/mycluster`.
|
1710
1746
|
#
|
1747
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1748
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1749
|
+
#
|
1711
1750
|
#
|
1712
1751
|
#
|
1713
1752
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1724,7 +1763,7 @@ module Aws::ApplicationAutoScaling
|
|
1724
1763
|
# of an EMR Instance Group.
|
1725
1764
|
#
|
1726
1765
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1727
|
-
# Spot Fleet
|
1766
|
+
# Spot Fleet.
|
1728
1767
|
#
|
1729
1768
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1730
1769
|
# AppStream 2.0 fleet.
|
@@ -1746,7 +1785,7 @@ module Aws::ApplicationAutoScaling
|
|
1746
1785
|
# Aurora PostgreSQL-compatible edition.
|
1747
1786
|
#
|
1748
1787
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1749
|
-
# instances for an
|
1788
|
+
# instances for an SageMaker model endpoint variant.
|
1750
1789
|
#
|
1751
1790
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1752
1791
|
# a custom resource provided by your own application or service.
|
@@ -1777,6 +1816,9 @@ module Aws::ApplicationAutoScaling
|
|
1777
1816
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1778
1817
|
# per node group for an Amazon ElastiCache replication group.
|
1779
1818
|
#
|
1819
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1820
|
+
# an Amazon Neptune DB cluster.
|
1821
|
+
#
|
1780
1822
|
# @option params [Integer] :max_results
|
1781
1823
|
# The maximum number of scheduled action results. This value can be
|
1782
1824
|
# between 1 and 50. The default value is 50.
|
@@ -1801,9 +1843,9 @@ module Aws::ApplicationAutoScaling
|
|
1801
1843
|
#
|
1802
1844
|
# resp = client.describe_scheduled_actions({
|
1803
1845
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1804
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1846
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1805
1847
|
# resource_id: "ResourceIdMaxLen1600",
|
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
|
1848
|
+
# 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, neptune:cluster:ReadReplicaCount
|
1807
1849
|
# max_results: 1,
|
1808
1850
|
# next_token: "XmlString",
|
1809
1851
|
# })
|
@@ -1813,11 +1855,11 @@ module Aws::ApplicationAutoScaling
|
|
1813
1855
|
# resp.scheduled_actions #=> Array
|
1814
1856
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1815
1857
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1816
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache"
|
1858
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1817
1859
|
# resp.scheduled_actions[0].schedule #=> String
|
1818
1860
|
# resp.scheduled_actions[0].timezone #=> String
|
1819
1861
|
# resp.scheduled_actions[0].resource_id #=> String
|
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"
|
1862
|
+
# 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", "neptune:cluster:ReadReplicaCount"
|
1821
1863
|
# resp.scheduled_actions[0].start_time #=> Time
|
1822
1864
|
# resp.scheduled_actions[0].end_time #=> Time
|
1823
1865
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1894,8 +1936,8 @@ module Aws::ApplicationAutoScaling
|
|
1894
1936
|
# identifier is the cluster name and service name. Example:
|
1895
1937
|
# `service/default/sample-webapp`.
|
1896
1938
|
#
|
1897
|
-
# * Spot Fleet
|
1898
|
-
#
|
1939
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1940
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1899
1941
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1900
1942
|
#
|
1901
1943
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1915,8 +1957,8 @@ module Aws::ApplicationAutoScaling
|
|
1915
1957
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1916
1958
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1917
1959
|
#
|
1918
|
-
# *
|
1919
|
-
#
|
1960
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1961
|
+
# unique identifier is the resource ID. Example:
|
1920
1962
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1921
1963
|
#
|
1922
1964
|
# * Custom resources are not supported with a resource type. This
|
@@ -1951,6 +1993,9 @@ module Aws::ApplicationAutoScaling
|
|
1951
1993
|
# `replication-group` and the unique identifier is the replication
|
1952
1994
|
# group name. Example: `replication-group/mycluster`.
|
1953
1995
|
#
|
1996
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1997
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1998
|
+
#
|
1954
1999
|
#
|
1955
2000
|
#
|
1956
2001
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1966,7 +2011,7 @@ module Aws::ApplicationAutoScaling
|
|
1966
2011
|
# of an EMR Instance Group.
|
1967
2012
|
#
|
1968
2013
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1969
|
-
# Spot Fleet
|
2014
|
+
# Spot Fleet.
|
1970
2015
|
#
|
1971
2016
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1972
2017
|
# AppStream 2.0 fleet.
|
@@ -1988,7 +2033,7 @@ module Aws::ApplicationAutoScaling
|
|
1988
2033
|
# Aurora PostgreSQL-compatible edition.
|
1989
2034
|
#
|
1990
2035
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1991
|
-
# instances for an
|
2036
|
+
# instances for an SageMaker model endpoint variant.
|
1992
2037
|
#
|
1993
2038
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1994
2039
|
# a custom resource provided by your own application or service.
|
@@ -2019,6 +2064,9 @@ module Aws::ApplicationAutoScaling
|
|
2019
2064
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2020
2065
|
# per node group for an Amazon ElastiCache replication group.
|
2021
2066
|
#
|
2067
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2068
|
+
# an Amazon Neptune DB cluster.
|
2069
|
+
#
|
2022
2070
|
# @option params [String] :policy_type
|
2023
2071
|
# The policy type. This parameter is required if you are creating a
|
2024
2072
|
# scaling policy.
|
@@ -2028,8 +2076,7 @@ module Aws::ApplicationAutoScaling
|
|
2028
2076
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
2029
2077
|
#
|
2030
2078
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
2031
|
-
# Amazon Keyspaces
|
2032
|
-
# ElastiCache for Redis.
|
2079
|
+
# Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
|
2033
2080
|
#
|
2034
2081
|
# For more information, see [Target tracking scaling policies][1] and
|
2035
2082
|
# [Step scaling policies][2] in the *Application Auto Scaling User
|
@@ -2100,9 +2147,9 @@ module Aws::ApplicationAutoScaling
|
|
2100
2147
|
#
|
2101
2148
|
# resp = client.put_scaling_policy({
|
2102
2149
|
# policy_name: "PolicyName", # required
|
2103
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2150
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2104
2151
|
# resource_id: "ResourceIdMaxLen1600", # required
|
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
|
2152
|
+
# 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, neptune:cluster:ReadReplicaCount
|
2106
2153
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
2107
2154
|
# step_scaling_policy_configuration: {
|
2108
2155
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -2120,7 +2167,7 @@ module Aws::ApplicationAutoScaling
|
|
2120
2167
|
# target_tracking_scaling_policy_configuration: {
|
2121
2168
|
# target_value: 1.0, # required
|
2122
2169
|
# predefined_metric_specification: {
|
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
|
2170
|
+
# 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, NeptuneReaderAverageCPUUtilization
|
2124
2171
|
# resource_label: "ResourceLabel",
|
2125
2172
|
# },
|
2126
2173
|
# customized_metric_specification: {
|
@@ -2249,8 +2296,8 @@ module Aws::ApplicationAutoScaling
|
|
2249
2296
|
# identifier is the cluster name and service name. Example:
|
2250
2297
|
# `service/default/sample-webapp`.
|
2251
2298
|
#
|
2252
|
-
# * Spot Fleet
|
2253
|
-
#
|
2299
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2300
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2254
2301
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2255
2302
|
#
|
2256
2303
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2270,8 +2317,8 @@ module Aws::ApplicationAutoScaling
|
|
2270
2317
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2271
2318
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2272
2319
|
#
|
2273
|
-
# *
|
2274
|
-
#
|
2320
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
2321
|
+
# unique identifier is the resource ID. Example:
|
2275
2322
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2276
2323
|
#
|
2277
2324
|
# * Custom resources are not supported with a resource type. This
|
@@ -2306,6 +2353,9 @@ module Aws::ApplicationAutoScaling
|
|
2306
2353
|
# `replication-group` and the unique identifier is the replication
|
2307
2354
|
# group name. Example: `replication-group/mycluster`.
|
2308
2355
|
#
|
2356
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2357
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2358
|
+
#
|
2309
2359
|
#
|
2310
2360
|
#
|
2311
2361
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2321,7 +2371,7 @@ module Aws::ApplicationAutoScaling
|
|
2321
2371
|
# of an EMR Instance Group.
|
2322
2372
|
#
|
2323
2373
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2324
|
-
# Spot Fleet
|
2374
|
+
# Spot Fleet.
|
2325
2375
|
#
|
2326
2376
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2327
2377
|
# AppStream 2.0 fleet.
|
@@ -2343,7 +2393,7 @@ module Aws::ApplicationAutoScaling
|
|
2343
2393
|
# Aurora PostgreSQL-compatible edition.
|
2344
2394
|
#
|
2345
2395
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2346
|
-
# instances for an
|
2396
|
+
# instances for an SageMaker model endpoint variant.
|
2347
2397
|
#
|
2348
2398
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2349
2399
|
# a custom resource provided by your own application or service.
|
@@ -2374,6 +2424,9 @@ module Aws::ApplicationAutoScaling
|
|
2374
2424
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2375
2425
|
# per node group for an Amazon ElastiCache replication group.
|
2376
2426
|
#
|
2427
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2428
|
+
# an Amazon Neptune DB cluster.
|
2429
|
+
#
|
2377
2430
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2378
2431
|
# The date and time for this scheduled action to start, in UTC.
|
2379
2432
|
#
|
@@ -2392,12 +2445,12 @@ module Aws::ApplicationAutoScaling
|
|
2392
2445
|
# @example Request syntax with placeholder values
|
2393
2446
|
#
|
2394
2447
|
# resp = client.put_scheduled_action({
|
2395
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2448
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2396
2449
|
# schedule: "ResourceIdMaxLen1600",
|
2397
2450
|
# timezone: "ResourceIdMaxLen1600",
|
2398
2451
|
# scheduled_action_name: "ScheduledActionName", # required
|
2399
2452
|
# resource_id: "ResourceIdMaxLen1600", # required
|
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
|
2453
|
+
# 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, neptune:cluster:ReadReplicaCount
|
2401
2454
|
# start_time: Time.now,
|
2402
2455
|
# end_time: Time.now,
|
2403
2456
|
# scalable_target_action: {
|
@@ -2439,6 +2492,15 @@ module Aws::ApplicationAutoScaling
|
|
2439
2492
|
# resource ID, scalable dimension, and namespace. Any parameters that
|
2440
2493
|
# you don't specify are not changed by this update request.
|
2441
2494
|
#
|
2495
|
+
# <note markdown="1"> If you call the `RegisterScalableTarget` API to update an existing
|
2496
|
+
# scalable target, Application Auto Scaling retrieves the current
|
2497
|
+
# capacity of the resource. If it is below the minimum capacity or above
|
2498
|
+
# the maximum capacity, Application Auto Scaling adjusts the capacity of
|
2499
|
+
# the scalable target to place it within these bounds, even if you
|
2500
|
+
# don't include the `MinCapacity` or `MaxCapacity` request parameters.
|
2501
|
+
#
|
2502
|
+
# </note>
|
2503
|
+
#
|
2442
2504
|
#
|
2443
2505
|
#
|
2444
2506
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
|
@@ -2458,8 +2520,8 @@ module Aws::ApplicationAutoScaling
|
|
2458
2520
|
# identifier is the cluster name and service name. Example:
|
2459
2521
|
# `service/default/sample-webapp`.
|
2460
2522
|
#
|
2461
|
-
# * Spot Fleet
|
2462
|
-
#
|
2523
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2524
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2463
2525
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2464
2526
|
#
|
2465
2527
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2479,8 +2541,8 @@ module Aws::ApplicationAutoScaling
|
|
2479
2541
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2480
2542
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2481
2543
|
#
|
2482
|
-
# *
|
2483
|
-
#
|
2544
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
2545
|
+
# unique identifier is the resource ID. Example:
|
2484
2546
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2485
2547
|
#
|
2486
2548
|
# * Custom resources are not supported with a resource type. This
|
@@ -2515,6 +2577,9 @@ module Aws::ApplicationAutoScaling
|
|
2515
2577
|
# `replication-group` and the unique identifier is the replication
|
2516
2578
|
# group name. Example: `replication-group/mycluster`.
|
2517
2579
|
#
|
2580
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2581
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2582
|
+
#
|
2518
2583
|
#
|
2519
2584
|
#
|
2520
2585
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2531,7 +2596,7 @@ module Aws::ApplicationAutoScaling
|
|
2531
2596
|
# of an EMR Instance Group.
|
2532
2597
|
#
|
2533
2598
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2534
|
-
# Spot Fleet
|
2599
|
+
# Spot Fleet.
|
2535
2600
|
#
|
2536
2601
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2537
2602
|
# AppStream 2.0 fleet.
|
@@ -2553,7 +2618,7 @@ module Aws::ApplicationAutoScaling
|
|
2553
2618
|
# Aurora PostgreSQL-compatible edition.
|
2554
2619
|
#
|
2555
2620
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2556
|
-
# instances for an
|
2621
|
+
# instances for an SageMaker model endpoint variant.
|
2557
2622
|
#
|
2558
2623
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2559
2624
|
# a custom resource provided by your own application or service.
|
@@ -2584,6 +2649,9 @@ module Aws::ApplicationAutoScaling
|
|
2584
2649
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2585
2650
|
# per node group for an Amazon ElastiCache replication group.
|
2586
2651
|
#
|
2652
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2653
|
+
# an Amazon Neptune DB cluster.
|
2654
|
+
#
|
2587
2655
|
# @option params [Integer] :min_capacity
|
2588
2656
|
# The minimum value that you plan to scale in to. When a scaling policy
|
2589
2657
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
@@ -2674,9 +2742,9 @@ module Aws::ApplicationAutoScaling
|
|
2674
2742
|
# @example Request syntax with placeholder values
|
2675
2743
|
#
|
2676
2744
|
# resp = client.register_scalable_target({
|
2677
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2745
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2678
2746
|
# resource_id: "ResourceIdMaxLen1600", # required
|
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
|
2747
|
+
# 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, neptune:cluster:ReadReplicaCount
|
2680
2748
|
# min_capacity: 1,
|
2681
2749
|
# max_capacity: 1,
|
2682
2750
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2709,7 +2777,7 @@ module Aws::ApplicationAutoScaling
|
|
2709
2777
|
params: params,
|
2710
2778
|
config: config)
|
2711
2779
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2712
|
-
context[:gem_version] = '1.
|
2780
|
+
context[:gem_version] = '1.56.0'
|
2713
2781
|
Seahorse::Client::Request.new(handlers, context)
|
2714
2782
|
end
|
2715
2783
|
|