aws-sdk-autoscaling 1.30.0 → 1.31.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
  SHA1:
3
- metadata.gz: 288e141d45f5e335d1ea19f7adf053ebb99939a7
4
- data.tar.gz: 615cee12a5afce59603543ce1a1ce5ba8694cdb4
3
+ metadata.gz: 7f0b41da6d2f8aaee95c7986430ea9badb86d639
4
+ data.tar.gz: 97821e5394d1e3548ada4bc34db15c2635c00795
5
5
  SHA512:
6
- metadata.gz: db683f319a28056e7e7327e3d0a2490ef81dbce65a7c31b1069b53092734a0ff14b09fe978be318c8e24ceac2f68d6e156729f63f9d1b6a965ce5b03eea9ea26
7
- data.tar.gz: e3a7d661058fffee86e78ba3490654e56fcd78c1781e297ae8c2850011ef19555b00062e8d2932849fec0b344f6f585d31f1e124175b549f3b26a9237131fef9
6
+ metadata.gz: fdf2a967ba252d8d898772508f8af0974d7c7d85835a1873fd377a2c2269af616e4bbe302d210cc51c9077c682109c02c551cb0391ff1742c370e692304f9e7c
7
+ data.tar.gz: aec42f5b0c2cfcc7a3b9070f12590ca75eee024187597bc2131a2df40d55c860f33fd00c2b4e508b1b0557e9161ef4980e480036b30ef4fb2a7fe3f298676fd1
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
53
53
  # @service
54
54
  module Aws::AutoScaling
55
55
 
56
- GEM_VERSION = '1.30.0'
56
+ GEM_VERSION = '1.31.0'
57
57
 
58
58
  end
@@ -21,6 +21,7 @@ module Aws::AutoScaling
21
21
  @id = extract_id(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -21,6 +21,7 @@ module Aws::AutoScaling
21
21
  @name = extract_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -547,6 +548,7 @@ module Aws::AutoScaling
547
548
  # target_value: 1.0, # required
548
549
  # disable_scale_in: false,
549
550
  # },
551
+ # enabled: false,
550
552
  # })
551
553
  # @param [Hash] options ({})
552
554
  # @option options [required, String] :policy_name
@@ -641,6 +643,7 @@ module Aws::AutoScaling
641
643
  #
642
644
  #
643
645
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html
646
+ # @option options [Boolean] :enabled
644
647
  # @return [ScalingPolicy]
645
648
  def put_scaling_policy(options = {})
646
649
  options = options.merge(auto_scaling_group_name: @name)
@@ -972,7 +975,15 @@ module Aws::AutoScaling
972
975
  # The maximum amount of time, in seconds, that an instance can be in
973
976
  # service.
974
977
  #
978
+ # For more information, see [Replacing Auto Scaling Instances Based on
979
+ # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
980
+ # Guide*.
981
+ #
975
982
  # Valid Range: Minimum value of 604800.
983
+ #
984
+ #
985
+ #
986
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
976
987
  # @return [AutoScalingGroup]
977
988
  def update(options = {})
978
989
  options = options.merge(auto_scaling_group_name: @name)
@@ -832,8 +832,16 @@ module Aws::AutoScaling
832
832
  # The maximum amount of time, in seconds, that an instance can be in
833
833
  # service.
834
834
  #
835
+ # For more information, see [Replacing Auto Scaling Instances Based on
836
+ # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
837
+ # Guide*.
838
+ #
835
839
  # Valid Range: Minimum value of 604800.
836
840
  #
841
+ #
842
+ #
843
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
844
+ #
837
845
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
838
846
  #
839
847
  #
@@ -2609,6 +2617,7 @@ module Aws::AutoScaling
2609
2617
  # resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.unit #=> String
2610
2618
  # resp.scaling_policies[0].target_tracking_configuration.target_value #=> Float
2611
2619
  # resp.scaling_policies[0].target_tracking_configuration.disable_scale_in #=> Boolean
2620
+ # resp.scaling_policies[0].enabled #=> Boolean
2612
2621
  # resp.next_token #=> String
2613
2622
  #
2614
2623
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies AWS API Documentation
@@ -3870,6 +3879,8 @@ module Aws::AutoScaling
3870
3879
  #
3871
3880
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html
3872
3881
  #
3882
+ # @option params [Boolean] :enabled
3883
+ #
3873
3884
  # @return [Types::PolicyARNType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3874
3885
  #
3875
3886
  # * {Types::PolicyARNType#policy_arn #policy_arn} => String
@@ -3932,6 +3943,7 @@ module Aws::AutoScaling
3932
3943
  # target_value: 1.0, # required
3933
3944
  # disable_scale_in: false,
3934
3945
  # },
3946
+ # enabled: false,
3935
3947
  # })
3936
3948
  #
3937
3949
  # @example Response structure
@@ -4677,8 +4689,16 @@ module Aws::AutoScaling
4677
4689
  # The maximum amount of time, in seconds, that an instance can be in
4678
4690
  # service.
4679
4691
  #
4692
+ # For more information, see [Replacing Auto Scaling Instances Based on
4693
+ # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
4694
+ # Guide*.
4695
+ #
4680
4696
  # Valid Range: Minimum value of 604800.
4681
4697
  #
4698
+ #
4699
+ #
4700
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
4701
+ #
4682
4702
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4683
4703
  #
4684
4704
  #
@@ -4780,7 +4800,7 @@ module Aws::AutoScaling
4780
4800
  params: params,
4781
4801
  config: config)
4782
4802
  context[:gem_name] = 'aws-sdk-autoscaling'
4783
- context[:gem_version] = '1.30.0'
4803
+ context[:gem_version] = '1.31.0'
4784
4804
  Seahorse::Client::Request.new(handlers, context)
4785
4805
  end
4786
4806
 
@@ -206,6 +206,7 @@ module Aws::AutoScaling
206
206
  ScalingActivityStatusCode = Shapes::StringShape.new(name: 'ScalingActivityStatusCode')
207
207
  ScalingPolicies = Shapes::ListShape.new(name: 'ScalingPolicies')
208
208
  ScalingPolicy = Shapes::StructureShape.new(name: 'ScalingPolicy')
209
+ ScalingPolicyEnabled = Shapes::BooleanShape.new(name: 'ScalingPolicyEnabled')
209
210
  ScalingProcessQuery = Shapes::StructureShape.new(name: 'ScalingProcessQuery')
210
211
  ScheduledActionNames = Shapes::ListShape.new(name: 'ScheduledActionNames')
211
212
  ScheduledActionsType = Shapes::StructureShape.new(name: 'ScheduledActionsType')
@@ -853,6 +854,7 @@ module Aws::AutoScaling
853
854
  PutScalingPolicyType.add_member(:step_adjustments, Shapes::ShapeRef.new(shape: StepAdjustments, location_name: "StepAdjustments"))
854
855
  PutScalingPolicyType.add_member(:estimated_instance_warmup, Shapes::ShapeRef.new(shape: EstimatedInstanceWarmup, location_name: "EstimatedInstanceWarmup"))
855
856
  PutScalingPolicyType.add_member(:target_tracking_configuration, Shapes::ShapeRef.new(shape: TargetTrackingConfiguration, location_name: "TargetTrackingConfiguration"))
857
+ PutScalingPolicyType.add_member(:enabled, Shapes::ShapeRef.new(shape: ScalingPolicyEnabled, location_name: "Enabled"))
856
858
  PutScalingPolicyType.struct_class = Types::PutScalingPolicyType
857
859
 
858
860
  PutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
@@ -899,6 +901,7 @@ module Aws::AutoScaling
899
901
  ScalingPolicy.add_member(:estimated_instance_warmup, Shapes::ShapeRef.new(shape: EstimatedInstanceWarmup, location_name: "EstimatedInstanceWarmup"))
900
902
  ScalingPolicy.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "Alarms"))
901
903
  ScalingPolicy.add_member(:target_tracking_configuration, Shapes::ShapeRef.new(shape: TargetTrackingConfiguration, location_name: "TargetTrackingConfiguration"))
904
+ ScalingPolicy.add_member(:enabled, Shapes::ShapeRef.new(shape: ScalingPolicyEnabled, location_name: "Enabled"))
902
905
  ScalingPolicy.struct_class = Types::ScalingPolicy
903
906
 
904
907
  ScalingProcessQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
@@ -24,6 +24,7 @@ module Aws::AutoScaling
24
24
  @id = extract_id(args, options)
25
25
  @data = options.delete(:data)
26
26
  @client = options.delete(:client) || Client.new(options)
27
+ @waiter_block_warned = false
27
28
  end
28
29
 
29
30
  # @!group Read-Only Attributes
@@ -21,6 +21,7 @@ module Aws::AutoScaling
21
21
  @name = extract_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -24,6 +24,7 @@ module Aws::AutoScaling
24
24
  @name = extract_name(args, options)
25
25
  @data = options.delete(:data)
26
26
  @client = options.delete(:client) || Client.new(options)
27
+ @waiter_block_warned = false
27
28
  end
28
29
 
29
30
  # @!group Read-Only Attributes
@@ -24,6 +24,7 @@ module Aws::AutoScaling
24
24
  @name = extract_name(args, options)
25
25
  @data = options.delete(:data)
26
26
  @client = options.delete(:client) || Client.new(options)
27
+ @waiter_block_warned = false
27
28
  end
28
29
 
29
30
  # @!group Read-Only Attributes
@@ -27,6 +27,7 @@ module Aws::AutoScaling
27
27
  @topic_arn = extract_topic_arn(args, options)
28
28
  @data = options.delete(:data)
29
29
  @client = options.delete(:client) || Client.new(options)
30
+ @waiter_block_warned = false
30
31
  end
31
32
 
32
33
  # @!group Read-Only Attributes
@@ -304,7 +304,15 @@ module Aws::AutoScaling
304
304
  # The maximum amount of time, in seconds, that an instance can be in
305
305
  # service.
306
306
  #
