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