aws-sdk-applicationautoscaling 1.62.0 → 1.64.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.
@@ -48,7 +48,7 @@ module Aws::ApplicationAutoScaling
48
48
  # scaling policy to use with Application Auto Scaling.
49
49
  #
50
50
  # For information about the available metrics for a service, see [Amazon
51
- # Web Services Services That Publish CloudWatch Metrics][1] in the
51
+ # Web Services services that publish CloudWatch metrics][1] in the
52
52
  # *Amazon CloudWatch User Guide*.
53
53
  #
54
54
  # To create your customized metric specification:
@@ -56,7 +56,7 @@ module Aws::ApplicationAutoScaling
56
56
  # * Add values for each required parameter from CloudWatch. You can use
57
57
  # an existing metric, or a new metric that you create. To use your own
58
58
  # metric, you must first publish the metric to CloudWatch. For more
59
- # information, see [Publish Custom Metrics][2] in the *Amazon
59
+ # information, see [Publish custom metrics][2] in the *Amazon
60
60
  # CloudWatch User Guide*.
61
61
  #
62
62
  # * Choose a metric that changes proportionally with capacity. The value
@@ -65,33 +65,31 @@ module Aws::ApplicationAutoScaling
65
65
  # should decrease when capacity increases, and increase when capacity
66
66
  # decreases.
67
67
  #
68
- # For more information about CloudWatch, see [Amazon CloudWatch
69
- # Concepts][3].
68
+ # For an example of how creating new metrics can be useful, see [Scaling
69
+ # based on Amazon SQS][3] in the *Amazon EC2 Auto Scaling User Guide*.
70
+ # This topic mentions Auto Scaling groups, but the same scenario for
71
+ # Amazon SQS can apply to the target tracking scaling policies that you
72
+ # create for a Spot Fleet by using the Application Auto Scaling API.
73
+ #
74
+ # For more information about the CloudWatch terminology below, see
75
+ # [Amazon CloudWatch concepts][4] in the *Amazon CloudWatch User Guide*.
70
76
  #
71
77
  #
72
78
  #
73
79
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
74
80
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html
75
- # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
76
- #
77
- # @note When making an API call, you may pass CustomizedMetricSpecification
78
- # data as a hash:
79
- #
80
- # {
81
- # metric_name: "MetricName", # required
82
- # namespace: "MetricNamespace", # required
83
- # dimensions: [
84
- # {
85
- # name: "MetricDimensionName", # required
86
- # value: "MetricDimensionValue", # required
87
- # },
88
- # ],
89
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
90
- # unit: "MetricUnit",
91
- # }
81
+ # [3]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html
82
+ # [4]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
92
83
  #
93
84
  # @!attribute [rw] metric_name
94
- # The name of the metric.
85
+ # The name of the metric. To get the exact metric name, namespace, and
86
+ # dimensions, inspect the [Metric][1] object that is returned by a
87
+ # call to [ListMetrics][2].
88
+ #
89
+ #
90
+ #
91
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html
92
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html
95
93
  # @return [String]
96
94
  #
97
95
  # @!attribute [rw] namespace
@@ -110,7 +108,13 @@ module Aws::ApplicationAutoScaling
110
108
  # @return [String]
111
109
  #
112
110
  # @!attribute [rw] unit
113
- # The unit of the metric.
111
+ # The unit of the metric. For a complete list of the units that
112
+ # CloudWatch supports, see the [MetricDatum][1] data type in the
113
+ # *Amazon CloudWatch API Reference*.
114
+ #
115
+ #
116
+ #
117
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
114
118
  # @return [String]
115
119
  #
116
120
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/CustomizedMetricSpecification AWS API Documentation
@@ -125,16 +129,6 @@ module Aws::ApplicationAutoScaling
125
129
  include Aws::Structure
126
130
  end
127
131
 
128
- # @note When making an API call, you may pass DeleteScalingPolicyRequest
129
- # data as a hash:
130
- #
131
- # {
132
- # policy_name: "ResourceIdMaxLen1600", # required
133
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
134
- # resource_id: "ResourceIdMaxLen1600", # required
135
- # scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
136
- # }
137
- #
138
132
  # @!attribute [rw] policy_name
139
133
  # The name of the scaling policy.
140
134
  # @return [String]
@@ -252,7 +246,7 @@ module Aws::ApplicationAutoScaling
252
246
  # edition and Aurora PostgreSQL-compatible edition.
253
247
  #
254
248
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
255
- # instances for an SageMaker model endpoint variant.
249
+ # instances for a SageMaker model endpoint variant.
256
250
  #
257
251
  # * `custom-resource:ResourceType:Property` - The scalable dimension
258
252
  # for a custom resource provided by your own application or service.
@@ -302,16 +296,6 @@ module Aws::ApplicationAutoScaling
302
296
  #
303
297
  class DeleteScalingPolicyResponse < Aws::EmptyStructure; end
304
298
 
305
- # @note When making an API call, you may pass DeleteScheduledActionRequest
306
- # data as a hash:
307
- #
308
- # {
309
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
310
- # scheduled_action_name: "ResourceIdMaxLen1600", # required
311
- # resource_id: "ResourceIdMaxLen1600", # required
312
- # scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
313
- # }
314
- #
315
299
  # @!attribute [rw] service_namespace
316
300
  # The namespace of the Amazon Web Services service that provides the
317
301
  # resource. For a resource provided by your own application or
@@ -429,7 +413,7 @@ module Aws::ApplicationAutoScaling
429
413
  # edition and Aurora PostgreSQL-compatible edition.
430
414
  #
431
415
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
432
- # instances for an SageMaker model endpoint variant.
416
+ # instances for a SageMaker model endpoint variant.
433
417
  #
434
418
  # * `custom-resource:ResourceType:Property` - The scalable dimension
435
419
  # for a custom resource provided by your own application or service.
@@ -479,15 +463,6 @@ module Aws::ApplicationAutoScaling
479
463
  #
480
464
  class DeleteScheduledActionResponse < Aws::EmptyStructure; end
481
465
 
482
- # @note When making an API call, you may pass DeregisterScalableTargetRequest
483
- # data as a hash:
484
- #
485
- # {
486
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
487
- # resource_id: "ResourceIdMaxLen1600", # required
488
- # scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
489
- # }
490
- #
491
466
  # @!attribute [rw] service_namespace
492
467
  # The namespace of the Amazon Web Services service that provides the
493
468
  # resource. For a resource provided by your own application or
@@ -602,7 +577,7 @@ module Aws::ApplicationAutoScaling
602
577
  # edition and Aurora PostgreSQL-compatible edition.
603
578
  #
604
579
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
605
- # instances for an SageMaker model endpoint variant.
580
+ # instances for a SageMaker model endpoint variant.
606
581
  #
607
582
  # * `custom-resource:ResourceType:Property` - The scalable dimension
608
583
  # for a custom resource provided by your own application or service.
@@ -651,17 +626,6 @@ module Aws::ApplicationAutoScaling
651
626
  #
652
627
  class DeregisterScalableTargetResponse < Aws::EmptyStructure; end
653
628
 
654
- # @note When making an API call, you may pass DescribeScalableTargetsRequest
655
- # data as a hash:
656
- #
657
- # {
658
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
659
- # resource_ids: ["ResourceIdMaxLen1600"],
660
- # scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
661
- # max_results: 1,
662
- # next_token: "XmlString",
663
- # }
664
- #
665
629
  # @!attribute [rw] service_namespace
666
630
  # The namespace of the Amazon Web Services service that provides the
667
631
  # resource. For a resource provided by your own application or
@@ -777,7 +741,7 @@ module Aws::ApplicationAutoScaling
777
741
  # edition and Aurora PostgreSQL-compatible edition.
778
742
  #
779
743
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
780
- # instances for an SageMaker model endpoint variant.
744
+ # instances for a SageMaker model endpoint variant.
781
745
  #
782
746
  # * `custom-resource:ResourceType:Property` - The scalable dimension
783
747
  # for a custom resource provided by your own application or service.
@@ -857,17 +821,6 @@ module Aws::ApplicationAutoScaling
857
821
  include Aws::Structure
858
822
  end
859
823
 
860
- # @note When making an API call, you may pass DescribeScalingActivitiesRequest
861
- # data as a hash:
862
- #
863
- # {
864
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
865
- # resource_id: "ResourceIdMaxLen1600",
866
- # scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
867
- # max_results: 1,
868
- # next_token: "XmlString",
869
- # }
870
- #
871
824
  # @!attribute [rw] service_namespace
872
825
  # The namespace of the Amazon Web Services service that provides the
873
826
  # resource. For a resource provided by your own application or
@@ -982,7 +935,7 @@ module Aws::ApplicationAutoScaling
982
935
  # edition and Aurora PostgreSQL-compatible edition.
983
936
  #
984
937
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
985
- # instances for an SageMaker model endpoint variant.
938
+ # instances for a SageMaker model endpoint variant.
986
939
  #
987
940
  # * `custom-resource:ResourceType:Property` - The scalable dimension
988
941
  # for a custom resource provided by your own application or service.
@@ -1032,6 +985,19 @@ module Aws::ApplicationAutoScaling
1032
985
  # The token for the next set of results.
1033
986
  # @return [String]
1034
987
  #
988
+ # @!attribute [rw] include_not_scaled_activities
989
+ # Specifies whether to include activities that aren't scaled (*not
990
+ # scaled activities*) in the response. Not scaled activities are
991
+ # activities that aren't completed or started for various reasons,
992
+ # such as preventing infinite scaling loops. For help interpreting the
993
+ # not scaled reason details in the response, see [Scaling activities
994
+ # for Application Auto Scaling][1].
995
+ #
996
+ #
997
+ #
998
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html
999
+ # @return [Boolean]
1000
+ #
1035
1001
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesRequest AWS API Documentation
1036
1002
  #
1037
1003
  class DescribeScalingActivitiesRequest < Struct.new(
@@ -1039,7 +1005,8 @@ module Aws::ApplicationAutoScaling
1039
1005
  :resource_id,
1040
1006
  :scalable_dimension,
1041
1007
  :max_results,
1042
- :next_token)
1008
+ :next_token,
1009
+ :include_not_scaled_activities)
1043
1010
  SENSITIVE = []
1044
1011
  include Aws::Structure
1045
1012
  end
@@ -1062,18 +1029,6 @@ module Aws::ApplicationAutoScaling
1062
1029
  include Aws::Structure
1063
1030
  end
1064
1031
 
1065
- # @note When making an API call, you may pass DescribeScalingPoliciesRequest
1066
- # data as a hash:
1067
- #
1068
- # {
1069
- # policy_names: ["ResourceIdMaxLen1600"],
1070
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1071
- # resource_id: "ResourceIdMaxLen1600",
1072
- # scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1073
- # max_results: 1,
1074
- # next_token: "XmlString",
1075
- # }
1076
- #
1077
1032
  # @!attribute [rw] policy_names
1078
1033
  # The names of the scaling policies to describe.
1079
1034
  # @return [Array<String>]
@@ -1192,7 +1147,7 @@ module Aws::ApplicationAutoScaling
1192
1147
  # edition and Aurora PostgreSQL-compatible edition.
1193
1148
  #
1194
1149
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1195
- # instances for an SageMaker model endpoint variant.
1150
+ # instances for a SageMaker model endpoint variant.
1196
1151
  #
1197
1152
  # * `custom-resource:ResourceType:Property` - The scalable dimension
1198
1153
  # for a custom resource provided by your own application or service.
@@ -1273,18 +1228,6 @@ module Aws::ApplicationAutoScaling
1273
1228
  include Aws::Structure
1274
1229
  end
1275
1230
 
1276
- # @note When making an API call, you may pass DescribeScheduledActionsRequest
1277
- # data as a hash:
1278
- #
1279
- # {
1280
- # scheduled_action_names: ["ResourceIdMaxLen1600"],
1281
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1282
- # resource_id: "ResourceIdMaxLen1600",
1283
- # scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1284
- # max_results: 1,
1285
- # next_token: "XmlString",
1286
- # }
1287
- #
1288
1231
  # @!attribute [rw] scheduled_action_names
1289
1232
  # The names of the scheduled actions to describe.
1290
1233
  # @return [Array<String>]
@@ -1403,7 +1346,7 @@ module Aws::ApplicationAutoScaling
1403
1346
  # edition and Aurora PostgreSQL-compatible edition.
1404
1347
  #
1405
1348
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1406
- # instances for an SageMaker model endpoint variant.
1349
+ # instances for a SageMaker model endpoint variant.
1407
1350
  #
1408
1351
  # * `custom-resource:ResourceType:Property` - The scalable dimension
1409
1352
  # for a custom resource provided by your own application or service.
@@ -1551,14 +1494,6 @@ module Aws::ApplicationAutoScaling
1551
1494
 
1552
1495
  # Describes the dimension names and values associated with a metric.
1553
1496
  #
1554
- # @note When making an API call, you may pass MetricDimension
1555
- # data as a hash:
1556
- #
1557
- # {
1558
- # name: "MetricDimensionName", # required
1559
- # value: "MetricDimensionValue", # required
1560
- # }
1561
- #
1562
1497
  # @!attribute [rw] name
