aws-sdk-cloudwatch 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81119a614a0ed41c0d610f2149e2dfc02252318e
4
- data.tar.gz: c095b3897987175d4c5536849fb27338dc1c4068
3
+ metadata.gz: dd4619b8595f499a00c49ba9e9045ebf0067f824
4
+ data.tar.gz: 8c7350109dcd0571bf8b47e7b1241ff87c6d8f4d
5
5
  SHA512:
6
- metadata.gz: c7aef8e52c22498122bff29a49ce5b8965d014cf53bb9ebac7433a27d1d098a2d0b1d17a6131f18805788fdd7767ba280abf14c4ae556921662b1217c1ee5271
7
- data.tar.gz: eb928c45aeb76fb3ceb9807d681ab1c91c7d4056644d57ec5194e405c6c8e41e72cddb0295a3e7c0ee8b0be1a32adf358556d39b176514082cc2b777c283178c
6
+ metadata.gz: 7e105a279d3ffe82a9c6f37070fdbc078b6a3d41748b9b35e365a298ff9b00c394fffc0d61f16205b03d14e1851d6ef3eef74c27cc149cac01ec6b032bda8af7
7
+ data.tar.gz: b7ada88feb7e34a0d7e02dc2b2b2a8d1fe1f84f382c8a19dc6c80f98a038c40e8a8fd847b0389b5235e1d90b10e32c0e5e20a052c8c1b0d2705ca0216ae4bfcb
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
45
45
  # @service
46
46
  module Aws::CloudWatch
47
47
 
48
- GEM_VERSION = '1.22.0'
48
+ GEM_VERSION = '1.23.0'
49
49
 
50
50
  end
@@ -1875,7 +1875,7 @@ module Aws::CloudWatch
1875
1875
  params: params,
1876
1876
  config: config)
1877
1877
  context[:gem_name] = 'aws-sdk-cloudwatch'
1878
- context[:gem_version] = '1.22.0'
1878
+ context[:gem_version] = '1.23.0'
1879
1879
  Seahorse::Client::Request.new(handlers, context)
1880
1880
  end
1881
1881
 
@@ -180,8 +180,15 @@ module Aws::CloudWatch
180
180
  DashboardEntry.add_member(:size, Shapes::ShapeRef.new(shape: Size, location_name: "Size"))
181
181
  DashboardEntry.struct_class = Types::DashboardEntry
182
182
 
183
+ DashboardInvalidInputError.add_member(:message, Shapes::ShapeRef.new(shape: DashboardErrorMessage, location_name: "message"))
184
+ DashboardInvalidInputError.add_member(:dashboard_validation_messages, Shapes::ShapeRef.new(shape: DashboardValidationMessages, location_name: "dashboardValidationMessages"))
185
+ DashboardInvalidInputError.struct_class = Types::DashboardInvalidInputError
186
+
183
187
  DashboardNames.member = Shapes::ShapeRef.new(shape: DashboardName)
184
188
 
189
+ DashboardNotFoundError.add_member(:message, Shapes::ShapeRef.new(shape: DashboardErrorMessage, location_name: "message"))
190
+ DashboardNotFoundError.struct_class = Types::DashboardNotFoundError
191
+
185
192
  DashboardValidationMessage.add_member(:data_path, Shapes::ShapeRef.new(shape: DataPath, location_name: "DataPath"))
186
193
  DashboardValidationMessage.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
187
194
  DashboardValidationMessage.struct_class = Types::DashboardValidationMessage
@@ -312,6 +319,24 @@ module Aws::CloudWatch
312
319
  GetMetricWidgetImageOutput.add_member(:metric_widget_image, Shapes::ShapeRef.new(shape: MetricWidgetImage, location_name: "MetricWidgetImage"))
313
320
  GetMetricWidgetImageOutput.struct_class = Types::GetMetricWidgetImageOutput
314
321
 
322
+ InternalServiceFault.add_member(:message, Shapes::ShapeRef.new(shape: FaultDescription, location_name: "Message"))
323
+ InternalServiceFault.struct_class = Types::InternalServiceFault
324
+
325
+ InvalidFormatFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
326
+ InvalidFormatFault.struct_class = Types::InvalidFormatFault
327
+
328
+ InvalidNextToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
329
+ InvalidNextToken.struct_class = Types::InvalidNextToken
330
+
331
+ InvalidParameterCombinationException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
332
+ InvalidParameterCombinationException.struct_class = Types::InvalidParameterCombinationException
333
+
334
+ InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
335
+ InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
336
+
337
+ LimitExceededFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
338
+ LimitExceededFault.struct_class = Types::LimitExceededFault
339
+
315
340
  ListDashboardsInput.add_member(:dashboard_name_prefix, Shapes::ShapeRef.new(shape: DashboardNamePrefix, location_name: "DashboardNamePrefix"))
316
341
  ListDashboardsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
317
342
  ListDashboardsInput.struct_class = Types::ListDashboardsInput
@@ -417,6 +442,9 @@ module Aws::CloudWatch
417
442
 
418
443
  Metrics.member = Shapes::ShapeRef.new(shape: Metric)
419
444
 
445
+ MissingRequiredParameterException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
446
+ MissingRequiredParameterException.struct_class = Types::MissingRequiredParameterException
447
+
420
448
  PutDashboardInput.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "DashboardName"))
421
449
  PutDashboardInput.add_member(:dashboard_body, Shapes::ShapeRef.new(shape: DashboardBody, required: true, location_name: "DashboardBody"))
422
450
  PutDashboardInput.struct_class = Types::PutDashboardInput
@@ -453,6 +481,13 @@ module Aws::CloudWatch
453
481
 
454
482
  ResourceList.member = Shapes::ShapeRef.new(shape: ResourceName)
455
483
 
484
+ ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
485
+ ResourceNotFound.struct_class = Types::ResourceNotFound
486
+
487
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
488
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
489
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
490
+
456
491
  SetAlarmStateInput.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "AlarmName"))
457
492
  SetAlarmStateInput.add_member(:state_value, Shapes::ShapeRef.new(shape: StateValue, required: true, location_name: "StateValue"))
458
493
  SetAlarmStateInput.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "StateReason"))
@@ -10,5 +10,191 @@ module Aws::CloudWatch
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class DashboardInvalidInputError < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CloudWatch::Types::DashboardInvalidInputError] 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
+ # @return [String]
28
+ def dashboard_validation_messages
29
+ @data[:dashboard_validation_messages]
30
+ end
31
+
32
+ end
33
+
34
+ class DashboardNotFoundError < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::CloudWatch::Types::DashboardNotFoundError] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def message
45
+ @message || @data[:message]
46
+ end
47
+
48
+ end
49
+
50
+ class InternalServiceFault < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::CloudWatch::Types::InternalServiceFault] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+
59
+ # @return [String]
60
+ def message
61
+ @message || @data[:message]
62
+ end
63
+
64
+ end
65
+
66
+ class InvalidFormatFault < ServiceError
67
+
68
+ # @param [Seahorse::Client::RequestContext] context
69
+ # @param [String] message
70
+ # @param [Aws::CloudWatch::Types::InvalidFormatFault] data
71
+ def initialize(context, message, data = Aws::EmptyStructure.new)
72
+ super(context, message, data)
73
+ end
74
+
75
+ # @return [String]
76
+ def message
77
+ @message || @data[:message]
78
+ end
79
+
80
+ end
81
+
82
+ class InvalidNextToken < ServiceError
83
+
84
+ # @param [Seahorse::Client::RequestContext] context
85
+ # @param [String] message
86
+ # @param [Aws::CloudWatch::Types::InvalidNextToken] data
87
+ def initialize(context, message, data = Aws::EmptyStructure.new)
88
+ super(context, message, data)
89
+ end
90
+
91
+ # @return [String]
92
+ def message
93
+ @message || @data[:message]
94
+ end
95
+
96
+ end
97
+
98
+ class InvalidParameterCombinationException < ServiceError
99
+
100
+ # @param [Seahorse::Client::RequestContext] context
101
+ # @param [String] message
102
+ # @param [Aws::CloudWatch::Types::InvalidParameterCombinationException] data
103
+ def initialize(context, message, data = Aws::EmptyStructure.new)
104
+ super(context, message, data)
105
+ end
106
+
107
+ # @return [String]
108
+ def message
109
+ @message || @data[:message]
110
+ end
111
+
112
+ end
113
+
114
+ class InvalidParameterValueException < ServiceError
115
+
116
+ # @param [Seahorse::Client::RequestContext] context
117
+ # @param [String] message
118
+ # @param [Aws::CloudWatch::Types::InvalidParameterValueException] data
119
+ def initialize(context, message, data = Aws::EmptyStructure.new)
120
+ super(context, message, data)
121
+ end
122
+
123
+ # @return [String]
124
+ def message
125
+ @message || @data[:message]
126
+ end
127
+
128
+ end
129
+
130
+ class LimitExceededFault < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::CloudWatch::Types::LimitExceededFault] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+
139
+ # @return [String]
140
+ def message
141
+ @message || @data[:message]
142
+ end
143
+
144
+ end
145
+
146
+ class MissingRequiredParameterException < ServiceError
147
+
148
+ # @param [Seahorse::Client::RequestContext] context
149
+ # @param [String] message
150
+ # @param [Aws::CloudWatch::Types::MissingRequiredParameterException] data
151
+ def initialize(context, message, data = Aws::EmptyStructure.new)
152
+ super(context, message, data)
153
+ end
154
+
155
+ # @return [String]
156
+ def message
157
+ @message || @data[:message]
158
+ end
159
+
160
+ end
161
+
162
+ class ResourceNotFound < ServiceError
163
+
164
+ # @param [Seahorse::Client::RequestContext] context
165
+ # @param [String] message
166
+ # @param [Aws::CloudWatch::Types::ResourceNotFound] data
167
+ def initialize(context, message, data = Aws::EmptyStructure.new)
168
+ super(context, message, data)
169
+ end
170
+
171
+ # @return [String]
172
+ def message
173
+ @message || @data[:message]
174
+ end
175
+
176
+ end
177
+
178
+ class ResourceNotFoundException < ServiceError
179
+
180
+ # @param [Seahorse::Client::RequestContext] context
181
+ # @param [String] message
182
+ # @param [Aws::CloudWatch::Types::ResourceNotFoundException] data
183
+ def initialize(context, message, data = Aws::EmptyStructure.new)
184
+ super(context, message, data)
185
+ end
186
+
187
+ # @return [String]
188
+ def resource_type
189
+ @data[:resource_type]
190
+ end
191
+
192
+ # @return [String]
193
+ def resource_id
194
+ @data[:resource_id]
195
+ end
196
+
197
+ end
198
+
13
199
  end
14
200
  end
@@ -71,6 +71,34 @@ module Aws::CloudWatch
71
71
  include Aws::Structure
72
72
  end
73
73
 
74
+ # Some part of the dashboard data is invalid.
75
+ #
76
+ # @!attribute [rw] message
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] dashboard_validation_messages
80
+ # @return [Array<Types::DashboardValidationMessage>]
81
+ #
82
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardInvalidInputError AWS API Documentation
83
+ #
84
+ class DashboardInvalidInputError < Struct.new(
85
+ :message,
86
+ :dashboard_validation_messages)
87
+ include Aws::Structure
88
+ end
89
+
90
+ # The specified dashboard does not exist.
91
+ #
92
+ # @!attribute [rw] message
93
+ # @return [String]
94
+ #
95
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardNotFoundError AWS API Documentation
96
+ #
97
+ class DashboardNotFoundError < Struct.new(
98
+ :message)
99
+ include Aws::Structure
100
+ end
101
+
74
102
  # An error or warning for the operation.
75
103
  #
76
104
  # @!attribute [rw] data_path
@@ -877,6 +905,79 @@ module Aws::CloudWatch
877
905
  include Aws::Structure
878
906
  end
879
907
 
