aws-sdk-autoscaling 1.94.0 → 1.95.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: 27cabd6f3af2910b8bff8942e47b97fd94b2f1c0aa3098a259aced8864e996f1
4
- data.tar.gz: 8cd7387afb7166fb30259f24336ed752972aff5d3d8c227d2309f8295c7eeea5
3
+ metadata.gz: 8f7101c25795cc4d44eebcd18de78dbf0958d49e159ee41ceafe2b70420cac63
4
+ data.tar.gz: 87c91e27553e07ee18b76df846fc514a487d0d205a043987aa940f77008a132d
5
5
  SHA512:
6
- metadata.gz: feb57bdb0b98f3e29f0343afe610fd3344363583d50f961e1d85cde63ce637f6858714076185243ec46b41e6fade0fa4f4f02b392f1a18c74b7b44dd977976e3
7
- data.tar.gz: d857bad9d0fc3ee9d8f64f206515c6aa284508d66201d79047dabe5ce9b5f2dc412c02f57cfbb560f8991da3ddc5466ea4445fd2402ef9de44b3889202f28e81
6
+ metadata.gz: 4b126edf79b138b29a29dcf25f15bbc30613307aed1e98efa3309f942df8d302481f377dae780bf7dce8079dc641ea3cbe72b9f3f6e83457625312ff222917a8
7
+ data.tar.gz: 3675ba45cc4c825e86b96fa23347252450c866c744217b107b06051c4664e542212254e1c4fb3d146a7de6083fe1a69f401bb9dbba3d0348ab28221b611bf397
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2023-07-27)
5
+ ------------------
6
+
7
+ * Feature - This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy.
8
+
4
9
  1.94.0 (2023-07-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.95.0
@@ -861,7 +861,7 @@ module Aws::AutoScaling
861
861
  # The amount by which to scale, based on the specified adjustment type.
862
862
  # A positive value adds to the current capacity while a negative number
863
863
  # removes from the current capacity. For exact capacity, you must
864
- # specify a positive value.
864
+ # specify a non-negative value.
865
865
  #
866
866
  # Required if the policy type is `SimpleScaling`. (Not used with any
867
867
  # other policy type.)
@@ -829,12 +829,12 @@ module Aws::AutoScaling
829
829
  # 6. **If you finish before the timeout period ends, send a callback by
830
830
  # using the CompleteLifecycleAction API call.**
831
831
  #
832
- # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
833
- # in the *Amazon EC2 Auto Scaling User Guide*.
832
+ # For more information, see [Complete a lifecycle action][1] in the
833
+ # *Amazon EC2 Auto Scaling User Guide*.
834
834
  #
835
835
  #
836
836
  #
837
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
837
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/completing-lifecycle-hooks.html
838
838
  #
839
839
  # @option params [required, String] :lifecycle_hook_name
840
840
  # The name of the lifecycle hook.
@@ -2352,14 +2352,16 @@ module Aws::AutoScaling
2352
2352
  # {
2353
2353
  # auto_scaling_groups: [
2354
2354
  # {
2355
- # auto_scaling_group_arn: "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:930d940e-891e-4781-a11a-7b0acd480f03:autoScalingGroupName/my-auto-scaling-group",
2355
+ # auto_scaling_group_arn: "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
2356
2356
  # auto_scaling_group_name: "my-auto-scaling-group",
2357
2357
  # availability_zones: [
2358
+ # "us-west-2a",
2359
+ # "us-west-2b",
2358
2360
  # "us-west-2c",
2359
2361
  # ],
2360
- # created_time: Time.parse("2013-08-19T20:53:25.584Z"),
2362
+ # created_time: Time.parse("2023-03-09T22:15:11.611Z"),
2361
2363
  # default_cooldown: 300,
2362
- # desired_capacity: 1,
2364
+ # desired_capacity: 2,
2363
2365
  # enabled_metrics: [
2364
2366
  # ],
2365
2367
  # health_check_grace_period: 300,
@@ -2368,7 +2370,17 @@ module Aws::AutoScaling
2368
2370
  # {
2369
2371
  # availability_zone: "us-west-2c",
2370
2372
  # health_status: "Healthy",
2371
- # instance_id: "i-4ba0837f",
2373
+ # instance_id: "i-05b4f7d5be44822a6",
2374
+ # instance_type: "t3.micro",
2375
+ # launch_configuration_name: "my-launch-config",
2376
+ # lifecycle_state: "InService",
2377
+ # protected_from_scale_in: false,
2378
+ # },
2379
+ # {
2380
+ # availability_zone: "us-west-2b",
2381
+ # health_status: "Healthy",
2382
+ # instance_id: "i-0c20ac468fa3049e8",
2383
+ # instance_type: "t3.micro",
2372
2384
  # launch_configuration_name: "my-launch-config",
2373
2385
  # lifecycle_state: "InService",
2374
2386
  # protected_from_scale_in: false,
@@ -2377,17 +2389,22 @@ module Aws::AutoScaling
2377
2389
  # launch_configuration_name: "my-launch-config",
2378
2390
  # load_balancer_names: [
2379
2391
  # ],
2380
- # max_size: 1,
2381
- # min_size: 0,
2392
+ # max_size: 5,
2393
+ # min_size: 1,
2382
2394
  # new_instances_protected_from_scale_in: false,
2395
+ # service_linked_role_arn: "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
2383
2396
  # suspended_processes: [
2384
2397
  # ],
2385
2398
  # tags: [
2386
2399
  # ],
2400
+ # target_group_arns: [
2401
+ # ],
2387
2402
  # termination_policies: [
2388
2403
  # "Default",
2389
2404
  # ],
2390
- # vpc_zone_identifier: "subnet-12345678",
2405
+ # traffic_sources: [
2406
+ # ],
2407
+ # vpc_zone_identifier: "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782",
2391
2408
  # },
2392
2409
  # ],
2393
2410
  # }
@@ -2579,7 +2596,7 @@ module Aws::AutoScaling
2579
2596
  #
2580
2597
  # resp = client.describe_auto_scaling_instances({
2581
2598
  # instance_ids: [
2582
- # "i-4ba0837f",
2599
+ # "i-05b4f7d5be44822a6",
2583
2600
  # ],
2584
2601
  # })
2585
2602
  #
@@ -2590,7 +2607,8 @@ module Aws::AutoScaling
2590
2607
  # auto_scaling_group_name: "my-auto-scaling-group",
2591
2608
  # availability_zone: "us-west-2c",
2592
2609
  # health_status: "HEALTHY",
2593
- # instance_id: "i-4ba0837f",
2610
+ # instance_id: "i-05b4f7d5be44822a6",
2611
+ # instance_type: "t3.micro",
2594
2612
  # launch_configuration_name: "my-launch-config",
2595
2613
  # lifecycle_state: "InService",
2596
2614
  # protected_from_scale_in: false,
@@ -2726,18 +2744,35 @@ module Aws::AutoScaling
2726
2744
  # {
2727
2745
  # auto_scaling_group_name: "my-auto-scaling-group",
2728
2746
  # instance_refresh_id: "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
2729
- # instances_to_update: 5,
2730
- # percentage_complete: 0,
2731
- # start_time: Time.parse("2020-06-02T18:11:27Z"),
2747
+ # instances_to_update: 0,
2748
+ # percentage_complete: 50,
2749
+ # preferences: {
2750
+ # auto_rollback: true,
2751
+ # instance_warmup: 60,
2752
+ # min_healthy_percentage: 90,
2753
+ # scale_in_protected_instances: "Ignore",
2754
+ # skip_matching: false,
2755
+ # standby_instances: "Ignore",
2756
+ # },
2757
+ # start_time: Time.parse("2023-06-13T16:46:52+00:00"),
2732
2758
  # status: "InProgress",
2759
+ # status_reason: "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up.",
2733
2760
  # },
2734
2761
  # {
2735
2762
  # auto_scaling_group_name: "my-auto-scaling-group",
2736
- # end_time: Time.parse("2020-06-02T16:53:37Z"),
2737
- # instance_refresh_id: "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1",
2763
+ # end_time: Time.parse("2023-06-02T13:59:45+00:00"),
2764
+ # instance_refresh_id: "0e151305-1e57-4a32-a256-1fd14157c5ec",
2738
2765
  # instances_to_update: 0,
2739
2766
  # percentage_complete: 100,
2740
- # start_time: Time.parse("2020-06-02T16:43:19Z"),
2767
+ # preferences: {
2768
+ # auto_rollback: true,
2769
+ # instance_warmup: 60,
2770
+ # min_healthy_percentage: 90,
2771
+ # scale_in_protected_instances: "Ignore",
2772
+ # skip_matching: false,
2773
+ # standby_instances: "Ignore",
2774
+ # },
2775
+ # start_time: Time.parse("2023-06-02T13:53:37+00:00"),
2741
2776
  # status: "Successful",
2742
2777
  # },
2743
2778
  # ],
@@ -3674,6 +3709,7 @@ module Aws::AutoScaling
3674
3709
  # activities: [
3675
3710
  # {
3676
3711
  # activity_id: "f9f2d65b-f1f2-43e7-b46d-d86756459699",
3712
+ # auto_scaling_group_arn: "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
3677
3713
  # auto_scaling_group_name: "my-auto-scaling-group",
3678
3714
  # cause: "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
3679
3715
  # description: "Launching a new EC2 instance: i-4ba0837f",
@@ -4148,6 +4184,8 @@ module Aws::AutoScaling
4148
4184
  # * {Types::DescribeWarmPoolAnswer#instances #instances} => Array<Types::Instance>
4149
4185
  # * {Types::DescribeWarmPoolAnswer#next_token #next_token} => String
4150
4186
  #
4187
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4188
+ #
4151
4189
  # @example Request syntax with placeholder values
4152
4190
  #
4153
4191
  # resp = client.describe_warm_pool({
@@ -4405,7 +4443,7 @@ module Aws::AutoScaling
4405
4443
  # Detaches one or more traffic sources from the specified Auto Scaling
4406
4444
  # group.
4407
4445
  #
4408
- # When you detach a taffic, it enters the `Removing` state while
4446
+ # When you detach a traffic source, it enters the `Removing` state while
4409
4447
  # deregistering the instances in the group. When all instances are
4410
4448
  # deregistered, then you can no longer describe the traffic source using
4411
4449
  # the DescribeTrafficSources API call. The instances continue to run.
@@ -5309,7 +5347,7 @@ module Aws::AutoScaling
5309
5347
  # The amount by which to scale, based on the specified adjustment type.
5310
5348
  # A positive value adds to the current capacity while a negative number
5311
5349
  # removes from the current capacity. For exact capacity, you must
5312
- # specify a positive value.
5350
+ # specify a non-negative value.
5313
5351
  #
5314
5352
  # Required if the policy type is `SimpleScaling`. (Not used with any
5315
5353
  # other policy type.)
@@ -6033,7 +6071,7 @@ module Aws::AutoScaling
6033
6071
  #
6034
6072
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
6035
6073
  #
6036
- # @option params [String] :auto_scaling_group_name
6074
+ # @option params [required, String] :auto_scaling_group_name
6037
6075
  # The name of the Auto Scaling group.
6038
6076
  #
6039
6077
  # @return [Types::RollbackInstanceRefreshAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -6043,7 +6081,7 @@ module Aws::AutoScaling
6043
6081
  # @example Request syntax with placeholder values
6044
6082
  #
6045
6083
  # resp = client.rollback_instance_refresh({
6046
- # auto_scaling_group_name: "XmlStringMaxLen255",
6084
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
6047
6085
  # })
6048
6086
  #
6049
6087
  # @example Response structure
@@ -7025,7 +7063,7 @@ module Aws::AutoScaling
7025
7063
  params: params,
7026
7064
  config: config)