1563
1498
  # The name of the dimension.
1564
1499
  # @return [String]
@@ -1576,6 +1511,54 @@ module Aws::ApplicationAutoScaling
1576
1511
  include Aws::Structure
1577
1512
  end
1578
1513
 
1514
+ # Describes the reason for an activity that isn't scaled (*not scaled
1515
+ # activity*), in machine-readable format. For help interpreting the not
1516
+ # scaled reason details, see [Scaling activities for Application Auto
1517
+ # Scaling][1].
1518
+ #
1519
+ #
1520
+ #
1521
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html
1522
+ #
1523
+ # @!attribute [rw] code
1524
+ # A code that represents the reason for not scaling.
1525
+ #
1526
+ # Valid values:
1527
+ #
1528
+ # * AutoScalingAnticipatedFlapping
1529
+ #
1530
+ # * TargetServicePutResourceAsUnscalable
1531
+ #
1532
+ # * AlreadyAtMaxCapacity
1533
+ #
1534
+ # * AlreadyAtMinCapacity
1535
+ #
1536
+ # * AlreadyAtDesiredCapacity
1537
+ # @return [String]
1538
+ #
1539
+ # @!attribute [rw] max_capacity
1540
+ # The maximum capacity.
1541
+ # @return [Integer]
1542
+ #
1543
+ # @!attribute [rw] min_capacity
1544
+ # The minimum capacity.
1545
+ # @return [Integer]
1546
+ #
1547
+ # @!attribute [rw] current_capacity
1548
+ # The current capacity.
1549
+ # @return [Integer]
1550
+ #
1551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/NotScaledReason AWS API Documentation
1552
+ #
1553
+ class NotScaledReason < Struct.new(
1554
+ :code,
1555
+ :max_capacity,
1556
+ :min_capacity,
1557
+ :current_capacity)
1558
+ SENSITIVE = []
1559
+ include Aws::Structure
1560
+ end
1561
+
1579
1562
  # The specified object could not be found. For any operation that
1580
1563
  # depends on the existence of a scalable target, this exception is
1581
1564
  # thrown if the scalable target with the specified service namespace,
@@ -1607,24 +1590,16 @@ module Aws::ApplicationAutoScaling
1607
1590
  #
1608
1591
  # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/monitoring-cloudwatch.html
1609
1592
  #
1610
- # @note When making an API call, you may pass PredefinedMetricSpecification
1611
- # data as a hash:
1612
- #
1613
- # {
1614
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
1615
- # resource_label: "ResourceLabel",
1616
- # }
1617
- #
1618
1593
  # @!attribute [rw] predefined_metric_type
1619
1594
  # The metric type. The `ALBRequestCountPerTarget` metric type applies
1620
- # only to Spot Fleet requests and ECS services.
1595
+ # only to Spot Fleets and ECS services.
1621
1596
  # @return [String]
1622
1597
  #
1623
1598
  # @!attribute [rw] resource_label
1624
1599
  # Identifies the resource associated with the metric type. You can't
1625
1600
  # specify a resource label unless the metric type is
1626
1601
  # `ALBRequestCountPerTarget` and there is a target group attached to
1627
- # the Spot Fleet request or ECS service.
1602
+ # the Spot Fleet or ECS service.
1628
1603
  #
1629
1604
  # You create the resource label by appending the final portion of the
1630
1605
  # load balancer ARN and the final portion of the target group ARN into
@@ -1660,54 +1635,12 @@ module Aws::ApplicationAutoScaling
1660
1635
  include Aws::Structure
1661
1636
  end
1662
1637
 
1663
- # @note When making an API call, you may pass PutScalingPolicyRequest
1664
- # data as a hash:
1665
- #
1666
- # {
1667
- # policy_name: "PolicyName", # required
1668
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1669
- # resource_id: "ResourceIdMaxLen1600", # required
1670
- # scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1671
- # policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
1672
- # step_scaling_policy_configuration: {
1673
- # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
1674
- # step_adjustments: [
1675
- # {
1676
- # metric_interval_lower_bound: 1.0,
1677
- # metric_interval_upper_bound: 1.0,
1678
- # scaling_adjustment: 1, # required
1679
- # },
1680
- # ],
1681
- # min_adjustment_magnitude: 1,
1682
- # cooldown: 1,
1683
- # metric_aggregation_type: "Average", # accepts Average, Minimum, Maximum
1684
- # },
1685
- # target_tracking_scaling_policy_configuration: {
1686
- # target_value: 1.0, # required
1687
- # predefined_metric_specification: {
1688
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
1689
- # resource_label: "ResourceLabel",
1690
- # },
1691
- # customized_metric_specification: {
1692
- # metric_name: "MetricName", # required
1693
- # namespace: "MetricNamespace", # required
1694
- # dimensions: [
1695
- # {
1696
- # name: "MetricDimensionName", # required
1697
- # value: "MetricDimensionValue", # required
1698
- # },
1699
- # ],
1700
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
1701
- # unit: "MetricUnit",
1702
- # },
1703
- # scale_out_cooldown: 1,
1704
- # scale_in_cooldown: 1,
1705
- # disable_scale_in: false,
1706
- # },
1707
- # }
1708
- #
1709
1638
  # @!attribute [rw] policy_name
