aws-sdk-applicationautoscaling 1.36.0 → 1.41.1

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: 55d3bdc2fadeb6174794af0a3ddc9be2551809c22889a6a7687a13bcc4c185d2
4
- data.tar.gz: 55398dfc942de045d2185435bc335ee59e970d7da9d2ce3ce480404870f155bc
3
+ metadata.gz: 29e03644ced2409db103cde94cfdde338d67afbc68ef8567755fd57e4d422c86
4
+ data.tar.gz: 60a227203dbb6bdc904c25d4b106199fd31f55213b5d5a75fd85a8cc616d6263
5
5
  SHA512:
6
- metadata.gz: ba395808922c8c74fdf22cfaffd674be07059caaa3732611a9eebde457755d1986291d85981765c5ac3adce3c49444b40dc5f6b316da6dac1712f11e41f00cf4
7
- data.tar.gz: fb4dfbd95b8179ce573c0893a08d23692682138ec94c081a9c4694392b6f56d010cec1c86a5eef302b936c6f9009881ca555033c6e6025105a2066ab40f954f7
6
+ metadata.gz: 4607bbd81ef7550af06c45bd4978e10dc372ae921c881b1cc0d2fa3f3dbbad47b4d592b7bd9b66a0881fb67358f0cf77cae855946c1a7b51816a73377431b7cd
7
+ data.tar.gz: 3f1ea4fdb95858682b0913628cdbe3288be1a8f156995b4cef6bd0904b52a10373e7ddca6b1e9befbc4ee78c9f008b9ce27d8b7ac91eb55657e624641202e000
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
45
45
  # @service
46
46
  module Aws::ApplicationAutoScaling
47
47
 
48
- GEM_VERSION = '1.36.0'
48
+ GEM_VERSION = '1.41.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::ApplicationAutoScaling
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
76
 
@@ -105,7 +107,7 @@ module Aws::ApplicationAutoScaling
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::ApplicationAutoScaling
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::ApplicationAutoScaling
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -279,8 +281,7 @@ module Aws::ApplicationAutoScaling
279
281
  #
280
282
  # @option options [Integer] :http_read_timeout (60) The default
281
283
  # number of seconds to wait for response data. This value can
282
- # safely be set
283
- # per-request on the session yielded by {#session_for}.
284
+ # safely be set per-request on the session.
284
285
  #
285
286
  # @option options [Float] :http_idle_timeout (5) The number of
286
287
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +293,7 @@ module Aws::ApplicationAutoScaling
292
293
  # request body. This option has no effect unless the request has
293
294
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
295
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
296
+ # request on the session.
296
297
  #
297
298
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
299
  # HTTP debug output will be sent to the `:logger`.
@@ -330,9 +331,6 @@ module Aws::ApplicationAutoScaling
330
331
  # [Delete a Target Tracking Scaling Policy][2] in the *Application Auto
331
332
  # Scaling User Guide*.
332
333
  #
333
- # To create a scaling policy or update an existing one, see
334
- # PutScalingPolicy.
335
- #
336
334
  #
337
335
  #
338
336
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#delete-step-scaling-policy
@@ -342,14 +340,9 @@ module Aws::ApplicationAutoScaling
342
340
  # The name of the scaling policy.
343
341
  #
344
342
  # @option params [required, String] :service_namespace
345
- # The namespace of the AWS service that provides the resource or
346
- # `custom-resource` for a resource provided by your own application or
347
- # service. For more information, see [AWS Service Namespaces][1] in the
348
- # *Amazon Web Services General Reference*.
349
- #
350
- #
351
- #
352
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
343
+ # The namespace of the AWS service that provides the resource. For a
344
+ # resource provided by your own application or service, use
345
+ # `custom-resource` instead.
353
346
  #
354
347
  # @option params [required, String] :resource_id
355
348
  # The identifier of the resource associated with the scalable target.
@@ -400,6 +393,10 @@ module Aws::ApplicationAutoScaling
400
393
  # or alias name suffix that is not `$LATEST`. Example:
401
394
  # `function:my-function:prod` or `function:my-function:1`.
402
395
  #
396
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
397
+ # identifier is the table name. Example:
398
+ # `keyspace/mykeyspace/table/mytable`.
399
+ #
403
400
  #
404
401
  #
405
402
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -449,6 +446,12 @@ module Aws::ApplicationAutoScaling
449
446
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
450
447
  # concurrency for a Lambda function.
451
448
  #
449
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
450
+ # for an Amazon Keyspaces table.
451
+ #
452
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
453
+ # capacity for an Amazon Keyspaces table.
454
+ #
452
455
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
453
456
  #
454
457
  #
@@ -472,9 +475,9 @@ module Aws::ApplicationAutoScaling
472
475
  #
473
476
  # resp = client.delete_scaling_policy({
474
477
  # policy_name: "ResourceIdMaxLen1600", # required
475
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
478
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
476
479
  # resource_id: "ResourceIdMaxLen1600", # required
477
- # 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
480
+ # 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
478
481
  # })
479
482
  #
480
483
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
@@ -497,14 +500,9 @@ module Aws::ApplicationAutoScaling
497
500
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html#delete-scheduled-action
498
501
  #
499
502
  # @option params [required, String] :service_namespace
500
- # The namespace of the AWS service that provides the resource or
501
- # `custom-resource` for a resource provided by your own application or
502
- # service. For more information, see [AWS Service Namespaces][1] in the
503
- # *Amazon Web Services General Reference*.
504
- #
505
- #
506
- #
507
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
503
+ # The namespace of the AWS service that provides the resource. For a
504
+ # resource provided by your own application or service, use
505
+ # `custom-resource` instead.
508
506
  #
509
507
  # @option params [required, String] :scheduled_action_name
510
508
  # The name of the scheduled action.
@@ -558,6 +556,10 @@ module Aws::ApplicationAutoScaling
558
556
  # or alias name suffix that is not `$LATEST`. Example:
559
557
  # `function:my-function:prod` or `function:my-function:1`.
560
558
  #
559
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
560
+ # identifier is the table name. Example:
561
+ # `keyspace/mykeyspace/table/mytable`.
562
+ #
561
563
  #
562
564
  #
563
565
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -607,15 +609,21 @@ module Aws::ApplicationAutoScaling
607
609
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
608
610
  # concurrency for a Lambda function.
609
611
  #
612
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
613
+ # for an Amazon Keyspaces table.
614
+ #
615
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
616
+ # capacity for an Amazon Keyspaces table.
617
+ #
610
618
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
611
619
  #
612
620
  # @example Request syntax with placeholder values
613
621
  #
614
622
  # resp = client.delete_scheduled_action({
615
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
623
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
616
624
  # scheduled_action_name: "ResourceIdMaxLen1600", # required
