aws-sdk-applicationautoscaling 1.36.0 → 1.37.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: 55d3bdc2fadeb6174794af0a3ddc9be2551809c22889a6a7687a13bcc4c185d2
4
- data.tar.gz: 55398dfc942de045d2185435bc335ee59e970d7da9d2ce3ce480404870f155bc
3
+ metadata.gz: ace0ba74cf06bc3a5f636d110478ea08a6d4fc211dc63eeb46c0a23f42661077
4
+ data.tar.gz: 95ada5b9caa15a2e2d0e8e4529bcc57b37375c59973b2e5f8f79e68777c339ce
5
5
  SHA512:
6
- metadata.gz: ba395808922c8c74fdf22cfaffd674be07059caaa3732611a9eebde457755d1986291d85981765c5ac3adce3c49444b40dc5f6b316da6dac1712f11e41f00cf4
7
- data.tar.gz: fb4dfbd95b8179ce573c0893a08d23692682138ec94c081a9c4694392b6f56d010cec1c86a5eef302b936c6f9009881ca555033c6e6025105a2066ab40f954f7
6
+ metadata.gz: f23e85af9a341bc950b481bbecae79c709e40e62db059830ac243b702fd782793aa4f5780f9aa12f191c00b9f0a1a68889db42f4d99b4610cbdbf2764acb2c21
7
+ data.tar.gz: 2b5e05ab5f67038ac810ff3b02b9c29e512fe1b8d1d829c38834bb747248f257b4443999ba942e07978dc344f88a8f1fb1e878e4115d68ae3b5898daba2c0c68
@@ -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.37.0'
49
49
 
50
50
  end
@@ -279,8 +279,7 @@ module Aws::ApplicationAutoScaling
279
279
  #
280
280
  # @option options [Integer] :http_read_timeout (60) The default
281
281
  # 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}.
282
+ # safely be set per-request on the session.
284
283
  #
285
284
  # @option options [Float] :http_idle_timeout (5) The number of
286
285
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +291,7 @@ module Aws::ApplicationAutoScaling
292
291
  # request body. This option has no effect unless the request has
293
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
293
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
296
295
  #
297
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
297
  # HTTP debug output will be sent to the `:logger`.
@@ -330,9 +329,6 @@ module Aws::ApplicationAutoScaling
330
329
  # [Delete a Target Tracking Scaling Policy][2] in the *Application Auto
331
330
  # Scaling User Guide*.
332
331
  #
333
- # To create a scaling policy or update an existing one, see
334
- # PutScalingPolicy.
335
- #
336
332
  #
337
333
  #
338
334
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#delete-step-scaling-policy
@@ -342,14 +338,9 @@ module Aws::ApplicationAutoScaling
342
338
  # The name of the scaling policy.
343
339
  #
344
340
  # @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
341
+ # The namespace of the AWS service that provides the resource. For a
342
+ # resource provided by your own application or service, use
343
+ # `custom-resource` instead.
353
344
  #
354
345
  # @option params [required, String] :resource_id
355
346
  # The identifier of the resource associated with the scalable target.
@@ -400,6 +391,10 @@ module Aws::ApplicationAutoScaling
400
391
  # or alias name suffix that is not `$LATEST`. Example:
401
392
  # `function:my-function:prod` or `function:my-function:1`.
402
393
  #
394
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
395
+ # identifier is the table name. Example:
396
+ # `keyspace/mykeyspace/table/mytable`.
397
+ #
403
398
  #
404
399
  #
405
400
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -449,6 +444,12 @@ module Aws::ApplicationAutoScaling
449
444
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
450
445
  # concurrency for a Lambda function.
451
446
  #
447
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
448
+ # for an Amazon Keyspaces table.
449
+ #
450
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
451
+ # capacity for an Amazon Keyspaces table.
452
+ #
452
453
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
453
454
  #
454
455
  #
@@ -472,9 +473,9 @@ module Aws::ApplicationAutoScaling
472
473
  #
473
474
  # resp = client.delete_scaling_policy({
474
475
  # policy_name: "ResourceIdMaxLen1600", # required
475
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
476
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
476
477
  # 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
478
+ # 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
479
  # })
479
480
  #
480
481
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy AWS API Documentation
@@ -497,14 +498,9 @@ module Aws::ApplicationAutoScaling
497
498
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html#delete-scheduled-action
498
499
  #
499
500
  # @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
501
+ # The namespace of the AWS service that provides the resource. For a
502
+ # resource provided by your own application or service, use
503
+ # `custom-resource` instead.
508
504
  #
509
505
  # @option params [required, String] :scheduled_action_name
510
506
  # The name of the scheduled action.
@@ -558,6 +554,10 @@ module Aws::ApplicationAutoScaling
558
554
  # or alias name suffix that is not `$LATEST`. Example:
559
555
  # `function:my-function:prod` or `function:my-function:1`.
560
556
  #
557
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
558
+ # identifier is the table name. Example:
559
+ # `keyspace/mykeyspace/table/mytable`.
560
+ #
561
561
  #
562
562
  #
563
563
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -607,15 +607,21 @@ module Aws::ApplicationAutoScaling
607
607
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
608
608
  # concurrency for a Lambda function.
609
609
  #
610
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
611
+ # for an Amazon Keyspaces table.
612
+ #
613
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
614
+ # capacity for an Amazon Keyspaces table.
615
+ #
610
616
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
611
617
  #
612
618
  # @example Request syntax with placeholder values
613
619
  #
614
620
  # resp = client.delete_scheduled_action({
615
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
621
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
616
622
  # scheduled_action_name: "ResourceIdMaxLen1600", # required
617
623
  # 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
624
+ # 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
625
  # })
620
626
  #
621
627
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
@@ -627,23 +633,23 @@ module Aws::ApplicationAutoScaling
627
633
  req.send_request(options)
628
634
  end
629
635
 
630
- # Deregisters an Application Auto Scaling scalable target.
636
+ # Deregisters an Application Auto Scaling scalable target when you have
637
+ # finished using it. To see which resources have been registered, use
638
+ # [DescribeScalableTargets][1].
631
639
  #
632
- # Deregistering a scalable target deletes the scaling policies that are
633
- # associated with it.
640
+ # <note markdown="1"> Deregistering a scalable target deletes the scaling policies and the
641
+ # scheduled actions that are associated with it.
634
642
  #
635
- # To create a scalable target or update an existing one, see
636
- # RegisterScalableTarget.
643
+ # </note>
637
644
  #
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
645
  #
644
646
  #
647
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
645
648
  #
646
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
649
+ # @option params [required, String] :service_namespace
650
+ # The namespace of the AWS service that provides the resource. For a
651
+ # resource provided by your own application or service, use
652
+ # `custom-resource` instead.
647
653
  #
648
654
  # @option params [required, String] :resource_id
649
655
  # The identifier of the resource associated with the scalable target.
@@ -694,6 +700,10 @@ module Aws::ApplicationAutoScaling
694
700
  # or alias name suffix that is not `$LATEST`. Example:
695
701
  # `function:my-function:prod` or `function:my-function:1`.
696
702
  #
703
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
704
+ # identifier is the table name. Example:
705
+ # `keyspace/mykeyspace/table/mytable`.
706
+ #
697
707
  #
698
708
  #
699
709
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -744,6 +754,12 @@ module Aws::ApplicationAutoScaling
744
754
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
745
755
  # concurrency for a Lambda function.
746
756
  #
757
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
758
+ # for an Amazon Keyspaces table.
759
+ #
760
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
761
+ # capacity for an Amazon Keyspaces table.
762
+ #
747
763
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
748
764
  #
749
765
  #
@@ -765,9 +781,9 @@ module Aws::ApplicationAutoScaling
765
781
  # @example Request syntax with placeholder values
766
782
  #
767
783
  # resp = client.deregister_scalable_target({
768
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
784
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
769
785
  # 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
786
+ # 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
787
  # })
772
788
  #
773
789
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget AWS API Documentation
@@ -785,19 +801,10 @@ module Aws::ApplicationAutoScaling
785
801
  # You can filter the results using `ResourceIds` and
786
802
  # `ScalableDimension`.
787
803
  #
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
804
  # @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
805
+ # The namespace of the AWS service that provides the resource. For a
806
+ # resource provided by your own application or service, use
807
+ # `custom-resource` instead.
801
808
  #
802
809
  # @option params [Array<String>] :resource_ids
803
810
  # The identifier of the resource associated with the scalable target.
@@ -849,6 +856,10 @@ module Aws::ApplicationAutoScaling
849
856
  # or alias name suffix that is not `$LATEST`. Example:
850
857
  # `function:my-function:prod` or `function:my-function:1`.
851
858
  #
859
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
860
+ # identifier is the table name. Example:
861
+ # `keyspace/mykeyspace/table/mytable`.
862
+ #
852
863
  #
853
864
  #
854
865
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -900,6 +911,12 @@ module Aws::ApplicationAutoScaling
900
911
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
901
912
  # concurrency for a Lambda function.
902
913
  #
914
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
915
+ # for an Amazon Keyspaces table.
916
+ #
917
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
918
+ # capacity for an Amazon Keyspaces table.
919
+ #
903
920
  # @option params [Integer] :max_results
904
921
  # The maximum number of scalable targets. This value can be between 1
905
922
  # and 50. The default value is 50.
@@ -918,10 +935,12 @@ module Aws::ApplicationAutoScaling
918
935
  # * {Types::DescribeScalableTargetsResponse#scalable_targets #scalable_targets} => Array&lt;Types::ScalableTarget&gt;
919
936
  # * {Types::DescribeScalableTargetsResponse#next_token #next_token} => String
920
937
  #
938
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
939
+ #
921
940
  #
922
941
  # @example Example: To describe scalable targets
923
942
  #
