aws-sdk-applicationautoscaling 1.66.0 → 1.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +369 -21
- data/lib/aws-sdk-applicationautoscaling/client_api.rb +121 -3
- data/lib/aws-sdk-applicationautoscaling/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-applicationautoscaling/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-applicationautoscaling/endpoints.rb +42 -0
- data/lib/aws-sdk-applicationautoscaling/errors.rb +42 -0
- data/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-applicationautoscaling/types.rb +383 -25
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- metadata +2 -2
@@ -65,25 +65,18 @@ module Aws::ApplicationAutoScaling
|
|
65
65
|
# should decrease when capacity increases, and increase when capacity
|
66
66
|
# decreases.
|
67
67
|
#
|
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
68
|
# For more information about the CloudWatch terminology below, see
|
75
|
-
# [Amazon CloudWatch concepts][
|
69
|
+
# [Amazon CloudWatch concepts][3] in the *Amazon CloudWatch User Guide*.
|
76
70
|
#
|
77
71
|
#
|
78
72
|
#
|
79
73
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
|
80
74
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html
|
81
|
-
# [3]: https://docs.aws.amazon.com/
|
82
|
-
# [4]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
75
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
83
76
|
#
|
84
77
|
# @!attribute [rw] metric_name
|
85
78
|
# The name of the metric. To get the exact metric name, namespace, and
|
86
|
-
# dimensions, inspect the [Metric][1] object that
|
79
|
+
# dimensions, inspect the [Metric][1] object that's returned by a
|
87
80
|
# call to [ListMetrics][2].
|
88
81
|
#
|
89
82
|
#
|
@@ -117,6 +110,12 @@ module Aws::ApplicationAutoScaling
|
|
117
110
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
118
111
|
# @return [String]
|
119
112
|
#
|
113
|
+
# @!attribute [rw] metrics
|
114
|
+
# The metrics to include in the target tracking scaling policy, as a
|
115
|
+
# metric data query. This can include both raw metric and metric math
|
116
|
+
# expressions.
|
117
|
+
# @return [Array<Types::TargetTrackingMetricDataQuery>]
|
118
|
+
#
|
120
119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/CustomizedMetricSpecification AWS API Documentation
|
121
120
|
#
|
122
121
|
class CustomizedMetricSpecification < Struct.new(
|
@@ -124,7 +123,8 @@ module Aws::ApplicationAutoScaling
|
|
124
123
|
:namespace,
|
125
124
|
:dimensions,
|
126
125
|
:statistic,
|
127
|
-
:unit
|
126
|
+
:unit,
|
127
|
+
:metrics)
|
128
128
|
SENSITIVE = []
|
129
129
|
include Aws::Structure
|
130
130
|
end
|
@@ -1492,6 +1492,35 @@ module Aws::ApplicationAutoScaling
|
|
1492
1492
|
include Aws::Structure
|
1493
1493
|
end
|
1494
1494
|
|
1495
|
+
# @!attribute [rw] resource_arn
|
1496
|
+
# Specify the ARN of the scalable target.
|
1497
|
+
#
|
1498
|
+
# For example:
|
1499
|
+
# `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
|
1500
|
+
#
|
1501
|
+
# To get the ARN for a scalable target, use DescribeScalableTargets.
|
1502
|
+
# @return [String]
|
1503
|
+
#
|
1504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ListTagsForResourceRequest AWS API Documentation
|
1505
|
+
#
|
1506
|
+
class ListTagsForResourceRequest < Struct.new(
|
1507
|
+
:resource_arn)
|
1508
|
+
SENSITIVE = []
|
1509
|
+
include Aws::Structure
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
# @!attribute [rw] tags
|
1513
|
+
# A list of tags. Each tag consists of a tag key and a tag value.
|
1514
|
+
# @return [Hash<String,String>]
|
1515
|
+
#
|
1516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ListTagsForResourceResponse AWS API Documentation
|
1517
|
+
#
|
1518
|
+
class ListTagsForResourceResponse < Struct.new(
|
1519
|
+
:tags)
|
1520
|
+
SENSITIVE = []
|
1521
|
+
include Aws::Structure
|
1522
|
+
end
|
1523
|
+
|
1495
1524
|
# Describes the dimension names and values associated with a metric.
|
1496
1525
|
#
|
1497
1526
|
# @!attribute [rw] name
|
@@ -2292,7 +2321,7 @@ module Aws::ApplicationAutoScaling
|
|
2292
2321
|
# target.
|
2293
2322
|
#
|
2294
2323
|
# Although you can specify a large maximum capacity, note that service
|
2295
|
-
# quotas
|
2324
|
+
# quotas might impose lower limits. Each service has its own default
|
2296
2325
|
# quotas for the maximum capacity of the resource. If you want to
|
2297
2326
|
# specify a higher limit, you can request an increase. For more
|
2298
2327
|
# information, consult the documentation for that service. For
|
@@ -2350,6 +2379,24 @@ module Aws::ApplicationAutoScaling
|
|
2350
2379
|
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html
|
2351
2380
|
# @return [Types::SuspendedState]
|
2352
2381
|
#
|
2382
|
+
# @!attribute [rw] tags
|
2383
|
+
# Assigns one or more tags to the scalable target. Use this parameter
|
2384
|
+
# to tag the scalable target when it is created. To tag an existing
|
2385
|
+
# scalable target, use the TagResource operation.
|
2386
|
+
#
|
2387
|
+
# Each tag consists of a tag key and a tag value. Both the tag key and
|
2388
|
+
# the tag value are required. You cannot have more than one tag on a
|
2389
|
+
# scalable target with the same tag key.
|
2390
|
+
#
|
2391
|
+
# Use tags to control access to a scalable target. For more
|
2392
|
+
# information, see [Tagging support for Application Auto Scaling][1]
|
2393
|
+
# in the *Application Auto Scaling User Guide*.
|
2394
|
+
#
|
2395
|
+
#
|
2396
|
+
#
|
2397
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html
|
2398
|
+
# @return [Hash<String,String>]
|
2399
|
+
#
|
2353
2400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetRequest AWS API Documentation
|
2354
2401
|
#
|
2355
2402
|
class RegisterScalableTargetRequest < Struct.new(
|
@@ -2359,14 +2406,42 @@ module Aws::ApplicationAutoScaling
|
|
2359
2406
|
:min_capacity,
|
2360
2407
|
:max_capacity,
|
2361
2408
|
:role_arn,
|
2362
|
-
:suspended_state
|
2409
|
+
:suspended_state,
|
2410
|
+
:tags)
|
2363
2411
|
SENSITIVE = []
|
2364
2412
|
include Aws::Structure
|
2365
2413
|
end
|
2366
2414
|
|
2415
|
+
# @!attribute [rw] scalable_target_arn
|
2416
|
+
# The ARN of the scalable target.
|
2417
|
+
# @return [String]
|
2418
|
+
#
|
2367
2419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetResponse AWS API Documentation
|
2368
2420
|
#
|
2369
|
-
class RegisterScalableTargetResponse <
|
2421
|
+
class RegisterScalableTargetResponse < Struct.new(
|
2422
|
+
:scalable_target_arn)
|
2423
|
+
SENSITIVE = []
|
2424
|
+
include Aws::Structure
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
# The specified resource doesn't exist.
|
2428
|
+
#
|
2429
|
+
# @!attribute [rw] message
|
2430
|
+
# @return [String]
|
2431
|
+
#
|
2432
|
+
# @!attribute [rw] resource_name
|
2433
|
+
# The name of the Application Auto Scaling resource. This value is an
|
2434
|
+
# Amazon Resource Name (ARN).
|
2435
|
+
# @return [String]
|
2436
|
+
#
|
2437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ResourceNotFoundException AWS API Documentation
|
2438
|
+
#
|
2439
|
+
class ResourceNotFoundException < Struct.new(
|
2440
|
+
:message,
|
2441
|
+
:resource_name)
|
2442
|
+
SENSITIVE = []
|
2443
|
+
include Aws::Structure
|
2444
|
+
end
|
2370
2445
|
|
2371
2446
|
# Represents a scalable target.
|
2372
2447
|
#
|
@@ -2540,6 +2615,10 @@ module Aws::ApplicationAutoScaling
|
|
2540
2615
|
# in a suspended state.
|
2541
2616
|
# @return [Types::SuspendedState]
|
2542
2617
|
#
|
2618
|
+
# @!attribute [rw] scalable_target_arn
|
2619
|
+
# The ARN of the scalable target.
|
2620
|
+
# @return [String]
|
2621
|
+
#
|
2543
2622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTarget AWS API Documentation
|
2544
2623
|
#
|
2545
2624
|
class ScalableTarget < Struct.new(
|
@@ -2550,7 +2629,8 @@ module Aws::ApplicationAutoScaling
|
|
2550
2629
|
:max_capacity,
|
2551
2630
|
:role_arn,
|
2552
2631
|
:creation_time,
|
2553
|
-
:suspended_state
|
2632
|
+
:suspended_state,
|
2633
|
+
:scalable_target_arn)
|
2554
2634
|
SENSITIVE = []
|
2555
2635
|
include Aws::Structure
|
2556
2636
|
end
|
@@ -3256,13 +3336,13 @@ module Aws::ApplicationAutoScaling
|
|
3256
3336
|
# For the following examples, suppose that you have an alarm with a
|
3257
3337
|
# breach threshold of 50:
|
3258
3338
|
#
|
3259
|
-
# * To
|
3260
|
-
# to 50 and less than 60, specify a lower bound of 0 and an upper
|
3261
|
-
# bound of 10
|
3339
|
+
# * To initiate the adjustment when the metric is greater than or equal
|
3340
|
+
# to 50 and less than 60, specify a lower bound of `0` and an upper
|
3341
|
+
# bound of `10`.
|
3262
3342
|
#
|
3263
|
-
# * To
|
3264
|
-
# less than or equal to 50, specify a lower bound of
|
3265
|
-
# bound of 0
|
3343
|
+
# * To initiate the adjustment when the metric is greater than 40 and
|
3344
|
+
# less than or equal to 50, specify a lower bound of `-10` and an
|
3345
|
+
# upper bound of `0`.
|
3266
3346
|
#
|
3267
3347
|
# There are a few rules for the step adjustments for your step policy:
|
3268
3348
|
#
|
@@ -3287,16 +3367,16 @@ module Aws::ApplicationAutoScaling
|
|
3287
3367
|
# The lower bound for the difference between the alarm threshold and
|
3288
3368
|
# the CloudWatch metric. If the metric value is above the breach
|
3289
3369
|
# threshold, the lower bound is inclusive (the metric must be greater
|
3290
|
-
# than or equal to the threshold plus the lower bound). Otherwise,
|
3291
|
-
#
|
3292
|
-
# lower bound). A null value indicates negative infinity.
|
3370
|
+
# than or equal to the threshold plus the lower bound). Otherwise,
|
3371
|
+
# it's exclusive (the metric must be greater than the threshold plus
|
3372
|
+
# the lower bound). A null value indicates negative infinity.
|
3293
3373
|
# @return [Float]
|
3294
3374
|
#
|
3295
3375
|
# @!attribute [rw] metric_interval_upper_bound
|
3296
3376
|
# The upper bound for the difference between the alarm threshold and
|
3297
3377
|
# the CloudWatch metric. If the metric value is above the breach
|
3298
3378
|
# threshold, the upper bound is exclusive (the metric must be less
|
3299
|
-
# than the threshold plus the upper bound). Otherwise, it
|
3379
|
+
# than the threshold plus the upper bound). Otherwise, it's inclusive
|
3300
3380
|
# (the metric must be less than or equal to the threshold plus the
|
3301
3381
|
# upper bound). A null value indicates positive infinity.
|
3302
3382
|
#
|
@@ -3467,6 +3547,237 @@ module Aws::ApplicationAutoScaling
|
|
3467
3547
|
include Aws::Structure
|
3468
3548
|
end
|
3469
3549
|
|
3550
|
+
# @!attribute [rw] resource_arn
|
3551
|
+
# Identifies the Application Auto Scaling scalable target that you
|
3552
|
+
# want to apply tags to.
|
3553
|
+
#
|
3554
|
+
# For example:
|
3555
|
+
# `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
|
3556
|
+
#
|
3557
|
+
# To get the ARN for a scalable target, use DescribeScalableTargets.
|
3558
|
+
# @return [String]
|
3559
|
+
#
|
3560
|
+
# @!attribute [rw] tags
|
3561
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
3562
|
+
# to an AWS resource.
|
3563
|
+
#
|
3564
|
+
# Each tag consists of a tag key and a tag value.
|
3565
|
+
#
|
3566
|
+
# You cannot have more than one tag on an Application Auto Scaling
|
3567
|
+
# scalable target with the same tag key. If you specify an existing
|
3568
|
+
# tag key with a different tag value, Application Auto Scaling
|
3569
|
+
# replaces the current tag value with the specified one.
|
3570
|
+
#
|
3571
|
+
# For information about the rules that apply to tag keys and tag
|
3572
|
+
# values, see [User-defined tag restrictions][1] in the *Amazon Web
|
3573
|
+
# Services Billing and Cost Management User Guide*.
|
3574
|
+
#
|
3575
|
+
#
|
3576
|
+
#
|
3577
|
+
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
3578
|
+
# @return [Hash<String,String>]
|
3579
|
+
#
|
3580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TagResourceRequest AWS API Documentation
|
3581
|
+
#
|
3582
|
+
class TagResourceRequest < Struct.new(
|
3583
|
+
:resource_arn,
|
3584
|
+
:tags)
|
3585
|
+
SENSITIVE = []
|
3586
|
+
include Aws::Structure
|
3587
|
+
end
|
3588
|
+
|
3589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TagResourceResponse AWS API Documentation
|
3590
|
+
#
|
3591
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
3592
|
+
|
3593
|
+
# Represents a specific metric.
|
3594
|
+
#
|
3595
|
+
# Metric is a property of the TargetTrackingMetricStat object.
|
3596
|
+
#
|
3597
|
+
# @!attribute [rw] dimensions
|
3598
|
+
# The dimensions for the metric. For the list of available dimensions,
|
3599
|
+
# see the Amazon Web Services documentation available from the table
|
3600
|
+
# in [Amazon Web Services services that publish CloudWatch metrics
|
3601
|
+
# ][1] in the *Amazon CloudWatch User Guide*.
|
3602
|
+
#
|
3603
|
+
# Conditional: If you published your metric with dimensions, you must
|
3604
|
+
# specify the same dimensions in your scaling policy.
|
3605
|
+
#
|
3606
|
+
#
|
3607
|
+
#
|
3608
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
|
3609
|
+
# @return [Array<Types::TargetTrackingMetricDimension>]
|
3610
|
+
#
|
3611
|
+
# @!attribute [rw] metric_name
|
3612
|
+
# The name of the metric.
|
3613
|
+
# @return [String]
|
3614
|
+
#
|
3615
|
+
# @!attribute [rw] namespace
|
3616
|
+
# The namespace of the metric. For more information, see the table in
|
3617
|
+
# [Amazon Web Services services that publish CloudWatch metrics ][1]
|
3618
|
+
# in the *Amazon CloudWatch User Guide*.
|
3619
|
+
#
|
3620
|
+
#
|
3621
|
+
#
|
3622
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
|
3623
|
+
# @return [String]
|
3624
|
+
#
|
3625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingMetric AWS API Documentation
|
3626
|
+
#
|
3627
|
+
class TargetTrackingMetric < Struct.new(
|
3628
|
+
:dimensions,
|
3629
|
+
:metric_name,
|
3630
|
+
:namespace)
|
3631
|
+
SENSITIVE = []
|
3632
|
+
include Aws::Structure
|
3633
|
+
end
|
3634
|
+
|
3635
|
+
# The metric data to return. Also defines whether this call is returning
|
3636
|
+
# data for one metric only, or whether it is performing a math
|
3637
|
+
# expression on the values of returned metric statistics to create a new
|
3638
|
+
# time series. A time series is a series of data points, each of which
|
3639
|
+
# is associated with a timestamp.
|
3640
|
+
#
|
3641
|
+
# For more information and examples, see [Create a target tracking
|
3642
|
+
# scaling policy for Application Auto Scaling using metric math][1] in
|
3643
|
+
# the *Application Auto Scaling User Guide*.
|
3644
|
+
#
|
3645
|
+
#
|
3646
|
+
#
|
3647
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html
|
3648
|
+
#
|
3649
|
+
# @!attribute [rw] expression
|
3650
|
+
# The math expression to perform on the returned data, if this object
|
3651
|
+
# is performing a math expression. This expression can use the `Id` of
|
3652
|
+
# the other metrics to refer to those metrics, and can also use the
|
3653
|
+
# `Id` of other expressions to use the result of those expressions.
|
3654
|
+
#
|
3655
|
+
# Conditional: Within each `TargetTrackingMetricDataQuery` object, you
|
3656
|
+
# must specify either `Expression` or `MetricStat`, but not both.
|
3657
|
+
# @return [String]
|
3658
|
+
#
|
3659
|
+
# @!attribute [rw] id
|
3660
|
+
# A short name that identifies the object's results in the response.
|
3661
|
+
# This name must be unique among all `MetricDataQuery` objects
|
3662
|
+
# specified for a single scaling policy. If you are performing math
|
3663
|
+
# expressions on this set of data, this name represents that data and
|
3664
|
+
# can serve as a variable in the mathematical expression. The valid
|
3665
|
+
# characters are letters, numbers, and underscores. The first
|
3666
|
+
# character must be a lowercase letter.
|
3667
|
+
# @return [String]
|
3668
|
+
#
|
3669
|
+
# @!attribute [rw] label
|
3670
|
+
# A human-readable label for this metric or expression. This is
|
3671
|
+
# especially useful if this is a math expression, so that you know
|
3672
|
+
# what the value represents.
|
3673
|
+
# @return [String]
|
3674
|
+
#
|
3675
|
+
# @!attribute [rw] metric_stat
|
3676
|
+
# Information about the metric data to return.
|
3677
|
+
#
|
3678
|
+
# Conditional: Within each `MetricDataQuery` object, you must specify
|
3679
|
+
# either `Expression` or `MetricStat`, but not both.
|
3680
|
+
# @return [Types::TargetTrackingMetricStat]
|
3681
|
+
#
|
3682
|
+
# @!attribute [rw] return_data
|
3683
|
+
# Indicates whether to return the timestamps and raw data values of
|
3684
|
+
# this metric.
|
3685
|
+
#
|
3686
|
+
# If you use any math expressions, specify `true` for this value for
|
3687
|
+
# only the final math expression that the metric specification is
|
3688
|
+
# based on. You must specify `false` for `ReturnData` for all the
|
3689
|
+
# other metrics and expressions used in the metric specification.
|
3690
|
+
#
|
3691
|
+
# If you are only retrieving metrics and not performing any math
|
3692
|
+
# expressions, do not specify anything for `ReturnData`. This sets it
|
3693
|
+
# to its default (`true`).
|
3694
|
+
# @return [Boolean]
|
3695
|
+
#
|
3696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingMetricDataQuery AWS API Documentation
|
3697
|
+
#
|
3698
|
+
class TargetTrackingMetricDataQuery < Struct.new(
|
3699
|
+
:expression,
|
3700
|
+
:id,
|
3701
|
+
:label,
|
3702
|
+
:metric_stat,
|
3703
|
+
:return_data)
|
3704
|
+
SENSITIVE = []
|
3705
|
+
include Aws::Structure
|
3706
|
+
end
|
3707
|
+
|
3708
|
+
# Describes the dimension of a metric.
|
3709
|
+
#
|
3710
|
+
# @!attribute [rw] name
|
3711
|
+
# The name of the dimension.
|
3712
|
+
# @return [String]
|
3713
|
+
#
|
3714
|
+
# @!attribute [rw] value
|
3715
|
+
# The value of the dimension.
|
3716
|
+
# @return [String]
|
3717
|
+
#
|
3718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingMetricDimension AWS API Documentation
|
3719
|
+
#
|
3720
|
+
class TargetTrackingMetricDimension < Struct.new(
|
3721
|
+
:name,
|
3722
|
+
:value)
|
3723
|
+
SENSITIVE = []
|
3724
|
+
include Aws::Structure
|
3725
|
+
end
|
3726
|
+
|
3727
|
+
# This structure defines the CloudWatch metric to return, along with the
|
3728
|
+
# statistic, period, and unit.
|
3729
|
+
#
|
3730
|
+
# For more information about the CloudWatch terminology below, see
|
3731
|
+
# [Amazon CloudWatch concepts][1] in the *Amazon CloudWatch User Guide*.
|
3732
|
+
#
|
3733
|
+
#
|
3734
|
+
#
|
3735
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
3736
|
+
#
|
3737
|
+
# @!attribute [rw] metric
|
3738
|
+
# The CloudWatch metric to return, including the metric name,
|
3739
|
+
# namespace, and dimensions. To get the exact metric name, namespace,
|
3740
|
+
# and dimensions, inspect the [Metric][1] object that is returned by a
|
3741
|
+
# call to [ListMetrics][2].
|
3742
|
+
#
|
3743
|
+
#
|
3744
|
+
#
|
3745
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html
|
3746
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html
|
3747
|
+
# @return [Types::TargetTrackingMetric]
|
3748
|
+
#
|
3749
|
+
# @!attribute [rw] stat
|
3750
|
+
# The statistic to return. It can include any CloudWatch statistic or
|
3751
|
+
# extended statistic. For a list of valid values, see the table in
|
3752
|
+
# [Statistics][1] in the *Amazon CloudWatch User Guide*.
|
3753
|
+
#
|
3754
|
+
# The most commonly used metric for scaling is `Average`.
|
3755
|
+
#
|
3756
|
+
#
|
3757
|
+
#
|
3758
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic
|
3759
|
+
# @return [String]
|
3760
|
+
#
|
3761
|
+
# @!attribute [rw] unit
|
3762
|
+
# The unit to use for the returned data points. For a complete list of
|
3763
|
+
# the units that CloudWatch supports, see the [MetricDatum][1] data
|
3764
|
+
# type in the *Amazon CloudWatch API Reference*.
|
3765
|
+
#
|
3766
|
+
#
|
3767
|
+
#
|
3768
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
3769
|
+
# @return [String]
|
3770
|
+
#
|
3771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingMetricStat AWS API Documentation
|
3772
|
+
#
|
3773
|
+
class TargetTrackingMetricStat < Struct.new(
|
3774
|
+
:metric,
|
3775
|
+
:stat,
|
3776
|
+
:unit)
|
3777
|
+
SENSITIVE = []
|
3778
|
+
include Aws::Structure
|
3779
|
+
end
|
3780
|
+
|
3470
3781
|
# Represents a target tracking scaling policy configuration to use with
|
3471
3782
|
# Application Auto Scaling.
|
3472
3783
|
#
|
@@ -3612,6 +3923,53 @@ module Aws::ApplicationAutoScaling
|
|
3612
3923
|
include Aws::Structure
|
3613
3924
|
end
|
3614
3925
|
|
3926
|
+
# The request contains too many tags. Try the request again with fewer
|
3927
|
+
# tags.
|
3928
|
+
#
|
3929
|
+
# @!attribute [rw] message
|
3930
|
+
# @return [String]
|
3931
|
+
#
|
3932
|
+
# @!attribute [rw] resource_name
|
3933
|
+
# The name of the Application Auto Scaling resource. This value is an
|
3934
|
+
# Amazon Resource Name (ARN).
|
3935
|
+
# @return [String]
|
3936
|
+
#
|
3937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TooManyTagsException AWS API Documentation
|
3938
|
+
#
|
3939
|
+
class TooManyTagsException < Struct.new(
|
3940
|
+
:message,
|
3941
|
+
:resource_name)
|
3942
|
+
SENSITIVE = []
|
3943
|
+
include Aws::Structure
|
3944
|
+
end
|
3945
|
+
|
3946
|
+
# @!attribute [rw] resource_arn
|
3947
|
+
# Identifies the Application Auto Scaling scalable target from which
|
3948
|
+
# to remove tags.
|
3949
|
+
#
|
3950
|
+
# For example:
|
3951
|
+
# `arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123`
|
3952
|
+
#
|
3953
|
+
# To get the ARN for a scalable target, use DescribeScalableTargets.
|
3954
|
+
# @return [String]
|
3955
|
+
#
|
3956
|
+
# @!attribute [rw] tag_keys
|
3957
|
+
# One or more tag keys. Specify only the tag keys, not the tag values.
|
3958
|
+
# @return [Array<String>]
|
3959
|
+
#
|
3960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/UntagResourceRequest AWS API Documentation
|
3961
|
+
#
|
3962
|
+
class UntagResourceRequest < Struct.new(
|
3963
|
+
:resource_arn,
|
3964
|
+
:tag_keys)
|
3965
|
+
SENSITIVE = []
|
3966
|
+
include Aws::Structure
|
3967
|
+
end
|
3968
|
+
|
3969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/UntagResourceResponse AWS API Documentation
|
3970
|
+
#
|
3971
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
3972
|
+
|
3615
3973
|
# An exception was thrown for a validation issue. Review the available
|
3616
3974
|
# parameters for the API request.
|
3617
3975
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationautoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|