aws-sdk-applicationautoscaling 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7615da9105c05521d9602605e2224a78e51b2664
4
- data.tar.gz: de7d68fb5239c163616b23137989bf45040cf56b
3
+ metadata.gz: fb2b1ef3eb1818fa806684f7760c06a9b102821b
4
+ data.tar.gz: 2721c248a0a58c0d8ccdcca2c857eb23fcc39472
5
5
  SHA512:
6
- metadata.gz: 7d6dbae6b8a9f0667e2a73489d7997d2b62c954cd54b3153008c698b744035ae30c2183d524299cf68b86faa3c625bedb766f07b763acf4d39ec88d9d206a8a2
7
- data.tar.gz: 3029d1e106b07813334fc1d84fc606657e2ea8335e4d478e499c431c831398f7039db78c3d6f8d69bf6eb88011d7db599d1b4cc8c8b16482ccfc601dab9d324c
6
+ metadata.gz: 32628ce3a90bf2d5e68e99d9631b6d64dd55207ca24d80453625c8ea0cdc8195ea938af0a1a015ac86eed5b9af5dd522764dadaee8e4e5441dd4fed859ce3049
7
+ data.tar.gz: 00b439171f15c2d1c877fe66a92e6c854874332dea2f7bf9b8b0e508c5d1ae827d6484975f5056566e12f0ac21438d5eeafb97fe9f72a70d980a05cf907fd652
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-applicationautoscaling/customizations'
42
42
  # @service
43
43
  module Aws::ApplicationAutoScaling
44
44
 
45
- GEM_VERSION = '1.24.0'
45
+ GEM_VERSION = '1.25.0'
46
46
 
47
47
  end
@@ -2052,7 +2052,7 @@ module Aws::ApplicationAutoScaling
2052
2052
  params: params,
2053
2053
  config: config)
2054
2054
  context[:gem_name] = 'aws-sdk-applicationautoscaling'
2055
- context[:gem_version] = '1.24.0'
2055
+ context[:gem_version] = '1.25.0'
2056
2056
  Seahorse::Client::Request.new(handlers, context)
2057
2057
  end
2058
2058
 
@@ -93,6 +93,9 @@ module Aws::ApplicationAutoScaling
93
93
 
94
94
  Alarms.member = Shapes::ShapeRef.new(shape: Alarm)
95
95
 
96
+ ConcurrentUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
97
+ ConcurrentUpdateException.struct_class = Types::ConcurrentUpdateException
98
+
96
99
  CustomizedMetricSpecification.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
97
100
  CustomizedMetricSpecification.add_member(:namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "Namespace"))
98
101
  CustomizedMetricSpecification.add_member(:dimensions, Shapes::ShapeRef.new(shape: MetricDimensions, location_name: "Dimensions"))
@@ -169,12 +172,27 @@ module Aws::ApplicationAutoScaling
169
172
  DescribeScheduledActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
170
173
  DescribeScheduledActionsResponse.struct_class = Types::DescribeScheduledActionsResponse
171
174
 
175
+ FailedResourceAccessException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
176
+ FailedResourceAccessException.struct_class = Types::FailedResourceAccessException
177
+
178
+ InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
179
+ InternalServiceException.struct_class = Types::InternalServiceException
180
+
181
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
182
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
183
+
184
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
185
+ LimitExceededException.struct_class = Types::LimitExceededException
186
+
172
187
  MetricDimension.add_member(:name, Shapes::ShapeRef.new(shape: MetricDimensionName, required: true, location_name: "Name"))
173
188
  MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: MetricDimensionValue, required: true, location_name: "Value"))
174
189
  MetricDimension.struct_class = Types::MetricDimension
175
190
 
176
191
  MetricDimensions.member = Shapes::ShapeRef.new(shape: MetricDimension)
177
192
 
193
+ ObjectNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
194
+ ObjectNotFoundException.struct_class = Types::ObjectNotFoundException
195
+
178
196
  PredefinedMetricSpecification.add_member(:predefined_metric_type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "PredefinedMetricType"))
179
197
  PredefinedMetricSpecification.add_member(:resource_label, Shapes::ShapeRef.new(shape: ResourceLabel, location_name: "ResourceLabel"))
180
198
  PredefinedMetricSpecification.struct_class = Types::PredefinedMetricSpecification
@@ -296,6 +314,9 @@ module Aws::ApplicationAutoScaling
296
314
  TargetTrackingScalingPolicyConfiguration.add_member(:disable_scale_in, Shapes::ShapeRef.new(shape: DisableScaleIn, location_name: "DisableScaleIn"))
297
315
  TargetTrackingScalingPolicyConfiguration.struct_class = Types::TargetTrackingScalingPolicyConfiguration
298
316
 
317
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
318
+ ValidationException.struct_class = Types::ValidationException
319
+
299
320
 
300
321
  # @api private
