aws-sdk-applicationautoscaling 1.54.0 → 1.58.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +172 -95
- data/lib/aws-sdk-applicationautoscaling/types.rb +224 -141
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- metadata +5 -5
@@ -285,6 +285,15 @@ module Aws::ApplicationAutoScaling
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -369,8 +378,8 @@ module Aws::ApplicationAutoScaling
|
|
369
378
|
# identifier is the cluster name and service name. Example:
|
370
379
|
# `service/default/sample-webapp`.
|
371
380
|
#
|
372
|
-
# * Spot Fleet
|
373
|
-
#
|
381
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
382
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
374
383
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
375
384
|
#
|
376
385
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -390,8 +399,8 @@ module Aws::ApplicationAutoScaling
|
|
390
399
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
391
400
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
392
401
|
#
|
393
|
-
# *
|
394
|
-
#
|
402
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
403
|
+
# unique identifier is the resource ID. Example:
|
395
404
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
396
405
|
#
|
397
406
|
# * Custom resources are not supported with a resource type. This
|
@@ -426,6 +435,9 @@ module Aws::ApplicationAutoScaling
|
|
426
435
|
# `replication-group` and the unique identifier is the replication
|
427
436
|
# group name. Example: `replication-group/mycluster`.
|
428
437
|
#
|
438
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
439
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
440
|
+
#
|
429
441
|
#
|
430
442
|
#
|
431
443
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -441,7 +453,7 @@ module Aws::ApplicationAutoScaling
|
|
441
453
|
# of an EMR Instance Group.
|
442
454
|
#
|
443
455
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
444
|
-
# Spot Fleet
|
456
|
+
# Spot Fleet.
|
445
457
|
#
|
446
458
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
447
459
|
# AppStream 2.0 fleet.
|
@@ -463,7 +475,7 @@ module Aws::ApplicationAutoScaling
|
|
463
475
|
# Aurora PostgreSQL-compatible edition.
|
464
476
|
#
|
465
477
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
466
|
-
# instances for an
|
478
|
+
# instances for an SageMaker model endpoint variant.
|
467
479
|
#
|
468
480
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
469
481
|
# a custom resource provided by your own application or service.
|
@@ -494,6 +506,9 @@ module Aws::ApplicationAutoScaling
|
|
494
506
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
495
507
|
# per node group for an Amazon ElastiCache replication group.
|
496
508
|
#
|
509
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
510
|
+
# an Amazon Neptune DB cluster.
|
511
|
+
#
|
497
512
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
498
513
|
#
|
499
514
|
#
|
@@ -517,9 +532,9 @@ module Aws::ApplicationAutoScaling
|
|
517
532
|
#
|
518
533
|
# resp = client.delete_scaling_policy({
|
519
534
|
# policy_name: "ResourceIdMaxLen1600", # required
|
520
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
535
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
521
536
|
# 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
|
537
|
+
# 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
538
|
# })
|
524
539
|
#
|
525
540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -557,8 +572,8 @@ module Aws::ApplicationAutoScaling
|
|
557
572
|
# identifier is the cluster name and service name. Example:
|
558
573
|
# `service/default/sample-webapp`.
|
559
574
|
#
|
560
|
-
# * Spot Fleet
|
561
|
-
#
|
575
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
576
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
562
577
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
563
578
|
#
|
564
579
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -578,8 +593,8 @@ module Aws::ApplicationAutoScaling
|
|
578
593
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
579
594
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
580
595
|
#
|
581
|
-
# *
|
582
|
-
#
|
596
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
597
|
+
# unique identifier is the resource ID. Example:
|
583
598
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
584
599
|
#
|
585
600
|
# * Custom resources are not supported with a resource type. This
|
@@ -614,6 +629,9 @@ module Aws::ApplicationAutoScaling
|
|
614
629
|
# `replication-group` and the unique identifier is the replication
|
615
630
|
# group name. Example: `replication-group/mycluster`.
|
616
631
|
#
|
632
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
633
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
634
|
+
#
|
617
635
|
#
|
618
636
|
#
|
619
637
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -629,7 +647,7 @@ module Aws::ApplicationAutoScaling
|
|
629
647
|
# of an EMR Instance Group.
|
630
648
|
#
|
631
649
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
632
|
-
# Spot Fleet
|
650
|
+
# Spot Fleet.
|
633
651
|
#
|
634
652
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
635
653
|
# AppStream 2.0 fleet.
|
@@ -651,7 +669,7 @@ module Aws::ApplicationAutoScaling
|
|
651
669
|
# Aurora PostgreSQL-compatible edition.
|
652
670
|
#
|
653
671
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
654
|
-
# instances for an
|
672
|
+
# instances for an SageMaker model endpoint variant.
|
655
673
|
#
|
656
674
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
657
675
|
# a custom resource provided by your own application or service.
|
@@ -682,15 +700,18 @@ module Aws::ApplicationAutoScaling
|
|
682
700
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
683
701
|
# per node group for an Amazon ElastiCache replication group.
|
684
702
|
#
|
703
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
704
|
+
# an Amazon Neptune DB cluster.
|
705
|
+
#
|
685
706
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
686
707
|
#
|
687
708
|
# @example Request syntax with placeholder values
|
688
709
|
#
|
689
710
|
# 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
|
711
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
691
712
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
692
713
|
# 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
|
714
|
+
# 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
715
|
# })
|
695
716
|
#
|
696
717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -728,8 +749,8 @@ module Aws::ApplicationAutoScaling
|
|
728
749
|
# identifier is the cluster name and service name. Example:
|
729
750
|
# `service/default/sample-webapp`.
|
730
751
|
#
|
731
|
-
# * Spot Fleet
|
732
|
-
#
|
752
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
753
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
733
754
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
734
755
|
#
|
735
756
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -749,8 +770,8 @@ module Aws::ApplicationAutoScaling
|
|
749
770
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
750
771
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
751
772
|
#
|
752
|
-
# *
|
753
|
-
#
|
773
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
774
|
+
# unique identifier is the resource ID. Example:
|
754
775
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
755
776
|
#
|
756
777
|
# * Custom resources are not supported with a resource type. This
|
@@ -785,6 +806,9 @@ module Aws::ApplicationAutoScaling
|
|
785
806
|
# `replication-group` and the unique identifier is the replication
|
786
807
|
# group name. Example: `replication-group/mycluster`.
|
787
808
|
#
|
809
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
810
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
811
|
+
#
|
788
812
|
#
|
789
813
|
#
|
790
814
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -801,7 +825,7 @@ module Aws::ApplicationAutoScaling
|
|
801
825
|
# of an EMR Instance Group.
|
802
826
|
#
|
803
827
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
804
|
-
# Spot Fleet
|
828
|
+
# Spot Fleet.
|
805
829
|
#
|
806
830
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
807
831
|
# AppStream 2.0 fleet.
|
@@ -823,7 +847,7 @@ module Aws::ApplicationAutoScaling
|
|
823
847
|
# Aurora PostgreSQL-compatible edition.
|
824
848
|
#
|
825
849
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
826
|
-
# instances for an
|
850
|
+
# instances for an SageMaker model endpoint variant.
|
827
851
|
#
|
828
852
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
829
853
|
# a custom resource provided by your own application or service.
|
@@ -854,6 +878,9 @@ module Aws::ApplicationAutoScaling
|
|
854
878
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
855
879
|
# per node group for an Amazon ElastiCache replication group.
|
856
880
|
#
|
881
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
882
|
+
# an Amazon Neptune DB cluster.
|
883
|
+
#
|
857
884
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
858
885
|
#
|
859
886
|
#
|
@@ -875,9 +902,9 @@ module Aws::ApplicationAutoScaling
|
|
875
902
|
# @example Request syntax with placeholder values
|
876
903
|
#
|
877
904
|
# 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
|
905
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
879
906
|
# 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
|
907
|
+
# 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
908
|
# })
|
882
909
|
#
|
883
910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -908,8 +935,8 @@ module Aws::ApplicationAutoScaling
|
|
908
935
|
# identifier is the cluster name and service name. Example:
|
909
936
|
# `service/default/sample-webapp`.
|
910
937
|
#
|
911
|
-
# * Spot Fleet
|
912
|
-
#
|
938
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
939
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
913
940
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
914
941
|
#
|
915
942
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -929,8 +956,8 @@ module Aws::ApplicationAutoScaling
|
|
929
956
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
930
957
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
931
958
|
#
|
932
|
-
# *
|
933
|
-
#
|
959
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
960
|
+
# unique identifier is the resource ID. Example:
|
934
961
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
935
962
|
#
|
936
963
|
# * Custom resources are not supported with a resource type. This
|
@@ -965,6 +992,9 @@ module Aws::ApplicationAutoScaling
|
|
965
992
|
# `replication-group` and the unique identifier is the replication
|
966
993
|
# group name. Example: `replication-group/mycluster`.
|
967
994
|
#
|
995
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
996
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
997
|
+
#
|
968
998
|
#
|
969
999
|
#
|
970
1000
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -982,7 +1012,7 @@ module Aws::ApplicationAutoScaling
|
|
982
1012
|
# of an EMR Instance Group.
|
983
1013
|
#
|
984
1014
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
985
|
-
# Spot Fleet
|
1015
|
+
# Spot Fleet.
|
986
1016
|
#
|
987
1017
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
988
1018
|
# AppStream 2.0 fleet.
|
@@ -1004,7 +1034,7 @@ module Aws::ApplicationAutoScaling
|
|
1004
1034
|
# Aurora PostgreSQL-compatible edition.
|
1005
1035
|
#
|
1006
1036
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1007
|
-
# instances for an
|
1037
|
+
# instances for an SageMaker model endpoint variant.
|
1008
1038
|
#
|
1009
1039
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1010
1040
|
# a custom resource provided by your own application or service.
|
@@ -1035,6 +1065,9 @@ module Aws::ApplicationAutoScaling
|
|
1035
1065
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1036
1066
|
# per node group for an Amazon ElastiCache replication group.
|
1037
1067
|
#
|
1068
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1069
|
+
# an Amazon Neptune DB cluster.
|
1070
|
+
#
|
1038
1071
|
# @option params [Integer] :max_results
|
1039
1072
|
# The maximum number of scalable targets. This value can be between 1
|
1040
1073
|
# and 50. The default value is 50.
|
@@ -1087,9 +1120,9 @@ module Aws::ApplicationAutoScaling
|
|
1087
1120
|
# @example Request syntax with placeholder values
|
1088
1121
|
#
|
1089
1122
|
# 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
|
1123
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1091
1124
|
# 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
|
1125
|
+
# 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
1126
|
# max_results: 1,
|
1094
1127
|
# next_token: "XmlString",
|
1095
1128
|
# })
|
@@ -1097,9 +1130,9 @@ module Aws::ApplicationAutoScaling
|
|
1097
1130
|
# @example Response structure
|
1098
1131
|
#
|
1099
1132
|
# 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"
|
1133
|
+
# 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
1134
|
# 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"
|
1135
|
+
# 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
1136
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1104
1137
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1105
1138
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1136,8 +1169,8 @@ module Aws::ApplicationAutoScaling
|
|
1136
1169
|
# identifier is the cluster name and service name. Example:
|
1137
1170
|
# `service/default/sample-webapp`.
|
1138
1171
|
#
|
1139
|
-
# * Spot Fleet
|
1140
|
-
#
|
1172
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1173
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1141
1174
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1142
1175
|
#
|
1143
1176
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1157,8 +1190,8 @@ module Aws::ApplicationAutoScaling
|
|
1157
1190
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1158
1191
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1159
1192
|
#
|
1160
|
-
# *
|
1161
|
-
#
|
1193
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1194
|
+
# unique identifier is the resource ID. Example:
|
1162
1195
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1163
1196
|
#
|
1164
1197
|
# * Custom resources are not supported with a resource type. This
|
@@ -1193,6 +1226,9 @@ module Aws::ApplicationAutoScaling
|
|
1193
1226
|
# `replication-group` and the unique identifier is the replication
|
1194
1227
|
# group name. Example: `replication-group/mycluster`.
|
1195
1228
|
#
|
1229
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1230
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1231
|
+
#
|
1196
1232
|
#
|
1197
1233
|
#
|
1198
1234
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1209,7 +1245,7 @@ module Aws::ApplicationAutoScaling
|
|
1209
1245
|
# of an EMR Instance Group.
|
1210
1246
|
#
|
1211
1247
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1212
|
-
# Spot Fleet
|
1248
|
+
# Spot Fleet.
|
1213
1249
|
#
|
1214
1250
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1215
1251
|
# AppStream 2.0 fleet.
|
@@ -1231,7 +1267,7 @@ module Aws::ApplicationAutoScaling
|
|
1231
1267
|
# Aurora PostgreSQL-compatible edition.
|
1232
1268
|
#
|
1233
1269
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1234
|
-
# instances for an
|
1270
|
+
# instances for an SageMaker model endpoint variant.
|
1235
1271
|
#
|
1236
1272
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1237
1273
|
# a custom resource provided by your own application or service.
|
@@ -1262,6 +1298,9 @@ module Aws::ApplicationAutoScaling
|
|
1262
1298
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1263
1299
|
# per node group for an Amazon ElastiCache replication group.
|
1264
1300
|
#
|
1301
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1302
|
+
# an Amazon Neptune DB cluster.
|
1303
|
+
#
|
1265
1304
|
# @option params [Integer] :max_results
|
1266
1305
|
# The maximum number of scalable targets. This value can be between 1
|
1267
1306
|
# and 50. The default value is 50.
|
@@ -1315,9 +1354,9 @@ module Aws::ApplicationAutoScaling
|
|
1315
1354
|
# @example Request syntax with placeholder values
|
1316
1355
|
#
|
1317
1356
|
# 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
|
1357
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1319
1358
|
# 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
|
1359
|
+
# 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
1360
|
# max_results: 1,
|
1322
1361
|
# next_token: "XmlString",
|
1323
1362
|
# })
|
@@ -1326,9 +1365,9 @@ module Aws::ApplicationAutoScaling
|
|
1326
1365
|
#
|
1327
1366
|
# resp.scaling_activities #=> Array
|
1328
1367
|
# 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"
|
1368
|
+
# 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
1369
|
# 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"
|
1370
|
+
# 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
1371
|
# resp.scaling_activities[0].description #=> String
|
1333
1372
|
# resp.scaling_activities[0].cause #=> String
|
1334
1373
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1378,8 +1417,8 @@ module Aws::ApplicationAutoScaling
|
|
1378
1417
|
# identifier is the cluster name and service name. Example:
|
1379
1418
|
# `service/default/sample-webapp`.
|
1380
1419
|
#
|
1381
|
-
# * Spot Fleet
|
1382
|
-
#
|
1420
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1421
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1383
1422
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1384
1423
|
#
|
1385
1424
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1399,8 +1438,8 @@ module Aws::ApplicationAutoScaling
|
|
1399
1438
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1400
1439
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1401
1440
|
#
|
1402
|
-
# *
|
1403
|
-
#
|
1441
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1442
|
+
# unique identifier is the resource ID. Example:
|
1404
1443
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1405
1444
|
#
|
1406
1445
|
# * Custom resources are not supported with a resource type. This
|
@@ -1435,6 +1474,9 @@ module Aws::ApplicationAutoScaling
|
|
1435
1474
|
# `replication-group` and the unique identifier is the replication
|
1436
1475
|
# group name. Example: `replication-group/mycluster`.
|
1437
1476
|
#
|
1477
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1478
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1479
|
+
#
|
1438
1480
|
#
|
1439
1481
|
#
|
1440
1482
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1451,7 +1493,7 @@ module Aws::ApplicationAutoScaling
|
|
1451
1493
|
# of an EMR Instance Group.
|
1452
1494
|
#
|
1453
1495
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1454
|
-
# Spot Fleet
|
1496
|
+
# Spot Fleet.
|
1455
1497
|
#
|
1456
1498
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1457
1499
|
# AppStream 2.0 fleet.
|
@@ -1473,7 +1515,7 @@ module Aws::ApplicationAutoScaling
|
|
1473
1515
|
# Aurora PostgreSQL-compatible edition.
|
1474
1516
|
#
|
1475
1517
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1476
|
-
# instances for an
|
1518
|
+
# instances for an SageMaker model endpoint variant.
|
1477
1519
|
#
|
1478
1520
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1479
1521
|
# a custom resource provided by your own application or service.
|
@@ -1504,14 +1546,17 @@ module Aws::ApplicationAutoScaling
|
|
1504
1546
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1505
1547
|
# per node group for an Amazon ElastiCache replication group.
|
1506
1548
|
#
|
1549
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1550
|
+
# an Amazon Neptune DB cluster.
|
1551
|
+
#
|
1507
1552
|
# @option params [Integer] :max_results
|
1508
1553
|
# The maximum number of scalable targets. This value can be between 1
|
1509
|
-
# and
|
1554
|
+
# and 10. The default value is 10.
|
1510
1555
|
#
|
1511
1556
|
# If this parameter is used, the operation returns up to `MaxResults`
|
1512
1557
|
# results at a time, along with a `NextToken` value. To get the next set
|
1513
1558
|
# of results, include the `NextToken` value in a subsequent call. If
|
1514
|
-
# this parameter is not used, the operation returns up to
|
1559
|
+
# this parameter is not used, the operation returns up to 10 results and
|
1515
1560
|
# a `NextToken` value, if applicable.
|
1516
1561
|
#
|
1517
1562
|
# @option params [String] :next_token
|
@@ -1569,9 +1614,9 @@ module Aws::ApplicationAutoScaling
|
|
1569
1614
|
#
|
1570
1615
|
# resp = client.describe_scaling_policies({
|
1571
1616
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1572
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1617
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1573
1618
|
# 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
|
1619
|
+
# 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
1620
|
# max_results: 1,
|
1576
1621
|
# next_token: "XmlString",
|
1577
1622
|
# })
|
@@ -1581,9 +1626,9 @@ module Aws::ApplicationAutoScaling
|
|
1581
1626
|
# resp.scaling_policies #=> Array
|
1582
1627
|
# resp.scaling_policies[0].policy_arn #=> String
|
1583
1628
|
# 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"
|
1629
|
+
# 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
1630
|
# 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"
|
1631
|
+
# 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
1632
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1588
1633
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1589
1634
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1594,7 +1639,7 @@ module Aws::ApplicationAutoScaling
|
|
1594
1639
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1595
1640
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1596
1641
|
# 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"
|
1642
|
+
# 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
1643
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1599
1644
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1600
1645
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1651,8 +1696,8 @@ module Aws::ApplicationAutoScaling
|
|
1651
1696
|
# identifier is the cluster name and service name. Example:
|
1652
1697
|
# `service/default/sample-webapp`.
|
1653
1698
|
#
|
1654
|
-
# * Spot Fleet
|
1655
|
-
#
|
1699
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1700
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1656
1701
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1657
1702
|
#
|
1658
1703
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1672,8 +1717,8 @@ module Aws::ApplicationAutoScaling
|
|
1672
1717
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1673
1718
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1674
1719
|
#
|
1675
|
-
# *
|
1676
|
-
#
|
1720
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1721
|
+
# unique identifier is the resource ID. Example:
|
1677
1722
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1678
1723
|
#
|
1679
1724
|
# * Custom resources are not supported with a resource type. This
|
@@ -1708,6 +1753,9 @@ module Aws::ApplicationAutoScaling
|
|
1708
1753
|
# `replication-group` and the unique identifier is the replication
|
1709
1754
|
# group name. Example: `replication-group/mycluster`.
|
1710
1755
|
#
|
1756
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1757
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1758
|
+
#
|
1711
1759
|
#
|
1712
1760
|
#
|
1713
1761
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1724,7 +1772,7 @@ module Aws::ApplicationAutoScaling
|
|
1724
1772
|
# of an EMR Instance Group.
|
1725
1773
|
#
|
1726
1774
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1727
|
-
# Spot Fleet
|
1775
|
+
# Spot Fleet.
|
1728
1776
|
#
|
1729
1777
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1730
1778
|
# AppStream 2.0 fleet.
|
@@ -1746,7 +1794,7 @@ module Aws::ApplicationAutoScaling
|
|
1746
1794
|
# Aurora PostgreSQL-compatible edition.
|
1747
1795
|
#
|
1748
1796
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1749
|
-
# instances for an
|
1797
|
+
# instances for an SageMaker model endpoint variant.
|
1750
1798
|
#
|
1751
1799
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1752
1800
|
# a custom resource provided by your own application or service.
|
@@ -1777,6 +1825,9 @@ module Aws::ApplicationAutoScaling
|
|
1777
1825
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1778
1826
|
# per node group for an Amazon ElastiCache replication group.
|
1779
1827
|
#
|
1828
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1829
|
+
# an Amazon Neptune DB cluster.
|
1830
|
+
#
|
1780
1831
|
# @option params [Integer] :max_results
|
1781
1832
|
# The maximum number of scheduled action results. This value can be
|
1782
1833
|
# between 1 and 50. The default value is 50.
|
@@ -1801,9 +1852,9 @@ module Aws::ApplicationAutoScaling
|
|
1801
1852
|
#
|
1802
1853
|
# resp = client.describe_scheduled_actions({
|
1803
1854
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1804
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
1855
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1805
1856
|
# 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
|
1857
|
+
# 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
1858
|
# max_results: 1,
|
1808
1859
|
# next_token: "XmlString",
|
1809
1860
|
# })
|
@@ -1813,11 +1864,11 @@ module Aws::ApplicationAutoScaling
|
|
1813
1864
|
# resp.scheduled_actions #=> Array
|
1814
1865
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1815
1866
|
# 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"
|
1867
|
+
# 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
1868
|
# resp.scheduled_actions[0].schedule #=> String
|
1818
1869
|
# resp.scheduled_actions[0].timezone #=> String
|
1819
1870
|
# 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"
|
1871
|
+
# 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
1872
|
# resp.scheduled_actions[0].start_time #=> Time
|
1822
1873
|
# resp.scheduled_actions[0].end_time #=> Time
|
1823
1874
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1894,8 +1945,8 @@ module Aws::ApplicationAutoScaling
|
|
1894
1945
|
# identifier is the cluster name and service name. Example:
|
1895
1946
|
# `service/default/sample-webapp`.
|
1896
1947
|
#
|
1897
|
-
# * Spot Fleet
|
1898
|
-
#
|
1948
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1949
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1899
1950
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1900
1951
|
#
|
1901
1952
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1915,8 +1966,8 @@ module Aws::ApplicationAutoScaling
|
|
1915
1966
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1916
1967
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1917
1968
|
#
|
1918
|
-
# *
|
1919
|
-
#
|
1969
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1970
|
+
# unique identifier is the resource ID. Example:
|
1920
1971
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1921
1972
|
#
|
1922
1973
|
# * Custom resources are not supported with a resource type. This
|
@@ -1951,6 +2002,9 @@ module Aws::ApplicationAutoScaling
|
|
1951
2002
|
# `replication-group` and the unique identifier is the replication
|
1952
2003
|
# group name. Example: `replication-group/mycluster`.
|
1953
2004
|
#
|
2005
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2006
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2007
|
+
#
|
1954
2008
|
#
|
1955
2009
|
#
|
1956
2010
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1966,7 +2020,7 @@ module Aws::ApplicationAutoScaling
|
|
1966
2020
|
# of an EMR Instance Group.
|
1967
2021
|
#
|
1968
2022
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1969
|
-
# Spot Fleet
|
2023
|
+
# Spot Fleet.
|
1970
2024
|
#
|
1971
2025
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1972
2026
|
# AppStream 2.0 fleet.
|
@@ -1988,7 +2042,7 @@ module Aws::ApplicationAutoScaling
|
|
1988
2042
|
# Aurora PostgreSQL-compatible edition.
|
1989
2043
|
#
|
1990
2044
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1991
|
-
# instances for an
|
2045
|
+
# instances for an SageMaker model endpoint variant.
|
1992
2046
|
#
|
1993
2047
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1994
2048
|
# a custom resource provided by your own application or service.
|
@@ -2019,6 +2073,9 @@ module Aws::ApplicationAutoScaling
|
|
2019
2073
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2020
2074
|
# per node group for an Amazon ElastiCache replication group.
|
2021
2075
|
#
|
2076
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2077
|
+
# an Amazon Neptune DB cluster.
|
2078
|
+
#
|
2022
2079
|
# @option params [String] :policy_type
|
2023
2080
|
# The policy type. This parameter is required if you are creating a
|
2024
2081
|
# scaling policy.
|
@@ -2028,8 +2085,7 @@ module Aws::ApplicationAutoScaling
|
|
2028
2085
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
2029
2086
|
#
|
2030
2087
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
2031
|
-
# Amazon Keyspaces
|
2032
|
-
# ElastiCache for Redis.
|
2088
|
+
# Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
|
2033
2089
|
#
|
2034
2090
|
# For more information, see [Target tracking scaling policies][1] and
|
2035
2091
|
# [Step scaling policies][2] in the *Application Auto Scaling User
|
@@ -2100,9 +2156,9 @@ module Aws::ApplicationAutoScaling
|
|
2100
2156
|
#
|
2101
2157
|
# resp = client.put_scaling_policy({
|
2102
2158
|
# policy_name: "PolicyName", # required
|
2103
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache
|
2159
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2104
2160
|
# 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
|
2161
|
+
# 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
2162
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
2107
2163
|
# step_scaling_policy_configuration: {
|
2108
2164
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -2120,7 +2176,7 @@ module Aws::ApplicationAutoScaling
|
|
2120
2176
|
# target_tracking_scaling_policy_configuration: {
|
2121
2177
|
# target_value: 1.0, # required
|
2122
2178
|
# 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
|
2179
|
+
# 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
2180
|
# resource_label: "ResourceLabel",
|
2125
2181
|
# },
|
2126
2182
|
# customized_metric_specification: {
|
@@ -2249,8 +2305,8 @@ module Aws::ApplicationAutoScaling
|
|
2249
2305
|
# identifier is the cluster name and service name. Example:
|
2250
2306
|
# `service/default/sample-webapp`.
|
2251
2307
|
#
|
2252
|
-
# * Spot Fleet
|
2253
|
-
#
|
2308
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2309
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2254
2310
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2255
2311
|
#
|
2256
2312
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2270,8 +2326,8 @@ module Aws::ApplicationAutoScaling
|
|
2270
2326
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2271
2327
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2272
2328
|
#
|
2273
|
-
# *
|
2274
|
-
#
|
2329
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
2330
|
+
# unique identifier is the resource ID. Example:
|
2275
2331
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2276
2332
|
#
|
2277
2333
|
# * Custom resources are not supported with a resource type. This
|
@@ -2306,6 +2362,9 @@ module Aws::ApplicationAutoScaling
|
|
2306
2362
|
# `replication-group` and the unique identifier is the replication
|
2307
2363
|
# group name. Example: `replication-group/mycluster`.
|
2308
2364
|
#
|
2365
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2366
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2367
|
+
#
|
2309
2368
|
#
|
2310
2369
|
#
|
2311
2370
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2321,7 +2380,7 @@ module Aws::ApplicationAutoScaling
|
|
2321
2380
|
# of an EMR Instance Group.
|
2322
2381
|
#
|
2323
2382
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2324
|
-
# Spot Fleet
|
2383
|
+
# Spot Fleet.
|
2325
2384
|
#
|
2326
2385
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2327
2386
|
# AppStream 2.0 fleet.
|
@@ -2343,7 +2402,7 @@ module Aws::ApplicationAutoScaling
|
|
2343
2402
|
# Aurora PostgreSQL-compatible edition.
|
2344
2403
|
#
|
2345
2404
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2346
|
-
# instances for an
|
2405
|
+
# instances for an SageMaker model endpoint variant.
|
2347
2406
|
#
|
2348
2407
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2349
2408
|
# a custom resource provided by your own application or service.
|
@@ -2374,6 +2433,9 @@ module Aws::ApplicationAutoScaling
|
|
2374
2433
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2375
2434
|
# per node group for an Amazon ElastiCache replication group.
|
2376
2435
|
#
|
2436
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2437
|
+
# an Amazon Neptune DB cluster.
|
2438
|
+
#
|
2377
2439
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2378
2440
|
# The date and time for this scheduled action to start, in UTC.
|
2379
2441
|
#
|
@@ -2392,12 +2454,12 @@ module Aws::ApplicationAutoScaling
|
|
2392
2454
|
# @example Request syntax with placeholder values
|
2393
2455
|
#
|
2394
2456
|
# 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
|
2457
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2396
2458
|
# schedule: "ResourceIdMaxLen1600",
|
2397
2459
|
# timezone: "ResourceIdMaxLen1600",
|
2398
2460
|
# scheduled_action_name: "ScheduledActionName", # required
|
2399
2461
|
# 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
|
2462
|
+
# 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
2463
|
# start_time: Time.now,
|
2402
2464
|
# end_time: Time.now,
|
2403
2465
|
# scalable_target_action: {
|
@@ -2439,6 +2501,15 @@ module Aws::ApplicationAutoScaling
|
|
2439
2501
|
# resource ID, scalable dimension, and namespace. Any parameters that
|
2440
2502
|
# you don't specify are not changed by this update request.
|
2441
2503
|
#
|
2504
|
+
# <note markdown="1"> If you call the `RegisterScalableTarget` API to update an existing
|
2505
|
+
# scalable target, Application Auto Scaling retrieves the current
|
2506
|
+
# capacity of the resource. If it is below the minimum capacity or above
|
2507
|
+
# the maximum capacity, Application Auto Scaling adjusts the capacity of
|
2508
|
+
# the scalable target to place it within these bounds, even if you
|
2509
|
+
# don't include the `MinCapacity` or `MaxCapacity` request parameters.
|
2510
|
+
#
|
2511
|
+
# </note>
|
2512
|
+
#
|
2442
2513
|
#
|
2443
2514
|
#
|
2444
2515
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
|
@@ -2458,8 +2529,8 @@ module Aws::ApplicationAutoScaling
|
|
2458
2529
|
# identifier is the cluster name and service name. Example:
|
2459
2530
|
# `service/default/sample-webapp`.
|
2460
2531
|
#
|
2461
|
-
# * Spot Fleet
|
2462
|
-
#
|
2532
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2533
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2463
2534
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2464
2535
|
#
|
2465
2536
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2479,8 +2550,8 @@ module Aws::ApplicationAutoScaling
|
|
2479
2550
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2480
2551
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2481
2552
|
#
|
2482
|
-
# *
|
2483
|
-
#
|
2553
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
2554
|
+
# unique identifier is the resource ID. Example:
|
2484
2555
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2485
2556
|
#
|
2486
2557
|
# * Custom resources are not supported with a resource type. This
|
@@ -2515,6 +2586,9 @@ module Aws::ApplicationAutoScaling
|
|
2515
2586
|
# `replication-group` and the unique identifier is the replication
|
2516
2587
|
# group name. Example: `replication-group/mycluster`.
|
2517
2588
|
#
|
2589
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2590
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2591
|
+
#
|
2518
2592
|
#
|
2519
2593
|
#
|
2520
2594
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2531,7 +2605,7 @@ module Aws::ApplicationAutoScaling
|
|
2531
2605
|
# of an EMR Instance Group.
|
2532
2606
|
#
|
2533
2607
|
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2534
|
-
# Spot Fleet
|
2608
|
+
# Spot Fleet.
|
2535
2609
|
#
|
2536
2610
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2537
2611
|
# AppStream 2.0 fleet.
|
@@ -2553,7 +2627,7 @@ module Aws::ApplicationAutoScaling
|
|
2553
2627
|
# Aurora PostgreSQL-compatible edition.
|
2554
2628
|
#
|
2555
2629
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2556
|
-
# instances for an
|
2630
|
+
# instances for an SageMaker model endpoint variant.
|
2557
2631
|
#
|
2558
2632
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2559
2633
|
# a custom resource provided by your own application or service.
|
@@ -2584,6 +2658,9 @@ module Aws::ApplicationAutoScaling
|
|
2584
2658
|
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2585
2659
|
# per node group for an Amazon ElastiCache replication group.
|
2586
2660
|
#
|
2661
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2662
|
+
# an Amazon Neptune DB cluster.
|
2663
|
+
#
|
2587
2664
|
# @option params [Integer] :min_capacity
|
2588
2665
|
# The minimum value that you plan to scale in to. When a scaling policy
|
2589
2666
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
@@ -2674,9 +2751,9 @@ module Aws::ApplicationAutoScaling
|
|
2674
2751
|
# @example Request syntax with placeholder values
|
2675
2752
|
#
|
2676
2753
|
# 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
|
2754
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2678
2755
|
# 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
|
2756
|
+
# 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
2757
|
# min_capacity: 1,
|
2681
2758
|
# max_capacity: 1,
|
2682
2759
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2709,7 +2786,7 @@ module Aws::ApplicationAutoScaling
|
|
2709
2786
|
params: params,
|
2710
2787
|
config: config)
|
2711
2788
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2712
|
-
context[:gem_version] = '1.
|
2789
|
+
context[:gem_version] = '1.58.0'
|
2713
2790
|
Seahorse::Client::Request.new(handlers, context)
|
2714
2791
|
end
|
2715
2792
|
|