aws-sdk-cloudwatchlogs 1.19.0 → 1.20.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: f5d177dccb0057f82dff2478b2926c0099611c48
4
- data.tar.gz: '0195b2647a9f42ae2bc6fb1bd7d5392f0750be9f'
3
+ metadata.gz: 51208d60023ebdf73de18ad0921e371ba3861133
4
+ data.tar.gz: 7b0fdfa9b2f8c7d3edc39bce462792c9240bf53c
5
5
  SHA512:
6
- metadata.gz: 255f00d0cb413bdcc46458a248d7fabe9860b2dc39ff0ff31054b63a81e46b175149b0b479e376d27fbb7c238226a3dbbce473ea3d9d5a22e24c738ba1320e23
7
- data.tar.gz: 55bcb64e62eeb8a177313e197d8a15508acec93a430d20b1c938b30cd31cf5477520bb27f5aefe0fc997010d1c53c6f8157400fec904e1553dbe5835b12d326a
6
+ metadata.gz: 4b20095cee5f6b3145c41e1b14d5e1408f4b65dc5f885836ce3e688633ec2fff6095bfe07cfde2fad7363678847bbd464498abadcc54845d6ec3eb1f7ee23b96
7
+ data.tar.gz: a86ba438371260857a850b0e39d9981951fb05fbbaba70b7a8ff0469dcd64d63c5f8519b4d6607d33640dea2ad10df1c336485aa30fd9856145a41cb42126f4c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
42
42
  # @service
43
43
  module Aws::CloudWatchLogs
44
44
 
45
- GEM_VERSION = '1.19.0'
45
+ GEM_VERSION = '1.20.0'
46
46
 
47
47
  end
@@ -2097,7 +2097,7 @@ module Aws::CloudWatchLogs
2097
2097
  params: params,
2098
2098
  config: config)
2099
2099
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
2100
- context[:gem_version] = '1.19.0'
2100
+ context[:gem_version] = '1.20.0'
2101
2101
  Seahorse::Client::Request.new(handlers, context)
2102
2102
  end
2103
2103
 
@@ -212,6 +212,9 @@ module Aws::CloudWatchLogs
212
212
  CreateLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
213
213
  CreateLogStreamRequest.struct_class = Types::CreateLogStreamRequest
214
214
 
215
+ DataAlreadyAcceptedException.add_member(:expected_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "expectedSequenceToken"))
216
+ DataAlreadyAcceptedException.struct_class = Types::DataAlreadyAcceptedException
217
+
215
218
  DeleteDestinationRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
216
219
  DeleteDestinationRequest.struct_class = Types::DeleteDestinationRequest
217
220
 
@@ -421,6 +424,9 @@ module Aws::CloudWatchLogs
421
424
 
422
425
  InputLogStreamNames.member = Shapes::ShapeRef.new(shape: LogStreamName)
423
426
 
427
+ InvalidSequenceTokenException.add_member(:expected_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "expectedSequenceToken"))
428
+ InvalidSequenceTokenException.struct_class = Types::InvalidSequenceTokenException
429
+
424
430
  ListTagsLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
425
431
  ListTagsLogGroupRequest.struct_class = Types::ListTagsLogGroupRequest
426
432
 
@@ -459,6 +465,9 @@ module Aws::CloudWatchLogs
459
465
 
460
466
  LogStreams.member = Shapes::ShapeRef.new(shape: LogStream)
461
467
 
468
+ MalformedQueryException.add_member(:query_compile_error, Shapes::ShapeRef.new(shape: QueryCompileError, location_name: "queryCompileError"))
469
+ MalformedQueryException.struct_class = Types::MalformedQueryException
470
+
462
471
  MetricFilter.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterName"))
463
472
  MetricFilter.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
464
473
  MetricFilter.add_member(:metric_transformations, Shapes::ShapeRef.new(shape: MetricTransformations, location_name: "metricTransformations"))
@@ -10,5 +10,53 @@ module Aws::CloudWatchLogs
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class DataAlreadyAcceptedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CloudWatchLogs::Types::DataAlreadyAcceptedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def expected_sequence_token
24
+ @data[:expected_sequence_token]
25
+ end
26
+
27
+ end
28
+
29
+ class InvalidSequenceTokenException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::CloudWatchLogs::Types::InvalidSequenceTokenException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def expected_sequence_token
40
+ @data[:expected_sequence_token]
41
+ end
42
+
43
+ end
44
+
45
+ class MalformedQueryException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::CloudWatchLogs::Types::MalformedQueryException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def query_compile_error
56
+ @data[:query_compile_error]
57
+ end
58
+
59
+ end
60
+
13
61
  end
14
62
  end
@@ -190,6 +190,18 @@ module Aws::CloudWatchLogs
190
190
  include Aws::Structure
191
191
  end
192
192
 
193
+ # The event was already logged.
194
+ #
195
+ # @!attribute [rw] expected_sequence_token
196
+ # @return [String]
197
+ #
198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DataAlreadyAcceptedException AWS API Documentation
199
+ #
200
+ class DataAlreadyAcceptedException < Struct.new(
201
+ :expected_sequence_token)
202
+ include Aws::Structure
203
+ end
204
+
193
205
  # @note When making an API call, you may pass DeleteDestinationRequest
194
206
  # data as a hash:
195
207
  #
@@ -1350,6 +1362,18 @@ module Aws::CloudWatchLogs
1350
1362
  include Aws::Structure
1351
1363
  end
1352
1364
 
1365
+ # The sequence token is not valid.
1366
+ #
1367
+ # @!attribute [rw] expected_sequence_token
1368
+ # @return [String]
1369
+ #
1370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InvalidSequenceTokenException AWS API Documentation
1371
+ #
1372
+ class InvalidSequenceTokenException < Struct.new(
1373
+ :expected_sequence_token)
1374
+ include Aws::Structure
1375
+ end
1376
+
1353
1377
  # @note When making an API call, you may pass ListTagsLogGroupRequest
1354
1378
  # data as a hash:
1355
1379
  #
@@ -1503,6 +1527,27 @@ module Aws::CloudWatchLogs
1503
1527
  include Aws::Structure
1504
1528
  end
1505
1529
 
1530
+ # The query string is not valid. Details about this error are displayed
1531
+ # in a `QueryCompileError` object. For more information, see .
1532
+ #
1533
+ # For more information about valid query syntax, see [CloudWatch Logs
1534
+ # Insights Query Syntax][1].
1535
+ #
1536
+ #
1537
+ #
1538
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
1539
+ #
1540
+ # @!attribute [rw] query_compile_error
1541
+ # Reserved.
1542
+ # @return [Types::QueryCompileError]
1543
+ #
1544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MalformedQueryException AWS API Documentation
1545
+ #
1546
+ class MalformedQueryException < Struct.new(
1547
+ :query_compile_error)
1548
+ include Aws::Structure
1549
+ end
1550
+
1506
1551
  # Metric filters express how CloudWatch Logs would extract metric
1507
1552
  # observations from ingested log events and transform them into metric
1508
1553
  # data in a CloudWatch metric.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.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