924
- # # This example describes the scalable targets for the ecs service namespace.
943
+ # # This example describes the scalable targets for the ECS service namespace.
925
944
  #
926
945
  # resp = client.describe_scalable_targets({
927
946
  # service_namespace: "ecs",
@@ -931,7 +950,7 @@ module Aws::ApplicationAutoScaling
931
950
  # {
932
951
  # scalable_targets: [
933
952
  # {
934
- # creation_time: Time.parse("2016-05-06T11:21:46.199Z"),
953
+ # creation_time: Time.parse("2019-05-06T11:21:46.199Z"),
935
954
  # max_capacity: 10,
936
955
  # min_capacity: 1,
937
956
  # resource_id: "service/default/web-app",
@@ -950,9 +969,9 @@ module Aws::ApplicationAutoScaling
950
969
  # @example Request syntax with placeholder values
951
970
  #
952
971
  # resp = client.describe_scalable_targets({
953
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
972
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
954
973
  # 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
974
+ # 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
975
  # max_results: 1,
957
976
  # next_token: "XmlString",
958
977
  # })
@@ -960,9 +979,9 @@ module Aws::ApplicationAutoScaling
960
979
  # @example Response structure
961
980
  #
962
981
  # 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"
982
+ # resp.scalable_targets[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
964
983
  # 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"
984
+ # 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
985
  # resp.scalable_targets[0].min_capacity #=> Integer
967
986
  # resp.scalable_targets[0].max_capacity #=> Integer
968
987
  # resp.scalable_targets[0].role_arn #=> String
@@ -986,20 +1005,10 @@ module Aws::ApplicationAutoScaling
986
1005
  #
987
1006
  # You can filter the results using `ResourceId` and `ScalableDimension`.
988
1007
  #
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
1008
  # @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
1009
+ # The namespace of the AWS service that provides the resource. For a
1010
+ # resource provided by your own application or service, use
1011
+ # `custom-resource` instead.
1003
1012
  #
1004
1013
  # @option params [String] :resource_id
1005
1014
  # The identifier of the resource associated with the scaling activity.
@@ -1051,6 +1060,10 @@ module Aws::ApplicationAutoScaling
1051
1060
  # or alias name suffix that is not `$LATEST`. Example:
1052
1061
  # `function:my-function:prod` or `function:my-function:1`.
1053
1062
  #
1063
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1064
+ # identifier is the table name. Example:
1065
+ # `keyspace/mykeyspace/table/mytable`.
1066
+ #
1054
1067
  #
1055
1068
  #
1056
1069
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1101,6 +1114,12 @@ module Aws::ApplicationAutoScaling
1101
1114
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1102
1115
  # concurrency for a Lambda function.
1103
1116
  #
1117
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1118
+ # for an Amazon Keyspaces table.
1119
+ #
1120
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1121
+ # capacity for an Amazon Keyspaces table.
1122
+ #
1104
1123
  # @option params [Integer] :max_results
1105
1124
  # The maximum number of scalable targets. This value can be between 1
1106
1125
  # and 50. The default value is 50.
@@ -1119,6 +1138,8 @@ module Aws::ApplicationAutoScaling
1119
1138
  # * {Types::DescribeScalingActivitiesResponse#scaling_activities #scaling_activities} => Array&lt;Types::ScalingActivity&gt;
1120
1139
  # * {Types::DescribeScalingActivitiesResponse#next_token #next_token} => String
1121
1140
  #
1141
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1142
+ #
1122
1143
  #
1123
1144
  # @example Example: To describe scaling activities for a scalable target
1124
1145
  #
@@ -1138,11 +1159,11 @@ module Aws::ApplicationAutoScaling
1138
1159
  # activity_id: "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
1139
1160
  # cause: "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
1140
1161
  # description: "Setting desired count to 1.",
1141
- # end_time: Time.parse("2016-05-06T16:04:32.111Z"),
1162
+ # end_time: Time.parse("2019-05-06T16:04:32.111Z"),
1142
1163
  # resource_id: "service/default/web-app",
1143
1164
  # scalable_dimension: "ecs:service:DesiredCount",
1144
1165
  # service_namespace: "ecs",
1145
- # start_time: Time.parse("2016-05-06T16:03:58.171Z"),
1166
+ # start_time: Time.parse("2019-05-06T16:03:58.171Z"),
1146
1167
  # status_code: "Successful",
1147
1168
  # status_message: "Successfully set desired count to 1. Change successfully fulfilled by ecs.",
1148
1169
  # },
@@ -1152,9 +1173,9 @@ module Aws::ApplicationAutoScaling
1152
1173
  # @example Request syntax with placeholder values
1153
1174
  #
1154
1175
  # resp = client.describe_scaling_activities({
1155
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1176
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1156
1177
  # 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
1178
+ # 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
1179
  # max_results: 1,
1159
1180
  # next_token: "XmlString",
1160
1181
  # })
@@ -1163,9 +1184,9 @@ module Aws::ApplicationAutoScaling
1163
1184
  #
1164
1185
  # resp.scaling_activities #=> Array