1710
1639
  # The name of the scaling policy.
1640
+ #
1641
+ # You cannot change the name of a scaling policy, but you can delete
1642
+ # the original scaling policy and create a new scaling policy with the
1643
+ # same settings and a different name.
1711
1644
  # @return [String]
1712
1645
  #
1713
1646
  # @!attribute [rw] service_namespace
@@ -1823,7 +1756,7 @@ module Aws::ApplicationAutoScaling
1823
1756
  # edition and Aurora PostgreSQL-compatible edition.
1824
1757
  #
1825
1758
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
1826
- # instances for an SageMaker model endpoint variant.
1759
+ # instances for a SageMaker model endpoint variant.
1827
1760
  #
1828
1761
  # * `custom-resource:ResourceType:Property` - The scalable dimension
1829
1762
  # for a custom resource provided by your own application or service.
@@ -1859,8 +1792,8 @@ module Aws::ApplicationAutoScaling
1859
1792
  # @return [String]
1860
1793
  #
1861
1794
  # @!attribute [rw] policy_type
1862
- # The policy type. This parameter is required if you are creating a
1863
- # scaling policy.
1795
+ # The scaling policy type. This parameter is required if you are
1796
+ # creating a scaling policy.
1864
1797
  #
1865
1798
  # The following policy types are supported:
1866
1799
  #
@@ -1926,24 +1859,6 @@ module Aws::ApplicationAutoScaling
1926
1859
  include Aws::Structure
1927
1860
  end
1928
1861
 
1929
- # @note When making an API call, you may pass PutScheduledActionRequest
1930
- # data as a hash:
1931
- #
1932
- # {
1933
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
1934
- # schedule: "ResourceIdMaxLen1600",
1935
- # timezone: "ResourceIdMaxLen1600",
1936
- # scheduled_action_name: "ScheduledActionName", # required
1937
- # resource_id: "ResourceIdMaxLen1600", # required
1938
- # scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
1939
- # start_time: Time.now,
1940
- # end_time: Time.now,
1941
- # scalable_target_action: {
1942
- # min_capacity: 1,
1943
- # max_capacity: 1,
1944
- # },
1945
- # }
1946
- #
1947
1862
  # @!attribute [rw] service_namespace
1948
1863
  # The namespace of the Amazon Web Services service that provides the
1949
1864
  # resource. For a resource provided by your own application or
@@ -2110,7 +2025,7 @@ module Aws::ApplicationAutoScaling
2110
2025
  # edition and Aurora PostgreSQL-compatible edition.
2111
2026
  #
2112
2027
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2113
- # instances for an SageMaker model endpoint variant.
2028
+ # instances for a SageMaker model endpoint variant.
2114
2029
  #
2115
2030
  # * `custom-resource:ResourceType:Property` - The scalable dimension
2116
2031
  # for a custom resource provided by your own application or service.
@@ -2182,23 +2097,6 @@ module Aws::ApplicationAutoScaling
2182
2097
  #
2183
2098
  class PutScheduledActionResponse < Aws::EmptyStructure; end
2184
2099
 
2185
- # @note When making an API call, you may pass RegisterScalableTargetRequest
2186
- # data as a hash:
2187
- #
2188
- # {
2189
- # service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
2190
- # resource_id: "ResourceIdMaxLen1600", # required
2191
- # scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
2192
- # min_capacity: 1,
2193
- # max_capacity: 1,
2194
- # role_arn: "ResourceIdMaxLen1600",
2195
- # suspended_state: {
2196
- # dynamic_scaling_in_suspended: false,
2197
- # dynamic_scaling_out_suspended: false,
2198
- # scheduled_scaling_suspended: false,
2199
- # },
2200
- # }
2201
- #
2202
2100
  # @!attribute [rw] service_namespace
