aws-sdk-applicationautoscaling 1.52.0 → 1.56.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 +313 -144
- data/lib/aws-sdk-applicationautoscaling/types.rb +446 -219
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- metadata +5 -5
@@ -357,9 +357,9 @@ module Aws::ApplicationAutoScaling
|
|
357
357
|
# The name of the scaling policy.
|
358
358
|
#
|
359
359
|
# @option params [required, String] :service_namespace
|
360
|
-
# The namespace of the
|
361
|
-
# resource provided by your own application or service,
|
362
|
-
# `custom-resource` instead.
|
360
|
+
# The namespace of the Amazon Web Services service that provides the
|
361
|
+
# resource. For a resource provided by your own application or service,
|
362
|
+
# use `custom-resource` instead.
|
363
363
|
#
|
364
364
|
# @option params [required, String] :resource_id
|
365
365
|
# The identifier of the resource associated with the scalable target.
|
@@ -369,8 +369,8 @@ module Aws::ApplicationAutoScaling
|
|
369
369
|
# identifier is the cluster name and service name. Example:
|
370
370
|
# `service/default/sample-webapp`.
|
371
371
|
#
|
372
|
-
# * Spot Fleet
|
373
|
-
#
|
372
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
373
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
374
374
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
375
375
|
#
|
376
376
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -390,8 +390,8 @@ module Aws::ApplicationAutoScaling
|
|
390
390
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
391
391
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
392
392
|
#
|
393
|
-
# *
|
394
|
-
#
|
393
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
394
|
+
# unique identifier is the resource ID. Example:
|
395
395
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
396
396
|
#
|
397
397
|
# * Custom resources are not supported with a resource type. This
|
@@ -422,6 +422,13 @@ module Aws::ApplicationAutoScaling
|
|
422
422
|
# specified using the cluster ARN. Example:
|
423
423
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
424
424
|
#
|
425
|
+
# * Amazon ElastiCache replication group - The resource type is
|
426
|
+
# `replication-group` and the unique identifier is the replication
|
427
|
+
# group name. Example: `replication-group/mycluster`.
|
428
|
+
#
|
429
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
430
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
431
|
+
#
|
425
432
|
#
|
426
433
|
#
|
427
434
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -433,12 +440,12 @@ module Aws::ApplicationAutoScaling
|
|
433
440
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
434
441
|
# service.
|
435
442
|
#
|
436
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
437
|
-
# Spot Fleet request.
|
438
|
-
#
|
439
443
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
440
444
|
# of an EMR Instance Group.
|
441
445
|
#
|
446
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
447
|
+
# Spot Fleet.
|
448
|
+
#
|
442
449
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
443
450
|
# AppStream 2.0 fleet.
|
444
451
|
#
|
@@ -459,7 +466,7 @@ module Aws::ApplicationAutoScaling
|
|
459
466
|
# Aurora PostgreSQL-compatible edition.
|
460
467
|
#
|
461
468
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
462
|
-
# instances for an
|
469
|
+
# instances for an SageMaker model endpoint variant.
|
463
470
|
#
|
464
471
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
465
472
|
# a custom resource provided by your own application or service.
|
@@ -484,6 +491,15 @@ module Aws::ApplicationAutoScaling
|
|
484
491
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
485
492
|
# GiB) for brokers in an Amazon MSK cluster.
|
486
493
|
#
|
494
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
495
|
+
# groups for an Amazon ElastiCache replication group.
|
496
|
+
#
|
497
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
498
|
+
# per node group for an Amazon ElastiCache replication group.
|
499
|
+
#
|
500
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
501
|
+
# an Amazon Neptune DB cluster.
|
502
|
+
#
|
487
503
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
488
504
|
#
|
489
505
|
#
|
@@ -507,9 +523,9 @@ module Aws::ApplicationAutoScaling
|
|
507
523
|
#
|
508
524
|
# resp = client.delete_scaling_policy({
|
509
525
|
# policy_name: "ResourceIdMaxLen1600", # required
|
510
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
526
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
511
527
|
# resource_id: "ResourceIdMaxLen1600", # required
|
512
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
528
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
513
529
|
# })
|
514
530
|
#
|
515
531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -532,9 +548,9 @@ module Aws::ApplicationAutoScaling
|
|
532
548
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action
|
533
549
|
#
|
534
550
|
# @option params [required, String] :service_namespace
|
535
|
-
# The namespace of the
|
536
|
-
# resource provided by your own application or service,
|
537
|
-
# `custom-resource` instead.
|
551
|
+
# The namespace of the Amazon Web Services service that provides the
|
552
|
+
# resource. For a resource provided by your own application or service,
|
553
|
+
# use `custom-resource` instead.
|
538
554
|
#
|
539
555
|
# @option params [required, String] :scheduled_action_name
|
540
556
|
# The name of the scheduled action.
|
@@ -547,8 +563,8 @@ module Aws::ApplicationAutoScaling
|
|
547
563
|
# identifier is the cluster name and service name. Example:
|
548
564
|
# `service/default/sample-webapp`.
|
549
565
|
#
|
550
|
-
# * Spot Fleet
|
551
|
-
#
|
566
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
567
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
552
568
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
553
569
|
#
|
554
570
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -568,8 +584,8 @@ module Aws::ApplicationAutoScaling
|
|
568
584
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
569
585
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
570
586
|
#
|
571
|
-
# *
|
572
|
-
#
|
587
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
588
|
+
# unique identifier is the resource ID. Example:
|
573
589
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
574
590
|
#
|
575
591
|
# * Custom resources are not supported with a resource type. This
|
@@ -600,6 +616,13 @@ module Aws::ApplicationAutoScaling
|
|
600
616
|
# specified using the cluster ARN. Example:
|
601
617
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
602
618
|
#
|
619
|
+
# * Amazon ElastiCache replication group - The resource type is
|
620
|
+
# `replication-group` and the unique identifier is the replication
|
621
|
+
# group name. Example: `replication-group/mycluster`.
|
622
|
+
#
|
623
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
624
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
625
|
+
#
|
603
626
|
#
|
604
627
|
#
|
605
628
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -611,12 +634,12 @@ module Aws::ApplicationAutoScaling
|
|
611
634
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
612
635
|
# service.
|
613
636
|
#
|
614
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
615
|
-
# Spot Fleet request.
|
616
|
-
#
|
617
637
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
618
638
|
# of an EMR Instance Group.
|
619
639
|
#
|
640
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
641
|
+
# Spot Fleet.
|
642
|
+
#
|
620
643
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
621
644
|
# AppStream 2.0 fleet.
|
622
645
|
#
|
@@ -637,7 +660,7 @@ module Aws::ApplicationAutoScaling
|
|
637
660
|
# Aurora PostgreSQL-compatible edition.
|
638
661
|
#
|
639
662
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
640
|
-
# instances for an
|
663
|
+
# instances for an SageMaker model endpoint variant.
|
641
664
|
#
|
642
665
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
643
666
|
# a custom resource provided by your own application or service.
|
@@ -662,15 +685,24 @@ module Aws::ApplicationAutoScaling
|
|
662
685
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
663
686
|
# GiB) for brokers in an Amazon MSK cluster.
|
664
687
|
#
|
688
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
689
|
+
# groups for an Amazon ElastiCache replication group.
|
690
|
+
#
|
691
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
692
|
+
# per node group for an Amazon ElastiCache replication group.
|
693
|
+
#
|
694
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
695
|
+
# an Amazon Neptune DB cluster.
|
696
|
+
#
|
665
697
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
666
698
|
#
|
667
699
|
# @example Request syntax with placeholder values
|
668
700
|
#
|
669
701
|
# resp = client.delete_scheduled_action({
|
670
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
702
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
671
703
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
672
704
|
# resource_id: "ResourceIdMaxLen1600", # required
|
673
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
705
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
674
706
|
# })
|
675
707
|
#
|
676
708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -696,9 +728,9 @@ module Aws::ApplicationAutoScaling
|
|
696
728
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
|
697
729
|
#
|
698
730
|
# @option params [required, String] :service_namespace
|
699
|
-
# The namespace of the
|
700
|
-
# resource provided by your own application or service,
|
701
|
-
# `custom-resource` instead.
|
731
|
+
# The namespace of the Amazon Web Services service that provides the
|
732
|
+
# resource. For a resource provided by your own application or service,
|
733
|
+
# use `custom-resource` instead.
|
702
734
|
#
|
703
735
|
# @option params [required, String] :resource_id
|
704
736
|
# The identifier of the resource associated with the scalable target.
|
@@ -708,8 +740,8 @@ module Aws::ApplicationAutoScaling
|
|
708
740
|
# identifier is the cluster name and service name. Example:
|
709
741
|
# `service/default/sample-webapp`.
|
710
742
|
#
|
711
|
-
# * Spot Fleet
|
712
|
-
#
|
743
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
744
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
713
745
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
714
746
|
#
|
715
747
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -729,8 +761,8 @@ module Aws::ApplicationAutoScaling
|
|
729
761
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
730
762
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
731
763
|
#
|
732
|
-
# *
|
733
|
-
#
|
764
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
765
|
+
# unique identifier is the resource ID. Example:
|
734
766
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
735
767
|
#
|
736
768
|
# * Custom resources are not supported with a resource type. This
|
@@ -761,6 +793,13 @@ module Aws::ApplicationAutoScaling
|
|
761
793
|
# specified using the cluster ARN. Example:
|
762
794
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
763
795
|
#
|
796
|
+
# * Amazon ElastiCache replication group - The resource type is
|
797
|
+
# `replication-group` and the unique identifier is the replication
|
798
|
+
# group name. Example: `replication-group/mycluster`.
|
799
|
+
#
|
800
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
801
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
802
|
+
#
|
764
803
|
#
|
765
804
|
#
|
766
805
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -773,12 +812,12 @@ module Aws::ApplicationAutoScaling
|
|
773
812
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
774
813
|
# service.
|
775
814
|
#
|
776
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
777
|
-
# Spot Fleet request.
|
778
|
-
#
|
779
815
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
780
816
|
# of an EMR Instance Group.
|
781
817
|
#
|
818
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
819
|
+
# Spot Fleet.
|
820
|
+
#
|
782
821
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
783
822
|
# AppStream 2.0 fleet.
|
784
823
|
#
|
@@ -799,7 +838,7 @@ module Aws::ApplicationAutoScaling
|
|
799
838
|
# Aurora PostgreSQL-compatible edition.
|
800
839
|
#
|
801
840
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
802
|
-
# instances for an
|
841
|
+
# instances for an SageMaker model endpoint variant.
|
803
842
|
#
|
804
843
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
805
844
|
# a custom resource provided by your own application or service.
|
@@ -824,6 +863,15 @@ module Aws::ApplicationAutoScaling
|
|
824
863
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
825
864
|
# GiB) for brokers in an Amazon MSK cluster.
|
826
865
|
#
|
866
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
867
|
+
# groups for an Amazon ElastiCache replication group.
|
868
|
+
#
|
869
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
870
|
+
# per node group for an Amazon ElastiCache replication group.
|
871
|
+
#
|
872
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
873
|
+
# an Amazon Neptune DB cluster.
|
874
|
+
#
|
827
875
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
828
876
|
#
|
829
877
|
#
|
@@ -845,9 +893,9 @@ module Aws::ApplicationAutoScaling
|
|
845
893
|
# @example Request syntax with placeholder values
|
846
894
|
#
|
847
895
|
# resp = client.deregister_scalable_target({
|
848
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
896
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
849
897
|
# resource_id: "ResourceIdMaxLen1600", # required
|
850
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
898
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
851
899
|
# })
|
852
900
|
#
|
853
901
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -866,9 +914,9 @@ module Aws::ApplicationAutoScaling
|
|
866
914
|
# `ScalableDimension`.
|
867
915
|
#
|
868
916
|
# @option params [required, String] :service_namespace
|
869
|
-
# The namespace of the
|
870
|
-
# resource provided by your own application or service,
|
871
|
-
# `custom-resource` instead.
|
917
|
+
# The namespace of the Amazon Web Services service that provides the
|
918
|
+
# resource. For a resource provided by your own application or service,
|
919
|
+
# use `custom-resource` instead.
|
872
920
|
#
|
873
921
|
# @option params [Array<String>] :resource_ids
|
874
922
|
# The identifier of the resource associated with the scalable target.
|
@@ -878,8 +926,8 @@ module Aws::ApplicationAutoScaling
|
|
878
926
|
# identifier is the cluster name and service name. Example:
|
879
927
|
# `service/default/sample-webapp`.
|
880
928
|
#
|
881
|
-
# * Spot Fleet
|
882
|
-
#
|
929
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
930
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
883
931
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
884
932
|
#
|
885
933
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -899,8 +947,8 @@ module Aws::ApplicationAutoScaling
|
|
899
947
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
900
948
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
901
949
|
#
|
902
|
-
# *
|
903
|
-
#
|
950
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
951
|
+
# unique identifier is the resource ID. Example:
|
904
952
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
905
953
|
#
|
906
954
|
# * Custom resources are not supported with a resource type. This
|
@@ -931,6 +979,13 @@ module Aws::ApplicationAutoScaling
|
|
931
979
|
# specified using the cluster ARN. Example:
|
932
980
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
933
981
|
#
|
982
|
+
# * Amazon ElastiCache replication group - The resource type is
|
983
|
+
# `replication-group` and the unique identifier is the replication
|
984
|
+
# group name. Example: `replication-group/mycluster`.
|
985
|
+
#
|
986
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
987
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
988
|
+
#
|
934
989
|
#
|
935
990
|
#
|
936
991
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -944,12 +999,12 @@ module Aws::ApplicationAutoScaling
|
|
944
999
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
945
1000
|
# service.
|
946
1001
|
#
|
947
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
948
|
-
# Spot Fleet request.
|
949
|
-
#
|
950
1002
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
951
1003
|
# of an EMR Instance Group.
|
952
1004
|
#
|
1005
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1006
|
+
# Spot Fleet.
|
1007
|
+
#
|
953
1008
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
954
1009
|
# AppStream 2.0 fleet.
|
955
1010
|
#
|
@@ -970,7 +1025,7 @@ module Aws::ApplicationAutoScaling
|
|
970
1025
|
# Aurora PostgreSQL-compatible edition.
|
971
1026
|
#
|
972
1027
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
973
|
-
# instances for an
|
1028
|
+
# instances for an SageMaker model endpoint variant.
|
974
1029
|
#
|
975
1030
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
976
1031
|
# a custom resource provided by your own application or service.
|
@@ -995,6 +1050,15 @@ module Aws::ApplicationAutoScaling
|
|
995
1050
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
996
1051
|
# GiB) for brokers in an Amazon MSK cluster.
|
997
1052
|
#
|
1053
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1054
|
+
# groups for an Amazon ElastiCache replication group.
|
1055
|
+
#
|
1056
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1057
|
+
# per node group for an Amazon ElastiCache replication group.
|
1058
|
+
#
|
1059
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1060
|
+
# an Amazon Neptune DB cluster.
|
1061
|
+
#
|
998
1062
|
# @option params [Integer] :max_results
|
999
1063
|
# The maximum number of scalable targets. This value can be between 1
|
1000
1064
|
# and 50. The default value is 50.
|
@@ -1047,9 +1111,9 @@ module Aws::ApplicationAutoScaling
|
|
1047
1111
|
# @example Request syntax with placeholder values
|
1048
1112
|
#
|
1049
1113
|
# resp = client.describe_scalable_targets({
|
1050
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1114
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1051
1115
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
1052
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1116
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1053
1117
|
# max_results: 1,
|
1054
1118
|
# next_token: "XmlString",
|
1055
1119
|
# })
|
@@ -1057,9 +1121,9 @@ module Aws::ApplicationAutoScaling
|
|
1057
1121
|
# @example Response structure
|
1058
1122
|
#
|
1059
1123
|
# resp.scalable_targets #=> Array
|
1060
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1124
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1061
1125
|
# resp.scalable_targets[0].resource_id #=> String
|
1062
|
-
# resp.scalable_targets[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1126
|
+
# resp.scalable_targets[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
|
1063
1127
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1064
1128
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1065
1129
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1084,9 +1148,9 @@ module Aws::ApplicationAutoScaling
|
|
1084
1148
|
# You can filter the results using `ResourceId` and `ScalableDimension`.
|
1085
1149
|
#
|
1086
1150
|
# @option params [required, String] :service_namespace
|
1087
|
-
# The namespace of the
|
1088
|
-
# resource provided by your own application or service,
|
1089
|
-
# `custom-resource` instead.
|
1151
|
+
# The namespace of the Amazon Web Services service that provides the
|
1152
|
+
# resource. For a resource provided by your own application or service,
|
1153
|
+
# use `custom-resource` instead.
|
1090
1154
|
#
|
1091
1155
|
# @option params [String] :resource_id
|
1092
1156
|
# The identifier of the resource associated with the scaling activity.
|
@@ -1096,8 +1160,8 @@ module Aws::ApplicationAutoScaling
|
|
1096
1160
|
# identifier is the cluster name and service name. Example:
|
1097
1161
|
# `service/default/sample-webapp`.
|
1098
1162
|
#
|
1099
|
-
# * Spot Fleet
|
1100
|
-
#
|
1163
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1164
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1101
1165
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1102
1166
|
#
|
1103
1167
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1117,8 +1181,8 @@ module Aws::ApplicationAutoScaling
|
|
1117
1181
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1118
1182
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1119
1183
|
#
|
1120
|
-
# *
|
1121
|
-
#
|
1184
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1185
|
+
# unique identifier is the resource ID. Example:
|
1122
1186
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1123
1187
|
#
|
1124
1188
|
# * Custom resources are not supported with a resource type. This
|
@@ -1149,6 +1213,13 @@ module Aws::ApplicationAutoScaling
|
|
1149
1213
|
# specified using the cluster ARN. Example:
|
1150
1214
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1151
1215
|
#
|
1216
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1217
|
+
# `replication-group` and the unique identifier is the replication
|
1218
|
+
# group name. Example: `replication-group/mycluster`.
|
1219
|
+
#
|
1220
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1221
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1222
|
+
#
|
1152
1223
|
#
|
1153
1224
|
#
|
1154
1225
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1161,12 +1232,12 @@ module Aws::ApplicationAutoScaling
|
|
1161
1232
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1162
1233
|
# service.
|
1163
1234
|
#
|
1164
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1165
|
-
# Spot Fleet request.
|
1166
|
-
#
|
1167
1235
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1168
1236
|
# of an EMR Instance Group.
|
1169
1237
|
#
|
1238
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1239
|
+
# Spot Fleet.
|
1240
|
+
#
|
1170
1241
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1171
1242
|
# AppStream 2.0 fleet.
|
1172
1243
|
#
|
@@ -1187,7 +1258,7 @@ module Aws::ApplicationAutoScaling
|
|
1187
1258
|
# Aurora PostgreSQL-compatible edition.
|
1188
1259
|
#
|
1189
1260
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1190
|
-
# instances for an
|
1261
|
+
# instances for an SageMaker model endpoint variant.
|
1191
1262
|
#
|
1192
1263
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1193
1264
|
# a custom resource provided by your own application or service.
|
@@ -1212,6 +1283,15 @@ module Aws::ApplicationAutoScaling
|
|
1212
1283
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1213
1284
|
# GiB) for brokers in an Amazon MSK cluster.
|
1214
1285
|
#
|
1286
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1287
|
+
# groups for an Amazon ElastiCache replication group.
|
1288
|
+
#
|
1289
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1290
|
+
# per node group for an Amazon ElastiCache replication group.
|
1291
|
+
#
|
1292
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1293
|
+
# an Amazon Neptune DB cluster.
|
1294
|
+
#
|
1215
1295
|
# @option params [Integer] :max_results
|
1216
1296
|
# The maximum number of scalable targets. This value can be between 1
|
1217
1297
|
# and 50. The default value is 50.
|
@@ -1265,9 +1345,9 @@ module Aws::ApplicationAutoScaling
|
|
1265
1345
|
# @example Request syntax with placeholder values
|
1266
1346
|
#
|
1267
1347
|
# resp = client.describe_scaling_activities({
|
1268
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1348
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1269
1349
|
# resource_id: "ResourceIdMaxLen1600",
|
1270
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1350
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1271
1351
|
# max_results: 1,
|
1272
1352
|
# next_token: "XmlString",
|
1273
1353
|
# })
|
@@ -1276,9 +1356,9 @@ module Aws::ApplicationAutoScaling
|
|
1276
1356
|
#
|
1277
1357
|
# resp.scaling_activities #=> Array
|
1278
1358
|
# resp.scaling_activities[0].activity_id #=> String
|
1279
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1359
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1280
1360
|
# resp.scaling_activities[0].resource_id #=> String
|
1281
|
-
# resp.scaling_activities[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1361
|
+
# resp.scaling_activities[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
|
1282
1362
|
# resp.scaling_activities[0].description #=> String
|
1283
1363
|
# resp.scaling_activities[0].cause #=> String
|
1284
1364
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1316,9 +1396,9 @@ module Aws::ApplicationAutoScaling
|
|
1316
1396
|
# The names of the scaling policies to describe.
|
1317
1397
|
#
|
1318
1398
|
# @option params [required, String] :service_namespace
|
1319
|
-
# The namespace of the
|
1320
|
-
# resource provided by your own application or service,
|
1321
|
-
# `custom-resource` instead.
|
1399
|
+
# The namespace of the Amazon Web Services service that provides the
|
1400
|
+
# resource. For a resource provided by your own application or service,
|
1401
|
+
# use `custom-resource` instead.
|
1322
1402
|
#
|
1323
1403
|
# @option params [String] :resource_id
|
1324
1404
|
# The identifier of the resource associated with the scaling policy.
|
@@ -1328,8 +1408,8 @@ module Aws::ApplicationAutoScaling
|
|
1328
1408
|
# identifier is the cluster name and service name. Example:
|
1329
1409
|
# `service/default/sample-webapp`.
|
1330
1410
|
#
|
1331
|
-
# * Spot Fleet
|
1332
|
-
#
|
1411
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1412
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1333
1413
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1334
1414
|
#
|
1335
1415
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1349,8 +1429,8 @@ module Aws::ApplicationAutoScaling
|
|
1349
1429
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1350
1430
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1351
1431
|
#
|
1352
|
-
# *
|
1353
|
-
#
|
1432
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1433
|
+
# unique identifier is the resource ID. Example:
|
1354
1434
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1355
1435
|
#
|
1356
1436
|
# * Custom resources are not supported with a resource type. This
|
@@ -1381,6 +1461,13 @@ module Aws::ApplicationAutoScaling
|
|
1381
1461
|
# specified using the cluster ARN. Example:
|
1382
1462
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1383
1463
|
#
|
1464
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1465
|
+
# `replication-group` and the unique identifier is the replication
|
1466
|
+
# group name. Example: `replication-group/mycluster`.
|
1467
|
+
#
|
1468
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1469
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1470
|
+
#
|
1384
1471
|
#
|
1385
1472
|
#
|
1386
1473
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1393,12 +1480,12 @@ module Aws::ApplicationAutoScaling
|
|
1393
1480
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1394
1481
|
# service.
|
1395
1482
|
#
|
1396
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1397
|
-
# Spot Fleet request.
|
1398
|
-
#
|
1399
1483
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1400
1484
|
# of an EMR Instance Group.
|
1401
1485
|
#
|
1486
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1487
|
+
# Spot Fleet.
|
1488
|
+
#
|
1402
1489
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1403
1490
|
# AppStream 2.0 fleet.
|
1404
1491
|
#
|
@@ -1419,7 +1506,7 @@ module Aws::ApplicationAutoScaling
|
|
1419
1506
|
# Aurora PostgreSQL-compatible edition.
|
1420
1507
|
#
|
1421
1508
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1422
|
-
# instances for an
|
1509
|
+
# instances for an SageMaker model endpoint variant.
|
1423
1510
|
#
|
1424
1511
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1425
1512
|
# a custom resource provided by your own application or service.
|
@@ -1444,14 +1531,23 @@ module Aws::ApplicationAutoScaling
|
|
1444
1531
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1445
1532
|
# GiB) for brokers in an Amazon MSK cluster.
|
1446
1533
|
#
|
1534
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1535
|
+
# groups for an Amazon ElastiCache replication group.
|
1536
|
+
#
|
1537
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1538
|
+
# per node group for an Amazon ElastiCache replication group.
|
1539
|
+
#
|
1540
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1541
|
+
# an Amazon Neptune DB cluster.
|
1542
|
+
#
|
1447
1543
|
# @option params [Integer] :max_results
|
1448
1544
|
# The maximum number of scalable targets. This value can be between 1
|
1449
|
-
# and
|
1545
|
+
# and 10. The default value is 10.
|
1450
1546
|
#
|
1451
1547
|
# If this parameter is used, the operation returns up to `MaxResults`
|
1452
1548
|
# results at a time, along with a `NextToken` value. To get the next set
|
1453
1549
|
# of results, include the `NextToken` value in a subsequent call. If
|
1454
|
-
# this parameter is not used, the operation returns up to
|
1550
|
+
# this parameter is not used, the operation returns up to 10 results and
|
1455
1551
|
# a `NextToken` value, if applicable.
|
1456
1552
|
#
|
1457
1553
|
# @option params [String] :next_token
|
@@ -1509,9 +1605,9 @@ module Aws::ApplicationAutoScaling
|
|
1509
1605
|
#
|
1510
1606
|
# resp = client.describe_scaling_policies({
|
1511
1607
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1512
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1608
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1513
1609
|
# resource_id: "ResourceIdMaxLen1600",
|
1514
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1610
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1515
1611
|
# max_results: 1,
|
1516
1612
|
# next_token: "XmlString",
|
1517
1613
|
# })
|
@@ -1521,9 +1617,9 @@ module Aws::ApplicationAutoScaling
|
|
1521
1617
|
# resp.scaling_policies #=> Array
|
1522
1618
|
# resp.scaling_policies[0].policy_arn #=> String
|
1523
1619
|
# resp.scaling_policies[0].policy_name #=> String
|
1524
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1620
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1525
1621
|
# resp.scaling_policies[0].resource_id #=> String
|
1526
|
-
# resp.scaling_policies[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1622
|
+
# resp.scaling_policies[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
|
1527
1623
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1528
1624
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1529
1625
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1534,7 +1630,7 @@ module Aws::ApplicationAutoScaling
|
|
1534
1630
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1535
1631
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1536
1632
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1537
|
-
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization"
|
1633
|
+
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.predefined_metric_type #=> String, one of "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut", "SageMakerVariantInvocationsPerInstance", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "AppStreamAverageCapacityUtilization", "ComprehendInferenceUtilization", "LambdaProvisionedConcurrencyUtilization", "CassandraReadCapacityUtilization", "CassandraWriteCapacityUtilization", "KafkaBrokerStorageUtilization", "ElastiCachePrimaryEngineCPUUtilization", "ElastiCacheReplicaEngineCPUUtilization", "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage", "NeptuneReaderAverageCPUUtilization"
|
1538
1634
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1539
1635
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1540
1636
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1579,9 +1675,9 @@ module Aws::ApplicationAutoScaling
|
|
1579
1675
|
# The names of the scheduled actions to describe.
|
1580
1676
|
#
|
1581
1677
|
# @option params [required, String] :service_namespace
|
1582
|
-
# The namespace of the
|
1583
|
-
# resource provided by your own application or service,
|
1584
|
-
# `custom-resource` instead.
|
1678
|
+
# The namespace of the Amazon Web Services service that provides the
|
1679
|
+
# resource. For a resource provided by your own application or service,
|
1680
|
+
# use `custom-resource` instead.
|
1585
1681
|
#
|
1586
1682
|
# @option params [String] :resource_id
|
1587
1683
|
# The identifier of the resource associated with the scheduled action.
|
@@ -1591,8 +1687,8 @@ module Aws::ApplicationAutoScaling
|
|
1591
1687
|
# identifier is the cluster name and service name. Example:
|
1592
1688
|
# `service/default/sample-webapp`.
|
1593
1689
|
#
|
1594
|
-
# * Spot Fleet
|
1595
|
-
#
|
1690
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1691
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1596
1692
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1597
1693
|
#
|
1598
1694
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1612,8 +1708,8 @@ module Aws::ApplicationAutoScaling
|
|
1612
1708
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1613
1709
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1614
1710
|
#
|
1615
|
-
# *
|
1616
|
-
#
|
1711
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1712
|
+
# unique identifier is the resource ID. Example:
|
1617
1713
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1618
1714
|
#
|
1619
1715
|
# * Custom resources are not supported with a resource type. This
|
@@ -1644,6 +1740,13 @@ module Aws::ApplicationAutoScaling
|
|
1644
1740
|
# specified using the cluster ARN. Example:
|
1645
1741
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1646
1742
|
#
|
1743
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1744
|
+
# `replication-group` and the unique identifier is the replication
|
1745
|
+
# group name. Example: `replication-group/mycluster`.
|
1746
|
+
#
|
1747
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1748
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1749
|
+
#
|
1647
1750
|
#
|
1648
1751
|
#
|
1649
1752
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1656,12 +1759,12 @@ module Aws::ApplicationAutoScaling
|
|
1656
1759
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1657
1760
|
# service.
|
1658
1761
|
#
|
1659
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1660
|
-
# Spot Fleet request.
|
1661
|
-
#
|
1662
1762
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1663
1763
|
# of an EMR Instance Group.
|
1664
1764
|
#
|
1765
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1766
|
+
# Spot Fleet.
|
1767
|
+
#
|
1665
1768
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1666
1769
|
# AppStream 2.0 fleet.
|
1667
1770
|
#
|
@@ -1682,7 +1785,7 @@ module Aws::ApplicationAutoScaling
|
|
1682
1785
|
# Aurora PostgreSQL-compatible edition.
|
1683
1786
|
#
|
1684
1787
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1685
|
-
# instances for an
|
1788
|
+
# instances for an SageMaker model endpoint variant.
|
1686
1789
|
#
|
1687
1790
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1688
1791
|
# a custom resource provided by your own application or service.
|
@@ -1707,6 +1810,15 @@ module Aws::ApplicationAutoScaling
|
|
1707
1810
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1708
1811
|
# GiB) for brokers in an Amazon MSK cluster.
|
1709
1812
|
#
|
1813
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1814
|
+
# groups for an Amazon ElastiCache replication group.
|
1815
|
+
#
|
1816
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1817
|
+
# per node group for an Amazon ElastiCache replication group.
|
1818
|
+
#
|
1819
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1820
|
+
# an Amazon Neptune DB cluster.
|
1821
|
+
#
|
1710
1822
|
# @option params [Integer] :max_results
|
1711
1823
|
# The maximum number of scheduled action results. This value can be
|
1712
1824
|
# between 1 and 50. The default value is 50.
|
@@ -1731,9 +1843,9 @@ module Aws::ApplicationAutoScaling
|
|
1731
1843
|
#
|
1732
1844
|
# resp = client.describe_scheduled_actions({
|
1733
1845
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1734
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1846
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1735
1847
|
# resource_id: "ResourceIdMaxLen1600",
|
1736
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1848
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1737
1849
|
# max_results: 1,
|
1738
1850
|
# next_token: "XmlString",
|
1739
1851
|
# })
|
@@ -1743,11 +1855,11 @@ module Aws::ApplicationAutoScaling
|
|
1743
1855
|
# resp.scheduled_actions #=> Array
|
1744
1856
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1745
1857
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1746
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1858
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune"
|
1747
1859
|
# resp.scheduled_actions[0].schedule #=> String
|
1748
1860
|
# resp.scheduled_actions[0].timezone #=> String
|
1749
1861
|
# resp.scheduled_actions[0].resource_id #=> String
|
1750
|
-
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize"
|
1862
|
+
# resp.scheduled_actions[0].scalable_dimension #=> String, one of "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount"
|
1751
1863
|
# resp.scheduled_actions[0].start_time #=> Time
|
1752
1864
|
# resp.scheduled_actions[0].end_time #=> Time
|
1753
1865
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1812,9 +1924,9 @@ module Aws::ApplicationAutoScaling
|
|
1812
1924
|
# The name of the scaling policy.
|
1813
1925
|
#
|
1814
1926
|
# @option params [required, String] :service_namespace
|
1815
|
-
# The namespace of the
|
1816
|
-
# resource provided by your own application or service,
|
1817
|
-
# `custom-resource` instead.
|
1927
|
+
# The namespace of the Amazon Web Services service that provides the
|
1928
|
+
# resource. For a resource provided by your own application or service,
|
1929
|
+
# use `custom-resource` instead.
|
1818
1930
|
#
|
1819
1931
|
# @option params [required, String] :resource_id
|
1820
1932
|
# The identifier of the resource associated with the scaling policy.
|
@@ -1824,8 +1936,8 @@ module Aws::ApplicationAutoScaling
|
|
1824
1936
|
# identifier is the cluster name and service name. Example:
|
1825
1937
|
# `service/default/sample-webapp`.
|
1826
1938
|
#
|
1827
|
-
# * Spot Fleet
|
1828
|
-
#
|
1939
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1940
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1829
1941
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1830
1942
|
#
|
1831
1943
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1845,8 +1957,8 @@ module Aws::ApplicationAutoScaling
|
|
1845
1957
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1846
1958
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1847
1959
|
#
|
1848
|
-
# *
|
1849
|
-
#
|
1960
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
1961
|
+
# unique identifier is the resource ID. Example:
|
1850
1962
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1851
1963
|
#
|
1852
1964
|
# * Custom resources are not supported with a resource type. This
|
@@ -1877,6 +1989,13 @@ module Aws::ApplicationAutoScaling
|
|
1877
1989
|
# specified using the cluster ARN. Example:
|
1878
1990
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1879
1991
|
#
|
1992
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1993
|
+
# `replication-group` and the unique identifier is the replication
|
1994
|
+
# group name. Example: `replication-group/mycluster`.
|
1995
|
+
#
|
1996
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1997
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1998
|
+
#
|
1880
1999
|
#
|
1881
2000
|
#
|
1882
2001
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1888,12 +2007,12 @@ module Aws::ApplicationAutoScaling
|
|
1888
2007
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1889
2008
|
# service.
|
1890
2009
|
#
|
1891
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1892
|
-
# Spot Fleet request.
|
1893
|
-
#
|
1894
2010
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
1895
2011
|
# of an EMR Instance Group.
|
1896
2012
|
#
|
2013
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2014
|
+
# Spot Fleet.
|
2015
|
+
#
|
1897
2016
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1898
2017
|
# AppStream 2.0 fleet.
|
1899
2018
|
#
|
@@ -1914,7 +2033,7 @@ module Aws::ApplicationAutoScaling
|
|
1914
2033
|
# Aurora PostgreSQL-compatible edition.
|
1915
2034
|
#
|
1916
2035
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1917
|
-
# instances for an
|
2036
|
+
# instances for an SageMaker model endpoint variant.
|
1918
2037
|
#
|
1919
2038
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
1920
2039
|
# a custom resource provided by your own application or service.
|
@@ -1939,6 +2058,15 @@ module Aws::ApplicationAutoScaling
|
|
1939
2058
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1940
2059
|
# GiB) for brokers in an Amazon MSK cluster.
|
1941
2060
|
#
|
2061
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2062
|
+
# groups for an Amazon ElastiCache replication group.
|
2063
|
+
#
|
2064
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2065
|
+
# per node group for an Amazon ElastiCache replication group.
|
2066
|
+
#
|
2067
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2068
|
+
# an Amazon Neptune DB cluster.
|
2069
|
+
#
|
1942
2070
|
# @option params [String] :policy_type
|
1943
2071
|
# The policy type. This parameter is required if you are creating a
|
1944
2072
|
# scaling policy.
|
@@ -1948,7 +2076,7 @@ module Aws::ApplicationAutoScaling
|
|
1948
2076
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1949
2077
|
#
|
1950
2078
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1951
|
-
# Amazon Keyspaces
|
2079
|
+
# Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
|
1952
2080
|
#
|
1953
2081
|
# For more information, see [Target tracking scaling policies][1] and
|
1954
2082
|
# [Step scaling policies][2] in the *Application Auto Scaling User
|
@@ -2019,9 +2147,9 @@ module Aws::ApplicationAutoScaling
|
|
2019
2147
|
#
|
2020
2148
|
# resp = client.put_scaling_policy({
|
2021
2149
|
# policy_name: "PolicyName", # required
|
2022
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2150
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2023
2151
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2024
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2152
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
2025
2153
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
2026
2154
|
# step_scaling_policy_configuration: {
|
2027
2155
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -2039,7 +2167,7 @@ module Aws::ApplicationAutoScaling
|
|
2039
2167
|
# target_tracking_scaling_policy_configuration: {
|
2040
2168
|
# target_value: 1.0, # required
|
2041
2169
|
# predefined_metric_specification: {
|
2042
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
2170
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
|
2043
2171
|
# resource_label: "ResourceLabel",
|
2044
2172
|
# },
|
2045
2173
|
# customized_metric_specification: {
|
@@ -2107,9 +2235,9 @@ module Aws::ApplicationAutoScaling
|
|
2107
2235
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
2108
2236
|
#
|
2109
2237
|
# @option params [required, String] :service_namespace
|
2110
|
-
# The namespace of the
|
2111
|
-
# resource provided by your own application or service,
|
2112
|
-
# `custom-resource` instead.
|
2238
|
+
# The namespace of the Amazon Web Services service that provides the
|
2239
|
+
# resource. For a resource provided by your own application or service,
|
2240
|
+
# use `custom-resource` instead.
|
2113
2241
|
#
|
2114
2242
|
# @option params [String] :schedule
|
2115
2243
|
# The schedule for this action. The following formats are supported:
|
@@ -2168,8 +2296,8 @@ module Aws::ApplicationAutoScaling
|
|
2168
2296
|
# identifier is the cluster name and service name. Example:
|
2169
2297
|
# `service/default/sample-webapp`.
|
2170
2298
|
#
|
2171
|
-
# * Spot Fleet
|
2172
|
-
#
|
2299
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2300
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2173
2301
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2174
2302
|
#
|
2175
2303
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2189,8 +2317,8 @@ module Aws::ApplicationAutoScaling
|
|
2189
2317
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2190
2318
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2191
2319
|
#
|
2192
|
-
# *
|
2193
|
-
#
|
2320
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
2321
|
+
# unique identifier is the resource ID. Example:
|
2194
2322
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2195
2323
|
#
|
2196
2324
|
# * Custom resources are not supported with a resource type. This
|
@@ -2221,6 +2349,13 @@ module Aws::ApplicationAutoScaling
|
|
2221
2349
|
# specified using the cluster ARN. Example:
|
2222
2350
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2223
2351
|
#
|
2352
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2353
|
+
# `replication-group` and the unique identifier is the replication
|
2354
|
+
# group name. Example: `replication-group/mycluster`.
|
2355
|
+
#
|
2356
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2357
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2358
|
+
#
|
2224
2359
|
#
|
2225
2360
|
#
|
2226
2361
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2232,12 +2367,12 @@ module Aws::ApplicationAutoScaling
|
|
2232
2367
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2233
2368
|
# service.
|
2234
2369
|
#
|
2235
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2236
|
-
# Spot Fleet request.
|
2237
|
-
#
|
2238
2370
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
2239
2371
|
# of an EMR Instance Group.
|
2240
2372
|
#
|
2373
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2374
|
+
# Spot Fleet.
|
2375
|
+
#
|
2241
2376
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2242
2377
|
# AppStream 2.0 fleet.
|
2243
2378
|
#
|
@@ -2258,7 +2393,7 @@ module Aws::ApplicationAutoScaling
|
|
2258
2393
|
# Aurora PostgreSQL-compatible edition.
|
2259
2394
|
#
|
2260
2395
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2261
|
-
# instances for an
|
2396
|
+
# instances for an SageMaker model endpoint variant.
|
2262
2397
|
#
|
2263
2398
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2264
2399
|
# a custom resource provided by your own application or service.
|
@@ -2283,6 +2418,15 @@ module Aws::ApplicationAutoScaling
|
|
2283
2418
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2284
2419
|
# GiB) for brokers in an Amazon MSK cluster.
|
2285
2420
|
#
|
2421
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2422
|
+
# groups for an Amazon ElastiCache replication group.
|
2423
|
+
#
|
2424
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2425
|
+
# per node group for an Amazon ElastiCache replication group.
|
2426
|
+
#
|
2427
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2428
|
+
# an Amazon Neptune DB cluster.
|
2429
|
+
#
|
2286
2430
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2287
2431
|
# The date and time for this scheduled action to start, in UTC.
|
2288
2432
|
#
|
@@ -2301,12 +2445,12 @@ module Aws::ApplicationAutoScaling
|
|
2301
2445
|
# @example Request syntax with placeholder values
|
2302
2446
|
#
|
2303
2447
|
# resp = client.put_scheduled_action({
|
2304
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2448
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2305
2449
|
# schedule: "ResourceIdMaxLen1600",
|
2306
2450
|
# timezone: "ResourceIdMaxLen1600",
|
2307
2451
|
# scheduled_action_name: "ScheduledActionName", # required
|
2308
2452
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2309
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2453
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
2310
2454
|
# start_time: Time.now,
|
2311
2455
|
# end_time: Time.now,
|
2312
2456
|
# scalable_target_action: {
|
@@ -2348,15 +2492,24 @@ module Aws::ApplicationAutoScaling
|
|
2348
2492
|
# resource ID, scalable dimension, and namespace. Any parameters that
|
2349
2493
|
# you don't specify are not changed by this update request.
|
2350
2494
|
#
|
2495
|
+
# <note markdown="1"> If you call the `RegisterScalableTarget` API to update an existing
|
2496
|
+
# scalable target, Application Auto Scaling retrieves the current
|
2497
|
+
# capacity of the resource. If it is below the minimum capacity or above
|
2498
|
+
# the maximum capacity, Application Auto Scaling adjusts the capacity of
|
2499
|
+
# the scalable target to place it within these bounds, even if you
|
2500
|
+
# don't include the `MinCapacity` or `MaxCapacity` request parameters.
|
2501
|
+
#
|
2502
|
+
# </note>
|
2503
|
+
#
|
2351
2504
|
#
|
2352
2505
|
#
|
2353
2506
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
|
2354
2507
|
# [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html
|
2355
2508
|
#
|
2356
2509
|
# @option params [required, String] :service_namespace
|
2357
|
-
# The namespace of the
|
2358
|
-
# resource provided by your own application or service,
|
2359
|
-
# `custom-resource` instead.
|
2510
|
+
# The namespace of the Amazon Web Services service that provides the
|
2511
|
+
# resource. For a resource provided by your own application or service,
|
2512
|
+
# use `custom-resource` instead.
|
2360
2513
|
#
|
2361
2514
|
# @option params [required, String] :resource_id
|
2362
2515
|
# The identifier of the resource that is associated with the scalable
|
@@ -2367,8 +2520,8 @@ module Aws::ApplicationAutoScaling
|
|
2367
2520
|
# identifier is the cluster name and service name. Example:
|
2368
2521
|
# `service/default/sample-webapp`.
|
2369
2522
|
#
|
2370
|
-
# * Spot Fleet
|
2371
|
-
#
|
2523
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2524
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2372
2525
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2373
2526
|
#
|
2374
2527
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2388,8 +2541,8 @@ module Aws::ApplicationAutoScaling
|
|
2388
2541
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2389
2542
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2390
2543
|
#
|
2391
|
-
# *
|
2392
|
-
#
|
2544
|
+
# * SageMaker endpoint variant - The resource type is `variant` and the
|
2545
|
+
# unique identifier is the resource ID. Example:
|
2393
2546
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2394
2547
|
#
|
2395
2548
|
# * Custom resources are not supported with a resource type. This
|
@@ -2420,6 +2573,13 @@ module Aws::ApplicationAutoScaling
|
|
2420
2573
|
# specified using the cluster ARN. Example:
|
2421
2574
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2422
2575
|
#
|
2576
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2577
|
+
# `replication-group` and the unique identifier is the replication
|
2578
|
+
# group name. Example: `replication-group/mycluster`.
|
2579
|
+
#
|
2580
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2581
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2582
|
+
#
|
2423
2583
|
#
|
2424
2584
|
#
|
2425
2585
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2432,12 +2592,12 @@ module Aws::ApplicationAutoScaling
|
|
2432
2592
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2433
2593
|
# service.
|
2434
2594
|
#
|
2435
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2436
|
-
# Spot Fleet request.
|
2437
|
-
#
|
2438
2595
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance count
|
2439
2596
|
# of an EMR Instance Group.
|
2440
2597
|
#
|
2598
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2599
|
+
# Spot Fleet.
|
2600
|
+
#
|
2441
2601
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2442
2602
|
# AppStream 2.0 fleet.
|
2443
2603
|
#
|
@@ -2458,7 +2618,7 @@ module Aws::ApplicationAutoScaling
|
|
2458
2618
|
# Aurora PostgreSQL-compatible edition.
|
2459
2619
|
#
|
2460
2620
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2461
|
-
# instances for an
|
2621
|
+
# instances for an SageMaker model endpoint variant.
|
2462
2622
|
#
|
2463
2623
|
# * `custom-resource:ResourceType:Property` - The scalable dimension for
|
2464
2624
|
# a custom resource provided by your own application or service.
|
@@ -2483,6 +2643,15 @@ module Aws::ApplicationAutoScaling
|
|
2483
2643
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2484
2644
|
# GiB) for brokers in an Amazon MSK cluster.
|
2485
2645
|
#
|
2646
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2647
|
+
# groups for an Amazon ElastiCache replication group.
|
2648
|
+
#
|
2649
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2650
|
+
# per node group for an Amazon ElastiCache replication group.
|
2651
|
+
#
|
2652
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2653
|
+
# an Amazon Neptune DB cluster.
|
2654
|
+
#
|
2486
2655
|
# @option params [Integer] :min_capacity
|
2487
2656
|
# The minimum value that you plan to scale in to. When a scaling policy
|
2488
2657
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
@@ -2573,9 +2742,9 @@ module Aws::ApplicationAutoScaling
|
|
2573
2742
|
# @example Request syntax with placeholder values
|
2574
2743
|
#
|
2575
2744
|
# resp = client.register_scalable_target({
|
2576
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2745
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2577
2746
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2578
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2747
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
2579
2748
|
# min_capacity: 1,
|
2580
2749
|
# max_capacity: 1,
|
2581
2750
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2608,7 +2777,7 @@ module Aws::ApplicationAutoScaling
|
|
2608
2777
|
params: params,
|
2609
2778
|
config: config)
|
2610
2779
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2611
|
-
context[:gem_version] = '1.
|
2780
|
+
context[:gem_version] = '1.56.0'
|
2612
2781
|
Seahorse::Client::Request.new(handlers, context)
|
2613
2782
|
end
|
2614
2783
|
|