617
625
  # resource_id: "ResourceIdMaxLen1600", # required
618
- # 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
626
+ # 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
619
627
  # })
620
628
  #
621
629
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
@@ -627,23 +635,23 @@ module Aws::ApplicationAutoScaling
627
635
  req.send_request(options)
628
636
  end
629
637
 
630
- # Deregisters an Application Auto Scaling scalable target.
638
+ # Deregisters an Application Auto Scaling scalable target when you have
639
+ # finished using it. To see which resources have been registered, use
640
+ # [DescribeScalableTargets][1].
631
641
  #
632
- # Deregistering a scalable target deletes the scaling policies that are
633
- # associated with it.
642
+ # <note markdown="1"> Deregistering a scalable target deletes the scaling policies and the
643
+ # scheduled actions that are associated with it.
634
644
  #
635
- # To create a scalable target or update an existing one, see
636
- # RegisterScalableTarget.
645
+ # </note>
637
646
  #
638
- # @option params [required, String] :service_namespace
639
- # The namespace of the AWS service that provides the resource or
640
- # `custom-resource` for a resource provided by your own application or
641
- # service. For more information, see [AWS Service Namespaces][1] in the
642
- # *Amazon Web Services General Reference*.
643
647
  #
644
648
  #
649
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
645
650
  #
646
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
651
+ # @option params [required, String] :service_namespace
652
+ # The namespace of the AWS service that provides the resource. For a
653
+ # resource provided by your own application or service, use
654
+ # `custom-resource` instead.
647
655
  #
648
656
  # @option params [required, String] :resource_id
649
657
  # The identifier of the resource associated with the scalable target.
@@ -694,6 +702,10 @@ module Aws::ApplicationAutoScaling
694
702
  # or alias name suffix that is not `$LATEST`. Example:
695
703
  # `function:my-function:prod` or `function:my-function:1`.
696
704
  #
705
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
706
+ # identifier is the table name. Example:
707
+ # `keyspace/mykeyspace/table/mytable`.
708
+ #
697
709
  #
698
710
  #
699
711
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -744,6 +756,12 @@ module Aws::ApplicationAutoScaling
744
756
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
745
757
  # concurrency for a Lambda function.
746
758
  #
759
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
760
+ # for an Amazon Keyspaces table.
761
+ #
762
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
763
+ # capacity for an Amazon Keyspaces table.
764
+ #
747
765
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
748
766
  #
749
767
  #
@@ -765,9 +783,9 @@ module Aws::ApplicationAutoScaling
765
783
  # @example Request syntax with placeholder values
766
784
  #
767
785
  # resp = client.deregister_scalable_target({
768
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
786
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
769
787
  # resource_id: "ResourceIdMaxLen1600", # required
770
- # 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
788
+ # 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
771
789
  # })
772
790
  #
773
791
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
@@ -785,19 +803,10 @@ module Aws::ApplicationAutoScaling
785
803
  # You can filter the results using `ResourceIds` and
786
804
  # `ScalableDimension`.
787
805
  #
788
- # To create a scalable target or update an existing one, see
789
- # RegisterScalableTarget. If you are no longer using a scalable target,
790
- # you can deregister it using DeregisterScalableTarget.
791
- #
792
806
  # @option params [required, String] :service_namespace
793
- # The namespace of the AWS service that provides the resource or
794
- # `custom-resource` for a resource provided by your own application or
795
- # service. For more information, see [AWS Service Namespaces][1] in the
796
- # *Amazon Web Services General Reference*.
797
- #
798
- #
799
- #
800
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
807
+ # The namespace of the AWS service that provides the resource. For a
808
+ # resource provided by your own application or service, use
809
+ # `custom-resource` instead.
801
810
  #
802
811
  # @option params [Array<String>] :resource_ids
803
812
  # The identifier of the resource associated with the scalable target.
@@ -849,6 +858,10 @@ module Aws::ApplicationAutoScaling
849
858
  # or alias name suffix that is not `$LATEST`. Example:
850
859
  # `function:my-function:prod` or `function:my-function:1`.
851
860
  #
861
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
862
+ # identifier is the table name. Example:
863
+ # `keyspace/mykeyspace/table/mytable`.
864
+ #
852
865
  #
853
866
  #
854
867
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -900,6 +913,12 @@ module Aws::ApplicationAutoScaling
900
913
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
901
914
  # concurrency for a Lambda function.
902
915
  #
916
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
917
+ # for an Amazon Keyspaces table.
918
+ #
919
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
920
+ # capacity for an Amazon Keyspaces table.
921
+ #
903
922
  # @option params [Integer] :max_results
904
923
  # The maximum number of scalable targets. This value can be between 1
905
924
  # and 50. The default value is 50.
@@ -918,10 +937,12 @@ module Aws::ApplicationAutoScaling
918
937
  # * {Types::DescribeScalableTargetsResponse#scalable_targets #scalable_targets} => Array&lt;Types::ScalableTarget&gt;
919
938
  # * {Types::DescribeScalableTargetsResponse#next_token #next_token} => String
920
939
  #
940
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
941
+ #
921
942
  #
922
943
  # @example Example: To describe scalable targets
923
944
  #
924
- # # This example describes the scalable targets for the ecs service namespace.
945
+ # # This example describes the scalable targets for the ECS service namespace.
925
946
  #
926
947
  # resp = client.describe_scalable_targets({
927
948
  # service_namespace: "ecs",
@@ -931,7 +952,7 @@ module Aws::ApplicationAutoScaling
931
952
  # {
932
953
  # scalable_targets: [
933
954
  # {
934
- # creation_time: Time.parse("2016-05-06T11:21:46.199Z"),
955
+ # creation_time: Time.parse("2019-05-06T11:21:46.199Z"),
935
956
  # max_capacity: 10,
936
957
  # min_capacity: 1,
937
958
  # resource_id: "service/default/web-app",
@@ -950,9 +971,9 @@ module Aws::ApplicationAutoScaling
950
971
  # @example Request syntax with placeholder values
951
972
  #
952
973
  # resp = client.describe_scalable_targets({
953
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
974
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
954
975
  # resource_ids: ["ResourceIdMaxLen1600"],
955
- # 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
976
+ # 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
956
977
  # max_results: 1,
957
978
  # next_token: "XmlString",
958
979
  # })
@@ -960,9 +981,9 @@ module Aws::ApplicationAutoScaling
960
981
  # @example Response structure
961
982
  #
962
983
  # resp.scalable_targets #=> Array
963
- # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda"
984
+ # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
964
985
  # resp.scalable_targets[0].resource_id #=> String
965
- # 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"
986
+ # 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"
966
987
  # resp.scalable_targets[0].min_capacity #=> Integer
967
988
  # resp.scalable_targets[0].max_capacity #=> Integer
968
989
  # resp.scalable_targets[0].role_arn #=> String
@@ -986,20 +1007,10 @@ module Aws::ApplicationAutoScaling
986
1007
  #
987
1008
  # You can filter the results using `ResourceId` and `ScalableDimension`.
988
1009
  #
989
- # Scaling activities are triggered by CloudWatch alarms that are
990
- # associated with scaling policies. To view the scaling policies for a
991
- # service namespace, see DescribeScalingPolicies. To create a scaling
992
- # policy or update an existing one, see PutScalingPolicy.
993
- #
994
1010
  # @option params [required, String] :service_namespace
995
- # The namespace of the AWS service that provides the resource or
996
- # `custom-resource` for a resource provided by your own application or
997
- # service. For more information, see [AWS Service Namespaces][1] in the
998
- # *Amazon Web Services General Reference*.
999
- #
1000
- #
1001
- #
1002
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1011
+ # The namespace of the AWS service that provides the resource. For a
1012
+ # resource provided by your own application or service, use
1013
+ # `custom-resource` instead.
1003
1014
  #
1004
1015
  # @option params [String] :resource_id
1005
1016
  # The identifier of the resource associated with the scaling activity.
@@ -1051,6 +1062,10 @@ module Aws::ApplicationAutoScaling
1051
1062
  # or alias name suffix that is not `$LATEST`. Example:
1052
1063
  # `function:my-function:prod` or `function:my-function:1`.
1053
1064
  #
1065
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1066
+ # identifier is the table name. Example:
1067
+ # `keyspace/mykeyspace/table/mytable`.
1068
+ #
1054
1069
  #
1055
1070
  #
1056
1071
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1101,6 +1116,12 @@ module Aws::ApplicationAutoScaling
1101
1116
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1102
1117
  # concurrency for a Lambda function.
1103
1118
  #
1119
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1120
+ # for an Amazon Keyspaces table.
1121
+ #
1122
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1123
+ # capacity for an Amazon Keyspaces table.
1124
+ #
1104
1125
  # @option params [Integer] :max_results
1105
1126
  # The maximum number of scalable targets. This value can be between 1
1106
1127
  # and 50. The default value is 50.
@@ -1119,6 +1140,8 @@ module Aws::ApplicationAutoScaling
1119
1140
  # * {Types::DescribeScalingActivitiesResponse#scaling_activities #scaling_activities} => Array&lt;Types::ScalingActivity&gt;
1120
1141
  # * {Types::DescribeScalingActivitiesResponse#next_token #next_token} => String
1121
1142
  #
1143
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1144
+ #
1122
1145
  #
1123
1146
  # @example Example: To describe scaling activities for a scalable target
1124
1147
  #
@@ -1138,11 +1161,11 @@ module Aws::ApplicationAutoScaling
1138
1161
  # activity_id: "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
1139
1162
  # cause: "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
1140
1163
  # description: "Setting desired count to 1.",
1141
- # end_time: Time.parse("2016-05-06T16:04:32.111Z"),
1164
+ # end_time: Time.parse("2019-05-06T16:04:32.111Z"),
1142
1165
  # resource_id: "service/default/web-app",
1143
1166
  # scalable_dimension: "ecs:service:DesiredCount",
1144
1167
  # service_namespace: "ecs",
1145
- # start_time: Time.parse("2016-05-06T16:03:58.171Z"),
1168
+ # start_time: Time.parse("2019-05-06T16:03:58.171Z"),
1146
1169
  # status_code: "Successful",
1147
1170
  # status_message: "Successfully set desired count to 1. Change successfully fulfilled by ecs.",
1148
1171
  # },
@@ -1152,9 +1175,9 @@ module Aws::ApplicationAutoScaling
1152
1175
  # @example Request syntax with placeholder values
1153
1176
  #
1154
1177
  # resp = client.describe_scaling_activities({
1155
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1178
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1156
1179
  # resource_id: "ResourceIdMaxLen1600",
1157
- # 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
1180
+ # 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
1158
1181
  # max_results: 1,
1159
1182
  # next_token: "XmlString",
1160
1183
  # })
@@ -1163,9 +1186,9 @@ module Aws::ApplicationAutoScaling
1163
1186
  #
1164
1187
  # resp.scaling_activities #=> Array
1165
1188
  # resp.scaling_activities[0].activity_id #=> String
1166
- # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda"
1189
+ # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
1167
1190
  # resp.scaling_activities[0].resource_id #=> String
1168
- # 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"
1191
+ # 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"
1169
1192
  # resp.scaling_activities[0].description #=> String
1170
1193
  # resp.scaling_activities[0].cause #=> String
1171
1194
  # resp.scaling_activities[0].start_time #=> Time
@@ -1190,22 +1213,22 @@ module Aws::ApplicationAutoScaling
1190
1213
  # You can filter the results using `ResourceId`, `ScalableDimension`,
1191
1214
  # and `PolicyNames`.
1192
1215
  #
1193
- # To create a scaling policy or update an existing one, see
1194
- # PutScalingPolicy. If you are no longer using a scaling policy, you can
1195
- # delete it using DeleteScalingPolicy.
1216
+ # For more information, see [Target Tracking Scaling Policies][1] and
1217
+ # [Step Scaling Policies][2] in the *Application Auto Scaling User
1218
+ # Guide*.
1196
1219
  #
1197
- # @option params [Array<String>] :policy_names
1198
- # The names of the scaling policies to describe.
1199
1220
  #
1200
- # @option params [required, String] :service_namespace
1201
- # The namespace of the AWS service that provides the resource or
1202
- # `custom-resource` for a resource provided by your own application or
1203
- # service. For more information, see [AWS Service Namespaces][1] in the
1204
- # *Amazon Web Services General Reference*.
1205
1221
  #
1222
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html
1223
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html
1206
1224
  #
1225
+ # @option params [Array<String>] :policy_names
1226
+ # The names of the scaling policies to describe.
1207
1227
  #
1208
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1228
+ # @option params [required, String] :service_namespace
1229
+ # The namespace of the AWS service that provides the resource. For a
1230
+ # resource provided by your own application or service, use
1231
+ # `custom-resource` instead.
1209
1232
  #
1210
1233
  # @option params [String] :resource_id
1211
1234
  # The identifier of the resource associated with the scaling policy.
@@ -1257,6 +1280,10 @@ module Aws::ApplicationAutoScaling
1257
1280
  # or alias name suffix that is not `$LATEST`. Example:
1258
1281
  # `function:my-function:prod` or `function:my-function:1`.
1259
1282
  #
1283
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1284
+ # identifier is the table name. Example:
1285
+ # `keyspace/mykeyspace/table/mytable`.
1286
+ #
1260
1287
  #
1261
1288
  #