1165
1186
  # 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"
1187
+ # resp.scaling_activities[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
1167
1188
  # 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"
1189
+ # 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
1190
  # resp.scaling_activities[0].description #=> String
1170
1191
  # resp.scaling_activities[0].cause #=> String
1171
1192
  # resp.scaling_activities[0].start_time #=> Time
@@ -1190,22 +1211,22 @@ module Aws::ApplicationAutoScaling
1190
1211
  # You can filter the results using `ResourceId`, `ScalableDimension`,
1191
1212
  # and `PolicyNames`.
1192
1213
  #
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.
1214
+ # For more information, see [Target Tracking Scaling Policies][1] and
1215
+ # [Step Scaling Policies][2] in the *Application Auto Scaling User
1216
+ # Guide*.
1196
1217
  #
1197
- # @option params [Array<String>] :policy_names
1198
- # The names of the scaling policies to describe.
1199
1218
  #
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
1219
  #
1220
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html
1221
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html
1206
1222
  #
1223
+ # @option params [Array<String>] :policy_names
1224
+ # The names of the scaling policies to describe.
1207
1225
  #
1208
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1226
+ # @option params [required, String] :service_namespace
1227
+ # The namespace of the AWS service that provides the resource. For a
1228
+ # resource provided by your own application or service, use
1229
+ # `custom-resource` instead.
1209
1230
  #
1210
1231
  # @option params [String] :resource_id
1211
1232
  # The identifier of the resource associated with the scaling policy.
@@ -1257,6 +1278,10 @@ module Aws::ApplicationAutoScaling
1257
1278
  # or alias name suffix that is not `$LATEST`. Example:
1258
1279
  # `function:my-function:prod` or `function:my-function:1`.
1259
1280
  #
1281
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1282
+ # identifier is the table name. Example:
1283
+ # `keyspace/mykeyspace/table/mytable`.
1284
+ #
1260
1285
  #
1261
1286
  #
1262
1287
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1307,6 +1332,12 @@ module Aws::ApplicationAutoScaling
1307
1332
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1308
1333
  # concurrency for a Lambda function.
1309
1334
  #
1335
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1336
+ # for an Amazon Keyspaces table.
1337
+ #
1338
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1339
+ # capacity for an Amazon Keyspaces table.
1340
+ #
1310
1341
  # @option params [Integer] :max_results
1311
1342
  # The maximum number of scalable targets. This value can be between 1
1312
1343
  # and 50. The default value is 50.
@@ -1325,10 +1356,12 @@ module Aws::ApplicationAutoScaling
1325
1356
  # * {Types::DescribeScalingPoliciesResponse#scaling_policies #scaling_policies} => Array&lt;Types::ScalingPolicy&gt;
1326
1357
  # * {Types::DescribeScalingPoliciesResponse#next_token #next_token} => String
1327
1358
  #
1359
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1360
+ #
1328
1361
  #
1329
1362
  # @example Example: To describe scaling policies
1330
1363
  #
1331
- # # This example describes the scaling policies for the ecs service namespace.
1364
+ # # This example describes the scaling policies for the ECS service namespace.
1332
1365
  #
1333
1366
  # resp = client.describe_scaling_policies({
1334
1367
  # service_namespace: "ecs",
@@ -1345,7 +1378,7 @@ module Aws::ApplicationAutoScaling
1345
1378
  # alarm_name: "web-app-cpu-gt-75",
1346
1379
  # },
1347
1380
  # ],
1348
- # creation_time: Time.parse("2016-05-06T12:11:39.230Z"),
1381
+ # creation_time: Time.parse("2019-05-06T12:11:39.230Z"),
1349
1382
  # 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
1383
  # policy_name: "web-app-cpu-gt-75",
1351
1384
  # policy_type: "StepScaling",
@@ -1370,9 +1403,9 @@ module Aws::ApplicationAutoScaling
1370
1403
  #
1371
1404
  # resp = client.describe_scaling_policies({
1372
1405
  # policy_names: ["ResourceIdMaxLen1600"],
1373
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1406
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1374
1407
  # 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
1408
+ # 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
1409
  # max_results: 1,
1377
1410
  # next_token: "XmlString",
1378
1411
  # })
@@ -1382,9 +1415,9 @@ module Aws::ApplicationAutoScaling
1382
1415
  # resp.scaling_policies #=> Array
1383
1416
  # resp.scaling_policies[0].policy_arn #=> String
1384
1417
  # 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"
1418
+ # resp.scaling_policies[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
1386
1419
  # 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"
1420
+ # 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
1421
  # resp.scaling_policies[0].policy_type #=> String, one of "StepScaling", "TargetTrackingScaling"
1389
1422
  # resp.scaling_policies[0].step_scaling_policy_configuration.adjustment_type #=> String, one of "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity"
1390
1423
  # resp.scaling_policies[0].step_scaling_policy_configuration.step_adjustments #=> Array