7027
7065
  context[:gem_name] = 'aws-sdk-autoscaling'
7028
- context[:gem_version] = '1.94.0'
7066
+ context[:gem_version] = '1.95.0'
7029
7067
  Seahorse::Client::Request.new(handlers, context)
7030
7068
  end
7031
7069
 
@@ -1330,7 +1330,7 @@ module Aws::AutoScaling
1330
1330
  RollbackInstanceRefreshAnswer.add_member(:instance_refresh_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceRefreshId"))
1331
1331
  RollbackInstanceRefreshAnswer.struct_class = Types::RollbackInstanceRefreshAnswer
1332
1332
 
1333
- RollbackInstanceRefreshType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
1333
+ RollbackInstanceRefreshType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
1334
1334
  RollbackInstanceRefreshType.struct_class = Types::RollbackInstanceRefreshType
1335
1335
 
1336
1336
  ScalingActivityInProgressFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
@@ -2009,6 +2009,12 @@ module Aws::AutoScaling
2009
2009
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
2010
2010
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
2011
2011
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
2012
+ o[:pager] = Aws::Pager.new(
2013
+ limit_key: "max_records",
2014
+ tokens: {
2015
+ "next_token" => "next_token"
2016
+ }
2017
+ )
2012
2018
  end)
2013
2019
 
