aws-sdk-cloudwatchlogs 1.27.0 → 1.28.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: 64fb9c81431d167fa3b9f0498034bd63d2fd9eaf
4
- data.tar.gz: c59571b7f2187a9690bb52180f28c4780ddb79cb
3
+ metadata.gz: 7fa8d2e2efe92e0c4b08cf38a792f7fe323cca87
4
+ data.tar.gz: 9b5dae6088c7d4062e49a6e4483022905ebda9aa
5
5
  SHA512:
6
- metadata.gz: f074a234d6e0487bbd7824083a624ab975c6181058953a87f7364a9d7246f83289bc6be653e9c49b63fa87aa7cac5c1f432f82fd2c38387187a842c89df2e804
7
- data.tar.gz: 3f5f5329e7c9e1bdab619e5420ae07bd8f8299d3fb162940a0c2a98eca932ab2771322317d5422ca5d547ebc1b11bb22373bc656d034079f0939fc3d125f3b8f
6
+ metadata.gz: 50b0d9704fc02ac2606820bf839d5580080889c2adde8ecf3b8eb6268b802b77195478967cb2d5e591faf74b3ce8f8e8e987eeeb994347e05ee9ad0af5b6beb9
7
+ data.tar.gz: c01665dc1179a9b020ef2ee4a64ec9a8f7e4e338c6ecd20cbae3ac90bcdfc369a59845fbc6b48c9f9a5e86f03a20da54a10c0f57be7d26e6154a8366a9b3970d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
42
42
  # @service
43
43
  module Aws::CloudWatchLogs
44
44
 
45
- GEM_VERSION = '1.27.0'
45
+ GEM_VERSION = '1.28.0'
46
46
 
47
47
  end
@@ -275,6 +275,12 @@ module Aws::CloudWatchLogs
275
275
  # This enables Amazon CloudWatch Logs to decrypt this data whenever it
276
276
  # is requested.
277
277
  #
278
+ # <note markdown="1"> **Important:** CloudWatch Logs supports only symmetric CMKs. Do not
279
+ # use an associate an asymmetric CMK with your log group. For more
280
+ # information, see [Using Symmetric and Asymmetric Keys][1].
281
+ #
282
+ # </note>
283
+ #
278
284
  # Note that it can take up to 5 minutes for this operation to take
279
285
  # effect.
280
286
  #
@@ -282,17 +288,23 @@ module Aws::CloudWatchLogs
282
288
  # not exist or the CMK is disabled, you will receive an
283
289
  # `InvalidParameterException` error.
284
290
  #
291
+ #
292
+ #
293
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
294
+ #
285
295
  # @option params [required, String] :log_group_name
286
296
  # The name of the log group.
287
297
  #
288
298
  # @option params [required, String] :kms_key_id
289
299
  # The Amazon Resource Name (ARN) of the CMK to use when encrypting log
290
- # data. For more information, see [Amazon Resource Names - AWS Key
291
- # Management Service (AWS KMS)][1].
300
+ # data. This must be a symmetric CMK. For more information, see [Amazon
301
+ # Resource Names - AWS Key Management Service (AWS KMS)][1] and [Using
302
+ # Symmetric and Asymmetric Keys][2].
292
303
  #
293
304
  #
294
305
  #
295
306
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms
307
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
296
308
  #
297
309
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
298
310
  #
@@ -435,6 +447,16 @@ module Aws::CloudWatchLogs
435
447
  # not exist or the CMK is disabled, you will receive an
436
448
  # `InvalidParameterException` error.
437
449
  #
450
+ # <note markdown="1"> **Important:** CloudWatch Logs supports only symmetric CMKs. Do not
451
+ # associate an asymmetric CMK with your log group. For more information,
452
+ # see [Using Symmetric and Asymmetric Keys][1].
453
+ #
454
+ # </note>
455
+ #
456
+ #
457
+ #
458
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
459
+ #
438
460
  # @option params [required, String] :log_group_name
439
461
  # The name of the log group.
440
462
  #
@@ -474,7 +496,8 @@ module Aws::CloudWatchLogs
474
496
  # Creates a log stream for the specified log group.
475
497
  #
476
498
  # There is no limit on the number of log streams that you can create for
477
- # a log group.
499
+ # a log group. There is a limit of 50 TPS on `CreateLogStream`
500
+ # operations, after which transactions are throttled.
478
501
  #
479
502
  # You must use the following guidelines when naming a log stream:
480
503
  #
@@ -1612,10 +1635,11 @@ module Aws::CloudWatchLogs
1612
1635
  #
1613
1636
  # You must include the sequence token obtained from the response of the
1614
1637
  # previous call. An upload in a newly created log stream does not
1615
- # require a sequence token. You can also get the sequence token using
1616
- # DescribeLogStreams. If you call `PutLogEvents` twice within a narrow
1617
- # time period using the same value for `sequenceToken`, both calls may
1618
- # be successful, or one may be rejected.
1638
+ # require a sequence token. You can also get the sequence token in the
1639
+ # `expectedSequenceToken` field from `InvalidSequenceTokenException`. If
1640
+ # you call `PutLogEvents` twice within a narrow time period using the
1641
+ # same value for `sequenceToken`, both calls may be successful, or one
1642
+ # may be rejected.
1619
1643
  #
1620
1644
  # The batch of events must satisfy the following constraints:
1621
1645
  #
@@ -1636,11 +1660,14 @@ module Aws::CloudWatchLogs
1636
1660
  # timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For
1637
1661
  # example, 2017-09-15T13:45:30.)
1638
1662
  #
1639
- # * The maximum number of log events in a batch is 10,000.
1640
- #
1641
1663
  # * A batch of log events in a single request cannot span more than 24
1642
1664
  # hours. Otherwise, the operation fails.
1643
1665
  #
1666
+ # * The maximum number of log events in a batch is 10,000.
1667
+ #
1668
+ # * There is a quota of 5 requests per second per log stream. Additional
1669
+ # requests are throttled. This quota can't be changed.
1670
+ #
1644
1671
  # If a call to PutLogEvents returns "UnrecognizedClientException" the
1645
1672
  # most likely cause is an invalid AWS access key ID or secret key.
1646
1673
  #
@@ -2137,7 +2164,7 @@ module Aws::CloudWatchLogs
2137
2164
  params: params,
2138
2165
  config: config)
2139
2166
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
2140
- context[:gem_version] = '1.27.0'
2167
+ context[:gem_version] = '1.28.0'
2141
2168
  Seahorse::Client::Request.new(handlers, context)
2142
2169
  end
2143
2170
 
@@ -22,12 +22,14 @@ module Aws::CloudWatchLogs
22
22
  #
23
23
  # @!attribute [rw] kms_key_id
24
24
  # The Amazon Resource Name (ARN) of the CMK to use when encrypting log
25
- # data. For more information, see [Amazon Resource Names - AWS Key
26
- # Management Service (AWS KMS)][1].
25
+ # data. This must be a symmetric CMK. For more information, see
26
+ # [Amazon Resource Names - AWS Key Management Service (AWS KMS)][1]
27
+ # and [Using Symmetric and Asymmetric Keys][2].
27
28
  #
28
29
  #
29
30
  #
30
31
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms
32
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
31
33
  # @return [String]
32
34
  #
33
35
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKeyRequest AWS API Documentation
@@ -1377,7 +1379,9 @@ module Aws::CloudWatchLogs
1377
1379
  include Aws::Structure
1378
1380
  end
1379
1381
 
1380
- # The sequence token is not valid.
1382
+ # The sequence token is not valid. You can get the correct sequence
1383
+ # token in the `expectedSequenceToken` field in the
1384
+ # `InvalidSequenceTokenException` message.
1381
1385
  #
1382
1386
  # @!attribute [rw] expected_sequence_token
1383
1387
  # @return [String]
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.27.0
4
+ version: 1.28.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-11-15 00:00:00.000000000 Z
11
+ date: 2020-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core