1262
1289
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1307,6 +1334,12 @@ module Aws::ApplicationAutoScaling
1307
1334
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1308
1335
  # concurrency for a Lambda function.
1309
1336
  #
1337
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1338
+ # for an Amazon Keyspaces table.
1339
+ #
1340
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1341
+ # capacity for an Amazon Keyspaces table.
1342
+ #
1310
1343
  # @option params [Integer] :max_results
1311
1344
  # The maximum number of scalable targets. This value can be between 1
1312
1345
  # and 50. The default value is 50.
@@ -1325,10 +1358,12 @@ module Aws::ApplicationAutoScaling
1325
1358
  # * {Types::DescribeScalingPoliciesResponse#scaling_policies #scaling_policies} => Array&lt;Types::ScalingPolicy&gt;
1326
1359
  # * {Types::DescribeScalingPoliciesResponse#next_token #next_token} => String
1327
1360
  #
1361
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1362
+ #
1328
1363
  #
1329
1364
  # @example Example: To describe scaling policies
1330
1365
  #
1331
- # # This example describes the scaling policies for the ecs service namespace.
1366
+ # # This example describes the scaling policies for the ECS service namespace.
1332
1367
  #
1333
1368
  # resp = client.describe_scaling_policies({
1334
1369
  # service_namespace: "ecs",
@@ -1345,7 +1380,7 @@ module Aws::ApplicationAutoScaling
1345
1380
  # alarm_name: "web-app-cpu-gt-75",
1346
1381
  # },
1347
1382
  # ],
1348
- # creation_time: Time.parse("2016-05-06T12:11:39.230Z"),
1383
+ # creation_time: Time.parse("2019-05-06T12:11:39.230Z"),
1349
1384
  # policy_arn: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
1350
1385
  # policy_name: "web-app-cpu-gt-75",
1351
1386
  # policy_type: "StepScaling",
@@ -1370,9 +1405,9 @@ module Aws::ApplicationAutoScaling
1370
1405
  #
1371
1406
  # resp = client.describe_scaling_policies({
1372
1407
  # policy_names: ["ResourceIdMaxLen1600"],
1373
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1408
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1374
1409
  # resource_id: "ResourceIdMaxLen1600",
1375
- # 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
1410
+ # 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
1376
1411
  # max_results: 1,
1377
1412
  # next_token: "XmlString",
1378
1413
  # })
@@ -1382,9 +1417,9 @@ module Aws::ApplicationAutoScaling
1382
1417
  # resp.scaling_policies #=> Array
1383
1418
  # resp.scaling_policies[0].policy_arn #=> String
1384
1419
  # resp.scaling_policies[0].policy_name #=> String
1385
- # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda"
1420
+ # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
1386
1421
  # resp.scaling_policies[0].resource_id #=> String
1387
- # 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"
1422
+ # 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"
1388
1423
  # resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
1389
1424
  # resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
1390
1425
  # resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
@@ -1395,7 +1430,7 @@ module Aws::ApplicationAutoScaling
1395
1430
  # resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
1396
1431
  # resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
1397
1432
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1398
- # 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"
1433
+ # 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"
1399
1434
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
1400
1435
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
1401
1436
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
@@ -1428,22 +1463,20 @@ module Aws::ApplicationAutoScaling
1428
1463
  # You can filter the results using the `ResourceId`,
1429
1464
  # `ScalableDimension`, and `ScheduledActionNames` parameters.
1430
1465
  #
1431
- # To create a scheduled action or update an existing one, see
1432
- # PutScheduledAction. If you are no longer using a scheduled action, you
1433
- # can delete it using DeleteScheduledAction.
1466
+ # For more information, see [Scheduled Scaling][1] in the *Application
1467
+ # Auto Scaling User Guide*.
1434
1468
  #
1435
- # @option params [Array<String>] :scheduled_action_names
1436
- # The names of the scheduled actions to describe.
1437
1469
  #
1438
- # @option params [required, String] :service_namespace
1439
- # The namespace of the AWS service that provides the resource or
1440
- # `custom-resource` for a resource provided by your own application or
1441
- # service. For more information, see [AWS Service Namespaces][1] in the
1442
- # *Amazon Web Services General Reference*.
1443
1470
  #
1471
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
1444
1472
  #
1473
+ # @option params [Array<String>] :scheduled_action_names
1474
+ # The names of the scheduled actions to describe.
1445
1475
  #
1446
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1476
+ # @option params [required, String] :service_namespace
1477
+ # The namespace of the AWS service that provides the resource. For a
1478
+ # resource provided by your own application or service, use
1479
+ # `custom-resource` instead.
1447
1480
  #
1448
1481
  # @option params [String] :resource_id
1449
1482
  # The identifier of the resource associated with the scheduled action.
@@ -1495,6 +1528,10 @@ module Aws::ApplicationAutoScaling
1495
1528
  # or alias name suffix that is not `$LATEST`. Example:
1496
1529
  # `function:my-function:prod` or `function:my-function:1`.
1497
1530
  #
1531
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1532
+ # identifier is the table name. Example:
1533
+ # `keyspace/mykeyspace/table/mytable`.
1534
+ #
1498
1535
  #
1499
1536
  #
1500
1537
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1545,6 +1582,12 @@ module Aws::ApplicationAutoScaling
1545
1582
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1546
1583
  # concurrency for a Lambda function.
1547
1584
  #
1585
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1586
+ # for an Amazon Keyspaces table.
1587
+ #
1588
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1589
+ # capacity for an Amazon Keyspaces table.
1590
+ #
1548
1591
  # @option params [Integer] :max_results
1549
1592
  # The maximum number of scheduled action results. This value can be
1550
1593
  # between 1 and 50. The default value is 50.
@@ -1563,13 +1606,15 @@ module Aws::ApplicationAutoScaling
1563
1606
  # * {Types::DescribeScheduledActionsResponse#scheduled_actions #scheduled_actions} => Array&lt;Types::ScheduledAction&gt;
1564
1607
  # * {Types::DescribeScheduledActionsResponse#next_token #next_token} => String
1565
1608
  #
1609
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1610
+ #
1566
1611
  # @example Request syntax with placeholder values
1567
1612
  #
1568
1613
  # resp = client.describe_scheduled_actions({
1569
1614
  # scheduled_action_names: ["ResourceIdMaxLen1600"],
1570
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1615
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1571
1616
  # resource_id: "ResourceIdMaxLen1600",
1572
- # 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
1617
+ # 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
1573
1618
  # max_results: 1,
1574
1619
  # next_token: "XmlString",
1575
1620
  # })
@@ -1579,10 +1624,10 @@ module Aws::ApplicationAutoScaling
1579
1624
  # resp.scheduled_actions #=> Array
1580
1625
  # resp.scheduled_actions[0].scheduled_action_name #=> String
