aws-sdk-applicationautoscaling 1.45.0 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a698d83407c3036835ab92d1123f7ad340187eb5bf65004cca720bab2542ccb2
|
4
|
+
data.tar.gz: 2e6e74075b1e4d855daef375b986236f5bfa5326920a0c0baf35efd45ce2d040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e3f4b3a3645e9dd4ec8e329b2e6f149ff1638466e78c4602e4b32f909e424316c3fc057f269c485f44c5de4f598ff3ae61eab2e7d8600e57669e057b7744430
|
7
|
+
data.tar.gz: 29430154fe00ae5dff7589cef0cdb8b24b1112ac6137d967061c6390c6268f18b03d0b3439f830a9753c2dbbb0a8e5ef405c1f9558068680798bc38abc326281
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::ApplicationAutoScaling
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.50.0'
|
51
52
|
|
52
53
|
end
|
@@ -344,8 +344,8 @@ module Aws::ApplicationAutoScaling
|
|
344
344
|
# but does not delete the CloudWatch alarm associated with the scaling
|
345
345
|
# policy, even if it no longer has an associated action.
|
346
346
|
#
|
347
|
-
# For more information, see [Delete a
|
348
|
-
# [Delete a
|
347
|
+
# For more information, see [Delete a step scaling policy][1] and
|
348
|
+
# [Delete a target tracking scaling policy][2] in the *Application Auto
|
349
349
|
# Scaling User Guide*.
|
350
350
|
#
|
351
351
|
#
|
@@ -405,6 +405,10 @@ module Aws::ApplicationAutoScaling
|
|
405
405
|
# Example:
|
406
406
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
407
407
|
#
|
408
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
409
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
410
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
411
|
+
#
|
408
412
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
409
413
|
# the unique identifier is the function name with a function version
|
410
414
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -414,6 +418,10 @@ module Aws::ApplicationAutoScaling
|
|
414
418
|
# identifier is the table name. Example:
|
415
419
|
# `keyspace/mykeyspace/table/mytable`.
|
416
420
|
#
|
421
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
422
|
+
# specified using the cluster ARN. Example:
|
423
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
424
|
+
#
|
417
425
|
#
|
418
426
|
#
|
419
427
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -460,6 +468,10 @@ module Aws::ApplicationAutoScaling
|
|
460
468
|
# The number of inference units for an Amazon Comprehend document
|
461
469
|
# classification endpoint.
|
462
470
|
#
|
471
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
472
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
473
|
+
# endpoint.
|
474
|
+
#
|
463
475
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
464
476
|
# concurrency for a Lambda function.
|
465
477
|
#
|
@@ -469,6 +481,9 @@ module Aws::ApplicationAutoScaling
|
|
469
481
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
470
482
|
# capacity for an Amazon Keyspaces table.
|
471
483
|
#
|
484
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
485
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
486
|
+
#
|
472
487
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
473
488
|
#
|
474
489
|
#
|
@@ -492,9 +507,9 @@ module Aws::ApplicationAutoScaling
|
|
492
507
|
#
|
493
508
|
# resp = client.delete_scaling_policy({
|
494
509
|
# policy_name: "ResourceIdMaxLen1600", # required
|
495
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
510
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
496
511
|
# resource_id: "ResourceIdMaxLen1600", # required
|
497
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
498
513
|
# })
|
499
514
|
#
|
500
515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -509,12 +524,12 @@ module Aws::ApplicationAutoScaling
|
|
509
524
|
# Deletes the specified scheduled action for an Application Auto Scaling
|
510
525
|
# scalable target.
|
511
526
|
#
|
512
|
-
# For more information, see [Delete a
|
527
|
+
# For more information, see [Delete a scheduled action][1] in the
|
513
528
|
# *Application Auto Scaling User Guide*.
|
514
529
|
#
|
515
530
|
#
|
516
531
|
#
|
517
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/
|
532
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action
|
518
533
|
#
|
519
534
|
# @option params [required, String] :service_namespace
|
520
535
|
# The namespace of the AWS service that provides the resource. For a
|
@@ -568,6 +583,10 @@ module Aws::ApplicationAutoScaling
|
|
568
583
|
# Example:
|
569
584
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
570
585
|
#
|
586
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
587
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
588
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
589
|
+
#
|
571
590
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
572
591
|
# the unique identifier is the function name with a function version
|
573
592
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -577,6 +596,10 @@ module Aws::ApplicationAutoScaling
|
|
577
596
|
# identifier is the table name. Example:
|
578
597
|
# `keyspace/mykeyspace/table/mytable`.
|
579
598
|
#
|
599
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
600
|
+
# specified using the cluster ARN. Example:
|
601
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
602
|
+
#
|
580
603
|
#
|
581
604
|
#
|
582
605
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -623,6 +646,10 @@ module Aws::ApplicationAutoScaling
|
|
623
646
|
# The number of inference units for an Amazon Comprehend document
|
624
647
|
# classification endpoint.
|
625
648
|
#
|
649
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
650
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
651
|
+
# endpoint.
|
652
|
+
#
|
626
653
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
627
654
|
# concurrency for a Lambda function.
|
628
655
|
#
|
@@ -632,15 +659,18 @@ module Aws::ApplicationAutoScaling
|
|
632
659
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
633
660
|
# capacity for an Amazon Keyspaces table.
|
634
661
|
#
|
662
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
663
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
664
|
+
#
|
635
665
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
636
666
|
#
|
637
667
|
# @example Request syntax with placeholder values
|
638
668
|
#
|
639
669
|
# resp = client.delete_scheduled_action({
|
640
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
670
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
641
671
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
642
672
|
# resource_id: "ResourceIdMaxLen1600", # required
|
643
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
644
674
|
# })
|
645
675
|
#
|
646
676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -714,6 +744,10 @@ module Aws::ApplicationAutoScaling
|
|
714
744
|
# Example:
|
715
745
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
716
746
|
#
|
747
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
748
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
749
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
750
|
+
#
|
717
751
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
718
752
|
# the unique identifier is the function name with a function version
|
719
753
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -723,6 +757,10 @@ module Aws::ApplicationAutoScaling
|
|
723
757
|
# identifier is the table name. Example:
|
724
758
|
# `keyspace/mykeyspace/table/mytable`.
|
725
759
|
#
|
760
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
761
|
+
# specified using the cluster ARN. Example:
|
762
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
763
|
+
#
|
726
764
|
#
|
727
765
|
#
|
728
766
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -770,6 +808,10 @@ module Aws::ApplicationAutoScaling
|
|
770
808
|
# The number of inference units for an Amazon Comprehend document
|
771
809
|
# classification endpoint.
|
772
810
|
#
|
811
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
812
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
813
|
+
# endpoint.
|
814
|
+
#
|
773
815
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
774
816
|
# concurrency for a Lambda function.
|
775
817
|
#
|
@@ -779,6 +821,9 @@ module Aws::ApplicationAutoScaling
|
|
779
821
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
780
822
|
# capacity for an Amazon Keyspaces table.
|
781
823
|
#
|
824
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
825
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
826
|
+
#
|
782
827
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
783
828
|
#
|
784
829
|
#
|
@@ -800,9 +845,9 @@ module Aws::ApplicationAutoScaling
|
|
800
845
|
# @example Request syntax with placeholder values
|
801
846
|
#
|
802
847
|
# resp = client.deregister_scalable_target({
|
803
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
848
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
804
849
|
# resource_id: "ResourceIdMaxLen1600", # required
|
805
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
806
851
|
# })
|
807
852
|
#
|
808
853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -827,8 +872,7 @@ module Aws::ApplicationAutoScaling
|
|
827
872
|
#
|
828
873
|
# @option params [Array<String>] :resource_ids
|
829
874
|
# The identifier of the resource associated with the scalable target.
|
830
|
-
# This string consists of the resource type and unique identifier.
|
831
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
875
|
+
# This string consists of the resource type and unique identifier.
|
832
876
|
#
|
833
877
|
# * ECS service - The resource type is `service` and the unique
|
834
878
|
# identifier is the cluster name and service name. Example:
|
@@ -870,6 +914,10 @@ module Aws::ApplicationAutoScaling
|
|
870
914
|
# Example:
|
871
915
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
872
916
|
#
|
917
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
918
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
919
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
920
|
+
#
|
873
921
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
874
922
|
# the unique identifier is the function name with a function version
|
875
923
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -879,6 +927,10 @@ module Aws::ApplicationAutoScaling
|
|
879
927
|
# identifier is the table name. Example:
|
880
928
|
# `keyspace/mykeyspace/table/mytable`.
|
881
929
|
#
|
930
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
931
|
+
# specified using the cluster ARN. Example:
|
932
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
933
|
+
#
|
882
934
|
#
|
883
935
|
#
|
884
936
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -927,6 +979,10 @@ module Aws::ApplicationAutoScaling
|
|
927
979
|
# The number of inference units for an Amazon Comprehend document
|
928
980
|
# classification endpoint.
|
929
981
|
#
|
982
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
983
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
984
|
+
# endpoint.
|
985
|
+
#
|
930
986
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
931
987
|
# concurrency for a Lambda function.
|
932
988
|
#
|
@@ -936,6 +992,9 @@ module Aws::ApplicationAutoScaling
|
|
936
992
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
937
993
|
# capacity for an Amazon Keyspaces table.
|
938
994
|
#
|
995
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
996
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
997
|
+
#
|
939
998
|
# @option params [Integer] :max_results
|
940
999
|
# The maximum number of scalable targets. This value can be between 1
|
941
1000
|
# and 50. The default value is 50.
|
@@ -988,9 +1047,9 @@ module Aws::ApplicationAutoScaling
|
|
988
1047
|
# @example Request syntax with placeholder values
|
989
1048
|
#
|
990
1049
|
# resp = client.describe_scalable_targets({
|
991
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1050
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
992
1051
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
993
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
994
1053
|
# max_results: 1,
|
995
1054
|
# next_token: "XmlString",
|
996
1055
|
# })
|
@@ -998,9 +1057,9 @@ module Aws::ApplicationAutoScaling
|
|
998
1057
|
# @example Response structure
|
999
1058
|
#
|
1000
1059
|
# resp.scalable_targets #=> Array
|
1001
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1060
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1002
1061
|
# resp.scalable_targets[0].resource_id #=> String
|
1003
|
-
# 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", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits"
|
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"
|
1004
1063
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
1005
1064
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
1006
1065
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1031,8 +1090,7 @@ module Aws::ApplicationAutoScaling
|
|
1031
1090
|
#
|
1032
1091
|
# @option params [String] :resource_id
|
1033
1092
|
# The identifier of the resource associated with the scaling activity.
|
1034
|
-
# This string consists of the resource type and unique identifier.
|
1035
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
1093
|
+
# This string consists of the resource type and unique identifier.
|
1036
1094
|
#
|
1037
1095
|
# * ECS service - The resource type is `service` and the unique
|
1038
1096
|
# identifier is the cluster name and service name. Example:
|
@@ -1074,6 +1132,10 @@ module Aws::ApplicationAutoScaling
|
|
1074
1132
|
# Example:
|
1075
1133
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1076
1134
|
#
|
1135
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1136
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1137
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1138
|
+
#
|
1077
1139
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1078
1140
|
# the unique identifier is the function name with a function version
|
1079
1141
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1083,6 +1145,10 @@ module Aws::ApplicationAutoScaling
|
|
1083
1145
|
# identifier is the table name. Example:
|
1084
1146
|
# `keyspace/mykeyspace/table/mytable`.
|
1085
1147
|
#
|
1148
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1149
|
+
# specified using the cluster ARN. Example:
|
1150
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1151
|
+
#
|
1086
1152
|
#
|
1087
1153
|
#
|
1088
1154
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1130,6 +1196,10 @@ module Aws::ApplicationAutoScaling
|
|
1130
1196
|
# The number of inference units for an Amazon Comprehend document
|
1131
1197
|
# classification endpoint.
|
1132
1198
|
#
|
1199
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1200
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1201
|
+
# endpoint.
|
1202
|
+
#
|
1133
1203
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1134
1204
|
# concurrency for a Lambda function.
|
1135
1205
|
#
|
@@ -1139,6 +1209,9 @@ module Aws::ApplicationAutoScaling
|
|
1139
1209
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1140
1210
|
# capacity for an Amazon Keyspaces table.
|
1141
1211
|
#
|
1212
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1213
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1214
|
+
#
|
1142
1215
|
# @option params [Integer] :max_results
|
1143
1216
|
# The maximum number of scalable targets. This value can be between 1
|
1144
1217
|
# and 50. The default value is 50.
|
@@ -1192,9 +1265,9 @@ module Aws::ApplicationAutoScaling
|
|
1192
1265
|
# @example Request syntax with placeholder values
|
1193
1266
|
#
|
1194
1267
|
# resp = client.describe_scaling_activities({
|
1195
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1268
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1196
1269
|
# resource_id: "ResourceIdMaxLen1600",
|
1197
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
1198
1271
|
# max_results: 1,
|
1199
1272
|
# next_token: "XmlString",
|
1200
1273
|
# })
|
@@ -1203,9 +1276,9 @@ module Aws::ApplicationAutoScaling
|
|
1203
1276
|
#
|
1204
1277
|
# resp.scaling_activities #=> Array
|
1205
1278
|
# resp.scaling_activities[0].activity_id #=> String
|
1206
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1279
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1207
1280
|
# resp.scaling_activities[0].resource_id #=> String
|
1208
|
-
# 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", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits"
|
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"
|
1209
1282
|
# resp.scaling_activities[0].description #=> String
|
1210
1283
|
# resp.scaling_activities[0].cause #=> String
|
1211
1284
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1230,8 +1303,8 @@ module Aws::ApplicationAutoScaling
|
|
1230
1303
|
# You can filter the results using `ResourceId`, `ScalableDimension`,
|
1231
1304
|
# and `PolicyNames`.
|
1232
1305
|
#
|
1233
|
-
# For more information, see [Target
|
1234
|
-
# [Step
|
1306
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1307
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1235
1308
|
# Guide*.
|
1236
1309
|
#
|
1237
1310
|
#
|
@@ -1249,8 +1322,7 @@ module Aws::ApplicationAutoScaling
|
|
1249
1322
|
#
|
1250
1323
|
# @option params [String] :resource_id
|
1251
1324
|
# The identifier of the resource associated with the scaling policy.
|
1252
|
-
# This string consists of the resource type and unique identifier.
|
1253
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
1325
|
+
# This string consists of the resource type and unique identifier.
|
1254
1326
|
#
|
1255
1327
|
# * ECS service - The resource type is `service` and the unique
|
1256
1328
|
# identifier is the cluster name and service name. Example:
|
@@ -1292,6 +1364,10 @@ module Aws::ApplicationAutoScaling
|
|
1292
1364
|
# Example:
|
1293
1365
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1294
1366
|
#
|
1367
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1368
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1369
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1370
|
+
#
|
1295
1371
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1296
1372
|
# the unique identifier is the function name with a function version
|
1297
1373
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1301,6 +1377,10 @@ module Aws::ApplicationAutoScaling
|
|
1301
1377
|
# identifier is the table name. Example:
|
1302
1378
|
# `keyspace/mykeyspace/table/mytable`.
|
1303
1379
|
#
|
1380
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1381
|
+
# specified using the cluster ARN. Example:
|
1382
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1383
|
+
#
|
1304
1384
|
#
|
1305
1385
|
#
|
1306
1386
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1348,6 +1428,10 @@ module Aws::ApplicationAutoScaling
|
|
1348
1428
|
# The number of inference units for an Amazon Comprehend document
|
1349
1429
|
# classification endpoint.
|
1350
1430
|
#
|
1431
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1432
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1433
|
+
# endpoint.
|
1434
|
+
#
|
1351
1435
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1352
1436
|
# concurrency for a Lambda function.
|
1353
1437
|
#
|
@@ -1357,6 +1441,9 @@ module Aws::ApplicationAutoScaling
|
|
1357
1441
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1358
1442
|
# capacity for an Amazon Keyspaces table.
|
1359
1443
|
#
|
1444
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1445
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1446
|
+
#
|
1360
1447
|
# @option params [Integer] :max_results
|
1361
1448
|
# The maximum number of scalable targets. This value can be between 1
|
1362
1449
|
# and 50. The default value is 50.
|
@@ -1422,9 +1509,9 @@ module Aws::ApplicationAutoScaling
|
|
1422
1509
|
#
|
1423
1510
|
# resp = client.describe_scaling_policies({
|
1424
1511
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1425
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1512
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1426
1513
|
# resource_id: "ResourceIdMaxLen1600",
|
1427
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
1428
1515
|
# max_results: 1,
|
1429
1516
|
# next_token: "XmlString",
|
1430
1517
|
# })
|
@@ -1434,9 +1521,9 @@ module Aws::ApplicationAutoScaling
|
|
1434
1521
|
# resp.scaling_policies #=> Array
|
1435
1522
|
# resp.scaling_policies[0].policy_arn #=> String
|
1436
1523
|
# resp.scaling_policies[0].policy_name #=> String
|
1437
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1524
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1438
1525
|
# resp.scaling_policies[0].resource_id #=> String
|
1439
|
-
# 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", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits"
|
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"
|
1440
1527
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1441
1528
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1442
1529
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1447,7 +1534,7 @@ module Aws::ApplicationAutoScaling
|
|
1447
1534
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1448
1535
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1449
1536
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1450
|
-
# 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"
|
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"
|
1451
1538
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1452
1539
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1453
1540
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1480,12 +1567,13 @@ module Aws::ApplicationAutoScaling
|
|
1480
1567
|
# You can filter the results using the `ResourceId`,
|
1481
1568
|
# `ScalableDimension`, and `ScheduledActionNames` parameters.
|
1482
1569
|
#
|
1483
|
-
# For more information, see [Scheduled
|
1484
|
-
# Auto Scaling User Guide*.
|
1570
|
+
# For more information, see [Scheduled scaling][1] and [Managing
|
1571
|
+
# scheduled scaling][2] in the *Application Auto Scaling User Guide*.
|
1485
1572
|
#
|
1486
1573
|
#
|
1487
1574
|
#
|
1488
1575
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
1576
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html
|
1489
1577
|
#
|
1490
1578
|
# @option params [Array<String>] :scheduled_action_names
|
1491
1579
|
# The names of the scheduled actions to describe.
|
@@ -1497,8 +1585,7 @@ module Aws::ApplicationAutoScaling
|
|
1497
1585
|
#
|
1498
1586
|
# @option params [String] :resource_id
|
1499
1587
|
# The identifier of the resource associated with the scheduled action.
|
1500
|
-
# This string consists of the resource type and unique identifier.
|
1501
|
-
# you specify a scalable dimension, you must also specify a resource ID.
|
1588
|
+
# This string consists of the resource type and unique identifier.
|
1502
1589
|
#
|
1503
1590
|
# * ECS service - The resource type is `service` and the unique
|
1504
1591
|
# identifier is the cluster name and service name. Example:
|
@@ -1540,6 +1627,10 @@ module Aws::ApplicationAutoScaling
|
|
1540
1627
|
# Example:
|
1541
1628
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1542
1629
|
#
|
1630
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1631
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1632
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1633
|
+
#
|
1543
1634
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1544
1635
|
# the unique identifier is the function name with a function version
|
1545
1636
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1549,6 +1640,10 @@ module Aws::ApplicationAutoScaling
|
|
1549
1640
|
# identifier is the table name. Example:
|
1550
1641
|
# `keyspace/mykeyspace/table/mytable`.
|
1551
1642
|
#
|
1643
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1644
|
+
# specified using the cluster ARN. Example:
|
1645
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1646
|
+
#
|
1552
1647
|
#
|
1553
1648
|
#
|
1554
1649
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1596,6 +1691,10 @@ module Aws::ApplicationAutoScaling
|
|
1596
1691
|
# The number of inference units for an Amazon Comprehend document
|
1597
1692
|
# classification endpoint.
|
1598
1693
|
#
|
1694
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1695
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1696
|
+
# endpoint.
|
1697
|
+
#
|
1599
1698
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1600
1699
|
# concurrency for a Lambda function.
|
1601
1700
|
#
|
@@ -1605,6 +1704,9 @@ module Aws::ApplicationAutoScaling
|
|
1605
1704
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1606
1705
|
# capacity for an Amazon Keyspaces table.
|
1607
1706
|
#
|
1707
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1708
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1709
|
+
#
|
1608
1710
|
# @option params [Integer] :max_results
|
1609
1711
|
# The maximum number of scheduled action results. This value can be
|
1610
1712
|
# between 1 and 50. The default value is 50.
|
@@ -1629,9 +1731,9 @@ module Aws::ApplicationAutoScaling
|
|
1629
1731
|
#
|
1630
1732
|
# resp = client.describe_scheduled_actions({
|
1631
1733
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1632
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1734
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1633
1735
|
# resource_id: "ResourceIdMaxLen1600",
|
1634
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
1635
1737
|
# max_results: 1,
|
1636
1738
|
# next_token: "XmlString",
|
1637
1739
|
# })
|
@@ -1641,10 +1743,11 @@ module Aws::ApplicationAutoScaling
|
|
1641
1743
|
# resp.scheduled_actions #=> Array
|
1642
1744
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1643
1745
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1644
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1746
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1645
1747
|
# resp.scheduled_actions[0].schedule #=> String
|
1748
|
+
# resp.scheduled_actions[0].timezone #=> String
|
1646
1749
|
# resp.scheduled_actions[0].resource_id #=> String
|
1647
|
-
# 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", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits"
|
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"
|
1648
1751
|
# resp.scheduled_actions[0].start_time #=> Time
|
1649
1752
|
# resp.scheduled_actions[0].end_time #=> Time
|
1650
1753
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1690,8 +1793,8 @@ module Aws::ApplicationAutoScaling
|
|
1690
1793
|
# be blocked. After the scale-in activity completes, the target tracking
|
1691
1794
|
# policy could instruct the scalable target to scale out again.
|
1692
1795
|
#
|
1693
|
-
# For more information, see [Target
|
1694
|
-
# [Step
|
1796
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1797
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1695
1798
|
# Guide*.
|
1696
1799
|
#
|
1697
1800
|
# <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
|
@@ -1757,6 +1860,10 @@ module Aws::ApplicationAutoScaling
|
|
1757
1860
|
# Example:
|
1758
1861
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1759
1862
|
#
|
1863
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1864
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1865
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1866
|
+
#
|
1760
1867
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1761
1868
|
# the unique identifier is the function name with a function version
|
1762
1869
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1766,6 +1873,10 @@ module Aws::ApplicationAutoScaling
|
|
1766
1873
|
# identifier is the table name. Example:
|
1767
1874
|
# `keyspace/mykeyspace/table/mytable`.
|
1768
1875
|
#
|
1876
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1877
|
+
# specified using the cluster ARN. Example:
|
1878
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1879
|
+
#
|
1769
1880
|
#
|
1770
1881
|
#
|
1771
1882
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1812,6 +1923,10 @@ module Aws::ApplicationAutoScaling
|
|
1812
1923
|
# The number of inference units for an Amazon Comprehend document
|
1813
1924
|
# classification endpoint.
|
1814
1925
|
#
|
1926
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1927
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1928
|
+
# endpoint.
|
1929
|
+
#
|
1815
1930
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1816
1931
|
# concurrency for a Lambda function.
|
1817
1932
|
#
|
@@ -1821,6 +1936,9 @@ module Aws::ApplicationAutoScaling
|
|
1821
1936
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1822
1937
|
# capacity for an Amazon Keyspaces table.
|
1823
1938
|
#
|
1939
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1940
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1941
|
+
#
|
1824
1942
|
# @option params [String] :policy_type
|
1825
1943
|
# The policy type. This parameter is required if you are creating a
|
1826
1944
|
# scaling policy.
|
@@ -1830,10 +1948,10 @@ module Aws::ApplicationAutoScaling
|
|
1830
1948
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1831
1949
|
#
|
1832
1950
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1833
|
-
#
|
1951
|
+
# Amazon Keyspaces (for Apache Cassandra), or Amazon MSK.
|
1834
1952
|
#
|
1835
|
-
# For more information, see [Target
|
1836
|
-
# [Step
|
1953
|
+
# For more information, see [Target tracking scaling policies][1] and
|
1954
|
+
# [Step scaling policies][2] in the *Application Auto Scaling User
|
1837
1955
|
# Guide*.
|
1838
1956
|
#
|
1839
1957
|
#
|
@@ -1901,9 +2019,9 @@ module Aws::ApplicationAutoScaling
|
|
1901
2019
|
#
|
1902
2020
|
# resp = client.put_scaling_policy({
|
1903
2021
|
# policy_name: "PolicyName", # required
|
1904
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2022
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1905
2023
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1906
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
1907
2025
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
1908
2026
|
# step_scaling_policy_configuration: {
|
1909
2027
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -1921,7 +2039,7 @@ module Aws::ApplicationAutoScaling
|
|
1921
2039
|
# target_tracking_scaling_policy_configuration: {
|
1922
2040
|
# target_value: 1.0, # required
|
1923
2041
|
# predefined_metric_specification: {
|
1924
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
|
2042
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
1925
2043
|
# resource_label: "ResourceLabel",
|
1926
2044
|
# },
|
1927
2045
|
# customized_metric_specification: {
|
@@ -1968,14 +2086,14 @@ module Aws::ApplicationAutoScaling
|
|
1968
2086
|
# target.
|
1969
2087
|
#
|
1970
2088
|
# When start and end times are specified with a recurring schedule using
|
1971
|
-
# a cron expression or rates, they form the boundaries
|
2089
|
+
# a cron expression or rates, they form the boundaries for when the
|
1972
2090
|
# recurring action starts and stops.
|
1973
2091
|
#
|
1974
2092
|
# To update a scheduled action, specify the parameters that you want to
|
1975
2093
|
# change. If you don't specify start and end times, the old values are
|
1976
2094
|
# deleted.
|
1977
2095
|
#
|
1978
|
-
# For more information, see [Scheduled
|
2096
|
+
# For more information, see [Scheduled scaling][1] in the *Application
|
1979
2097
|
# Auto Scaling User Guide*.
|
1980
2098
|
#
|
1981
2099
|
# <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
|
@@ -2002,22 +2120,41 @@ module Aws::ApplicationAutoScaling
|
|
2002
2120
|
#
|
2003
2121
|
# * Cron expressions - "`cron(fields)`"
|
2004
2122
|
#
|
2005
|
-
# At expressions are useful for one-time schedules.
|
2006
|
-
#
|
2123
|
+
# At expressions are useful for one-time schedules. Cron expressions are
|
2124
|
+
# useful for scheduled actions that run periodically at a specified date
|
2125
|
+
# and time, and rate expressions are useful for scheduled actions that
|
2126
|
+
# run at a regular interval.
|
2127
|
+
#
|
2128
|
+
# At and cron expressions use Universal Coordinated Time (UTC) by
|
2129
|
+
# default.
|
2130
|
+
#
|
2131
|
+
# The cron format consists of six fields separated by white spaces:
|
2132
|
+
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
2133
|
+
# \[Year\].
|
2007
2134
|
#
|
2008
2135
|
# For rate expressions, *value* is a positive integer and *unit* is
|
2009
2136
|
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
2010
2137
|
#
|
2011
|
-
# For more information
|
2012
|
-
# in the *
|
2138
|
+
# For more information and examples, see [Example scheduled actions for
|
2139
|
+
# Application Auto Scaling][1] in the *Application Auto Scaling User
|
2140
|
+
# Guide*.
|
2141
|
+
#
|
2142
|
+
#
|
2013
2143
|
#
|
2014
|
-
#
|
2015
|
-
# the *Application Auto Scaling User Guide*.
|
2144
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html
|
2016
2145
|
#
|
2146
|
+
# @option params [String] :timezone
|
2147
|
+
# Specifies the time zone used when setting a scheduled action by using
|
2148
|
+
# an at or cron expression. If a time zone is not provided, UTC is used
|
2149
|
+
# by default.
|
2017
2150
|
#
|
2151
|
+
# Valid values are the canonical names of the IANA time zones supported
|
2152
|
+
# by Joda-Time (such as `Etc/GMT+9` or `Pacific/Tahiti`). For more
|
2153
|
+
# information, see [https://www.joda.org/joda-time/timezones.html][1].
|
2018
2154
|
#
|
2019
|
-
#
|
2020
|
-
#
|
2155
|
+
#
|
2156
|
+
#
|
2157
|
+
# [1]: https://www.joda.org/joda-time/timezones.html
|
2021
2158
|
#
|
2022
2159
|
# @option params [required, String] :scheduled_action_name
|
2023
2160
|
# The name of the scheduled action. This name must be unique among all
|
@@ -2067,6 +2204,10 @@ module Aws::ApplicationAutoScaling
|
|
2067
2204
|
# Example:
|
2068
2205
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2069
2206
|
#
|
2207
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
2208
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
2209
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2210
|
+
#
|
2070
2211
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
2071
2212
|
# the unique identifier is the function name with a function version
|
2072
2213
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -2076,6 +2217,10 @@ module Aws::ApplicationAutoScaling
|
|
2076
2217
|
# identifier is the table name. Example:
|
2077
2218
|
# `keyspace/mykeyspace/table/mytable`.
|
2078
2219
|
#
|
2220
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2221
|
+
# specified using the cluster ARN. Example:
|
2222
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2223
|
+
#
|
2079
2224
|
#
|
2080
2225
|
#
|
2081
2226
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2122,6 +2267,10 @@ module Aws::ApplicationAutoScaling
|
|
2122
2267
|
# The number of inference units for an Amazon Comprehend document
|
2123
2268
|
# classification endpoint.
|
2124
2269
|
#
|
2270
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
2271
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
2272
|
+
# endpoint.
|
2273
|
+
#
|
2125
2274
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2126
2275
|
# concurrency for a Lambda function.
|
2127
2276
|
#
|
@@ -2131,11 +2280,14 @@ module Aws::ApplicationAutoScaling
|
|
2131
2280
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2132
2281
|
# capacity for an Amazon Keyspaces table.
|
2133
2282
|
#
|
2283
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2284
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
2285
|
+
#
|
2134
2286
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2135
|
-
# The date and time for this scheduled action to start.
|
2287
|
+
# The date and time for this scheduled action to start, in UTC.
|
2136
2288
|
#
|
2137
2289
|
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
2138
|
-
# The date and time for the recurring schedule to end.
|
2290
|
+
# The date and time for the recurring schedule to end, in UTC.
|
2139
2291
|
#
|
2140
2292
|
# @option params [Types::ScalableTargetAction] :scalable_target_action
|
2141
2293
|
# The new minimum and maximum capacity. You can set both values or just
|
@@ -2149,11 +2301,12 @@ module Aws::ApplicationAutoScaling
|
|
2149
2301
|
# @example Request syntax with placeholder values
|
2150
2302
|
#
|
2151
2303
|
# resp = client.put_scheduled_action({
|
2152
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2304
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2153
2305
|
# schedule: "ResourceIdMaxLen1600",
|
2306
|
+
# timezone: "ResourceIdMaxLen1600",
|
2154
2307
|
# scheduled_action_name: "ScheduledActionName", # required
|
2155
2308
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2156
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
2157
2310
|
# start_time: Time.now,
|
2158
2311
|
# end_time: Time.now,
|
2159
2312
|
# scalable_target_action: {
|
@@ -2178,9 +2331,10 @@ module Aws::ApplicationAutoScaling
|
|
2178
2331
|
# the combination of resource ID, scalable dimension, and namespace.
|
2179
2332
|
#
|
2180
2333
|
# When you register a new scalable target, you must specify values for
|
2181
|
-
# minimum and maximum capacity.
|
2182
|
-
#
|
2183
|
-
#
|
2334
|
+
# minimum and maximum capacity. Current capacity will be adjusted within
|
2335
|
+
# the specified range when scaling starts. Application Auto Scaling
|
2336
|
+
# scaling policies will not scale capacity to values that are outside of
|
2337
|
+
# this range.
|
2184
2338
|
#
|
2185
2339
|
# After you register a scalable target, you do not need to register it
|
2186
2340
|
# again to use other Application Auto Scaling operations. To see which
|
@@ -2249,6 +2403,10 @@ module Aws::ApplicationAutoScaling
|
|
2249
2403
|
# Example:
|
2250
2404
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2251
2405
|
#
|
2406
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
2407
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
2408
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2409
|
+
#
|
2252
2410
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
2253
2411
|
# the unique identifier is the function name with a function version
|
2254
2412
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -2258,6 +2416,10 @@ module Aws::ApplicationAutoScaling
|
|
2258
2416
|
# identifier is the table name. Example:
|
2259
2417
|
# `keyspace/mykeyspace/table/mytable`.
|
2260
2418
|
#
|
2419
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2420
|
+
# specified using the cluster ARN. Example:
|
2421
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2422
|
+
#
|
2261
2423
|
#
|
2262
2424
|
#
|
2263
2425
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2305,6 +2467,10 @@ module Aws::ApplicationAutoScaling
|
|
2305
2467
|
# The number of inference units for an Amazon Comprehend document
|
2306
2468
|
# classification endpoint.
|
2307
2469
|
#
|
2470
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
2471
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
2472
|
+
# endpoint.
|
2473
|
+
#
|
2308
2474
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2309
2475
|
# concurrency for a Lambda function.
|
2310
2476
|
#
|
@@ -2314,12 +2480,15 @@ module Aws::ApplicationAutoScaling
|
|
2314
2480
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2315
2481
|
# capacity for an Amazon Keyspaces table.
|
2316
2482
|
#
|
2483
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2484
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
2485
|
+
#
|
2317
2486
|
# @option params [Integer] :min_capacity
|
2318
2487
|
# The minimum value that you plan to scale in to. When a scaling policy
|
2319
2488
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
2320
2489
|
# needed to the minimum capacity limit in response to changing demand.
|
2490
|
+
# This property is required when registering a new scalable target.
|
2321
2491
|
#
|
2322
|
-
# This parameter is required if you are registering a scalable target.
|
2323
2492
|
# For certain resources, the minimum value allowed is 0. This includes
|
2324
2493
|
# Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
|
2325
2494
|
# clusters, EMR clusters, and custom resources. For all other resources,
|
@@ -2329,8 +2498,20 @@ module Aws::ApplicationAutoScaling
|
|
2329
2498
|
# The maximum value that you plan to scale out to. When a scaling policy
|
2330
2499
|
# is in effect, Application Auto Scaling can scale out (expand) as
|
2331
2500
|
# needed to the maximum capacity limit in response to changing demand.
|
2501
|
+
# This property is required when registering a new scalable target.
|
2502
|
+
#
|
2503
|
+
# Although you can specify a large maximum capacity, note that service
|
2504
|
+
# quotas may impose lower limits. Each service has its own default
|
2505
|
+
# quotas for the maximum capacity of the resource. If you want to
|
2506
|
+
# specify a higher limit, you can request an increase. For more
|
2507
|
+
# information, consult the documentation for that service. For
|
2508
|
+
# information about the default quotas for each service, see [Service
|
2509
|
+
# Endpoints and Quotas][1] in the *Amazon Web Services General
|
2510
|
+
# Reference*.
|
2511
|
+
#
|
2512
|
+
#
|
2332
2513
|
#
|
2333
|
-
#
|
2514
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html
|
2334
2515
|
#
|
2335
2516
|
# @option params [String] :role_arn
|
2336
2517
|
# This parameter is required for services that do not support
|
@@ -2340,7 +2521,7 @@ module Aws::ApplicationAutoScaling
|
|
2340
2521
|
#
|
2341
2522
|
# If the service supports service-linked roles, Application Auto Scaling
|
2342
2523
|
# uses a service-linked role, which it creates if it does not yet exist.
|
2343
|
-
# For more information, see [Application Auto Scaling IAM
|
2524
|
+
# For more information, see [Application Auto Scaling IAM roles][1].
|
2344
2525
|
#
|
2345
2526
|
#
|
2346
2527
|
#
|
@@ -2366,7 +2547,7 @@ module Aws::ApplicationAutoScaling
|
|
2366
2547
|
# * For `ScheduledScalingSuspended`, while a suspension is in effect,
|
2367
2548
|
# all scaling activities that involve scheduled actions are suspended.
|
2368
2549
|
#
|
2369
|
-
# For more information, see [Suspending and
|
2550
|
+
# For more information, see [Suspending and resuming scaling][1] in the
|
2370
2551
|
# *Application Auto Scaling User Guide*.
|
2371
2552
|
#
|
2372
2553
|
#
|
@@ -2392,9 +2573,9 @@ module Aws::ApplicationAutoScaling
|
|
2392
2573
|
# @example Request syntax with placeholder values
|
2393
2574
|
#
|
2394
2575
|
# resp = client.register_scalable_target({
|
2395
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2576
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2396
2577
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2397
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
2398
2579
|
# min_capacity: 1,
|
2399
2580
|
# max_capacity: 1,
|
2400
2581
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2427,7 +2608,7 @@ module Aws::ApplicationAutoScaling
|
|
2427
2608
|
params: params,
|
2428
2609
|
config: config)
|
2429
2610
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2430
|
-
context[:gem_version] = '1.
|
2611
|
+
context[:gem_version] = '1.50.0'
|
2431
2612
|
Seahorse::Client::Request.new(handlers, context)
|
2432
2613
|
end
|
2433
2614
|
|