aws-sdk-autoscaling 1.54.0 → 1.55.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 +4 -4
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/activity.rb +13 -0
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +4 -0
- data/lib/aws-sdk-autoscaling/client.rb +27 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +5 -0
- data/lib/aws-sdk-autoscaling/resource.rb +4 -0
- data/lib/aws-sdk-autoscaling/types.rb +19 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac6e88cc576a48750b94147f2b337d17f46fb463dc60f82108bb68b59b36bd43
|
4
|
+
data.tar.gz: b21de679975eafab04e8c9b45b4cdce69deb91a6eb49830d61e6aad818768488
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29fa9589d8a04567abd166483fd9bd19c80678b737f6102bbd3ff17e308e51679845f452483c213142497e3144048c5a5f3cc49588804ed4d6baddedfbc0976a
|
7
|
+
data.tar.gz: 2911f492fec3349637731f49d8acc7fb694361ccb32d35a381f2e9a865cab62a4bb2ae1f9738e743a853b8cb004d1055c7a65592c808e3e593d547123505a029
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -89,6 +89,19 @@ module Aws::AutoScaling
|
|
89
89
|
data[:details]
|
90
90
|
end
|
91
91
|
|
92
|
+
# The state of the Auto Scaling group, which is either `InService` or
|
93
|
+
# `Deleted`.
|
94
|
+
# @return [String]
|
95
|
+
def auto_scaling_group_state
|
96
|
+
data[:auto_scaling_group_state]
|
97
|
+
end
|
98
|
+
|
99
|
+
# The Amazon Resource Name (ARN) of the Auto Scaling group.
|
100
|
+
# @return [String]
|
101
|
+
def auto_scaling_group_arn
|
102
|
+
data[:auto_scaling_group_arn]
|
103
|
+
end
|
104
|
+
|
92
105
|
# @!endgroup
|
93
106
|
|
94
107
|
# @return [Client]
|
@@ -1076,6 +1076,7 @@ module Aws::AutoScaling
|
|
1076
1076
|
#
|
1077
1077
|
# activities = auto_scaling_group.activities({
|
1078
1078
|
# activity_ids: ["XmlString"],
|
1079
|
+
# include_deleted_groups: false,
|
1079
1080
|
# })
|
1080
1081
|
# @param [Hash] options ({})
|
1081
1082
|
# @option options [Array<String>] :activity_ids
|
@@ -1084,6 +1085,9 @@ module Aws::AutoScaling
|
|
1084
1085
|
# weeks are described. If unknown activities are requested, they are
|
1085
1086
|
# ignored with no error. If you specify an Auto Scaling group, the
|
1086
1087
|
# results are limited to that group.
|
1088
|
+
# @option options [Boolean] :include_deleted_groups
|
1089
|
+
# Indicates whether to include scaling activity from deleted Auto
|
1090
|
+
# Scaling groups.
|
1087
1091
|
# @return [Activity::Collection]
|
1088
1092
|
def activities(options = {})
|
1089
1093
|
batches = Enumerator.new do |y|
|
@@ -2969,6 +2969,17 @@ module Aws::AutoScaling
|
|
2969
2969
|
# Describes one or more scaling activities for the specified Auto
|
2970
2970
|
# Scaling group.
|
2971
2971
|
#
|
2972
|
+
# To view the scaling activities from the Amazon EC2 Auto Scaling
|
2973
|
+
# console, choose the **Activity** tab of the Auto Scaling group. When
|
2974
|
+
# scaling events occur, you see scaling activity messages in the
|
2975
|
+
# **Activity history**. For more information, see [Verifying a scaling
|
2976
|
+
# activity for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
2977
|
+
# User Guide*.
|
2978
|
+
#
|
2979
|
+
#
|
2980
|
+
#
|
2981
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html
|
2982
|
+
#
|
2972
2983
|
# @option params [Array<String>] :activity_ids
|
2973
2984
|
# The activity IDs of the desired scaling activities. You can specify up
|
2974
2985
|
# to 50 IDs. If you omit this parameter, all activities for the past six
|
@@ -2979,6 +2990,10 @@ module Aws::AutoScaling
|
|
2979
2990
|
# @option params [String] :auto_scaling_group_name
|
2980
2991
|
# The name of the Auto Scaling group.
|
2981
2992
|
#
|
2993
|
+
# @option params [Boolean] :include_deleted_groups
|
2994
|
+
# Indicates whether to include scaling activity from deleted Auto
|
2995
|
+
# Scaling groups.
|
2996
|
+
#
|
2982
2997
|
# @option params [Integer] :max_records
|
2983
2998
|
# The maximum number of items to return with this call. The default
|
2984
2999
|
# value is `100` and the maximum value is `100`.
|
@@ -3025,6 +3040,7 @@ module Aws::AutoScaling
|
|
3025
3040
|
# resp = client.describe_scaling_activities({
|
3026
3041
|
# activity_ids: ["XmlString"],
|
3027
3042
|
# auto_scaling_group_name: "XmlStringMaxLen255",
|
3043
|
+
# include_deleted_groups: false,
|
3028
3044
|
# max_records: 1,
|
3029
3045
|
# next_token: "XmlString",
|
3030
3046
|
# })
|
@@ -3042,6 +3058,8 @@ module Aws::AutoScaling
|
|
3042
3058
|
# resp.activities[0].status_message #=> String
|
3043
3059
|
# resp.activities[0].progress #=> Integer
|
3044
3060
|
# resp.activities[0].details #=> String
|
3061
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3062
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3045
3063
|
# resp.next_token #=> String
|
3046
3064
|
#
|
3047
3065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities AWS API Documentation
|
@@ -3447,6 +3465,8 @@ module Aws::AutoScaling
|
|
3447
3465
|
# resp.activities[0].status_message #=> String
|
3448
3466
|
# resp.activities[0].progress #=> Integer
|
3449
3467
|
# resp.activities[0].details #=> String
|
3468
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3469
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3450
3470
|
#
|
3451
3471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances AWS API Documentation
|
3452
3472
|
#
|
@@ -3773,6 +3793,8 @@ module Aws::AutoScaling
|
|
3773
3793
|
# resp.activities[0].status_message #=> String
|
3774
3794
|
# resp.activities[0].progress #=> Integer
|
3775
3795
|
# resp.activities[0].details #=> String
|
3796
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3797
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3776
3798
|
#
|
3777
3799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby AWS API Documentation
|
3778
3800
|
#
|
@@ -3926,6 +3948,8 @@ module Aws::AutoScaling
|
|
3926
3948
|
# resp.activities[0].status_message #=> String
|
3927
3949
|
# resp.activities[0].progress #=> Integer
|
3928
3950
|
# resp.activities[0].details #=> String
|
3951
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3952
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3929
3953
|
#
|
3930
3954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby AWS API Documentation
|
3931
3955
|
#
|
@@ -5048,6 +5072,8 @@ module Aws::AutoScaling
|
|
5048
5072
|
# resp.activity.status_message #=> String
|
5049
5073
|
# resp.activity.progress #=> Integer
|
5050
5074
|
# resp.activity.details #=> String
|
5075
|
+
# resp.activity.auto_scaling_group_state #=> String
|
5076
|
+
# resp.activity.auto_scaling_group_arn #=> String
|
5051
5077
|
#
|
5052
5078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup AWS API Documentation
|
5053
5079
|
#
|
@@ -5365,7 +5391,7 @@ module Aws::AutoScaling
|
|
5365
5391
|
params: params,
|
5366
5392
|
config: config)
|
5367
5393
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5368
|
-
context[:gem_version] = '1.
|
5394
|
+
context[:gem_version] = '1.55.0'
|
5369
5395
|
Seahorse::Client::Request.new(handlers, context)
|
5370
5396
|
end
|
5371
5397
|
|
@@ -37,6 +37,7 @@ module Aws::AutoScaling
|
|
37
37
|
AutoScalingGroupMinSize = Shapes::IntegerShape.new(name: 'AutoScalingGroupMinSize')
|
38
38
|
AutoScalingGroupNames = Shapes::ListShape.new(name: 'AutoScalingGroupNames')
|
39
39
|
AutoScalingGroupNamesType = Shapes::StructureShape.new(name: 'AutoScalingGroupNamesType')
|
40
|
+
AutoScalingGroupState = Shapes::StringShape.new(name: 'AutoScalingGroupState')
|
40
41
|
AutoScalingGroups = Shapes::ListShape.new(name: 'AutoScalingGroups')
|
41
42
|
AutoScalingGroupsType = Shapes::StructureShape.new(name: 'AutoScalingGroupsType')
|
42
43
|
AutoScalingInstanceDetails = Shapes::StructureShape.new(name: 'AutoScalingInstanceDetails')
|
@@ -122,6 +123,7 @@ module Aws::AutoScaling
|
|
122
123
|
HealthCheckGracePeriod = Shapes::IntegerShape.new(name: 'HealthCheckGracePeriod')
|
123
124
|
HeartbeatTimeout = Shapes::IntegerShape.new(name: 'HeartbeatTimeout')
|
124
125
|
HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
|
126
|
+
IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
|
125
127
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
126
128
|
InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
|
127
129
|
InstanceMetadataEndpointState = Shapes::StringShape.new(name: 'InstanceMetadataEndpointState')
|
@@ -296,6 +298,8 @@ module Aws::AutoScaling
|
|
296
298
|
Activity.add_member(:status_message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "StatusMessage"))
|
297
299
|
Activity.add_member(:progress, Shapes::ShapeRef.new(shape: Progress, location_name: "Progress"))
|
298
300
|
Activity.add_member(:details, Shapes::ShapeRef.new(shape: XmlString, location_name: "Details"))
|
301
|
+
Activity.add_member(:auto_scaling_group_state, Shapes::ShapeRef.new(shape: AutoScalingGroupState, location_name: "AutoScalingGroupState"))
|
302
|
+
Activity.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupARN"))
|
299
303
|
Activity.struct_class = Types::Activity
|
300
304
|
|
301
305
|
ActivityIds.member = Shapes::ShapeRef.new(shape: XmlString)
|
@@ -594,6 +598,7 @@ module Aws::AutoScaling
|
|
594
598
|
|
595
599
|
DescribeScalingActivitiesType.add_member(:activity_ids, Shapes::ShapeRef.new(shape: ActivityIds, location_name: "ActivityIds"))
|
596
600
|
DescribeScalingActivitiesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
601
|
+
DescribeScalingActivitiesType.add_member(:include_deleted_groups, Shapes::ShapeRef.new(shape: IncludeDeletedGroups, location_name: "IncludeDeletedGroups"))
|
597
602
|
DescribeScalingActivitiesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
598
603
|
DescribeScalingActivitiesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
599
604
|
DescribeScalingActivitiesType.struct_class = Types::DescribeScalingActivitiesType
|
@@ -633,6 +633,7 @@ module Aws::AutoScaling
|
|
633
633
|
# activities = auto_scaling.activities({
|
634
634
|
# activity_ids: ["XmlString"],
|
635
635
|
# auto_scaling_group_name: "XmlStringMaxLen255",
|
636
|
+
# include_deleted_groups: false,
|
636
637
|
# })
|
637
638
|
# @param [Hash] options ({})
|
638
639
|
# @option options [Array<String>] :activity_ids
|
@@ -643,6 +644,9 @@ module Aws::AutoScaling
|
|
643
644
|
# results are limited to that group.
|
644
645
|
# @option options [String] :auto_scaling_group_name
|
645
646
|
# The name of the Auto Scaling group.
|
647
|
+
# @option options [Boolean] :include_deleted_groups
|
648
|
+
# Indicates whether to include scaling activity from deleted Auto
|
649
|
+
# Scaling groups.
|
646
650
|
# @return [Activity::Collection]
|
647
651
|
def activities(options = {})
|
648
652
|
batches = Enumerator.new do |y|
|
@@ -91,6 +91,15 @@ module Aws::AutoScaling
|
|
91
91
|
# The details about the activity.
|
92
92
|
# @return [String]
|
93
93
|
#
|
94
|
+
# @!attribute [rw] auto_scaling_group_state
|
95
|
+
# The state of the Auto Scaling group, which is either `InService` or
|
96
|
+
# `Deleted`.
|
97
|
+
# @return [String]
|
98
|
+
#
|
99
|
+
# @!attribute [rw] auto_scaling_group_arn
|
100
|
+
# The Amazon Resource Name (ARN) of the Auto Scaling group.
|
101
|
+
# @return [String]
|
102
|
+
#
|
94
103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Activity AWS API Documentation
|
95
104
|
#
|
96
105
|
class Activity < Struct.new(
|
@@ -103,7 +112,9 @@ module Aws::AutoScaling
|
|
103
112
|
:status_code,
|
104
113
|
:status_message,
|
105
114
|
:progress,
|
106
|
-
:details
|
115
|
+
:details,
|
116
|
+
:auto_scaling_group_state,
|
117
|
+
:auto_scaling_group_arn)
|
107
118
|
SENSITIVE = []
|
108
119
|
include Aws::Structure
|
109
120
|
end
|
@@ -2226,6 +2237,7 @@ module Aws::AutoScaling
|
|
2226
2237
|
# {
|
2227
2238
|
# activity_ids: ["XmlString"],
|
2228
2239
|
# auto_scaling_group_name: "XmlStringMaxLen255",
|
2240
|
+
# include_deleted_groups: false,
|
2229
2241
|
# max_records: 1,
|
2230
2242
|
# next_token: "XmlString",
|
2231
2243
|
# }
|
@@ -2242,6 +2254,11 @@ module Aws::AutoScaling
|
|
2242
2254
|
# The name of the Auto Scaling group.
|
2243
2255
|
# @return [String]
|
2244
2256
|
#
|
2257
|
+
# @!attribute [rw] include_deleted_groups
|
2258
|
+
# Indicates whether to include scaling activity from deleted Auto
|
2259
|
+
# Scaling groups.
|
2260
|
+
# @return [Boolean]
|
2261
|
+
#
|
2245
2262
|
# @!attribute [rw] max_records
|
2246
2263
|
# The maximum number of items to return with this call. The default
|
2247
2264
|
# value is `100` and the maximum value is `100`.
|
@@ -2257,6 +2274,7 @@ module Aws::AutoScaling
|
|
2257
2274
|
class DescribeScalingActivitiesType < Struct.new(
|
2258
2275
|
:activity_ids,
|
2259
2276
|
:auto_scaling_group_name,
|
2277
|
+
:include_deleted_groups,
|
2260
2278
|
:max_records,
|
2261
2279
|
:next_token)
|
2262
2280
|
SENSITIVE = []
|
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.
|
4
|
+
version: 1.55.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: 2021-02-
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|