2203
2101
  # The namespace of the Amazon Web Services service that provides the
2204
2102
  # resource. For a resource provided by your own application or
@@ -2314,7 +2212,7 @@ module Aws::ApplicationAutoScaling
2314
2212
  # edition and Aurora PostgreSQL-compatible edition.
2315
2213
  #
2316
2214
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2317
- # instances for an SageMaker model endpoint variant.
2215
+ # instances for a SageMaker model endpoint variant.
2318
2216
  #
2319
2217
  # * `custom-resource:ResourceType:Property` - The scalable dimension
2320
2218
  # for a custom resource provided by your own application or service.
@@ -2356,10 +2254,34 @@ module Aws::ApplicationAutoScaling
2356
2254
  # changing demand. This property is required when registering a new
2357
2255
  # scalable target.
2358
2256
  #
2359
- # For certain resources, the minimum value allowed is 0. This includes
2360
- # Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
2361
- # clusters, EMR clusters, and custom resources. For all other
2362
- # resources, the minimum value allowed is 1.
2257
+ # For the following resources, the minimum value allowed is 0.
2258
+ #
2259
+ # * AppStream 2.0 fleets
2260
+ #
2261
+ # * Aurora DB clusters
2262
+ #
2263
+ # * ECS services
2264
+ #
2265
+ # * EMR clusters
2266
+ #
2267
+ # * Lambda provisioned concurrency
2268
+ #
2269
+ # * SageMaker endpoint variants
2270
+ #
2271
+ # * Spot Fleets
2272
+ #
2273
+ # * custom resources
2274
+ #
2275
+ # It's strongly recommended that you specify a value greater than 0.
2276
+ # A value greater than 0 means that data points are continuously
2277
+ # reported to CloudWatch that scaling policies can use to scale on a
2278
+ # metric like average CPU utilization.
2279
+ #
2280
+ # For all other resources, the minimum allowed value depends on the
2281
+ # type of resource that you are using. If you provide a value that is
2282
+ # lower than what a resource can accept, an error occurs. In which
2283
+ # case, the error message will provide the minimum value that the
2284
+ # resource can accept.
2363
2285
  # @return [Integer]
2364
2286
  #
2365
2287
  # @!attribute [rw] max_capacity
@@ -2375,7 +2297,7 @@ module Aws::ApplicationAutoScaling
2375
2297
  # specify a higher limit, you can request an increase. For more
2376
2298
  # information, consult the documentation for that service. For
2377
2299
  # information about the default quotas for each service, see [Service
2378
- # Endpoints and Quotas][1] in the *Amazon Web Services General
2300
+ # endpoints and quotas][1] in the *Amazon Web Services General
2379
2301
  # Reference*.
2380
2302
  #
2381
2303
  #
@@ -2561,7 +2483,7 @@ module Aws::ApplicationAutoScaling
2561
2483
  # edition and Aurora PostgreSQL-compatible edition.
2562
2484
  #
2563
2485
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2564
- # instances for an SageMaker model endpoint variant.
2486
+ # instances for a SageMaker model endpoint variant.
2565
2487
  #
2566
2488
  # * `custom-resource:ResourceType:Property` - The scalable dimension
2567
2489
  # for a custom resource provided by your own application or service.
@@ -2635,21 +2557,13 @@ module Aws::ApplicationAutoScaling
2635
2557
 
2636
2558
  # Represents the minimum and maximum capacity for a scheduled action.
2637
2559
  #
2638
- # @note When making an API call, you may pass ScalableTargetAction
2639
- # data as a hash:
2640
- #
2641
- # {
2642
- # min_capacity: 1,
2643
- # max_capacity: 1,
2644
- # }
2645
- #
2646
2560
  # @!attribute [rw] min_capacity
2647
2561
  # The minimum capacity.
2648
2562
  #
2649
- # For certain resources, the minimum value allowed is 0. This includes
2650
- # Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
2651
- # clusters, EMR clusters, and custom resources. For all other
2652
- # resources, the minimum value allowed is 1.
2563
+ # When the scheduled action runs, the resource will have at least this
2564
+ # much capacity, but it might have more depending on other settings,
2565
+ # such as the target utilization level of a target tracking scaling
2566
+ # policy.
2653
2567
  # @return [Integer]
2654
2568
  #
2655
2569
  # @!attribute [rw] max_capacity
@@ -2661,7 +2575,7 @@ module Aws::ApplicationAutoScaling
2661
2575
  # specify a higher limit, you can request an increase. For more