1581
1626
  # resp.scheduled_actions[0].scheduled_action_arn #=> String
1582
- # resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda"
1627
+ # resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
1583
1628
  # resp.scheduled_actions[0].schedule #=> String
1584
1629
  # resp.scheduled_actions[0].resource_id #=> String
1585
- # 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"
1630
+ # 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"
1586
1631
  # resp.scheduled_actions[0].start_time #=> Time
1587
1632
  # resp.scheduled_actions[0].end_time #=> Time
1588
1633
  # resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
@@ -1599,22 +1644,14 @@ module Aws::ApplicationAutoScaling
1599
1644
  req.send_request(options)
1600
1645
  end
1601
1646
 
1602
- # Creates or updates a policy for an Application Auto Scaling scalable
1603
- # target.
1647
+ # Creates or updates a scaling policy for an Application Auto Scaling
1648
+ # scalable target.
1604
1649
  #
1605
1650
  # Each scalable target is identified by a service namespace, resource
1606
1651
  # ID, and scalable dimension. A scaling policy applies to the scalable
1607
1652
  # target identified by those three attributes. You cannot create a
1608
1653
  # scaling policy until you have registered the resource as a scalable
1609
- # target using RegisterScalableTarget.
1610
- #
1611
- # To update a policy, specify its policy name and the parameters that
1612
- # you want to change. Any parameters that you don't specify are not
1613
- # changed by this update request.
1614
- #
1615
- # You can view the scaling policies for a service namespace using
1616
- # DescribeScalingPolicies. If you are no longer using a scaling policy,
1617
- # you can delete it using DeleteScalingPolicy.
1654
+ # target.
1618
1655
  #
1619
1656
  # Multiple scaling policies can be in force at the same time for the
1620
1657
  # same scalable target. You can have one or more target tracking scaling
@@ -1628,25 +1665,36 @@ module Aws::ApplicationAutoScaling
1628
1665
  # the policy with the highest calculated capacity (200% of 10 = 20) and
1629
1666
  # scales out to 30.
1630
1667
  #
1631
- # Learn more about how to work with scaling policies in the [Application
1632
- # Auto Scaling User Guide][1].
1668
+ # We recommend caution, however, when using target tracking scaling
1669
+ # policies with step scaling policies because conflicts between these
1670
+ # policies can cause undesirable behavior. For example, if the step
1671
+ # scaling policy initiates a scale-in activity before the target
1672
+ # tracking policy is ready to scale in, the scale-in activity will not
1673
+ # be blocked. After the scale-in activity completes, the target tracking
1674
+ # policy could instruct the scalable target to scale out again.
1633
1675
  #
1676
+ # For more information, see [Target Tracking Scaling Policies][1] and
1677
+ # [Step Scaling Policies][2] in the *Application Auto Scaling User
1678
+ # Guide*.
1634
1679
  #
1680
+ # <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
1681
+ # available to execute scaling policies. Any scaling policies that were
1682
+ # specified for the scalable target are deleted.
1635
1683
  #
1636
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html
1684
+ # </note>
1637
1685
  #
1638
- # @option params [required, String] :policy_name
1639
- # The name of the scaling policy.
1640
1686
  #
1641
- # @option params [required, String] :service_namespace
1642
- # The namespace of the AWS service that provides the resource or
1643
- # `custom-resource` for a resource provided by your own application or
1644
- # service. For more information, see [AWS Service Namespaces][1] in the
1645
- # *Amazon Web Services General Reference*.
1646
1687
  #
1688
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html
1689
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html
1647
1690
  #
1691
+ # @option params [required, String] :policy_name
1692
+ # The name of the scaling policy.
1648
1693
  #
1649
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1694
+ # @option params [required, String] :service_namespace
1695
+ # The namespace of the AWS service that provides the resource. For a
1696
+ # resource provided by your own application or service, use
1697
+ # `custom-resource` instead.
1650
1698
  #
1651
1699
  # @option params [required, String] :resource_id
1652
1700
  # The identifier of the resource associated with the scaling policy.
@@ -1697,6 +1745,10 @@ module Aws::ApplicationAutoScaling
1697
1745
  # or alias name suffix that is not `$LATEST`. Example:
1698
1746
  # `function:my-function:prod` or `function:my-function:1`.
1699
1747
  #
1748
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1749
+ # identifier is the table name. Example:
1750
+ # `keyspace/mykeyspace/table/mytable`.
1751
+ #
1700
1752
  #
1701
1753
  #
1702
1754
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1746,6 +1798,12 @@ module Aws::ApplicationAutoScaling
1746
1798
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1747
1799
  # concurrency for a Lambda function.
1748
1800
  #
1801
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1802
+ # for an Amazon Keyspaces table.
1803
+ #
1804
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1805
+ # capacity for an Amazon Keyspaces table.
1806
+ #
1749
1807
  # @option params [String] :policy_type
1750
1808
  # The policy type. This parameter is required if you are creating a
1751
1809
  # scaling policy.
@@ -1754,8 +1812,8 @@ module Aws::ApplicationAutoScaling
1754
1812
  #
1755
1813
  # `TargetTrackingScaling`—Not supported for Amazon EMR
1756
1814
  #
1757
- # `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, or AWS
1758
- # Lambda
1815
+ # `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
1816
+ # or Amazon Keyspaces (for Apache Cassandra).
1759
1817
  #
1760
1818
  # For more information, see [Target Tracking Scaling Policies][1] and
1761
1819
  # [Step Scaling Policies][2] in the *Application Auto Scaling User
@@ -1822,150 +1880,13 @@ module Aws::ApplicationAutoScaling
1822
1880
  # policy_arn: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/cpu75-target-tracking-scaling-policy",
1823
1881
  # }
1824
1882
  #
