aws-sdk-autoscalingplans 1.14.0 → 1.15.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: 7e5f27b54cc42f1c0bb204b1ecdbe7a01f56cb54
4
- data.tar.gz: 1b2782c49f2c2c76ba7878598f68f0c27d7f1c2c
3
+ metadata.gz: 243f195a09a462fe6aca4a8d26fa0d88ee13f5de
4
+ data.tar.gz: cc09748cb249eca555e06d58088f432d38c91f98
5
5
  SHA512:
6
- metadata.gz: 169cb7b8df93ccdb907a67b29a2261d8692f006068f792caa3245b79fbde7797ffcb50e9c5d5b47ef8091a7bf7eb4f24db4a49d3df15440b5d106152213356f1
7
- data.tar.gz: 9af6cf39004dda00c877f3ebece261109b23ebf517599cda6812edac98e4aa94de2dda97799109f8865da570dac721aff5dcbf91527407b138fe0bfb728b3ee7
6
+ metadata.gz: 4c31e7ec49aaa56cd51aeba5a548d134ae054ff7e9039c972699b11be7675fdef33e6e793ada7c1dba49b5aa54bb31c8afd262d05f926bc388513c778be07fb0
7
+ data.tar.gz: 8d9937eb0df3a39f76676e16e8b2b9a1a7177899a785bb7f8d236103c334dc105c3deafdac35c0886fb6cca971f352c04e367192fd82ccc967a64405500b4c09
@@ -789,7 +789,7 @@ module Aws::AutoScalingPlans
789
789
  params: params,
790
790
  config: config)
791
791
  context[:gem_name] = 'aws-sdk-autoscalingplans'
792
- context[:gem_version] = '1.14.0'
792
+ context[:gem_version] = '1.15.0'
793
793
  Seahorse::Client::Request.new(handlers, context)
794
794
  end
795
795
 
@@ -95,6 +95,9 @@ module Aws::AutoScalingPlans
95
95
 
96
96
  ApplicationSources.member = Shapes::ShapeRef.new(shape: ApplicationSource)
97
97
 
98
+ ConcurrentUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
99
+ ConcurrentUpdateException.struct_class = Types::ConcurrentUpdateException
100
+
98
101
  CreateScalingPlanRequest.add_member(:scaling_plan_name, Shapes::ShapeRef.new(shape: ScalingPlanName, required: true, location_name: "ScalingPlanName"))
99
102
  CreateScalingPlanRequest.add_member(:application_source, Shapes::ShapeRef.new(shape: ApplicationSource, required: true, location_name: "ApplicationSource"))
100
103
  CreateScalingPlanRequest.add_member(:scaling_instructions, Shapes::ShapeRef.new(shape: ScalingInstructions, required: true, location_name: "ScalingInstructions"))
@@ -163,12 +166,24 @@ module Aws::AutoScalingPlans
163
166
  GetScalingPlanResourceForecastDataResponse.add_member(:datapoints, Shapes::ShapeRef.new(shape: Datapoints, required: true, location_name: "Datapoints"))
164
167
  GetScalingPlanResourceForecastDataResponse.struct_class = Types::GetScalingPlanResourceForecastDataResponse
165
168
 
169
+ InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
170
+ InternalServiceException.struct_class = Types::InternalServiceException
171
+
172
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
173
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
174
+
175
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
176
+ LimitExceededException.struct_class = Types::LimitExceededException
177
+
166
178
  MetricDimension.add_member(:name, Shapes::ShapeRef.new(shape: MetricDimensionName, required: true, location_name: "Name"))
167
179
  MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: MetricDimensionValue, required: true, location_name: "Value"))
168
180
  MetricDimension.struct_class = Types::MetricDimension
169
181
 
170
182
  MetricDimensions.member = Shapes::ShapeRef.new(shape: MetricDimension)
171
183
 
184
+ ObjectNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
185
+ ObjectNotFoundException.struct_class = Types::ObjectNotFoundException
186
+
172
187
  PredefinedLoadMetricSpecification.add_member(:predefined_load_metric_type, Shapes::ShapeRef.new(shape: LoadMetricType, required: true, location_name: "PredefinedLoadMetricType"))
173
188
  PredefinedLoadMetricSpecification.add_member(:resource_label, Shapes::ShapeRef.new(shape: ResourceLabel, location_name: "ResourceLabel"))
174
189
  PredefinedLoadMetricSpecification.struct_class = Types::PredefinedLoadMetricSpecification