2662
2576
  # information, consult the documentation for that service. For
2663
2577
  # information about the default quotas for each service, see [Service
2664
- # Endpoints and Quotas][1] in the *Amazon Web Services General
2578
+ # endpoints and quotas][1] in the *Amazon Web Services General
2665
2579
  # Reference*.
2666
2580
  #
2667
2581
  #
@@ -2796,7 +2710,7 @@ module Aws::ApplicationAutoScaling
2796
2710
  # edition and Aurora PostgreSQL-compatible edition.
2797
2711
  #
2798
2712
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
2799
- # instances for an SageMaker model endpoint variant.
2713
+ # instances for a SageMaker model endpoint variant.
2800
2714
  #
2801
2715
  # * `custom-resource:ResourceType:Property` - The scalable dimension
2802
2716
  # for a custom resource provided by your own application or service.
@@ -2860,6 +2774,16 @@ module Aws::ApplicationAutoScaling
2860
2774
  # The details about the scaling activity.
2861
2775
  # @return [String]
2862
2776
  #
2777
+ # @!attribute [rw] not_scaled_reasons
2778
+ # Machine-readable data that describes the reason for a not scaled
2779
+ # activity. Only available when [DescribeScalingActivities][1]
2780
+ # includes not scaled activities.
2781
+ #
2782
+ #
2783
+ #
2784
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html
2785
+ # @return [Array<Types::NotScaledReason>]
2786
+ #
2863
2787
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingActivity AWS API Documentation
2864
2788
  #
2865
2789
  class ScalingActivity < Struct.new(
@@ -2873,7 +2797,8 @@ module Aws::ApplicationAutoScaling
2873
2797
  :end_time,
2874
2798
  :status_code,
2875
2799
  :status_message,
2876
- :details)
2800
+ :details,
2801
+ :not_scaled_reasons)
2877
2802
  SENSITIVE = []
2878
2803
  include Aws::Structure
2879
2804
  end
@@ -2881,12 +2806,13 @@ module Aws::ApplicationAutoScaling
2881
2806
  # Represents a scaling policy to use with Application Auto Scaling.
2882
2807
  #
2883
2808
  # For more information about configuring scaling policies for a specific
2884
- # service, see [Getting started with Application Auto Scaling][1] in the
2885
- # *Application Auto Scaling User Guide*.
2809
+ # service, see [Amazon Web Services services that you can use with
2810
+ # Application Auto Scaling][1] in the *Application Auto Scaling User
2811
+ # Guide*.
2886
2812
  #
2887
2813
  #
2888
2814
  #
2889
- # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html
2815
+ # [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/integrated-services-list.html
2890
2816
  #
2891
2817
  # @!attribute [rw] policy_arn
2892
2818
  # The Amazon Resource Name (ARN) of the scaling policy.
@@ -3008,7 +2934,7 @@ module Aws::ApplicationAutoScaling
3008
2934
  # edition and Aurora PostgreSQL-compatible edition.
3009
2935
  #
3010
2936
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
3011
- # instances for an SageMaker model endpoint variant.
2937
+ # instances for a SageMaker model endpoint variant.
3012
2938
  #
3013
2939
  # * `custom-resource:ResourceType:Property` - The scalable dimension
3014
2940
  # for a custom resource provided by your own application or service.
@@ -3045,6 +2971,13 @@ module Aws::ApplicationAutoScaling
3045
2971
  #
3046
2972
  # @!attribute [rw] policy_type
3047
2973
  # The scaling policy type.
2974
+ #
2975
+ # The following policy types are supported:
2976
+ #
2977
+ # `TargetTrackingScaling`—Not supported for Amazon EMR
2978
+ #
2979
+ # `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
2980
+ # Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
3048
2981
  # @return [String]
3049
2982
  #
3050
2983
  # @!attribute [rw] step_scaling_policy_configuration
@@ -3241,7 +3174,7 @@ module Aws::ApplicationAutoScaling
3241
3174
  # edition and Aurora PostgreSQL-compatible edition.
3242
3175
  #
3243
3176
  # * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
3244
- # instances for an SageMaker model endpoint variant.
3177
+ # instances for a SageMaker model endpoint variant.
3245
3178
  #
3246
3179
  # * `custom-resource:ResourceType:Property` - The scalable dimension
3247
3180
  # for a custom resource provided by your own application or service.
@@ -3350,15 +3283,6 @@ module Aws::ApplicationAutoScaling
3350
3283
  #
