aws-sdk-applicationautoscaling 1.39.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-applicationautoscaling.rb +3 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +11 -5
- data/lib/aws-sdk-applicationautoscaling/client_api.rb +2 -0
- data/lib/aws-sdk-applicationautoscaling/customizations.rb +1 -0
- data/lib/aws-sdk-applicationautoscaling/errors.rb +2 -0
- data/lib/aws-sdk-applicationautoscaling/resource.rb +2 -0
- data/lib/aws-sdk-applicationautoscaling/types.rb +53 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6be7038510697036e58faa78fa96d340d85a4a7158bfcbf6d5a22d42d33f204
|
4
|
+
data.tar.gz: 114b500bd5fc338634ae544ae1b87e501e82a67ac28dae55d60416607d5bcb8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a926d9e285c1a4b7ed83ec4638f96dd7f650f348219c332d7b6464e3d3d01e0f91f9eaa15cf8461fe95918b5c245024bb53d6150323257f762717bef96366f0
|
7
|
+
data.tar.gz: 0b52164e994e50545f1881349a868549246e33195fad5abba742d672f539fb1bc80f8d21fc3dad11f1de42ba10602694b65f6fe9faf1a9c315df423c22602a4b
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::ApplicationAutoScaling
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.44.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::ApplicationAutoScaling
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::ApplicationAutoScaling
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::ApplicationAutoScaling
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -2301,8 +2305,10 @@ module Aws::ApplicationAutoScaling
|
|
2301
2305
|
# needed to the minimum capacity limit in response to changing demand.
|
2302
2306
|
#
|
2303
2307
|
# This parameter is required if you are registering a scalable target.
|
2304
|
-
# For
|
2305
|
-
#
|
2308
|
+
# For certain resources, the minimum value allowed is 0. This includes
|
2309
|
+
# Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
|
2310
|
+
# clusters, EMR clusters, and custom resources. For all other resources,
|
2311
|
+
# the minimum value allowed is 1.
|
2306
2312
|
#
|
2307
2313
|
# @option params [Integer] :max_capacity
|
2308
2314
|
# The maximum value that you plan to scale out to. When a scaling policy
|
@@ -2406,7 +2412,7 @@ module Aws::ApplicationAutoScaling
|
|
2406
2412
|
params: params,
|
2407
2413
|
config: config)
|
2408
2414
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
2409
|
-
context[:gem_version] = '1.
|
2415
|
+
context[:gem_version] = '1.44.0'
|
2410
2416
|
Seahorse::Client::Request.new(handlers, context)
|
2411
2417
|
end
|
2412
2418
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -23,6 +25,7 @@ module Aws::ApplicationAutoScaling
|
|
23
25
|
class Alarm < Struct.new(
|
24
26
|
:alarm_name,
|
25
27
|
:alarm_arn)
|
28
|
+
SENSITIVE = []
|
26
29
|
include Aws::Structure
|
27
30
|
end
|
28
31
|
|
@@ -37,6 +40,7 @@ module Aws::ApplicationAutoScaling
|
|
37
40
|
#
|
38
41
|
class ConcurrentUpdateException < Struct.new(
|
39
42
|
:message)
|
43
|
+
SENSITIVE = []
|
40
44
|
include Aws::Structure
|
41
45
|
end
|
42
46
|
|
@@ -117,6 +121,7 @@ module Aws::ApplicationAutoScaling
|
|
117
121
|
:dimensions,
|
118
122
|
:statistic,
|
119
123
|
:unit)
|
124
|
+
SENSITIVE = []
|
120
125
|
include Aws::Structure
|
121
126
|
end
|
122
127
|
|
@@ -257,6 +262,7 @@ module Aws::ApplicationAutoScaling
|
|
257
262
|
:service_namespace,
|
258
263
|
:resource_id,
|
259
264
|
:scalable_dimension)
|
265
|
+
SENSITIVE = []
|
260
266
|
include Aws::Structure
|
261
267
|
end
|
262
268
|
|
@@ -401,6 +407,7 @@ module Aws::ApplicationAutoScaling
|
|
401
407
|
:scheduled_action_name,
|
402
408
|
:resource_id,
|
403
409
|
:scalable_dimension)
|
410
|
+
SENSITIVE = []
|
404
411
|
include Aws::Structure
|
405
412
|
end
|
406
413
|
|
@@ -540,6 +547,7 @@ module Aws::ApplicationAutoScaling
|
|
540
547
|
:service_namespace,
|
541
548
|
:resource_id,
|
542
549
|
:scalable_dimension)
|
550
|
+
SENSITIVE = []
|
543
551
|
include Aws::Structure
|
544
552
|
end
|
545
553
|
|
@@ -701,6 +709,7 @@ module Aws::ApplicationAutoScaling
|
|
701
709
|
:scalable_dimension,
|
702
710
|
:max_results,
|
703
711
|
:next_token)
|
712
|
+
SENSITIVE = []
|
704
713
|
include Aws::Structure
|
705
714
|
end
|
706
715
|
|
@@ -718,6 +727,7 @@ module Aws::ApplicationAutoScaling
|
|
718
727
|
class DescribeScalableTargetsResponse < Struct.new(
|
719
728
|
:scalable_targets,
|
720
729
|
:next_token)
|
730
|
+
SENSITIVE = []
|
721
731
|
include Aws::Structure
|
722
732
|
end
|
723
733
|
|
@@ -874,6 +884,7 @@ module Aws::ApplicationAutoScaling
|
|
874
884
|
:scalable_dimension,
|
875
885
|
:max_results,
|
876
886
|
:next_token)
|
887
|
+
SENSITIVE = []
|
877
888
|
include Aws::Structure
|
878
889
|
end
|
879
890
|
|
@@ -891,6 +902,7 @@ module Aws::ApplicationAutoScaling
|
|
891
902
|
class DescribeScalingActivitiesResponse < Struct.new(
|
892
903
|
:scaling_activities,
|
893
904
|
:next_token)
|
905
|
+
SENSITIVE = []
|
894
906
|
include Aws::Structure
|
895
907
|
end
|
896
908
|
|
@@ -1053,6 +1065,7 @@ module Aws::ApplicationAutoScaling
|
|
1053
1065
|
:scalable_dimension,
|
1054
1066
|
:max_results,
|
1055
1067
|
:next_token)
|
1068
|
+
SENSITIVE = []
|
1056
1069
|
include Aws::Structure
|
1057
1070
|
end
|
1058
1071
|
|
@@ -1070,6 +1083,7 @@ module Aws::ApplicationAutoScaling
|
|
1070
1083
|
class DescribeScalingPoliciesResponse < Struct.new(
|
1071
1084
|
:scaling_policies,
|
1072
1085
|
:next_token)
|
1086
|
+
SENSITIVE = []
|
1073
1087
|
include Aws::Structure
|
1074
1088
|
end
|
1075
1089
|
|
@@ -1232,6 +1246,7 @@ module Aws::ApplicationAutoScaling
|
|
1232
1246
|
:scalable_dimension,
|
1233
1247
|
:max_results,
|
1234
1248
|
:next_token)
|
1249
|
+
SENSITIVE = []
|
1235
1250
|
include Aws::Structure
|
1236
1251
|
end
|
1237
1252
|
|
@@ -1249,6 +1264,7 @@ module Aws::ApplicationAutoScaling
|
|
1249
1264
|
class DescribeScheduledActionsResponse < Struct.new(
|
1250
1265
|
:scheduled_actions,
|
1251
1266
|
:next_token)
|
1267
|
+
SENSITIVE = []
|
1252
1268
|
include Aws::Structure
|
1253
1269
|
end
|
1254
1270
|
|
@@ -1269,6 +1285,7 @@ module Aws::ApplicationAutoScaling
|
|
1269
1285
|
#
|
1270
1286
|
class FailedResourceAccessException < Struct.new(
|
1271
1287
|
:message)
|
1288
|
+
SENSITIVE = []
|
1272
1289
|
include Aws::Structure
|
1273
1290
|
end
|
1274
1291
|
|
@@ -1281,6 +1298,7 @@ module Aws::ApplicationAutoScaling
|
|
1281
1298
|
#
|
1282
1299
|
class InternalServiceException < Struct.new(
|
1283
1300
|
:message)
|
1301
|
+
SENSITIVE = []
|
1284
1302
|
include Aws::Structure
|
1285
1303
|
end
|
1286
1304
|
|
@@ -1293,6 +1311,7 @@ module Aws::ApplicationAutoScaling
|
|
1293
1311
|
#
|
1294
1312
|
class InvalidNextTokenException < Struct.new(
|
1295
1313
|
:message)
|
1314
|
+
SENSITIVE = []
|
1296
1315
|
include Aws::Structure
|
1297
1316
|
end
|
1298
1317
|
|
@@ -1310,6 +1329,7 @@ module Aws::ApplicationAutoScaling
|
|
1310
1329
|
#
|
1311
1330
|
class LimitExceededException < Struct.new(
|
1312
1331
|
:message)
|
1332
|
+
SENSITIVE = []
|
1313
1333
|
include Aws::Structure
|
1314
1334
|
end
|
1315
1335
|
|
@@ -1336,6 +1356,7 @@ module Aws::ApplicationAutoScaling
|
|
1336
1356
|
class MetricDimension < Struct.new(
|
1337
1357
|
:name,
|
1338
1358
|
:value)
|
1359
|
+
SENSITIVE = []
|
1339
1360
|
include Aws::Structure
|
1340
1361
|
end
|
1341
1362
|
|
@@ -1353,6 +1374,7 @@ module Aws::ApplicationAutoScaling
|
|
1353
1374
|
#
|
1354
1375
|
class ObjectNotFoundException < Struct.new(
|
1355
1376
|
:message)
|
1377
|
+
SENSITIVE = []
|
1356
1378
|
include Aws::Structure
|
1357
1379
|
end
|
1358
1380
|
|
@@ -1388,7 +1410,9 @@ module Aws::ApplicationAutoScaling
|
|
1388
1410
|
# `ALBRequestCountPerTarget` and there is a target group attached to
|
1389
1411
|
# the Spot Fleet request or ECS service.
|
1390
1412
|
#
|
1391
|
-
#
|
1413
|
+
# Elastic Load Balancing sends data about your load balancers to
|
1414
|
+
# Amazon CloudWatch. CloudWatch collects the data and specifies the
|
1415
|
+
# format to use to access the data. The format is
|
1392
1416
|
# app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>,
|
1393
1417
|
# where:
|
1394
1418
|
#
|
@@ -1397,6 +1421,15 @@ module Aws::ApplicationAutoScaling
|
|
1397
1421
|
#
|
1398
1422
|
# * targetgroup/<target-group-name>/<target-group-id> is
|
1399
1423
|
# the final portion of the target group ARN.
|
1424
|
+
#
|
1425
|
+
# To find the ARN for an Application Load Balancer, use the
|
1426
|
+
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
1427
|
+
# target group, use the [DescribeTargetGroups][2] API operation.
|
1428
|
+
#
|
1429
|
+
#
|
1430
|
+
#
|
1431
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html
|
1432
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
|
1400
1433
|
# @return [String]
|
1401
1434
|
#
|
1402
1435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredefinedMetricSpecification AWS API Documentation
|
@@ -1404,6 +1437,7 @@ module Aws::ApplicationAutoScaling
|
|
1404
1437
|
class PredefinedMetricSpecification < Struct.new(
|
1405
1438
|
:predefined_metric_type,
|
1406
1439
|
:resource_label)
|
1440
|
+
SENSITIVE = []
|
1407
1441
|
include Aws::Structure
|
1408
1442
|
end
|
1409
1443
|
|
@@ -1619,6 +1653,7 @@ module Aws::ApplicationAutoScaling
|
|
1619
1653
|
:policy_type,
|
1620
1654
|
:step_scaling_policy_configuration,
|
1621
1655
|
:target_tracking_scaling_policy_configuration)
|
1656
|
+
SENSITIVE = []
|
1622
1657
|
include Aws::Structure
|
1623
1658
|
end
|
1624
1659
|
|
@@ -1636,6 +1671,7 @@ module Aws::ApplicationAutoScaling
|
|
1636
1671
|
class PutScalingPolicyResponse < Struct.new(
|
1637
1672
|
:policy_arn,
|
1638
1673
|
:alarms)
|
1674
|
+
SENSITIVE = []
|
1639
1675
|
include Aws::Structure
|
1640
1676
|
end
|
1641
1677
|
|
@@ -1832,6 +1868,7 @@ module Aws::ApplicationAutoScaling
|
|
1832
1868
|
:start_time,
|
1833
1869
|
:end_time,
|
1834
1870
|
:scalable_target_action)
|
1871
|
+
SENSITIVE = []
|
1835
1872
|
include Aws::Structure
|
1836
1873
|
end
|
1837
1874
|
|
@@ -1981,8 +2018,10 @@ module Aws::ApplicationAutoScaling
|
|
1981
2018
|
# changing demand.
|
1982
2019
|
#
|
1983
2020
|
# This parameter is required if you are registering a scalable target.
|
1984
|
-
# For
|
1985
|
-
#
|
2021
|
+
# For certain resources, the minimum value allowed is 0. This includes
|
2022
|
+
# Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
|
2023
|
+
# clusters, EMR clusters, and custom resources. For all other
|
2024
|
+
# resources, the minimum value allowed is 1.
|
1986
2025
|
# @return [Integer]
|
1987
2026
|
#
|
1988
2027
|
# @!attribute [rw] max_capacity
|
@@ -2049,6 +2088,7 @@ module Aws::ApplicationAutoScaling
|
|
2049
2088
|
:max_capacity,
|
2050
2089
|
:role_arn,
|
2051
2090
|
:suspended_state)
|
2091
|
+
SENSITIVE = []
|
2052
2092
|
include Aws::Structure
|
2053
2093
|
end
|
2054
2094
|
|
@@ -2207,6 +2247,7 @@ module Aws::ApplicationAutoScaling
|
|
2207
2247
|
:role_arn,
|
2208
2248
|
:creation_time,
|
2209
2249
|
:suspended_state)
|
2250
|
+
SENSITIVE = []
|
2210
2251
|
include Aws::Structure
|
2211
2252
|
end
|
2212
2253
|
|
@@ -2236,6 +2277,7 @@ module Aws::ApplicationAutoScaling
|
|
2236
2277
|
class ScalableTargetAction < Struct.new(
|
2237
2278
|
:min_capacity,
|
2238
2279
|
:max_capacity)
|
2280
|
+
SENSITIVE = []
|
2239
2281
|
include Aws::Structure
|
2240
2282
|
end
|
2241
2283
|
|
@@ -2403,6 +2445,7 @@ module Aws::ApplicationAutoScaling
|
|
2403
2445
|
:status_code,
|
2404
2446
|
:status_message,
|
2405
2447
|
:details)
|
2448
|
+
SENSITIVE = []
|
2406
2449
|
include Aws::Structure
|
2407
2450
|
end
|
2408
2451
|
|
@@ -2564,6 +2607,7 @@ module Aws::ApplicationAutoScaling
|
|
2564
2607
|
:target_tracking_scaling_policy_configuration,
|
2565
2608
|
:alarms,
|
2566
2609
|
:creation_time)
|
2610
|
+
SENSITIVE = []
|
2567
2611
|
include Aws::Structure
|
2568
2612
|
end
|
2569
2613
|
|
@@ -2753,6 +2797,7 @@ module Aws::ApplicationAutoScaling
|
|
2753
2797
|
:end_time,
|
2754
2798
|
:scalable_target_action,
|
2755
2799
|
:creation_time)
|
2800
|
+
SENSITIVE = []
|
2756
2801
|
include Aws::Structure
|
2757
2802
|
end
|
2758
2803
|
|
@@ -2832,6 +2877,7 @@ module Aws::ApplicationAutoScaling
|
|
2832
2877
|
:metric_interval_lower_bound,
|
2833
2878
|
:metric_interval_upper_bound,
|
2834
2879
|
:scaling_adjustment)
|
2880
|
+
SENSITIVE = []
|
2835
2881
|
include Aws::Structure
|
2836
2882
|
end
|
2837
2883
|
|
@@ -2957,6 +3003,7 @@ module Aws::ApplicationAutoScaling
|
|
2957
3003
|
:min_adjustment_magnitude,
|
2958
3004
|
:cooldown,
|
2959
3005
|
:metric_aggregation_type)
|
3006
|
+
SENSITIVE = []
|
2960
3007
|
include Aws::Structure
|
2961
3008
|
end
|
2962
3009
|
|
@@ -2998,6 +3045,7 @@ module Aws::ApplicationAutoScaling
|
|
2998
3045
|
:dynamic_scaling_in_suspended,
|
2999
3046
|
:dynamic_scaling_out_suspended,
|
3000
3047
|
:scheduled_scaling_suspended)
|
3048
|
+
SENSITIVE = []
|
3001
3049
|
include Aws::Structure
|
3002
3050
|
end
|
3003
3051
|
|
@@ -3147,6 +3195,7 @@ module Aws::ApplicationAutoScaling
|
|
3147
3195
|
:scale_out_cooldown,
|
3148
3196
|
:scale_in_cooldown,
|
3149
3197
|
:disable_scale_in)
|
3198
|
+
SENSITIVE = []
|
3150
3199
|
include Aws::Structure
|
3151
3200
|
end
|
3152
3201
|
|
@@ -3160,6 +3209,7 @@ module Aws::ApplicationAutoScaling
|
|
3160
3209
|
#
|
3161
3210
|
class ValidationException < Struct.new(
|
3162
3211
|
:message)
|
3212
|
+
SENSITIVE = []
|
3163
3213
|
include Aws::Structure
|
3164
3214
|
end
|
3165
3215
|
|
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.44.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: 2020-
|
11
|
+
date: 2020-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|