301
322
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,117 @@ module Aws::ApplicationAutoScaling
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ConcurrentUpdateException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::ApplicationAutoScaling::Types::ConcurrentUpdateException] 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 FailedResourceAccessException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::ApplicationAutoScaling::Types::FailedResourceAccessException] 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 InternalServiceException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::ApplicationAutoScaling::Types::InternalServiceException] 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 InvalidNextTokenException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::ApplicationAutoScaling::Types::InvalidNextTokenException] 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 LimitExceededException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::ApplicationAutoScaling::Types::LimitExceededException] 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 ObjectNotFoundException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::ApplicationAutoScaling::Types::ObjectNotFoundException] 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 ValidationException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::ApplicationAutoScaling::Types::ValidationException] 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
@@ -26,6 +26,20 @@ module Aws::ApplicationAutoScaling
26
26
  include Aws::Structure
27
27
  end
28
28
 
29
+ # Concurrent updates caused an exception, for example, if you request an
30
+ # update to an Application Auto Scaling resource that already has a
31
+ # pending update.
32
+ #
33
+ # @!attribute [rw] message
34
+ # @return [String]
35
+ #
36
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ConcurrentUpdateException AWS API Documentation
37
+ #
38
+ class ConcurrentUpdateException < Struct.new(
39
+ :message)
40
+ include Aws::Structure
41
+ end
42
+
29
43
  # Represents a CloudWatch metric of your choosing for a target tracking
30
44
  # scaling policy to use with Application Auto Scaling.
31
45
  #
@@ -1078,6 +1092,67 @@ module Aws::ApplicationAutoScaling
1078
1092
  include Aws::Structure
1079
1093
  end
1080
1094
 
1095
+ # Failed access to resources caused an exception. This exception is
1096
+ # thrown when Application Auto Scaling is unable to retrieve the alarms
1097
+ # associated with a scaling policy due to a client error, for example,
1098
+ # if the role ARN specified for a scalable target does not have
1099
+ # permission to call the CloudWatch [DescribeAlarms][1] on your behalf.
1100
+ #
1101
+ #
1102
+ #
1103
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html
1104
+ #
1105
+ # @!attribute [rw] message
1106
+ # @return [String]
1107
+ #
1108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/FailedResourceAccessException AWS API Documentation
1109
+ #
1110
+ class FailedResourceAccessException < Struct.new(
1111
+ :message)
1112
+ include Aws::Structure
1113
+ end
1114
+
1115
+ # The service encountered an internal error.
1116
+ #
1117
+ # @!attribute [rw] message
1118
+ # @return [String]
1119
+ #
1120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/InternalServiceException AWS API Documentation
1121
+ #
1122
+ class InternalServiceException < Struct.new(
1123
+ :message)
1124
+ include Aws::Structure
1125
+ end
1126
+
1127
+ # The next token supplied was invalid.
1128
+ #
1129
+ # @!attribute [rw] message
1130
+ # @return [String]
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/InvalidNextTokenException AWS API Documentation
1133
+ #
1134
+ class InvalidNextTokenException < Struct.new(
1135
+ :message)
1136
+ include Aws::Structure
1137
+ end
1138
+
1139
+ # A per-account resource limit is exceeded. For more information, see
1140
+ # [Application Auto Scaling Limits][1].
1141
+ #
1142
+ #
1143
+ #
1144
+ # [1]: https://docs.aws.amazon.com/ApplicationAutoScaling/latest/userguide/application-auto-scaling-limits.html
1145
+ #
1146
+ # @!attribute [rw] message
1147
+ # @return [String]
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/LimitExceededException AWS API Documentation
1150
+ #
1151
+ class LimitExceededException < Struct.new(
1152
+ :message)
1153
+ include Aws::Structure
1154
+ end
1155
+
1081
1156
  # Describes the dimension names and values associated with a metric.
1082
1157
  #
1083
1158
  # @note When making an API call, you may pass MetricDimension
@@ -1104,6 +1179,23 @@ module Aws::ApplicationAutoScaling
1104
1179
  include Aws::Structure
1105
1180
  end
1106
1181
 
1182
+ # The specified object could not be found. For any operation that
1183
+ # depends on the existence of a scalable target, this exception is
1184
+ # thrown if the scalable target with the specified service namespace,
1185
+ # resource ID, and scalable dimension does not exist. For any operation
1186
+ # that deletes or deregisters a resource, this exception is thrown if
1187
+ # the resource cannot be found.
1188
+ #
1189
+ # @!attribute [rw] message
1190
+ # @return [String]
1191
+ #
1192
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ObjectNotFoundException AWS API Documentation
1193
+ #
1194
+ class ObjectNotFoundException < Struct.new(
1195
+ :message)
1196
+ include Aws::Structure
1197
+ end
1198
+
1107
1199
  # Represents a predefined metric for a target tracking scaling policy to
1108
1200
  # use with Application Auto Scaling.
1109
1201
  #
@@ -2523,5 +2615,18 @@ module Aws::ApplicationAutoScaling
2523
2615
  include Aws::Structure
2524
2616
  end
2525
2617
 
2618
+ # An exception was thrown for a validation issue. Review the available
2619
+ # parameters for the API request.
2620
+ #
2621
+ # @!attribute [rw] message
2622
+ # @return [String]
2623
+ #
2624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ValidationException AWS API Documentation
2625
+ #
2626
+ class ValidationException < Struct.new(
2627
+ :message)
2628
+ include Aws::Structure
2629
+ end
2630
+
2526
2631
  end
2527
2632
  end
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.24.0
4
+ version: 1.25.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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement