aws-sdk-applicationautoscaling 1.40.0 → 1.45.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: 881ca63b37cfa9af8ca3c1a8ceaaafebf7b32f74eac13be909b0ffe8214bc56a
4
- data.tar.gz: f2d6a232041e0c37b38da00a6e0531de39cc1f296b8a4f38131bbb3f4bf623c5
3
+ metadata.gz: fd160b93aa5552e28db133a2448af8cbfa5bfa9b485f21bb584bbf64f77560f8
4
+ data.tar.gz: 6ba6d427623db259e1a0b65f85eaa7421dfb7dacd13b34c14eb2a0c3657107dd
5
5
  SHA512:
6
- metadata.gz: 9c447c258b6d251727fbf223bb2a56d8e2f6a34d355b5ba361b591f30198b0beeb6c9b96c56374cc573943d01921706042133bf5972db955757368646060a99f
7
- data.tar.gz: 5edb6ea0ccb53733832e1c3f9ce665958b210d6c0004814998420c1076bbad117c68ce3d81e6e94506be24f8d382f33b0cfa74c00fefa50d88eb3658bb469fce
6
+ metadata.gz: 5d16d1862668888a9ba106dd7d5cf4e3b86074d6e0df7ec848a954f65e5d44aca29172d28801dc1604f2941cfe843b8701040b5c89ebeb5d656b6f4afbd7b797
7
+ data.tar.gz: 224a79fffb817ac17cf5f46d534f5f21ae9b7595e5b375f62b7dd6898968e2b0154f328bd809a0b2066301abe9ca244699eb90727c105f4fad7e6345e9dcf960
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::ApplicationAutoScaling
47
49
 
48
- GEM_VERSION = '1.40.0'
50
+ GEM_VERSION = '1.45.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
 
@@ -81,13 +85,28 @@ module Aws::ApplicationAutoScaling
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::ApplicationAutoScaling
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::ApplicationAutoScaling
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -2301,8 +2320,10 @@ module Aws::ApplicationAutoScaling
2301
2320
  # needed to the minimum capacity limit in response to changing demand.
2302
2321
  #
2303
2322
  # This parameter is required if you are registering a scalable target.
2304
- # For Lambda provisioned concurrency, the minimum value allowed is 0.
2305
- # For all other resources, the minimum value allowed is 1.
2323
+ # For certain resources, the minimum value allowed is 0. This includes
2324
+ # Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
2325
+ # clusters, EMR clusters, and custom resources. For all other resources,
2326
+ # the minimum value allowed is 1.
2306
2327
  #
2307
2328
  # @option params [Integer] :max_capacity
2308
2329
  # The maximum value that you plan to scale out to. When a scaling policy
@@ -2406,7 +2427,7 @@ module Aws::ApplicationAutoScaling
2406
2427
  params: params,
2407
2428
  config: config)
2408
2429
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2409
- context[:gem_version] = '1.40.0'
2430
+ context[:gem_version] = '1.45.0'
2410
2431
  Seahorse::Client::Request.new(handlers, context)
2411
2432
  end
2412
2433
 
@@ -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:
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -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:
@@ -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:
@@ -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
- # The format is
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/&lt;load-balancer-name&gt;/&lt;load-balancer-id&gt;/targetgroup/&lt;target-group-name&gt;/&lt;target-group-id&gt;,
1393
1417
  # where:
1394
1418
  #
@@ -1397,6 +1421,15 @@ module Aws::ApplicationAutoScaling
1397
1421
  #
1398
1422
  # * targetgroup/&lt;target-group-name&gt;/&lt;target-group-id&gt; 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 Lambda provisioned concurrency, the minimum value allowed is 0.
1985
- # For all other resources, the minimum value allowed is 1.
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.40.0
4
+ version: 1.45.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-05-28 00:00:00.000000000 Z
11
+ date: 2020-08-25 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.71.0
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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement