aws-sdk-applicationautoscaling 1.44.0 → 1.49.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: 1dd63edd7c98113ad577c4988588efb6715b1a40442e6526093d1b5770a4b72b
|
4
|
+
data.tar.gz: da581d7f3cba0995c5b279457dd67de91044aa1d525eaf17d246ff61642d1725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c57f0095d116616f55c6edd648ab0b8042a50290e9c24f63b6cf4ebfab500727ad49c7c74d25d0783fa4a887c2778d9807ce7cb49588d1eee7a87f55aa8c150d
|
7
|
+
data.tar.gz: dbde2fdf53bf18e7e5db96efb038aaf5d96b06e95066b32979f1a78cf31ab0581e91545655a28170aa63e35261c50992c51785c9cd99beae440f1a1fbe943f21
|
@@ -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
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::ApplicationAutoScaling
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.49.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::ApplicationAutoScaling
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::ApplicationAutoScaling
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -390,6 +405,10 @@ module Aws::ApplicationAutoScaling
|
|
390
405
|
# Example:
|
391
406
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
392
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
|
+
#
|
393
412
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
394
413
|
# the unique identifier is the function name with a function version
|
395
414
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -399,6 +418,10 @@ module Aws::ApplicationAutoScaling
|
|
399
418
|
# identifier is the table name. Example:
|
400
419
|
# `keyspace/mykeyspace/table/mytable`.
|
401
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
|
+
#
|
402
425
|
#
|
403
426
|
#
|
404
427
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -445,6 +468,10 @@ module Aws::ApplicationAutoScaling
|
|
445
468
|
# The number of inference units for an Amazon Comprehend document
|
446
469
|
# classification endpoint.
|
447
470
|
#
|
471
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
472
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
473
|
+
# endpoint.
|
474
|
+
#
|
448
475
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
449
476
|
# concurrency for a Lambda function.
|
450
477
|
#
|
@@ -454,6 +481,9 @@ module Aws::ApplicationAutoScaling
|
|
454
481
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
455
482
|
# capacity for an Amazon Keyspaces table.
|
456
483
|
#
|
484
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
485
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
486
|
+
#
|
457
487
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
458
488
|
#
|
459
489
|
#
|
@@ -477,9 +507,9 @@ module Aws::ApplicationAutoScaling
|
|
477
507
|
#
|
478
508
|
# resp = client.delete_scaling_policy({
|
479
509
|
# policy_name: "ResourceIdMaxLen1600", # required
|
480
|
-
# 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
|
481
511
|
# resource_id: "ResourceIdMaxLen1600", # required
|
482
|
-
# 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
|
483
513
|
# })
|
484
514
|
#
|
485
515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
|
@@ -553,6 +583,10 @@ module Aws::ApplicationAutoScaling
|
|
553
583
|
# Example:
|
554
584
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
555
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
|
+
#
|
556
590
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
557
591
|
# the unique identifier is the function name with a function version
|
558
592
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -562,6 +596,10 @@ module Aws::ApplicationAutoScaling
|
|
562
596
|
# identifier is the table name. Example:
|
563
597
|
# `keyspace/mykeyspace/table/mytable`.
|
564
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
|
+
#
|
565
603
|
#
|
566
604
|
#
|
567
605
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -608,6 +646,10 @@ module Aws::ApplicationAutoScaling
|
|
608
646
|
# The number of inference units for an Amazon Comprehend document
|
609
647
|
# classification endpoint.
|
610
648
|
#
|
649
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
650
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
651
|
+
# endpoint.
|
652
|
+
#
|
611
653
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
612
654
|
# concurrency for a Lambda function.
|
613
655
|
#
|
@@ -617,15 +659,18 @@ module Aws::ApplicationAutoScaling
|
|
617
659
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
618
660
|
# capacity for an Amazon Keyspaces table.
|
619
661
|
#
|
662
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
663
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
664
|
+
#
|
620
665
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
621
666
|
#
|
622
667
|
# @example Request syntax with placeholder values
|
623
668
|
#
|
624
669
|
# resp = client.delete_scheduled_action({
|
625
|
-
# 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
|
626
671
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
627
672
|
# resource_id: "ResourceIdMaxLen1600", # required
|
628
|
-
# 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
|
629
674
|
# })
|
630
675
|
#
|
631
676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -699,6 +744,10 @@ module Aws::ApplicationAutoScaling
|
|
699
744
|
# Example:
|
700
745
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
701
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
|
+
#
|
702
751
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
703
752
|
# the unique identifier is the function name with a function version
|
704
753
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -708,6 +757,10 @@ module Aws::ApplicationAutoScaling
|
|
708
757
|
# identifier is the table name. Example:
|
709
758
|
# `keyspace/mykeyspace/table/mytable`.
|
710
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
|
+
#
|
711
764
|
#
|
712
765
|
#
|
713
766
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -755,6 +808,10 @@ module Aws::ApplicationAutoScaling
|
|
755
808
|
# The number of inference units for an Amazon Comprehend document
|
756
809
|
# classification endpoint.
|
757
810
|
#
|
811
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
812
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
813
|
+
# endpoint.
|
814
|
+
#
|
758
815
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
759
816
|
# concurrency for a Lambda function.
|
760
817
|
#
|
@@ -764,6 +821,9 @@ module Aws::ApplicationAutoScaling
|
|
764
821
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
765
822
|
# capacity for an Amazon Keyspaces table.
|
766
823
|
#
|
824
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
825
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
826
|
+
#
|
767
827
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
768
828
|
#
|
769
829
|
#
|
@@ -785,9 +845,9 @@ module Aws::ApplicationAutoScaling
|
|
785
845
|
# @example Request syntax with placeholder values
|
786
846
|
#
|
787
847
|
# resp = client.deregister_scalable_target({
|
788
|
-
# 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
|
789
849
|
# resource_id: "ResourceIdMaxLen1600", # required
|
790
|
-
# 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
|
791
851
|
# })
|
792
852
|
#
|
793
853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
|
@@ -855,6 +915,10 @@ module Aws::ApplicationAutoScaling
|
|
855
915
|
# Example:
|
856
916
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
857
917
|
#
|
918
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
919
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
920
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
921
|
+
#
|
858
922
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
859
923
|
# the unique identifier is the function name with a function version
|
860
924
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -864,6 +928,10 @@ module Aws::ApplicationAutoScaling
|
|
864
928
|
# identifier is the table name. Example:
|
865
929
|
# `keyspace/mykeyspace/table/mytable`.
|
866
930
|
#
|
931
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
932
|
+
# specified using the cluster ARN. Example:
|
933
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
934
|
+
#
|
867
935
|
#
|
868
936
|
#
|
869
937
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -912,6 +980,10 @@ module Aws::ApplicationAutoScaling
|
|
912
980
|
# The number of inference units for an Amazon Comprehend document
|
913
981
|
# classification endpoint.
|
914
982
|
#
|
983
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
984
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
985
|
+
# endpoint.
|
986
|
+
#
|
915
987
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
916
988
|
# concurrency for a Lambda function.
|
917
989
|
#
|
@@ -921,6 +993,9 @@ module Aws::ApplicationAutoScaling
|
|
921
993
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
922
994
|
# capacity for an Amazon Keyspaces table.
|
923
995
|
#
|
996
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
997
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
998
|
+
#
|
924
999
|
# @option params [Integer] :max_results
|
925
1000
|
# The maximum number of scalable targets. This value can be between 1
|
926
1001
|
# and 50. The default value is 50.
|
@@ -973,9 +1048,9 @@ module Aws::ApplicationAutoScaling
|
|
973
1048
|
# @example Request syntax with placeholder values
|
974
1049
|
#
|
975
1050
|
# resp = client.describe_scalable_targets({
|
976
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1051
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
977
1052
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
978
|
-
# 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
|
1053
|
+
# 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
|
979
1054
|
# max_results: 1,
|
980
1055
|
# next_token: "XmlString",
|
981
1056
|
# })
|
@@ -983,9 +1058,9 @@ module Aws::ApplicationAutoScaling
|
|
983
1058
|
# @example Response structure
|
984
1059
|
#
|
985
1060
|
# resp.scalable_targets #=> Array
|
986
|
-
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1061
|
+
# resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
987
1062
|
# resp.scalable_targets[0].resource_id #=> String
|
988
|
-
# 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"
|
1063
|
+
# 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"
|
989
1064
|
# resp.scalable_targets[0].min_capacity #=> Integer
|
990
1065
|
# resp.scalable_targets[0].max_capacity #=> Integer
|
991
1066
|
# resp.scalable_targets[0].role_arn #=> String
|
@@ -1059,6 +1134,10 @@ module Aws::ApplicationAutoScaling
|
|
1059
1134
|
# Example:
|
1060
1135
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1061
1136
|
#
|
1137
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1138
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1139
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1140
|
+
#
|
1062
1141
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1063
1142
|
# the unique identifier is the function name with a function version
|
1064
1143
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1068,6 +1147,10 @@ module Aws::ApplicationAutoScaling
|
|
1068
1147
|
# identifier is the table name. Example:
|
1069
1148
|
# `keyspace/mykeyspace/table/mytable`.
|
1070
1149
|
#
|
1150
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1151
|
+
# specified using the cluster ARN. Example:
|
1152
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1153
|
+
#
|
1071
1154
|
#
|
1072
1155
|
#
|
1073
1156
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1115,6 +1198,10 @@ module Aws::ApplicationAutoScaling
|
|
1115
1198
|
# The number of inference units for an Amazon Comprehend document
|
1116
1199
|
# classification endpoint.
|
1117
1200
|
#
|
1201
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1202
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1203
|
+
# endpoint.
|
1204
|
+
#
|
1118
1205
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1119
1206
|
# concurrency for a Lambda function.
|
1120
1207
|
#
|
@@ -1124,6 +1211,9 @@ module Aws::ApplicationAutoScaling
|
|
1124
1211
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1125
1212
|
# capacity for an Amazon Keyspaces table.
|
1126
1213
|
#
|
1214
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1215
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1216
|
+
#
|
1127
1217
|
# @option params [Integer] :max_results
|
1128
1218
|
# The maximum number of scalable targets. This value can be between 1
|
1129
1219
|
# and 50. The default value is 50.
|
@@ -1177,9 +1267,9 @@ module Aws::ApplicationAutoScaling
|
|
1177
1267
|
# @example Request syntax with placeholder values
|
1178
1268
|
#
|
1179
1269
|
# resp = client.describe_scaling_activities({
|
1180
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1270
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1181
1271
|
# resource_id: "ResourceIdMaxLen1600",
|
1182
|
-
# 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
|
1272
|
+
# 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
|
1183
1273
|
# max_results: 1,
|
1184
1274
|
# next_token: "XmlString",
|
1185
1275
|
# })
|
@@ -1188,9 +1278,9 @@ module Aws::ApplicationAutoScaling
|
|
1188
1278
|
#
|
1189
1279
|
# resp.scaling_activities #=> Array
|
1190
1280
|
# resp.scaling_activities[0].activity_id #=> String
|
1191
|
-
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1281
|
+
# resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1192
1282
|
# resp.scaling_activities[0].resource_id #=> String
|
1193
|
-
# 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"
|
1283
|
+
# 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"
|
1194
1284
|
# resp.scaling_activities[0].description #=> String
|
1195
1285
|
# resp.scaling_activities[0].cause #=> String
|
1196
1286
|
# resp.scaling_activities[0].start_time #=> Time
|
@@ -1277,6 +1367,10 @@ module Aws::ApplicationAutoScaling
|
|
1277
1367
|
# Example:
|
1278
1368
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1279
1369
|
#
|
1370
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1371
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1372
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1373
|
+
#
|
1280
1374
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1281
1375
|
# the unique identifier is the function name with a function version
|
1282
1376
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1286,6 +1380,10 @@ module Aws::ApplicationAutoScaling
|
|
1286
1380
|
# identifier is the table name. Example:
|
1287
1381
|
# `keyspace/mykeyspace/table/mytable`.
|
1288
1382
|
#
|
1383
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1384
|
+
# specified using the cluster ARN. Example:
|
1385
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1386
|
+
#
|
1289
1387
|
#
|
1290
1388
|
#
|
1291
1389
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1333,6 +1431,10 @@ module Aws::ApplicationAutoScaling
|
|
1333
1431
|
# The number of inference units for an Amazon Comprehend document
|
1334
1432
|
# classification endpoint.
|
1335
1433
|
#
|
1434
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1435
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1436
|
+
# endpoint.
|
1437
|
+
#
|
1336
1438
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1337
1439
|
# concurrency for a Lambda function.
|
1338
1440
|
#
|
@@ -1342,6 +1444,9 @@ module Aws::ApplicationAutoScaling
|
|
1342
1444
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1343
1445
|
# capacity for an Amazon Keyspaces table.
|
1344
1446
|
#
|
1447
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1448
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1449
|
+
#
|
1345
1450
|
# @option params [Integer] :max_results
|
1346
1451
|
# The maximum number of scalable targets. This value can be between 1
|
1347
1452
|
# and 50. The default value is 50.
|
@@ -1407,9 +1512,9 @@ module Aws::ApplicationAutoScaling
|
|
1407
1512
|
#
|
1408
1513
|
# resp = client.describe_scaling_policies({
|
1409
1514
|
# policy_names: ["ResourceIdMaxLen1600"],
|
1410
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1515
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1411
1516
|
# resource_id: "ResourceIdMaxLen1600",
|
1412
|
-
# 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
|
1517
|
+
# 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
|
1413
1518
|
# max_results: 1,
|
1414
1519
|
# next_token: "XmlString",
|
1415
1520
|
# })
|
@@ -1419,9 +1524,9 @@ module Aws::ApplicationAutoScaling
|
|
1419
1524
|
# resp.scaling_policies #=> Array
|
1420
1525
|
# resp.scaling_policies[0].policy_arn #=> String
|
1421
1526
|
# resp.scaling_policies[0].policy_name #=> String
|
1422
|
-
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1527
|
+
# resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1423
1528
|
# resp.scaling_policies[0].resource_id #=> String
|
1424
|
-
# 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"
|
1529
|
+
# 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"
|
1425
1530
|
# resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
|
1426
1531
|
# resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
|
1427
1532
|
# resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
|
@@ -1432,7 +1537,7 @@ module Aws::ApplicationAutoScaling
|
|
1432
1537
|
# resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
|
1433
1538
|
# resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
|
1434
1539
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
1435
|
-
# 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"
|
1540
|
+
# 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"
|
1436
1541
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
|
1437
1542
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
|
1438
1543
|
# resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
|
@@ -1525,6 +1630,10 @@ module Aws::ApplicationAutoScaling
|
|
1525
1630
|
# Example:
|
1526
1631
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1527
1632
|
#
|
1633
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1634
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1635
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1636
|
+
#
|
1528
1637
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1529
1638
|
# the unique identifier is the function name with a function version
|
1530
1639
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1534,6 +1643,10 @@ module Aws::ApplicationAutoScaling
|
|
1534
1643
|
# identifier is the table name. Example:
|
1535
1644
|
# `keyspace/mykeyspace/table/mytable`.
|
1536
1645
|
#
|
1646
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1647
|
+
# specified using the cluster ARN. Example:
|
1648
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1649
|
+
#
|
1537
1650
|
#
|
1538
1651
|
#
|
1539
1652
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1581,6 +1694,10 @@ module Aws::ApplicationAutoScaling
|
|
1581
1694
|
# The number of inference units for an Amazon Comprehend document
|
1582
1695
|
# classification endpoint.
|
1583
1696
|
#
|
1697
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1698
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1699
|
+
# endpoint.
|
1700
|
+
#
|
1584
1701
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1585
1702
|
# concurrency for a Lambda function.
|
1586
1703
|
#
|
@@ -1590,6 +1707,9 @@ module Aws::ApplicationAutoScaling
|
|
1590
1707
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1591
1708
|
# capacity for an Amazon Keyspaces table.
|
1592
1709
|
#
|
1710
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1711
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1712
|
+
#
|
1593
1713
|
# @option params [Integer] :max_results
|
1594
1714
|
# The maximum number of scheduled action results. This value can be
|
1595
1715
|
# between 1 and 50. The default value is 50.
|
@@ -1614,9 +1734,9 @@ module Aws::ApplicationAutoScaling
|
|
1614
1734
|
#
|
1615
1735
|
# resp = client.describe_scheduled_actions({
|
1616
1736
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1617
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1737
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1618
1738
|
# resource_id: "ResourceIdMaxLen1600",
|
1619
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
1739
|
+
# 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
|
1620
1740
|
# max_results: 1,
|
1621
1741
|
# next_token: "XmlString",
|
1622
1742
|
# })
|
@@ -1626,10 +1746,10 @@ module Aws::ApplicationAutoScaling
|
|
1626
1746
|
# resp.scheduled_actions #=> Array
|
1627
1747
|
# resp.scheduled_actions[0].scheduled_action_name #=> String
|
1628
1748
|
# resp.scheduled_actions[0].scheduled_action_arn #=> String
|
1629
|
-
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
|
1749
|
+
# resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka"
|
1630
1750
|
# resp.scheduled_actions[0].schedule #=> String
|
1631
1751
|
# resp.scheduled_actions[0].resource_id #=> String
|
1632
|
-
# 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"
|
1752
|
+
# 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"
|
1633
1753
|
# resp.scheduled_actions[0].start_time #=> Time
|
1634
1754
|
# resp.scheduled_actions[0].end_time #=> Time
|
1635
1755
|
# resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
|
@@ -1742,6 +1862,10 @@ module Aws::ApplicationAutoScaling
|
|
1742
1862
|
# Example:
|
1743
1863
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1744
1864
|
#
|
1865
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
1866
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
1867
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1868
|
+
#
|
1745
1869
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
1746
1870
|
# the unique identifier is the function name with a function version
|
1747
1871
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -1751,6 +1875,10 @@ module Aws::ApplicationAutoScaling
|
|
1751
1875
|
# identifier is the table name. Example:
|
1752
1876
|
# `keyspace/mykeyspace/table/mytable`.
|
1753
1877
|
#
|
1878
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1879
|
+
# specified using the cluster ARN. Example:
|
1880
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1881
|
+
#
|
1754
1882
|
#
|
1755
1883
|
#
|
1756
1884
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1797,6 +1925,10 @@ module Aws::ApplicationAutoScaling
|
|
1797
1925
|
# The number of inference units for an Amazon Comprehend document
|
1798
1926
|
# classification endpoint.
|
1799
1927
|
#
|
1928
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
1929
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
1930
|
+
# endpoint.
|
1931
|
+
#
|
1800
1932
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1801
1933
|
# concurrency for a Lambda function.
|
1802
1934
|
#
|
@@ -1806,6 +1938,9 @@ module Aws::ApplicationAutoScaling
|
|
1806
1938
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1807
1939
|
# capacity for an Amazon Keyspaces table.
|
1808
1940
|
#
|
1941
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
1942
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
1943
|
+
#
|
1809
1944
|
# @option params [String] :policy_type
|
1810
1945
|
# The policy type. This parameter is required if you are creating a
|
1811
1946
|
# scaling policy.
|
@@ -1815,7 +1950,7 @@ module Aws::ApplicationAutoScaling
|
|
1815
1950
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1816
1951
|
#
|
1817
1952
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1818
|
-
#
|
1953
|
+
# Amazon Keyspaces (for Apache Cassandra), or Amazon MSK.
|
1819
1954
|
#
|
1820
1955
|
# For more information, see [Target Tracking Scaling Policies][1] and
|
1821
1956
|
# [Step Scaling Policies][2] in the *Application Auto Scaling User
|
@@ -1886,9 +2021,9 @@ module Aws::ApplicationAutoScaling
|
|
1886
2021
|
#
|
1887
2022
|
# resp = client.put_scaling_policy({
|
1888
2023
|
# policy_name: "PolicyName", # required
|
1889
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2024
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1890
2025
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1891
|
-
# 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
|
2026
|
+
# 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
|
1892
2027
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
1893
2028
|
# step_scaling_policy_configuration: {
|
1894
2029
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -1906,7 +2041,7 @@ module Aws::ApplicationAutoScaling
|
|
1906
2041
|
# target_tracking_scaling_policy_configuration: {
|
1907
2042
|
# target_value: 1.0, # required
|
1908
2043
|
# predefined_metric_specification: {
|
1909
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
|
2044
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
1910
2045
|
# resource_label: "ResourceLabel",
|
1911
2046
|
# },
|
1912
2047
|
# customized_metric_specification: {
|
@@ -1993,16 +2128,17 @@ module Aws::ApplicationAutoScaling
|
|
1993
2128
|
# For rate expressions, *value* is a positive integer and *unit* is
|
1994
2129
|
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
1995
2130
|
#
|
1996
|
-
# For
|
1997
|
-
#
|
2131
|
+
# For cron expressions, *fields* is a cron expression. The supported
|
2132
|
+
# cron format consists of six fields separated by white spaces:
|
2133
|
+
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
2134
|
+
# \[Year\].
|
1998
2135
|
#
|
1999
|
-
# For
|
2000
|
-
#
|
2136
|
+
# For more information and examples, see [Scheduled Scaling][1] in the
|
2137
|
+
# *Application Auto Scaling User Guide*.
|
2001
2138
|
#
|
2002
2139
|
#
|
2003
2140
|
#
|
2004
|
-
# [1]: https://docs.aws.amazon.com/
|
2005
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
2141
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
2006
2142
|
#
|
2007
2143
|
# @option params [required, String] :scheduled_action_name
|
2008
2144
|
# The name of the scheduled action. This name must be unique among all
|
@@ -2052,6 +2188,10 @@ module Aws::ApplicationAutoScaling
|
|
2052
2188
|
# Example:
|
2053
2189
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2054
2190
|
#
|
2191
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
2192
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
2193
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2194
|
+
#
|
2055
2195
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
2056
2196
|
# the unique identifier is the function name with a function version
|
2057
2197
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -2061,6 +2201,10 @@ module Aws::ApplicationAutoScaling
|
|
2061
2201
|
# identifier is the table name. Example:
|
2062
2202
|
# `keyspace/mykeyspace/table/mytable`.
|
2063
2203
|
#
|
2204
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2205
|
+
# specified using the cluster ARN. Example:
|
2206
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2207
|
+
#
|
2064
2208
|
#
|
2065
2209
|
#
|
2066
2210
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2107,6 +2251,10 @@ module Aws::ApplicationAutoScaling
|
|
2107
2251
|
# The number of inference units for an Amazon Comprehend document
|
2108
2252
|
# classification endpoint.
|
2109
2253
|
#
|
2254
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
2255
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
2256
|
+
# endpoint.
|
2257
|
+
#
|
2110
2258
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2111
2259
|
# concurrency for a Lambda function.
|
2112
2260
|
#
|
@@ -2116,6 +2264,9 @@ module Aws::ApplicationAutoScaling
|
|
2116
2264
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2117
2265
|
# capacity for an Amazon Keyspaces table.
|
2118
2266
|
#
|
2267
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2268
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
2269
|
+
#
|
2119
2270
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2120
2271
|
# The date and time for this scheduled action to start.
|
2121
2272
|
#
|
@@ -2134,11 +2285,11 @@ module Aws::ApplicationAutoScaling
|
|
2134
2285
|
# @example Request syntax with placeholder values
|
2135
2286
|
#
|
2136
2287
|
# resp = client.put_scheduled_action({
|
2137
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2288
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2138
2289
|
# schedule: "ResourceIdMaxLen1600",
|
2139
2290
|
# scheduled_action_name: "ScheduledActionName", # required
|
2140
2291
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2141
|
-
# 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
|
2292
|
+
# 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
|
2142
2293
|
# start_time: Time.now,
|
2143
2294
|
# end_time: Time.now,
|
2144
2295
|
# scalable_target_action: {
|
@@ -2163,9 +2314,10 @@ module Aws::ApplicationAutoScaling
|
|
2163
2314
|
# the combination of resource ID, scalable dimension, and namespace.
|
2164
2315
|
#
|
2165
2316
|
# When you register a new scalable target, you must specify values for
|
2166
|
-
# minimum and maximum capacity.
|
2167
|
-
#
|
2168
|
-
#
|
2317
|
+
# minimum and maximum capacity. Current capacity will be adjusted within
|
2318
|
+
# the specified range when scaling starts. Application Auto Scaling
|
2319
|
+
# scaling policies will not scale capacity to values that are outside of
|
2320
|
+
# this range.
|
2169
2321
|
#
|
2170
2322
|
# After you register a scalable target, you do not need to register it
|
2171
2323
|
# again to use other Application Auto Scaling operations. To see which
|
@@ -2234,6 +2386,10 @@ module Aws::ApplicationAutoScaling
|
|
2234
2386
|
# Example:
|
2235
2387
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2236
2388
|
#
|
2389
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type and
|
2390
|
+
# unique identifier are specified using the endpoint ARN. Example:
|
2391
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2392
|
+
#
|
2237
2393
|
# * Lambda provisioned concurrency - The resource type is `function` and
|
2238
2394
|
# the unique identifier is the function name with a function version
|
2239
2395
|
# or alias name suffix that is not `$LATEST`. Example:
|
@@ -2243,6 +2399,10 @@ module Aws::ApplicationAutoScaling
|
|
2243
2399
|
# identifier is the table name. Example:
|
2244
2400
|
# `keyspace/mykeyspace/table/mytable`.
|
2245
2401
|
#
|
2402
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2403
|
+
# specified using the cluster ARN. Example:
|
2404
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2405
|
+
#
|
2246
2406
|
#
|
2247
2407
|
#
|
2248
2408
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2290,6 +2450,10 @@ module Aws::ApplicationAutoScaling
|
|
2290
2450
|
# The number of inference units for an Amazon Comprehend document
|
2291
2451
|
# classification endpoint.
|
2292
2452
|
#
|
2453
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` - The
|
2454
|
+
# number of inference units for an Amazon Comprehend entity recognizer
|
2455
|
+
# endpoint.
|
2456
|
+
#
|
2293
2457
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2294
2458
|
# concurrency for a Lambda function.
|
2295
2459
|
#
|
@@ -2299,12 +2463,15 @@ module Aws::ApplicationAutoScaling
|
|
2299
2463
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2300
2464
|
# capacity for an Amazon Keyspaces table.
|
2301
2465
|
#
|
2466
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size (in
|
2467
|
+
# GiB) for brokers in an Amazon MSK cluster.
|
2468
|
+
#
|
2302
2469
|
# @option params [Integer] :min_capacity
|
2303
2470
|
# The minimum value that you plan to scale in to. When a scaling policy
|
2304
2471
|
# is in effect, Application Auto Scaling can scale in (contract) as
|
2305
2472
|
# needed to the minimum capacity limit in response to changing demand.
|
2473
|
+
# This property is required when registering a new scalable target.
|
2306
2474
|
#
|
2307
|
-
# This parameter is required if you are registering a scalable target.
|
2308
2475
|
# For certain resources, the minimum value allowed is 0. This includes
|
2309
2476
|
# Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
|
2310
2477
|
# clusters, EMR clusters, and custom resources. For all other resources,
|
@@ -2314,8 +2481,20 @@ module Aws::ApplicationAutoScaling
|
|
2314
2481
|
# The maximum value that you plan to scale out to. When a scaling policy
|
2315
2482
|
# is in effect, Application Auto Scaling can scale out (expand) as
|
2316
2483
|
# needed to the maximum capacity limit in response to changing demand.
|
2484
|
+
# This property is required when registering a new scalable target.
|
2485
|
+
#
|
2486
|
+
# Although you can specify a large maximum capacity, note that service
|
2487
|
+
# quotas may impose lower limits. Each service has its own default
|
2488
|
+
# quotas for the maximum capacity of the resource. If you want to
|
2489
|
+
# specify a higher limit, you can request an increase. For more
|
2490
|
+
# information, consult the documentation for that service. For
|
2491
|
+
# information about the default quotas for each service, see [Service
|
2492
|
+
# Endpoints and Quotas][1] in the *Amazon Web Services General
|
2493
|
+
# Reference*.
|
2494
|
+
#
|
2495
|
+
#
|
2317
2496
|
#
|
2318
|
-
#
|
2497
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html
|
2319
2498
|
#
|
2320
2499
|
# @option params [String] :role_arn
|
2321
2500
|
# This parameter is required for services that do not support
|
@@ -2377,9 +2556,9 @@ module Aws::ApplicationAutoScaling
|
|
2377
2556
|
# @example Request syntax with placeholder values
|
2378
2557
|
#
|
2379
2558
|
# resp = client.register_scalable_target({
|
2380
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2559
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2381
2560
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2382
|
-
# 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
|
2561
|
+
# 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
|
2383
2562
|
# min_capacity: 1,
|
2384
2563
|
# max_capacity: 1,
|
2385
2564
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2412,7 +2591,7 @@ module Aws::ApplicationAutoScaling
|
|
2412
2591
|
params: params,
|
2413
2592
|
config: config)
|
2414
2593
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2415
|
-
context[:gem_version] = '1.
|
2594
|
+
context[:gem_version] = '1.49.0'
|
2416
2595
|
Seahorse::Client::Request.new(handlers, context)
|
2417
2596
|
end
|
2418
2597
|
|