307
+ # For more information, see [Replacing Auto Scaling Instances Based on
308
+ # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
309
+ # Guide*.
310
+ #
307
311
  # Valid Range: Minimum value of 604800.
312
+ #
313
+ #
314
+ #
315
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
308
316
  # @return [AutoScalingGroup]
309
317
  def create_group(options = {})
310
318
  resp = @client.create_auto_scaling_group(options)
@@ -21,6 +21,7 @@ module Aws::AutoScaling
21
21
  @name = extract_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -122,6 +123,11 @@ module Aws::AutoScaling
122
123
  data[:target_tracking_configuration]
123
124
  end
124
125
 
126
+ # @return [Boolean]
127
+ def enabled
128
+ data[:enabled]
129
+ end
130
+
125
131
  # @!endgroup
126
132
 
127
133
  # @return [Client]
@@ -21,6 +21,7 @@ module Aws::AutoScaling
21
21
  @name = extract_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -27,6 +27,7 @@ module Aws::AutoScaling
27
27
  @resource_type = extract_resource_type(args, options)
28
28
  @data = options.delete(:data)
29
29
  @client = options.delete(:client) || Client.new(options)
30
+ @waiter_block_warned = false
30
31
  end
31
32
 
32
33
  # @!group Read-Only Attributes
@@ -1039,7 +1039,15 @@ module Aws::AutoScaling
1039
1039
  # The maximum amount of time, in seconds, that an instance can be in
1040
1040
  # service.
1041
1041
  #
1042
+ # For more information, see [Replacing Auto Scaling Instances Based on
1043
+ # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
1044
+ # Guide*.
1045
+ #
1042
1046
  # Valid Range: Minimum value of 604800.
1047
+ #
1048
+ #
1049
+ #
1050
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
1043
1051
  # @return [Integer]
1044
1052
  #
1045
1053
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
@@ -3280,7 +3288,14 @@ module Aws::AutoScaling
3280
3288
  # capacity in terms of instances, or a performance attribute such as
3281
3289
  # vCPUs, memory, or I/O.
3282
3290
  #
3291
+ # For more information, see [Instance Weighting for Amazon EC2 Auto
3292
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
3293
+ #
3283
3294
  # Valid Range: Minimum value of 1. Maximum value of 999.
3295
+ #
3296
+ #
3297
+ #
3298
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html
3284
3299
  # @return [String]
3285
3300
  #
3286
3301
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateOverrides AWS API Documentation
@@ -4113,6 +4128,7 @@ module Aws::AutoScaling
4113
4128
  # target_value: 1.0, # required
4114
4129
  # disable_scale_in: false,
4115
4130
  # },
4131
+ # enabled: false,
4116
4132
  # }
4117
4133
  #
4118
4134
  # @!attribute [rw] auto_scaling_group_name
@@ -4233,6 +4249,9 @@ module Aws::AutoScaling
4233
4249
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html
4234
4250
  # @return [Types::TargetTrackingConfiguration]
4235
4251
  #
4252
+ # @!attribute [rw] enabled
4253
+ # @return [Boolean]
4254
+ #
4236
4255
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicyType AWS API Documentation
4237
4256
  #
4238
4257
  class PutScalingPolicyType < Struct.new(
@@ -4247,7 +4266,8 @@ module Aws::AutoScaling
4247
4266
  :metric_aggregation_type,
4248
4267
  :step_adjustments,
4249
4268
  :estimated_instance_warmup,
4250
- :target_tracking_configuration)
4269
+ :target_tracking_configuration,
4270
+ :enabled)
4251
4271
  include Aws::Structure
4252
4272
  end
4253
4273
 
@@ -4493,6 +4513,9 @@ module Aws::AutoScaling
4493
4513
  # A target tracking scaling policy.
4494
4514
  # @return [Types::TargetTrackingConfiguration]
4495
4515
  #
4516
+ # @!attribute [rw] enabled
4517
+ # @return [Boolean]
4518
+ #
4496
4519
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingPolicy AWS API Documentation
4497
4520
  #
4498
4521
  class ScalingPolicy < Struct.new(
@@ -4509,7 +4532,8 @@ module Aws::AutoScaling
4509
4532
  :metric_aggregation_type,
4510
4533
  :estimated_instance_warmup,
4511
4534
  :alarms,
4512
- :target_tracking_configuration)
4535
+ :target_tracking_configuration,
4536
+ :enabled)
4513
4537
  include Aws::Structure
4514
4538
  end
4515
4539
 
@@ -5331,7 +5355,15 @@ module Aws::AutoScaling
5331
5355
  # The maximum amount of time, in seconds, that an instance can be in
5332
5356
  # service.
5333
5357
  #
5358
+ # For more information, see [Replacing Auto Scaling Instances Based on
5359
+ # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
5360
+ # Guide*.
5361
+ #
5334
5362
  # Valid Range: Minimum value of 604800.
5363
+ #
5364
+ #
5365
+ #
5366
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
5335
5367
  # @return [Integer]
5336
5368
  #
5337
5369
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.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: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2020-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core