aws-sdk-autoscaling 1.22.0 → 1.23.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-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +1 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +21 -0
- data/lib/aws-sdk-autoscaling/errors.rb +112 -0
- data/lib/aws-sdk-autoscaling/types.rb +90 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb48f804497829d334d6355479c75a325ee7a1ae
|
4
|
+
data.tar.gz: 24257f19e90bb90bef993a550a193d1cd47fb6ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41e7497345fe143289780cf70fbf35dbb86f144229a7d94b9e3112b2303d6d54070003b0b6f0540c0dbc0021708f10ec8672c76521b3f459efb111362ebdfad8
|
7
|
+
data.tar.gz: 02ae51d04ad53f226c3001d784c2adc4ee9f239876479049208407b9340aa3d9e4cb314c34ed63899988d1c72d78edad76610fb817b8869205fea8e4f728bd27
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -4618,7 +4618,7 @@ module Aws::AutoScaling
|
|
4618
4618
|
params: params,
|
4619
4619
|
config: config)
|
4620
4620
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
4621
|
-
context[:gem_version] = '1.
|
4621
|
+
context[:gem_version] = '1.23.0'
|
4622
4622
|
Seahorse::Client::Request.new(handlers, context)
|
4623
4623
|
end
|
4624
4624
|
|
@@ -285,6 +285,9 @@ module Aws::AutoScaling
|
|
285
285
|
|
286
286
|
Alarms.member = Shapes::ShapeRef.new(shape: Alarm)
|
287
287
|
|
288
|
+
AlreadyExistsFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
289
|
+
AlreadyExistsFault.struct_class = Types::AlreadyExistsFault
|
290
|
+
|
288
291
|
AttachInstancesQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
|
289
292
|
AttachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
|
290
293
|
AttachInstancesQuery.struct_class = Types::AttachInstancesQuery
|
@@ -661,6 +664,9 @@ module Aws::AutoScaling
|
|
661
664
|
InstancesDistribution.add_member(:spot_max_price, Shapes::ShapeRef.new(shape: MixedInstanceSpotPrice, location_name: "SpotMaxPrice"))
|
662
665
|
InstancesDistribution.struct_class = Types::InstancesDistribution
|
663
666
|
|
667
|
+
InvalidNextToken.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
668
|
+
InvalidNextToken.struct_class = Types::InvalidNextToken
|
669
|
+
|
664
670
|
LaunchConfiguration.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
665
671
|
LaunchConfiguration.add_member(:launch_configuration_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "LaunchConfigurationARN"))
|
666
672
|
LaunchConfiguration.add_member(:image_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ImageId"))
|
@@ -736,6 +742,9 @@ module Aws::AutoScaling
|
|
736
742
|
|
737
743
|
LifecycleHooks.member = Shapes::ShapeRef.new(shape: LifecycleHook)
|
738
744
|
|
745
|
+
LimitExceededFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
746
|
+
LimitExceededFault.struct_class = Types::LimitExceededFault
|
747
|
+
|
739
748
|
LoadBalancerNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
740
749
|
|
741
750
|
LoadBalancerState.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LoadBalancerName"))
|
@@ -857,6 +866,15 @@ module Aws::AutoScaling
|
|
857
866
|
RecordLifecycleActionHeartbeatType.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, location_name: "InstanceId"))
|
858
867
|
RecordLifecycleActionHeartbeatType.struct_class = Types::RecordLifecycleActionHeartbeatType
|
859
868
|
|
869
|
+
ResourceContentionFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
870
|
+
ResourceContentionFault.struct_class = Types::ResourceContentionFault
|
871
|
+
|
872
|
+
ResourceInUseFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
873
|
+
ResourceInUseFault.struct_class = Types::ResourceInUseFault
|
874
|
+
|
875
|
+
ScalingActivityInProgressFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
876
|
+
ScalingActivityInProgressFault.struct_class = Types::ScalingActivityInProgressFault
|
877
|
+
|
860
878
|
ScalingPolicies.member = Shapes::ShapeRef.new(shape: ScalingPolicy)
|
861
879
|
|
862
880
|
ScalingPolicy.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
@@ -912,6 +930,9 @@ module Aws::AutoScaling
|
|
912
930
|
|
913
931
|
SecurityGroups.member = Shapes::ShapeRef.new(shape: XmlString)
|
914
932
|
|
933
|
+
ServiceLinkedRoleFailure.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
934
|
+
ServiceLinkedRoleFailure.struct_class = Types::ServiceLinkedRoleFailure
|
935
|
+
|
915
936
|
SetDesiredCapacityType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
|
916
937
|
SetDesiredCapacityType.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, required: true, location_name: "DesiredCapacity"))
|
917
938
|
SetDesiredCapacityType.add_member(:honor_cooldown, Shapes::ShapeRef.new(shape: HonorCooldown, location_name: "HonorCooldown"))
|
@@ -10,5 +10,117 @@ module Aws::AutoScaling
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class AlreadyExistsFault < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::AutoScaling::Types::AlreadyExistsFault] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class InvalidNextToken < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::AutoScaling::Types::InvalidNextToken] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class LimitExceededFault < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::AutoScaling::Types::LimitExceededFault] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class ResourceContentionFault < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::AutoScaling::Types::ResourceContentionFault] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class ResourceInUseFault < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::AutoScaling::Types::ResourceInUseFault] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class ScalingActivityInProgressFault < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::AutoScaling::Types::ScalingActivityInProgressFault] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class ServiceLinkedRoleFailure < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::AutoScaling::Types::ServiceLinkedRoleFailure] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
13
125
|
end
|
14
126
|
end
|
@@ -133,6 +133,19 @@ module Aws::AutoScaling
|
|
133
133
|
include Aws::Structure
|
134
134
|
end
|
135
135
|
|
136
|
+
# You already have an Auto Scaling group or launch configuration with
|
137
|
+
# this name.
|
138
|
+
#
|
139
|
+
# @!attribute [rw] message
|
140
|
+
# @return [String]
|
141
|
+
#
|
142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AlreadyExistsFault AWS API Documentation
|
143
|
+
#
|
144
|
+
class AlreadyExistsFault < Struct.new(
|
145
|
+
:message)
|
146
|
+
include Aws::Structure
|
147
|
+
end
|
148
|
+
|
136
149
|
# @note When making an API call, you may pass AttachInstancesQuery
|
137
150
|
# data as a hash:
|
138
151
|
#
|
@@ -2726,6 +2739,18 @@ module Aws::AutoScaling
|
|
2726
2739
|
include Aws::Structure
|
2727
2740
|
end
|
2728
2741
|
|
2742
|
+
# The `NextToken` value is not valid.
|
2743
|
+
#
|
2744
|
+
# @!attribute [rw] message
|
2745
|
+
# @return [String]
|
2746
|
+
#
|
2747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InvalidNextToken AWS API Documentation
|
2748
|
+
#
|
2749
|
+
class InvalidNextToken < Struct.new(
|
2750
|
+
:message)
|
2751
|
+
include Aws::Structure
|
2752
|
+
end
|
2753
|
+
|
2729
2754
|
# Describes a launch configuration.
|
2730
2755
|
#
|
2731
2756
|
# @!attribute [rw] launch_configuration_name
|
@@ -3237,6 +3262,20 @@ module Aws::AutoScaling
|
|
3237
3262
|
include Aws::Structure
|
3238
3263
|
end
|
3239
3264
|
|
3265
|
+
# You have already reached a limit for your Amazon EC2 Auto Scaling
|
3266
|
+
# resources (for example, Auto Scaling groups, launch configurations, or
|
3267
|
+
# lifecycle hooks). For more information, see DescribeAccountLimits.
|
3268
|
+
#
|
3269
|
+
# @!attribute [rw] message
|
3270
|
+
# @return [String]
|
3271
|
+
#
|
3272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LimitExceededFault AWS API Documentation
|
3273
|
+
#
|
3274
|
+
class LimitExceededFault < Struct.new(
|
3275
|
+
:message)
|
3276
|
+
include Aws::Structure
|
3277
|
+
end
|
3278
|
+
|
3240
3279
|
# Describes the state of a Classic Load Balancer.
|
3241
3280
|
#
|
3242
3281
|
# If you specify a load balancer when creating the Auto Scaling group,
|
@@ -4057,6 +4096,45 @@ module Aws::AutoScaling
|
|
4057
4096
|
include Aws::Structure
|
4058
4097
|
end
|
4059
4098
|
|
4099
|
+
# You already have a pending update to an Amazon EC2 Auto Scaling
|
4100
|
+
# resource (for example, an Auto Scaling group, instance, or load
|
4101
|
+
# balancer).
|
4102
|
+
#
|
4103
|
+
# @!attribute [rw] message
|
4104
|
+
# @return [String]
|
4105
|
+
#
|
4106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResourceContentionFault AWS API Documentation
|
4107
|
+
#
|
4108
|
+
class ResourceContentionFault < Struct.new(
|
4109
|
+
:message)
|
4110
|
+
include Aws::Structure
|
4111
|
+
end
|
4112
|
+
|
4113
|
+
# The operation can't be performed because the resource is in use.
|
4114
|
+
#
|
4115
|
+
# @!attribute [rw] message
|
4116
|
+
# @return [String]
|
4117
|
+
#
|
4118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResourceInUseFault AWS API Documentation
|
4119
|
+
#
|
4120
|
+
class ResourceInUseFault < Struct.new(
|
4121
|
+
:message)
|
4122
|
+
include Aws::Structure
|
4123
|
+
end
|
4124
|
+
|
4125
|
+
# The operation can't be performed because there are scaling activities
|
4126
|
+
# in progress.
|
4127
|
+
#
|
4128
|
+
# @!attribute [rw] message
|
4129
|
+
# @return [String]
|
4130
|
+
#
|
4131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingActivityInProgressFault AWS API Documentation
|
4132
|
+
#
|
4133
|
+
class ScalingActivityInProgressFault < Struct.new(
|
4134
|
+
:message)
|
4135
|
+
include Aws::Structure
|
4136
|
+
end
|
4137
|
+
|
4060
4138
|
# Describes a scaling policy.
|
4061
4139
|
#
|
4062
4140
|
# @!attribute [rw] auto_scaling_group_name
|
@@ -4350,6 +4428,18 @@ module Aws::AutoScaling
|
|
4350
4428
|
include Aws::Structure
|
4351
4429
|
end
|
4352
4430
|
|
4431
|
+
# The service-linked role is not yet ready for use.
|
4432
|
+
#
|
4433
|
+
# @!attribute [rw] message
|
4434
|
+
# @return [String]
|
4435
|
+
#
|
4436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ServiceLinkedRoleFailure AWS API Documentation
|
4437
|
+
#
|
4438
|
+
class ServiceLinkedRoleFailure < Struct.new(
|
4439
|
+
:message)
|
4440
|
+
include Aws::Structure
|
4441
|
+
end
|
4442
|
+
|
4353
4443
|
# @note When making an API call, you may pass SetDesiredCapacityType
|
4354
4444
|
# data as a hash:
|
4355
4445
|
#
|
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.23.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-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|