aws-sdk-cloudwatchlogs 1.58.0 → 1.59.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
  SHA256:
3
- metadata.gz: 4e37c06f00fe7d7725c38209117c0cd8338b10cbca70fa1bf28c21e8303f174f
4
- data.tar.gz: 97573906f53d790dc2f464ee295b5e4992dab00df81c8215961f8eec1123d4b5
3
+ metadata.gz: 49f0c4a3d43626e0a933285c40bdb54ea7e3603865c42d2d5deda1ca093ab4c6
4
+ data.tar.gz: 57666b4c102356595f67702175c26fcc866fc37aead83ec5d5635cc59898de73
5
5
  SHA512:
6
- metadata.gz: 30f272d526b662bd97da8a67506afa74b50e29bd6d7e16691e095ab9d3fefee5e9c16640158793876cd7dbe22d0e56f1071968e868f6f51fb3295db308ae1f8e
7
- data.tar.gz: d87334bf5f592dd1dafadd1e87d1169c5357d6317363b75f562f0e631bf449eb3cae819c02e2c42af08050c3a0b88f3a5f0faaf73fbf3ec2b847ec3e8f10ef91
6
+ metadata.gz: 55d23914b7c9daa000eb24013104edd1fce730f4685ef09963806f33709eb3e5de32f09c0a8e7f592c45e17e5bc5dfb04f267be0f4ea01ac197c852283aa0601
7
+ data.tar.gz: 21fd13627ec5731c651fad8a6d672546136b8bff9408dbf00ac1004308a867bfc00ba375352eb85087b5af52f8b4de04c25f734f1035102082405be131c1ddb9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2023-01-04)
5
+ ------------------
6
+
7
+ * Feature - Update to remove sequenceToken as a required field in PutLogEvents calls.
8
+
4
9
  1.58.0 (2022-12-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -2290,11 +2290,6 @@ module Aws::CloudWatchLogs
2290
2290
  # used to authorize claims to register a subscription filter against a
2291
2291
  # given destination.
2292
2292
  #
2293
- # If multiple Amazon Web Services accounts are sending logs to this
2294
- # destination, each sender account must be listed separately in the
2295
- # policy. The policy does not support specifying `*` as the Principal or
2296
- # the use of the `aws:PrincipalOrgId` global key.
2297
- #
2298
2293
  #
2299
2294
  #
2300
2295
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html
@@ -2345,13 +2340,11 @@ module Aws::CloudWatchLogs
2345
2340
 
2346
2341
  # Uploads a batch of log events to the specified log stream.
2347
2342
  #
2348
- # You must include the sequence token obtained from the response of the
2349
- # previous call. An upload in a newly created log stream does not
2350
- # require a sequence token. You can also get the sequence token in the
2351
- # `expectedSequenceToken` field from `InvalidSequenceTokenException`. If
2352
- # you call `PutLogEvents` twice within a narrow time period using the
2353
- # same value for `sequenceToken`, both calls might be successful or one
2354
- # might be rejected.
2343
+ # The sequence token is now ignored in `PutLogEvents` actions.
2344
+ # `PutLogEvents` actions are always accepted and never return
2345
+ # `InvalidSequenceTokenException` or `DataAlreadyAcceptedException` even
2346
+ # if the sequence token is not valid. You can use parallel
2347
+ # `PutLogEvents` actions on the same log stream.
2355
2348
  #
2356
2349
  # The batch of events must satisfy the following constraints:
2357
2350
  #
@@ -2378,8 +2371,10 @@ module Aws::CloudWatchLogs
2378
2371
  #
2379
2372
  # * The maximum number of log events in a batch is 10,000.
2380
2373
  #
2381
- # * There is a quota of five requests per second per log stream.
2382
- # Additional requests are throttled. This quota can't be changed.
2374
+ # * The quota of five requests per second per log stream has been
2375
+ # removed. Instead, `PutLogEvents` actions are throttled based on a
2376
+ # per-second per-account quota. You can request an increase to the
2377
+ # per-second throttling quota by using the Service Quotas service.
2383
2378
  #
2384
2379
  # If a call to `PutLogEvents` returns "UnrecognizedClientException"
2385
2380
  # the most likely cause is a non-valid Amazon Web Services access key ID
@@ -2396,15 +2391,12 @@ module Aws::CloudWatchLogs
2396
2391
  #
2397
2392
  # @option params [String] :sequence_token
2398
2393
  # The sequence token obtained from the response of the previous
2399
- # `PutLogEvents` call. An upload in a newly created log stream does not
2400
- # require a sequence token. You can also get the sequence token using
2401
- # [DescribeLogStreams][1]. If you call `PutLogEvents` twice within a
2402
- # narrow time period using the same value for `sequenceToken`, both
2403
- # calls might be successful or one might be rejected.
2404
- #
2405
- #
2394
+ # `PutLogEvents` call.
2406
2395
  #
2407
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html
2396
+ # The `sequenceToken` parameter is now ignored in `PutLogEvents`
2397
+ # actions. `PutLogEvents` actions are now accepted and never return
2398
+ # `InvalidSequenceTokenException` or `DataAlreadyAcceptedException` even
2399
+ # if the sequence token is not valid.
2408
2400
  #
2409
2401
  # @return [Types::PutLogEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2410
2402
  #
@@ -3209,7 +3201,7 @@ module Aws::CloudWatchLogs
3209
3201
  params: params,
3210
3202
  config: config)
3211
3203
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
3212
- context[:gem_version] = '1.58.0'
3204
+ context[:gem_version] = '1.59.0'
3213
3205
  Seahorse::Client::Request.new(handlers, context)
3214
3206
  end
3215
3207
 
@@ -171,6 +171,10 @@ module Aws::CloudWatchLogs
171
171
 
172
172
  # The event was already logged.
173
173
  #
174
+ # `PutLogEvents` actions are now always accepted and never return
175
+ # `DataAlreadyAcceptedException` regardless of whether a given batch of
176
+ # log events has already been accepted.
177
+ #
174
178
  # @!attribute [rw] expected_sequence_token
175
179
  # @return [String]
176
180
  #
@@ -1480,6 +1484,10 @@ module Aws::CloudWatchLogs
1480
1484
  # token in the `expectedSequenceToken` field in the
1481
1485
  # `InvalidSequenceTokenException` message.
1482
1486
  #
1487
+ # `PutLogEvents` actions are now always accepted and never return
1488
+ # `InvalidSequenceTokenException` regardless of receiving an invalid
1489
+ # sequence token.
1490
+ #
1483
1491
  # @!attribute [rw] expected_sequence_token
1484
1492
  # @return [String]
1485
1493
  #
@@ -1673,11 +1681,18 @@ module Aws::CloudWatchLogs
1673
1681
  #
1674
1682
  # @!attribute [rw] last_ingestion_time
1675
1683
  # The ingestion time, expressed as the number of milliseconds after
1676
- # `Jan 1, 1970 00:00:00 UTC`.
1684
+ # `Jan 1, 1970 00:00:00 UTC` The `lastIngestionTime` value updates on
1685
+ # an eventual consistency basis. It typically updates in less than an
1686
+ # hour after ingestion, but in rare situations might take longer.
1677
1687
  # @return [Integer]
1678
1688
  #
1679
1689
  # @!attribute [rw] upload_sequence_token
1680
1690
  # The sequence token.
1691
+ #
1692
+ # The sequence token is now ignored in `PutLogEvents` actions.
1693
+ # `PutLogEvents` actions are always accepted regardless of receiving
1694
+ # an invalid sequence token. You don't need to obtain
1695
+ # `uploadSequenceToken` to use a `PutLogEvents` action.
1681
1696
  # @return [String]
1682
1697
  #
1683
1698
  # @!attribute [rw] arn
@@ -2073,16 +2088,12 @@ module Aws::CloudWatchLogs
2073
2088
  #
2074
2089
  # @!attribute [rw] sequence_token
2075
2090
  # The sequence token obtained from the response of the previous
2076
- # `PutLogEvents` call. An upload in a newly created log stream does
2077
- # not require a sequence token. You can also get the sequence token
2078
- # using [DescribeLogStreams][1]. If you call `PutLogEvents` twice
2079
- # within a narrow time period using the same value for
2080
- # `sequenceToken`, both calls might be successful or one might be
2081
- # rejected.
2082
- #
2091
+ # `PutLogEvents` call.
2083
2092
  #
2084
- #
2085
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html
2093
+ # The `sequenceToken` parameter is now ignored in `PutLogEvents`
2094
+ # actions. `PutLogEvents` actions are now accepted and never return
2095
+ # `InvalidSequenceTokenException` or `DataAlreadyAcceptedException`
2096
+ # even if the sequence token is not valid.
2086
2097
  # @return [String]
2087
2098
  #
2088
2099
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest AWS API Documentation
@@ -2098,6 +2109,15 @@ module Aws::CloudWatchLogs
2098
2109
 
2099
2110
  # @!attribute [rw] next_sequence_token
2100
2111
  # The next sequence token.
2112
+ #
2113
+ # This field has been deprecated.
2114
+ #
2115
+ # The sequence token is now ignored in `PutLogEvents` actions.
2116
+ # `PutLogEvents` actions are always accepted even if the sequence
2117
+ # token is not valid. You can use parallel `PutLogEvents` actions on
2118
+ # the same log stream and you do not need to wait for the response of
2119
+ # a previous `PutLogEvents` action to obtain the `nextSequenceToken`
2120
+ # value.
2101
2121
  # @return [String]
2102
2122
  #
2103
2123
  # @!attribute [rw] rejected_log_events_info
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatchLogs
54
54
 
55
- GEM_VERSION = '1.58.0'
55
+ GEM_VERSION = '1.59.0'
56
56
 
57
57
  end
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.58.0
4
+ version: 1.59.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: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core