908
+ # Request processing has failed due to some unknown error, exception, or
909
+ # failure.
910
+ #
911
+ # @!attribute [rw] message
912
+ # @return [String]
913
+ #
914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InternalServiceFault AWS API Documentation
915
+ #
916
+ class InternalServiceFault < Struct.new(
917
+ :message)
918
+ include Aws::Structure
919
+ end
920
+
921
+ # Data was not syntactically valid JSON.
922
+ #
923
+ # @!attribute [rw] message
924
+ # @return [String]
925
+ #
926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InvalidFormatFault AWS API Documentation
927
+ #
928
+ class InvalidFormatFault < Struct.new(
929
+ :message)
930
+ include Aws::Structure
931
+ end
932
+
933
+ # The next token specified is invalid.
934
+ #
935
+ # @!attribute [rw] message
936
+ # @return [String]
937
+ #
938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InvalidNextToken AWS API Documentation
939
+ #
940
+ class InvalidNextToken < Struct.new(
941
+ :message)
942
+ include Aws::Structure
943
+ end
944
+
945
+ # Parameters were used together that cannot be used together.
946
+ #
947
+ # @!attribute [rw] message
948
+ # @return [String]
949
+ #
950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InvalidParameterCombinationException AWS API Documentation
951
+ #
952
+ class InvalidParameterCombinationException < Struct.new(
953
+ :message)
954
+ include Aws::Structure
955
+ end
956
+
957
+ # The value of an input parameter is bad or out-of-range.
958
+ #
959
+ # @!attribute [rw] message
960
+ # @return [String]
961
+ #
962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InvalidParameterValueException AWS API Documentation
963
+ #
964
+ class InvalidParameterValueException < Struct.new(
965
+ :message)
966
+ include Aws::Structure
967
+ end
968
+
969
+ # The quota for alarms for this customer has already been reached.
970
+ #
971
+ # @!attribute [rw] message
972
+ # @return [String]
973
+ #
974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LimitExceededFault AWS API Documentation
975
+ #
976
+ class LimitExceededFault < Struct.new(
977
+ :message)
978
+ include Aws::Structure
979
+ end
980
+
880
981
  # @note When making an API call, you may pass ListDashboardsInput
881
982
  # data as a hash:
882
983
  #
@@ -1573,6 +1674,18 @@ module Aws::CloudWatch
1573
1674
  include Aws::Structure
1574
1675
  end
1575
1676
 
1677
+ # An input parameter that is required is missing.
1678
+ #
1679
+ # @!attribute [rw] message
1680
+ # @return [String]
1681
+ #
1682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MissingRequiredParameterException AWS API Documentation
1683
+ #
1684
+ class MissingRequiredParameterException < Struct.new(
1685
+ :message)
1686
+ include Aws::Structure
1687
+ end
1688
+
1576
1689
  # @note When making an API call, you may pass PutDashboardInput
1577
1690
  # data as a hash:
1578
1691
  #
@@ -1999,6 +2112,34 @@ module Aws::CloudWatch
1999
2112
  include Aws::Structure
2000
2113
  end
2001
2114
 
2115
+ # The named resource does not exist.
2116
+ #
2117
+ # @!attribute [rw] message
2118
+ # @return [String]
2119
+ #
2120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ResourceNotFound AWS API Documentation
2121
+ #
2122
+ class ResourceNotFound < Struct.new(
2123
+ :message)
2124
+ include Aws::Structure
2125
+ end
2126
+
2127
+ # The named resource does not exist.
2128
+ #
2129
+ # @!attribute [rw] resource_type
2130
+ # @return [String]
2131
+ #
2132
+ # @!attribute [rw] resource_id
2133
+ # @return [String]
2134
+ #
2135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ResourceNotFoundException AWS API Documentation
2136
+ #
2137
+ class ResourceNotFoundException < Struct.new(
2138
+ :resource_type,
2139
+ :resource_id)
2140
+ include Aws::Structure
2141
+ end
2142
+
2002
2143
  # @note When making an API call, you may pass SetAlarmStateInput
2003
2144
  # data as a hash:
2004
2145
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
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-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