1825
- # @example Example: To apply a target tracking scaling policy with a customized metric specification
1826
- #
1827
- # # The following example applies a target tracking scaling policy with a customized metric specification to an Amazon ECS
1828
- # # service called web-app in the default cluster. The policy keeps the average utilization of the service at 75 percent,
1829
- # # with scale-out and scale-in cooldown periods of 60 seconds.
1830
- #
1831
- # resp = client.put_scaling_policy({
1832
- # policy_name: "cms75-target-tracking-scaling-policy",
1833
- # policy_type: "TargetTrackingScaling",
1834
- # resource_id: "service/default/web-app",
1835
- # scalable_dimension: "ecs:service:DesiredCount",
1836
- # service_namespace: "ecs",
1837
- # target_tracking_scaling_policy_configuration: {
1838
- # customized_metric_specification: {
1839
- # dimensions: [
1840
- # {
1841
- # name: "MyOptionalMetricDimensionName",
1842
- # value: "MyOptionalMetricDimensionValue",
1843
- # },
1844
- # ],
1845
- # metric_name: "MyUtilizationMetric",
1846
- # namespace: "MyNamespace",
1847
- # statistic: "Average",
1848
- # unit: "Percent",
1849
- # },
1850
- # scale_in_cooldown: 60,
1851
- # scale_out_cooldown: 60,
1852
- # target_value: 75,
1853
- # },
1854
- # })
1855
- #
1856
- # resp.to_h outputs the following:
1857
- # {
1858
- # alarms: [
1859
- # {
1860
- # alarm_arn: "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmHigh-9bc77b56-0571-4276-ba0f-d4178882e0a0",
1861
- # alarm_name: "TargetTracking-service/default/web-app-AlarmHigh-9bc77b56-0571-4276-ba0f-d4178882e0a0",
1862
- # },
1863
- # {
1864
- # alarm_arn: "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmLow-9b6ad934-6d37-438e-9e05-02836ddcbdc4",
1865
- # alarm_name: "TargetTracking-service/default/web-app-AlarmLow-9b6ad934-6d37-438e-9e05-02836ddcbdc4",
1866
- # },
1867
- # ],
1868
- # policy_arn: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy: 8784a896-b2ba-47a1-b08c-27301cc499a1:resource/ecs/service/default/web-app:policyName/cms75-target-tracking-scaling-policy",
1869
- # }
1870
- #
1871
- # @example Example: To apply a target tracking scaling policy for scale out only
1872
- #
1873
- # # The following example applies a target tracking scaling policy to an Amazon ECS service called web-app in the default
1874
- # # cluster. The policy is used to scale out the ECS service when the RequestCountPerTarget metric from the Application Load
1875
- # # Balancer exceeds the threshold.
1876
- #
1877
- # resp = client.put_scaling_policy({
1878
- # policy_name: "alb-scale-out-target-tracking-scaling-policy",
1879
- # policy_type: "TargetTrackingScaling",
1880
- # resource_id: "service/default/web-app",
1881
- # scalable_dimension: "ecs:service:DesiredCount",
1882
- # service_namespace: "ecs",
1883
- # target_tracking_scaling_policy_configuration: {
1884
- # disable_scale_in: true,
1885
- # predefined_metric_specification: {
1886
- # predefined_metric_type: "ALBRequestCountPerTarget",
1887
- # resource_label: "app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d",
1888
- # },
1889
- # scale_in_cooldown: 60,
1890
- # scale_out_cooldown: 60,
1891
- # target_value: 1000,
1892
- # },
1893
- # })
1894
- #
1895
- # resp.to_h outputs the following:
1896
- # {
1897
- # alarms: [
1898
- # {
1899
- # alarm_arn: "TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca",
1900
- # alarm_name: "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca",
1901
- # },
1902
- # ],
1903
- # policy_arn: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/alb-scale-out-target-tracking-scaling-policy",
1904
- # }
1905
- #
1906
- # @example Example: To apply a step scaling policy to an Amazon ECS service
1907
- #
1908
- # # This example applies a step scaling policy to an Amazon ECS service called web-app in the default cluster. The policy
1909
- # # increases the desired count of the service by 200%, with a cool down period of 60 seconds.
1910
- #
1911
- # resp = client.put_scaling_policy({
1912
- # policy_name: "web-app-cpu-gt-75",
1913
- # policy_type: "StepScaling",
1914
- # resource_id: "service/default/web-app",
1915
- # scalable_dimension: "ecs:service:DesiredCount",
1916
- # service_namespace: "ecs",
1917
- # step_scaling_policy_configuration: {
1918
- # adjustment_type: "PercentChangeInCapacity",
1919
- # cooldown: 60,
1920
- # step_adjustments: [
1921
- # {
1922
- # metric_interval_lower_bound: 0,
1923
- # scaling_adjustment: 200,
1924
- # },
1925
- # ],
1926
- # },
1927
- # })
1928
- #
1929
- # resp.to_h outputs the following:
1930
- # {
1931
- # policy_arn: "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
1932
- # }
1933
- #
1934
- # @example Example: To apply a step scaling policy to an Amazon EC2 Spot fleet
1935
- #
1936
- # # This example applies a step scaling policy to an Amazon EC2 Spot fleet. The policy increases the target capacity of the
1937
- # # spot fleet by 200%, with a cool down period of 180 seconds.",
1938
- #
1939
- # resp = client.put_scaling_policy({
1940
- # policy_name: "fleet-cpu-gt-75",
1941
- # policy_type: "StepScaling",
1942
- # resource_id: "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3",
1943
- # scalable_dimension: "ec2:spot-fleet-request:TargetCapacity",
1944
- # service_namespace: "ec2",
1945
- # step_scaling_policy_configuration: {
1946
- # adjustment_type: "PercentChangeInCapacity",
1947
- # cooldown: 180,
1948
- # step_adjustments: [
1949
- # {
1950
- # metric_interval_lower_bound: 0,
1951
- # scaling_adjustment: 200,
1952
- # },
1953
- # ],
1954
- # },
1955
- # })
1956
- #
1957
- # resp.to_h outputs the following:
1958
- # {
1959
- # policy_arn: "arn:aws:autoscaling:us-east-1:012345678910:scalingPolicy:89406401-0cb7-4130-b770-d97cca0e446b:resource/ec2/spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3:policyName/fleet-cpu-gt-75",
1960
- # }
1961
- #
1962
1883
  # @example Request syntax with placeholder values
1963
1884
  #
1964
1885
  # resp = client.put_scaling_policy({
1965
1886
  # policy_name: "PolicyName", # required
1966
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1887
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1967
1888
  # resource_id: "ResourceIdMaxLen1600", # required
1968
- # 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
1889
+ # 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
1969
1890
  # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
1970
1891
  # step_scaling_policy_configuration: {
1971
1892
  # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
@@ -1983,7 +1904,7 @@ module Aws::ApplicationAutoScaling
1983
1904
  # target_tracking_scaling_policy_configuration: {
1984
1905
  # target_value: 1.0, # required
1985
1906
  # predefined_metric_specification: {
1986
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization
1907
+ # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
1987
1908
  # resource_label: "ResourceLabel",
1988
1909
  # },
1989
1910
  # customized_metric_specification: {
@@ -2027,33 +1948,33 @@ module Aws::ApplicationAutoScaling
2027
1948
  # ID, and scalable dimension. A scheduled action applies to the scalable
2028
1949
  # target identified by those three attributes. You cannot create a
2029
1950
  # scheduled action until you have registered the resource as a scalable
2030
- # target using RegisterScalableTarget.
2031
- #
2032
- # To update an action, specify its name and the parameters that you want
2033
- # to change. If you don't specify start and end times, the old values
2034
- # are deleted. Any other parameters that you don't specify are not
2035
- # changed by this update request.
1951
+ # target.
2036
1952
  #