3351
3284
  # [1]: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html
3352
3285
  #
3353
- # @note When making an API call, you may pass StepAdjustment
3354
- # data as a hash:
3355
- #
3356
- # {
3357
- # metric_interval_lower_bound: 1.0,
3358
- # metric_interval_upper_bound: 1.0,
3359
- # scaling_adjustment: 1, # required
3360
- # }
3361
- #
3362
3286
  # @!attribute [rw] metric_interval_lower_bound
3363
3287
  # The lower bound for the difference between the alarm threshold and
3364
3288
  # the CloudWatch metric. If the metric value is above the breach
@@ -3399,23 +3323,6 @@ module Aws::ApplicationAutoScaling
3399
3323
  # Represents a step scaling policy configuration to use with Application
3400
3324
  # Auto Scaling.
3401
3325
  #
3402
- # @note When making an API call, you may pass StepScalingPolicyConfiguration
3403
- # data as a hash:
3404
- #
3405
- # {
3406
- # adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
3407
- # step_adjustments: [
3408
- # {
3409
- # metric_interval_lower_bound: 1.0,
3410
- # metric_interval_upper_bound: 1.0,
3411
- # scaling_adjustment: 1, # required
3412
- # },
3413
- # ],
3414
- # min_adjustment_magnitude: 1,
3415
- # cooldown: 1,
3416
- # metric_aggregation_type: "Average", # accepts Average, Minimum, Maximum
3417
- # }
3418
- #
3419
3326
  # @!attribute [rw] adjustment_type
3420
3327
  # Specifies how the `ScalingAdjustment` value in a [StepAdjustment][1]
3421
3328
  # is interpreted (for example, an absolute number or a percentage).
@@ -3530,15 +3437,6 @@ module Aws::ApplicationAutoScaling
3530
3437
  # Specifies whether the scaling activities for a scalable target are in
3531
3438
  # a suspended state.
3532
3439
  #
3533
- # @note When making an API call, you may pass SuspendedState
3534
- # data as a hash:
3535
- #
3536
- # {
3537
- # dynamic_scaling_in_suspended: false,
3538
- # dynamic_scaling_out_suspended: false,
3539
- # scheduled_scaling_suspended: false,
3540
- # }
3541
- #
3542
3440
  # @!attribute [rw] dynamic_scaling_in_suspended
3543
3441
  # Whether scale in by a target tracking scaling policy or a step
3544
3442
  # scaling policy is suspended. Set the value to `true` if you don't
@@ -3572,32 +3470,6 @@ module Aws::ApplicationAutoScaling
3572
3470
  # Represents a target tracking scaling policy configuration to use with
3573
3471
  # Application Auto Scaling.
3574
3472
  #
3575
- # @note When making an API call, you may pass TargetTrackingScalingPolicyConfiguration
3576
- # data as a hash:
3577
- #
3578
- # {
3579
- # target_value: 1.0, # required
3580
- # predefined_metric_specification: {
3581
- # predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
3582
- # resource_label: "ResourceLabel",
3583
- # },
3584
- # customized_metric_specification: {
3585
- # metric_name: "MetricName", # required
3586
- # namespace: "MetricNamespace", # required
3587
- # dimensions: [
3588
- # {
3589
- # name: "MetricDimensionName", # required
3590
- # value: "MetricDimensionValue", # required
3591
- # },
3592
- # ],
3593
- # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
3594
- # unit: "MetricUnit",
3595
- # },
3596
- # scale_out_cooldown: 1,
3597
- # scale_in_cooldown: 1,
3598
- # disable_scale_in: false,
3599
- # }
3600
- #
3601
3473
  # @!attribute [rw] target_value
3602
3474
  # The target value for the metric. Although this property accepts
3603
3475
  # numbers of type Double, it won't accept values that are either too
@@ -3606,6 +3478,12 @@ module Aws::ApplicationAutoScaling
3606
3478
  # example, if the metric is CPU utilization, then the target value is
3607
3479
  # a percent value that represents how much of the CPU can be used
3608
3480
  # before scaling out.
3481
+ #
3482
+ # <note markdown="1"> If the scaling policy specifies the `ALBRequestCountPerTarget`
3483
+ # predefined metric, specify the target utilization as the optimal
3484
+ # average request count per target during any one-minute interval.
3485
+ #
3486
+ # </note>
3609
3487
  # @return [Float]
3610
3488
  #
3611
3489
  # @!attribute [rw] predefined_metric_specification