@@ -255,6 +270,9 @@ module Aws::AutoScalingPlans
255
270
 
256
271
  UpdateScalingPlanResponse.struct_class = Types::UpdateScalingPlanResponse
257
272
 
273
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
274
+ ValidationException.struct_class = Types::ValidationException
275
+
258
276
 
259
277
  # @api private
260
278
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,101 @@ module Aws::AutoScalingPlans
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::AutoScalingPlans::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 InternalServiceException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::AutoScalingPlans::Types::InternalServiceException] 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 InvalidNextTokenException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::AutoScalingPlans::Types::InvalidNextTokenException] 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 LimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::AutoScalingPlans::Types::LimitExceededException] 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 ObjectNotFoundException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::AutoScalingPlans::Types::ObjectNotFoundException] 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 ValidationException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::AutoScalingPlans::Types::ValidationException] 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
+
13
109
  end
14
110
  end
@@ -39,6 +39,19 @@ module Aws::AutoScalingPlans
39
39
  include Aws::Structure
40
40
  end
41
41
 
42
+ # Concurrent updates caused an exception, for example, if you request an
43
+ # update to a scaling plan that already has a pending update.
44
+ #
45
+ # @!attribute [rw] message
46
+ # @return [String]
47
+ #
48
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/ConcurrentUpdateException AWS API Documentation
49
+ #
50
+ class ConcurrentUpdateException < Struct.new(
51
+ :message)
52
+ include Aws::Structure
53
+ end
54
+
42
55
  # @note When making an API call, you may pass CreateScalingPlanRequest
43
56
  # data as a hash:
44
57
  #
@@ -593,6 +606,43 @@ module Aws::AutoScalingPlans
593
606
  include Aws::Structure
594
607
  end
595
608
 
609
+ # The service encountered an internal error.
610
+ #
611
+ # @!attribute [rw] message
612
+ # @return [String]
613
+ #
614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/InternalServiceException AWS API Documentation
615
+ #
616
+ class InternalServiceException < Struct.new(
617
+ :message)
618
+ include Aws::Structure
619
+ end
620
+
621
+ # The token provided is not valid.
622
+ #
623
+ # @!attribute [rw] message
624
+ # @return [String]
625
+ #
626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/InvalidNextTokenException AWS API Documentation
627
+ #
628
+ class InvalidNextTokenException < Struct.new(
629
+ :message)
630
+ include Aws::Structure
631
+ end
632
+
633
+ # Your account exceeded a limit. This exception is thrown when a
634
+ # per-account resource limit is exceeded.
635
+ #
636
+ # @!attribute [rw] message
637
+ # @return [String]
638
+ #
639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/LimitExceededException AWS API Documentation
640
+ #
641
+ class LimitExceededException < Struct.new(
642
+ :message)
643
+ include Aws::Structure
644
+ end
645
+
596
646
  # Represents a dimension for a customized metric.
597
647
  #
598
648
  # @note When making an API call, you may pass MetricDimension
@@ -619,6 +669,18 @@ module Aws::AutoScalingPlans
619
669
  include Aws::Structure
620
670
  end
621
671
 
672
+ # The specified object could not be found.
673
+ #
674
+ # @!attribute [rw] message
675
+ # @return [String]
676
+ #
677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/ObjectNotFoundException AWS API Documentation
678
+ #
679
+ class ObjectNotFoundException < Struct.new(
680
+ :message)
681
+ include Aws::Structure
682
+ end
683
+
622
684
  # Represents a predefined metric that can be used for predictive
623
685
  # scaling.
624
686
  #
@@ -1420,5 +1482,18 @@ module Aws::AutoScalingPlans
1420
1482
  #
1421
1483
  class UpdateScalingPlanResponse < Aws::EmptyStructure; end
1422
1484
 
1485
+ # An exception was thrown for a validation issue. Review the parameters
1486
+ # provided.
1487
+ #
1488
+ # @!attribute [rw] message
1489
+ # @return [String]
1490
+ #
1491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/ValidationException AWS API Documentation
1492
+ #
1493
+ class ValidationException < Struct.new(
1494
+ :message)
1495
+ include Aws::Structure
1496
+ end
1497
+
1423
1498
  end
1424
1499
  end
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-autoscalingplans/customizations'
42
42
  # @service
43
43
  module Aws::AutoScalingPlans
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscalingplans
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.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