2037
- # You can view the scheduled actions using DescribeScheduledActions. If
2038
- # you are no longer using a scheduled action, you can delete it using
2039
- # DeleteScheduledAction.
1953
+ # When start and end times are specified with a recurring schedule using
1954
+ # a cron expression or rates, they form the boundaries of when the
1955
+ # recurring action starts and stops.
2040
1956
  #
2041
- # Learn more about how to work with scheduled actions in the
2042
- # [Application Auto Scaling User Guide][1].
1957
+ # To update a scheduled action, specify the parameters that you want to
1958
+ # change. If you don't specify start and end times, the old values are
1959
+ # deleted.
2043
1960
  #
1961
+ # For more information, see [Scheduled Scaling][1] in the *Application
1962
+ # Auto Scaling User Guide*.
2044
1963
  #
1964
+ # <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
1965
+ # available to run scheduled actions. Any scheduled actions that were
1966
+ # specified for the scalable target are deleted.
2045
1967
  #
2046
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html
1968
+ # </note>
2047
1969
  #
2048
- # @option params [required, String] :service_namespace
2049
- # The namespace of the AWS service that provides the resource or
2050
- # `custom-resource` for a resource provided by your own application or
2051
- # service. For more information, see [AWS Service Namespaces][1] in the
2052
- # *Amazon Web Services General Reference*.
2053
1970
  #
2054
1971
  #
1972
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
2055
1973
  #
2056
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1974
+ # @option params [required, String] :service_namespace
1975
+ # The namespace of the AWS service that provides the resource. For a
1976
+ # resource provided by your own application or service, use
1977
+ # `custom-resource` instead.
2057
1978
  #
2058
1979
  # @option params [String] :schedule
2059
1980
  # The schedule for this action. The following formats are supported:
@@ -2064,7 +1985,7 @@ module Aws::ApplicationAutoScaling
2064
1985
  #
2065
1986
  # * Cron expressions - "`cron(fields)`"
2066
1987
  #
2067
- # At expressions are useful for one-time schedules. Specify the time, in
1988
+ # At expressions are useful for one-time schedules. Specify the time in
2068
1989
  # UTC.
2069
1990
  #
2070
1991
  # For rate expressions, *value* is a positive integer and *unit* is
@@ -2073,12 +1994,17 @@ module Aws::ApplicationAutoScaling
2073
1994
  # For more information about cron expressions, see [Cron Expressions][1]
2074
1995
  # in the *Amazon CloudWatch Events User Guide*.
2075
1996
  #
1997
+ # For examples of using these expressions, see [Scheduled Scaling][2] in
1998
+ # the *Application Auto Scaling User Guide*.
1999
+ #
2076
2000
  #
2077
2001
  #
2078
2002
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
2003
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
2079
2004
  #
2080
2005
  # @option params [required, String] :scheduled_action_name
2081
- # The name of the scheduled action.
2006
+ # The name of the scheduled action. This name must be unique among all
2007
+ # other scheduled actions on the specified scalable target.
2082
2008
  #
2083
2009
  # @option params [required, String] :resource_id
2084
2010
  # The identifier of the resource associated with the scheduled action.
@@ -2129,6 +2055,10 @@ module Aws::ApplicationAutoScaling
2129
2055
  # or alias name suffix that is not `$LATEST`. Example:
2130
2056
  # `function:my-function:prod` or `function:my-function:1`.
2131
2057
  #
2058
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
2059
+ # identifier is the table name. Example:
2060
+ # `keyspace/mykeyspace/table/mytable`.
2061
+ #
2132
2062
  #
2133
2063
  #
2134
2064
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2178,15 +2108,21 @@ module Aws::ApplicationAutoScaling
2178
2108
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
2179
2109
  # concurrency for a Lambda function.
2180
2110
  #
2111
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
2112
+ # for an Amazon Keyspaces table.
2113
+ #
2114
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
2115
+ # capacity for an Amazon Keyspaces table.
2116
+ #
2181
2117
  # @option params [Time,DateTime,Date,Integer,String] :start_time
2182
- # The date and time for the scheduled action to start.
2118
+ # The date and time for this scheduled action to start.
2183
2119
  #
2184
2120
  # @option params [Time,DateTime,Date,Integer,String] :end_time
2185
- # The date and time for the scheduled action to end.
2121
+ # The date and time for the recurring schedule to end.
2186
2122
  #
2187
2123
  # @option params [Types::ScalableTargetAction] :scalable_target_action
2188
2124
  # The new minimum and maximum capacity. You can set both values or just
2189
- # one. During the scheduled time, if the current capacity is below the
2125
+ # one. At the scheduled time, if the current capacity is below the
2190
2126
  # minimum capacity, Application Auto Scaling scales out to the minimum
2191
2127
  # capacity. If the current capacity is above the maximum capacity,
2192
2128
  # Application Auto Scaling scales in to the maximum capacity.
@@ -2196,11 +2132,11 @@ module Aws::ApplicationAutoScaling
2196
2132
  # @example Request syntax with placeholder values
2197
2133
  #
2198
2134
  # resp = client.put_scheduled_action({
2199
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
2135
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
2200
2136
  # schedule: "ResourceIdMaxLen1600",
2201
2137
  # scheduled_action_name: "ScheduledActionName", # required
2202
2138
  # resource_id: "ResourceIdMaxLen1600", # required
2203
- # 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
2139
+ # 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
2204
2140
  # start_time: Time.now,
2205
2141
  # end_time: Time.now,
2206
2142
  # scalable_target_action: {
@@ -2218,38 +2154,38 @@ module Aws::ApplicationAutoScaling
2218
2154
  req.send_request(options)
2219
2155
  end
2220
2156
 
2221
- # Registers or updates a scalable target. A scalable target is a
2222
- # resource that Application Auto Scaling can scale out and scale in.
2223
- # Scalable targets are uniquely identified by the combination of
2224
- # resource ID, scalable dimension, and namespace.
2157
+ # Registers or updates a scalable target.
2225
2158
  #
2226
- # When you register a new scalable target, you must specify values for
2227
- # minimum and maximum capacity. Application Auto Scaling will not scale
2228
- # capacity to values that are outside of this range.
2159
+ # A scalable target is a resource that Application Auto Scaling can
2160
+ # scale out and scale in. Scalable targets are uniquely identified by
2161
+ # the combination of resource ID, scalable dimension, and namespace.
2229
2162
  #
2230
- # To update a scalable target, specify the parameter that you want to
2231
- # change as well as the following parameters that identify the scalable
2232
- # target: resource ID, scalable dimension, and namespace. Any parameters
2233
- # that you don't specify are not changed by this update request.
2163
+ # When you register a new scalable target, you must specify values for
2164
+ # minimum and maximum capacity. Application Auto Scaling scaling
2165
+ # policies will not scale capacity to values that are outside of this
2166
+ # range.
2234
2167
  #
2235
2168
  # After you register a scalable target, you do not need to register it
2236
2169
  # again to use other Application Auto Scaling operations. To see which
2237
- # resources have been registered, use DescribeScalableTargets. You can
2238
- # also view the scaling policies for a service namespace by using
2239
- # DescribeScalableTargets.
2170
+ # resources have been registered, use [DescribeScalableTargets][1]. You
2171
+ # can also view the scaling policies for a service namespace by using
2172
+ # [DescribeScalableTargets][1]. If you no longer need a scalable target,
2173
+ # you can deregister it by using [DeregisterScalableTarget][2].
2240
2174
  #
2241
- # If you no longer need a scalable target, you can deregister it by
2242
- # using DeregisterScalableTarget.
2175
+ # To update a scalable target, specify the parameters that you want to
2176
+ # change. Include the parameters that identify the scalable target:
2177
+ # resource ID, scalable dimension, and namespace. Any parameters that
2178
+ # you don't specify are not changed by this update request.
2243
2179
  #
2244
- # @option params [required, String] :service_namespace
2245
- # The namespace of the AWS service that provides the resource or
2246
- # `custom-resource` for a resource provided by your own application or
2247
- # service. For more information, see [AWS Service Namespaces][1] in the
2248
- # *Amazon Web Services General Reference*.
2249
2180
  #
2250
2181
  #
2182
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
2183
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html
2251
2184
  #
2252
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
2185
+ # @option params [required, String] :service_namespace
2186
+ # The namespace of the AWS service that provides the resource. For a
2187
+ # resource provided by your own application or service, use
2188
+ # `custom-resource` instead.
2253
2189
  #
2254
2190
  # @option params [required, String] :resource_id
2255
2191
  # The identifier of the resource that is associated with the scalable
@@ -2301,6 +2237,10 @@ module Aws::ApplicationAutoScaling
2301
2237
  # or alias name suffix that is not `$LATEST`. Example:
2302
2238
  # `function:my-function:prod` or `function:my-function:1`.
2303
2239
  #
2240
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
2241
+ # identifier is the table name. Example:
2242
+ # `keyspace/mykeyspace/table/mytable`.
2243
+ #
2304
2244
  #
2305
2245
  #
2306
2246
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2351,27 +2291,41 @@ module Aws::ApplicationAutoScaling
2351
2291
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
2352
2292
  # concurrency for a Lambda function.
2353
2293
  #
2294
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
2295
+ # for an Amazon Keyspaces table.
2296
+ #
2297
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
2298
+ # capacity for an Amazon Keyspaces table.
2299
+ #
2354
2300
  # @option params [Integer] :min_capacity
2355
- # The minimum value to scale to in response to a scale-in event.
2356
- # `MinCapacity` is required to register a scalable target.
2301
+ # The minimum value that you plan to scale in to. When a scaling policy
2302
+ # is in effect, Application Auto Scaling can scale in (contract) as
2303
+ # needed to the minimum capacity limit in response to changing demand.
2304
+ #
2305
+ # This parameter is required if you are registering a scalable target.
2306
+ # For Lambda provisioned concurrency, the minimum value allowed is 0.
2307
+ # For all other resources, the minimum value allowed is 1.
2357
2308
  #
2358
2309
  # @option params [Integer] :max_capacity
2359
- # The maximum value to scale to in response to a scale-out event.
2360
- # `MaxCapacity` is required to register a scalable target.
2310
+ # The maximum value that you plan to scale out to. When a scaling policy
2311
+ # is in effect, Application Auto Scaling can scale out (expand) as
2312
+ # needed to the maximum capacity limit in response to changing demand.
2361
2313
  #
2362
- # @option params [String] :role_arn
2363
- # Application Auto Scaling creates a service-linked role that grants it
2364
- # permissions to modify the scalable target on your behalf. For more
2365
- # information, see [Service-Linked Roles for Application Auto
2366
- # Scaling][1].
2314
+ # This parameter is required if you are registering a scalable target.
2367
2315
  #
2368
- # For Amazon EMR, this parameter is required, and it must specify the
2369
- # ARN of an IAM role that allows Application Auto Scaling to modify the
2316
+ # @option params [String] :role_arn
2317
+ # This parameter is required for services that do not support
2318
+ # service-linked roles (such as Amazon EMR), and it must specify the ARN
2319
+ # of an IAM role that allows Application Auto Scaling to modify the
2370
2320
  # scalable target on your behalf.
2371
2321
  #
2322
+ # If the service supports service-linked roles, Application Auto Scaling
2323
+ # uses a service-linked role, which it creates if it does not yet exist.
2324
+ # For more information, see [Application Auto Scaling IAM Roles][1].
2325
+ #
2372
2326
  #
2373
2327
  #
2374
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html
2328
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles
2375
2329
  #
2376
2330
  # @option params [Types::SuspendedState] :suspended_state
2377
2331
  # An embedded object that contains attributes and attribute values that
@@ -2416,29 +2370,12 @@ module Aws::ApplicationAutoScaling
2416
2370
  # service_namespace: "ecs",
2417
2371
  # })
2418
2372
  #
2419
- # @example Example: To register an EC2 Spot fleet as a scalable target
2420
- #
2421
- # # This example registers a scalable target from an Amazon EC2 Spot fleet with a minimum target capacity of 1 and a maximum
2422
- # # of 10.
2423
- #
2424
- # resp = client.register_scalable_target({
2425
- # max_capacity: 10,
2426
- # min_capacity: 1,
2427
- # resource_id: "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3",
2428
- # scalable_dimension: "ec2:spot-fleet-request:TargetCapacity",
2429
- # service_namespace: "ec2",
2430
- # })
2431
- #
2432
- # resp.to_h outputs the following:
2433
- # {
2434
- # }
2435
- #
2436
2373
  # @example Request syntax with placeholder values
2437
2374
  #
2438
2375
  # resp = client.register_scalable_target({
2439
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
2376
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
2440
2377
  # resource_id: "ResourceIdMaxLen1600", # required
2441
- # 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
2378
+ # 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
2442
2379
  # min_capacity: 1,
2443
2380
  # max_capacity: 1,
2444
2381
  # role_arn: "ResourceIdMaxLen1600",
@@ -2471,7 +2408,7 @@ module Aws::ApplicationAutoScaling
2471
2408
  params: params,
2472
2409
  config: config)
2473
2410
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2474
- context[:gem_version] = '1.36.0'
2411
+ context[:gem_version] = '1.41.1'
2475
2412
  Seahorse::Client::Request.new(handlers, context)
2476
2413
  end
2477
2414