@@ -1395,7 +1428,7 @@ module Aws::ApplicationAutoScaling
1395
1428
  # resp.scaling_policies[0].step_scaling_policy_configuration.cooldown #=> Integer
1396
1429
  # resp.scaling_policies[0].step_scaling_policy_configuration.metric_aggregation_type #=> String, one of "Average", "Minimum", "Maximum"
1397
1430
  # 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"
1431
+ # 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
1432
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.predefined_metric_specification.resource_label #=> String
1400
1433
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.metric_name #=> String
1401
1434
  # resp.scaling_policies[0].target_tracking_scaling_policy_configuration.customized_metric_specification.namespace #=> String
@@ -1428,22 +1461,20 @@ module Aws::ApplicationAutoScaling
1428
1461
  # You can filter the results using the `ResourceId`,
1429
1462
  # `ScalableDimension`, and `ScheduledActionNames` parameters.
1430
1463
  #
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.
1464
+ # For more information, see [Scheduled Scaling][1] in the *Application
1465
+ # Auto Scaling User Guide*.
1434
1466
  #
1435
- # @option params [Array<String>] :scheduled_action_names
1436
- # The names of the scheduled actions to describe.
1437
1467
  #
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
1468
  #
1469
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
1444
1470
  #
1471
+ # @option params [Array<String>] :scheduled_action_names
1472
+ # The names of the scheduled actions to describe.
1445
1473
  #
1446
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1474
+ # @option params [required, String] :service_namespace
1475
+ # The namespace of the AWS service that provides the resource. For a
1476
+ # resource provided by your own application or service, use
1477
+ # `custom-resource` instead.
1447
1478
  #
1448
1479
  # @option params [String] :resource_id
1449
1480
  # The identifier of the resource associated with the scheduled action.
@@ -1495,6 +1526,10 @@ module Aws::ApplicationAutoScaling
1495
1526
  # or alias name suffix that is not `$LATEST`. Example:
1496
1527
  # `function:my-function:prod` or `function:my-function:1`.
1497
1528
  #
1529
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1530
+ # identifier is the table name. Example:
1531
+ # `keyspace/mykeyspace/table/mytable`.
1532
+ #
1498
1533
  #
1499
1534
  #
1500
1535
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1545,6 +1580,12 @@ module Aws::ApplicationAutoScaling
1545
1580
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1546
1581
  # concurrency for a Lambda function.
1547
1582
  #
1583
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1584
+ # for an Amazon Keyspaces table.
1585
+ #
1586
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1587
+ # capacity for an Amazon Keyspaces table.
1588
+ #
1548
1589
  # @option params [Integer] :max_results
1549
1590
  # The maximum number of scheduled action results. This value can be
1550
1591
  # between 1 and 50. The default value is 50.
@@ -1563,13 +1604,15 @@ module Aws::ApplicationAutoScaling
1563
1604
  # * {Types::DescribeScheduledActionsResponse#scheduled_actions #scheduled_actions} => Array&lt;Types::ScheduledAction&gt;
1564
1605
  # * {Types::DescribeScheduledActionsResponse#next_token #next_token} => String
1565
1606
  #
1607
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1608
+ #
1566
1609
  # @example Request syntax with placeholder values
1567
1610
  #
1568
1611
  # resp = client.describe_scheduled_actions({
1569
1612
  # scheduled_action_names: ["ResourceIdMaxLen1600"],
1570
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1613
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1571
1614
  # 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
1615
+ # 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
1616
  # max_results: 1,
1574
1617
  # next_token: "XmlString",
1575
1618
  # })
@@ -1579,10 +1622,10 @@ module Aws::ApplicationAutoScaling
1579
1622
  # resp.scheduled_actions #=> Array
1580
1623
  # resp.scheduled_actions[0].scheduled_action_name #=> String
1581
1624
  # 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"
1625
+ # resp.scheduled_actions[0].service_namespace #=> String, one of "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra"
1583
1626
  # resp.scheduled_actions[0].schedule #=> String
1584
1627
  # 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"
1628
+ # 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
1629
  # resp.scheduled_actions[0].start_time #=> Time
1587
1630
  # resp.scheduled_actions[0].end_time #=> Time
1588
1631
  # resp.scheduled_actions[0].scalable_target_action.min_capacity #=> Integer
@@ -1599,22 +1642,14 @@ module Aws::ApplicationAutoScaling
1599
1642
  req.send_request(options)
1600
1643
  end
1601
1644
 
1602
- # Creates or updates a policy for an Application Auto Scaling scalable
1603
- # target.
1645
+ # Creates or updates a scaling policy for an Application Auto Scaling
1646
+ # scalable target.
1604
1647
  #
1605
1648
  # Each scalable target is identified by a service namespace, resource
1606
1649
  # ID, and scalable dimension. A scaling policy applies to the scalable
1607
1650
  # target identified by those three attributes. You cannot create a
1608
1651
  # 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.
1652
+ # target.
1618
1653
  #
1619
1654
  # Multiple scaling policies can be in force at the same time for the
1620
1655
  # same scalable target. You can have one or more target tracking scaling
@@ -1628,25 +1663,28 @@ module Aws::ApplicationAutoScaling
1628
1663
  # the policy with the highest calculated capacity (200% of 10 = 20) and
1629
1664
  # scales out to 30.
1630
1665
  #
1631
- # Learn more about how to work with scaling policies in the [Application
1632
- # Auto Scaling User Guide][1].
1666
+ # For more information, see [Target Tracking Scaling Policies][1] and
1667
+ # [Step Scaling Policies][2] in the *Application Auto Scaling User
1668
+ # Guide*.
1669
+ #
1670
+ # <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
1671
+ # available to execute scaling policies. Any scaling policies that were
1672
+ # specified for the scalable target are deleted.
1673
+ #
1674
+ # </note>
1633
1675
  #
1634
1676
  #
1635
1677
  #
1636
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html
1678
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html
1679
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html
1637
1680
  #
1638
1681
  # @option params [required, String] :policy_name
1639
1682
  # The name of the scaling policy.
1640
1683
  #
1641
1684
  # @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
- #
1647
- #
1648
- #
1649
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1685
+ # The namespace of the AWS service that provides the resource. For a
1686
+ # resource provided by your own application or service, use
1687
+ # `custom-resource` instead.
1650
1688
  #
1651
1689
  # @option params [required, String] :resource_id
1652
1690
  # The identifier of the resource associated with the scaling policy.
@@ -1697,6 +1735,10 @@ module Aws::ApplicationAutoScaling
1697
1735
  # or alias name suffix that is not `$LATEST`. Example:
1698
1736
  # `function:my-function:prod` or `function:my-function:1`.
1699
1737
  #
1738
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
1739
+ # identifier is the table name. Example:
1740
+ # `keyspace/mykeyspace/table/mytable`.
1741
+ #
1700
1742
  #
1701
1743
  #
1702
1744
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -1746,6 +1788,12 @@ module Aws::ApplicationAutoScaling
1746
1788
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
1747
1789
  # concurrency for a Lambda function.
1748
1790
  #
1791
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
1792
+ # for an Amazon Keyspaces table.
1793
+ #
1794
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
1795
+ # capacity for an Amazon Keyspaces table.
1796
+ #
1749
1797
  # @option params [String] :policy_type
1750
1798
  # The policy type. This parameter is required if you are creating a
1751
1799
  # scaling policy.
@@ -1754,8 +1802,8 @@ module Aws::ApplicationAutoScaling
1754
1802
  #
1755
1803
  # `TargetTrackingScaling`—Not supported for Amazon EMR
1756
1804
  #
1757
- # `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, or AWS
1758
- # Lambda
1805
+ # `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
1806
+ # or Amazon Keyspaces for Apache Cassandra.
1759
1807
  #
1760
1808
  # For more information, see [Target Tracking Scaling Policies][1] and
1761
1809
  # [Step Scaling Policies][2] in the *Application Auto Scaling User
@@ -1822,150 +1870,13 @@ module Aws::ApplicationAutoScaling
1822
1870
  # 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
1871
  # }
1824
1872
  #
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
1873
  # @example Request syntax with placeholder values
1963
1874
  #
1964
1875
  # resp = client.put_scaling_policy({
1965
1876
  # policy_name: "PolicyName", # required
1966
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
1877
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
1967
1878
  # 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
1879
+ # 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
1880
  # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
1970
1881
  # step_scaling_policy_configuration: {
1971
1882
  # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
@@ -1983,7 +1894,7 @@ module Aws::ApplicationAutoScaling
1983
1894
  # target_tracking_scaling_policy_configuration: {
1984
1895
  # target_value: 1.0, # required
1985
1896
  # predefined_metric_specification: {
1986
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization
1897
+ # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
1987
1898
  # resource_label: "ResourceLabel",
1988
1899
  # },
1989
1900
  # customized_metric_specification: {
@@ -2027,33 +1938,33 @@ module Aws::ApplicationAutoScaling
2027
1938
  # ID, and scalable dimension. A scheduled action applies to the scalable
2028
1939
  # target identified by those three attributes. You cannot create a
2029
1940
  # 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.
1941
+ # target.
2036
1942
  #
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.
1943
+ # When start and end times are specified with a recurring schedule using
1944
+ # a cron expression or rates, they form the boundaries of when the
1945
+ # recurring action starts and stops.
2040
1946
  #
2041
- # Learn more about how to work with scheduled actions in the
2042
- # [Application Auto Scaling User Guide][1].
1947
+ # To update a scheduled action, specify the parameters that you want to
1948
+ # change. If you don't specify start and end times, the old values are
1949
+ # deleted.
2043
1950
  #
1951
+ # For more information, see [Scheduled Scaling][1] in the *Application
1952
+ # Auto Scaling User Guide*.
2044
1953
  #
1954
+ # <note markdown="1"> If a scalable target is deregistered, the scalable target is no longer
1955
+ # available to run scheduled actions. Any scheduled actions that were
1956
+ # specified for the scalable target are deleted.
2045
1957
  #