2014
2020
  api.add_operation(:detach_instances, Seahorse::Model::Operation.new.tap do |o|
@@ -5842,7 +5842,7 @@ module Aws::AutoScaling
5842
5842
  # The amount by which to scale, based on the specified adjustment
5843
5843
  # type. A positive value adds to the current capacity while a negative
5844
5844
  # number removes from the current capacity. For exact capacity, you
5845
- # must specify a positive value.
5845
+ # must specify a non-negative value.
5846
5846
  #
5847
5847
  # Required if the policy type is `SimpleScaling`. (Not used with any
5848
5848
  # other policy type.)
@@ -6986,13 +6986,8 @@ module Aws::AutoScaling
6986
6986
  # @!attribute [rw] scaling_adjustment
6987
6987
  # The amount by which to scale, based on the specified adjustment
6988
6988
  # type. A positive value adds to the current capacity while a negative
6989
- # number removes from the current capacity.
6990
- #
6991
- # The amount by which to scale. The adjustment is based on the value
6992
- # that you specified in the `AdjustmentType` property (either an
6993
- # absolute number or a percentage). A positive value adds to the
6994
- # current capacity and a negative number subtracts from the current
6995
- # capacity.
6989
+ # number removes from the current capacity. For exact capacity, you
6990
+ # must specify a non-negative value.
6996
6991
  # @return [Integer]
6997
6992
  #
6998
6993
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StepAdjustment AWS API Documentation
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
63
63
  # @!group service
64
64
  module Aws::AutoScaling
65
65
 
66
- GEM_VERSION = '1.94.0'
66
+ GEM_VERSION = '1.95.0'
67
67
 
68
68
  end
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.94.0
4
+ version: 1.95.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-07-11 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core