2046
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html
1958
+ # </note>
2047
1959
  #
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
1960
  #
2054
1961
  #
1962
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
2055
1963
  #
2056
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
1964
+ # @option params [required, String] :service_namespace
1965
+ # The namespace of the AWS service that provides the resource. For a
1966
+ # resource provided by your own application or service, use
1967
+ # `custom-resource` instead.
2057
1968
  #
2058
1969
  # @option params [String] :schedule
2059
1970
  # The schedule for this action. The following formats are supported:
@@ -2064,7 +1975,7 @@ module Aws::ApplicationAutoScaling
2064
1975
  #
2065
1976
  # * Cron expressions - "`cron(fields)`"
2066
1977
  #
2067
- # At expressions are useful for one-time schedules. Specify the time, in
1978
+ # At expressions are useful for one-time schedules. Specify the time in
2068
1979
  # UTC.
2069
1980
  #
2070
1981
  # For rate expressions, *value* is a positive integer and *unit* is
@@ -2073,12 +1984,17 @@ module Aws::ApplicationAutoScaling
2073
1984
  # For more information about cron expressions, see [Cron Expressions][1]
2074
1985
  # in the *Amazon CloudWatch Events User Guide*.
2075
1986
  #
1987
+ # For examples of using these expressions, see [Scheduled Scaling][2] in
1988
+ # the *Application Auto Scaling User Guide*.
1989
+ #
2076
1990
  #
2077
1991
  #
2078
1992
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
1993
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
2079
1994
  #
2080
1995
  # @option params [required, String] :scheduled_action_name
2081
- # The name of the scheduled action.
1996
+ # The name of the scheduled action. This name must be unique among all
1997
+ # other scheduled actions on the specified scalable target.
2082
1998
  #
2083
1999
  # @option params [required, String] :resource_id
2084
2000
  # The identifier of the resource associated with the scheduled action.
@@ -2129,6 +2045,10 @@ module Aws::ApplicationAutoScaling
2129
2045
  # or alias name suffix that is not `$LATEST`. Example:
2130
2046
  # `function:my-function:prod` or `function:my-function:1`.
2131
2047
  #
2048
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
2049
+ # identifier is the table name. Example:
2050
+ # `keyspace/mykeyspace/table/mytable`.
2051
+ #
2132
2052
  #
2133
2053
  #
2134
2054
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2178,15 +2098,21 @@ module Aws::ApplicationAutoScaling
2178
2098
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
2179
2099
  # concurrency for a Lambda function.
2180
2100
  #
2101
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
2102
+ # for an Amazon Keyspaces table.
2103
+ #
2104
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
2105
+ # capacity for an Amazon Keyspaces table.
2106
+ #
2181
2107
  # @option params [Time,DateTime,Date,Integer,String] :start_time
2182
- # The date and time for the scheduled action to start.
2108
+ # The date and time for this scheduled action to start.
2183
2109
  #
2184
2110
  # @option params [Time,DateTime,Date,Integer,String] :end_time
2185
- # The date and time for the scheduled action to end.
2111
+ # The date and time for the recurring schedule to end.
2186
2112
  #
2187
2113
  # @option params [Types::ScalableTargetAction] :scalable_target_action
2188
2114
  # 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
2115
+ # one. At the scheduled time, if the current capacity is below the
2190
2116
  # minimum capacity, Application Auto Scaling scales out to the minimum
2191
2117
  # capacity. If the current capacity is above the maximum capacity,
2192
2118
  # Application Auto Scaling scales in to the maximum capacity.
@@ -2196,11 +2122,11 @@ module Aws::ApplicationAutoScaling
2196
2122
  # @example Request syntax with placeholder values
2197
2123
  #
2198
2124
  # resp = client.put_scheduled_action({
2199
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
2125
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
2200
2126
  # schedule: "ResourceIdMaxLen1600",
2201
2127
  # scheduled_action_name: "ScheduledActionName", # required
2202
2128
  # 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
2129
+ # 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
2130
  # start_time: Time.now,
2205
2131
  # end_time: Time.now,
2206
2132
  # scalable_target_action: {
@@ -2218,38 +2144,38 @@ module Aws::ApplicationAutoScaling
2218
2144
  req.send_request(options)
2219
2145
  end
2220
2146
 
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.
2147
+ # Registers or updates a scalable target.
2225
2148
  #
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.
2149
+ # A scalable target is a resource that Application Auto Scaling can
2150
+ # scale out and scale in. Scalable targets are uniquely identified by
2151
+ # the combination of resource ID, scalable dimension, and namespace.
2229
2152
  #
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.
2153
+ # When you register a new scalable target, you must specify values for
2154
+ # minimum and maximum capacity. Application Auto Scaling scaling
2155
+ # policies will not scale capacity to values that are outside of this
2156
+ # range.
2234
2157
  #
2235
2158
  # After you register a scalable target, you do not need to register it
2236
2159
  # 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.
2160
+ # resources have been registered, use [DescribeScalableTargets][1]. You
2161
+ # can also view the scaling policies for a service namespace by using
2162
+ # [DescribeScalableTargets][1]. If you no longer need a scalable target,
2163
+ # you can deregister it by using [DeregisterScalableTarget][2].
2240
2164
  #
2241
- # If you no longer need a scalable target, you can deregister it by
2242
- # using DeregisterScalableTarget.
2165
+ # To update a scalable target, specify the parameters that you want to
2166
+ # change. Include the parameters that identify the scalable target:
2167
+ # resource ID, scalable dimension, and namespace. Any parameters that
2168
+ # you don't specify are not changed by this update request.
2243
2169
  #
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
2170
  #
2250
2171
  #
2172
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html
2173
+ # [2]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html
2251
2174
  #
2252
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces
2175
+ # @option params [required, String] :service_namespace
2176
+ # The namespace of the AWS service that provides the resource. For a
2177
+ # resource provided by your own application or service, use
2178
+ # `custom-resource` instead.
2253
2179
  #
2254
2180
  # @option params [required, String] :resource_id
2255
2181
  # The identifier of the resource that is associated with the scalable
@@ -2301,6 +2227,10 @@ module Aws::ApplicationAutoScaling
2301
2227
  # or alias name suffix that is not `$LATEST`. Example:
2302
2228
  # `function:my-function:prod` or `function:my-function:1`.
2303
2229
  #
2230
+ # * Amazon Keyspaces table - The resource type is `table` and the unique
2231
+ # identifier is the table name. Example:
2232
+ # `keyspace/mykeyspace/table/mytable`.
2233
+ #
2304
2234
  #
2305
2235
  #
2306
2236
  # [1]: https://github.com/aws/aws-auto-scaling-custom-resource
@@ -2351,27 +2281,41 @@ module Aws::ApplicationAutoScaling
2351
2281
  # * `lambda:function:ProvisionedConcurrency` - The provisioned
2352
2282
  # concurrency for a Lambda function.
2353
2283
  #
2284
+ # * `cassandra:table:ReadCapacityUnits` - The provisioned read capacity
2285
+ # for an Amazon Keyspaces table.
2286
+ #
2287
+ # * `cassandra:table:WriteCapacityUnits` - The provisioned write
2288
+ # capacity for an Amazon Keyspaces table.
2289
+ #
2354
2290
  # @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.
2291
+ # The minimum value that you plan to scale in to. When a scaling policy
2292
+ # is in effect, Application Auto Scaling can scale in (contract) as
2293
+ # needed to the minimum capacity limit in response to changing demand.
2294
+ #
2295
+ # This parameter is required if you are registering a scalable target.
2296
+ # For Lambda provisioned concurrency, the minimum value allowed is 0.
2297
+ # For all other resources, the minimum value allowed is 1.
2357
2298
  #
2358
2299
  # @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.
2300
+ # The maximum value that you plan to scale out to. When a scaling policy
2301
+ # is in effect, Application Auto Scaling can scale out (expand) as
2302
+ # needed to the maximum capacity limit in response to changing demand.
2361
2303
  #
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].
2304
+ # This parameter is required if you are registering a scalable target.
2367
2305
  #
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
2306
+ # @option params [String] :role_arn
2307
+ # This parameter is required for services that do not support
2308
+ # service-linked roles (such as Amazon EMR), and it must specify the ARN
2309
+ # of an IAM role that allows Application Auto Scaling to modify the
2370
2310
  # scalable target on your behalf.
2371
2311
  #
2312
+ # If the service supports service-linked roles, Application Auto Scaling
2313
+ # uses a service-linked role, which it creates if it does not yet exist.
2314
+ # For more information, see [Application Auto Scaling IAM Roles][1].
2315
+ #
2372
2316
  #
2373
2317
  #
2374
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html
2318
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles
2375
2319
  #
2376
2320
  # @option params [Types::SuspendedState] :suspended_state
2377
2321
  # An embedded object that contains attributes and attribute values that
@@ -2416,29 +2360,12 @@ module Aws::ApplicationAutoScaling
2416
2360
  # service_namespace: "ecs",
2417
2361
  # })
2418
2362
  #
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
2363
  # @example Request syntax with placeholder values
2437
2364
  #
2438
2365
  # resp = client.register_scalable_target({
2439
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda
2366
+ # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
2440
2367
  # 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
2368
+ # 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
2369
  # min_capacity: 1,
2443
2370
  # max_capacity: 1,
2444
2371
  # role_arn: "ResourceIdMaxLen1600",
@@ -2471,7 +2398,7 @@ module Aws::ApplicationAutoScaling
2471
2398
  params: params,
2472
2399
  config: config)
2473
2400
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2474
- context[:gem_version] = '1.36.0'
2401
+ context[:gem_version] = '1.37.0'
2475
2402
  Seahorse::Client::Request.new(handlers, context)
2476
2403
  end
2477
2404