aws-sdk-cloudwatchlogs 1.97.0 → 1.98.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: d83d599bfe40f1dc4d720a1f33511a544138be49257e6ce5e201599975893e8e
4
- data.tar.gz: 995c0efe37c456a84a38220da2f5e4780bf57c0319d2c87c98d5ec20ac3f8b20
3
+ metadata.gz: 2055027a80f8b7c2dcea07c868732d25b9839f7fadef46c0edd697f68edbb535
4
+ data.tar.gz: fe52b56d0e16698b832270ac258daafa61e9957d70567dfa9c495fef13f048dc
5
5
  SHA512:
6
- metadata.gz: 17cc10de04a578fbc0959f8b843349a22dba29491d98462dba971de7d024f68e036be876d4c18a3ddc82b063a48ae635c68168cc1fbb204dd78eb17d49361d81
7
- data.tar.gz: 98e75d25ab51f3bfe43e40c9845d8d0403aaace97e6a75c4a03840a2549a89cb15e9d6c48403705c49b781a926d13d78a4cfb77d06e4b6b2ddcd56f4845ec49c
6
+ metadata.gz: bb07389a518b9673de4bc4e5b593410ed08a07b713ce5b1bfa075ecb30cc63e205fd6207c1a21bed7248ead54f5c183f2b683e4c2c7b083b78e03afd98995578
7
+ data.tar.gz: 6bc9398ace4bcb8d8820e75c00e6862e539c0ab69bc64d0cb51ef35b0d965041369b0cd00aed43ad0accfd76d7f3042ba6837c55ad6f5fb5a5148173130098e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2024-10-25)
5
+ ------------------
6
+
7
+ * Feature - Adding inferred token name for dynamic tokens in Anomalies.
8
+
4
9
  1.97.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.98.0
@@ -651,8 +651,8 @@ module Aws::CloudWatchLogs
651
651
  # multiple deliveries to configure multiple delivery sources to send
652
652
  # logs to the same delivery destination.
653
653
  #
654
- # You can't update an existing delivery. You can only create and delete
655
- # deliveries.
654
+ # To update an existing delivery configuration, use
655
+ # [UpdateDeliveryConfiguration][5].
656
656
  #
657
657
  #
658
658
  #
@@ -660,6 +660,7 @@ module Aws::CloudWatchLogs
660
660
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
661
661
  # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html
662
662
  # [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html
663
+ # [5]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
663
664
  #
664
665
  # @option params [required, String] :delivery_source_name
665
666
  # The name of the delivery source to use for this delivery.
@@ -669,8 +670,8 @@ module Aws::CloudWatchLogs
669
670
  #
670
671
  # @option params [Array<String>] :record_fields
671
672
  # The list of record fields to be delivered to the destination, in
672
- # order. If the deliverys log source has mandatory fields, they must be
673
- # included in this list.
673
+ # order. If the delivery's log source has mandatory fields, they must
674
+ # be included in this list.
674
675
  #
675
676
  # @option params [String] :field_delimiter
676
677
  # The field delimiter to use between record fields when the final output
@@ -678,7 +679,7 @@ module Aws::CloudWatchLogs
678
679
  #
679
680
  # @option params [Types::S3DeliveryConfiguration] :s3_delivery_configuration
680
681
  # This structure contains parameters that are valid only when the
681
- # deliverys delivery destination is an S3 bucket.
682
+ # delivery's delivery destination is an S3 bucket.
682
683
  #
683
684
  # @option params [Hash<String,String>] :tags
684
685
  # An optional list of key-value pairs to associate with the resource.
@@ -800,6 +801,10 @@ module Aws::CloudWatchLogs
800
801
  # The prefix used as the start of the key for every object exported. If
801
802
  # you don't specify a value, the default is `exportedlogs`.
802
803
  #
804
+ # The length of this parameter must comply with the S3 object key name
805
+ # length limits. The object key name is a sequence of Unicode characters
806
+ # with UTF-8 encoding, and can be up to 1,024 bytes.
807
+ #
803
808
  # @return [Types::CreateExportTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
804
809
  #
805
810
  # * {Types::CreateExportTaskResponse#task_id #task_id} => String
@@ -1957,7 +1962,7 @@ module Aws::CloudWatchLogs
1957
1962
  # filter the results by prefix. The results are ASCII-sorted by log
1958
1963
  # group name.
1959
1964
  #
1960
- # CloudWatch Logs doesnt support IAM policies that control access to
1965
+ # CloudWatch Logs doesn't support IAM policies that control access to
1961
1966
  # the `DescribeLogGroups` action by using the `aws:ResourceTag/key-name
1962
1967
  # ` condition key. Other CloudWatch Logs actions do support the use of
1963
1968
  # the `aws:ResourceTag/key-name ` condition key to control access. For
@@ -3324,6 +3329,7 @@ module Aws::CloudWatchLogs
3324
3329
  # resp.anomalies[0].pattern_tokens[0].token_string #=> String
3325
3330
  # resp.anomalies[0].pattern_tokens[0].enumerations #=> Hash
3326
3331
  # resp.anomalies[0].pattern_tokens[0].enumerations["TokenString"] #=> Integer
3332
+ # resp.anomalies[0].pattern_tokens[0].inferred_token_name #=> String
3327
3333
  # resp.anomalies[0].log_group_arn_list #=> Array
3328
3334
  # resp.anomalies[0].log_group_arn_list[0] #=> String
3329
3335
  # resp.anomalies[0].suppressed #=> Boolean
@@ -4582,14 +4588,14 @@ module Aws::CloudWatchLogs
4582
4588
  # policy, you can configure the number of days for which to retain log
4583
4589
  # events in the specified log group.
4584
4590
  #
4585
- # <note markdown="1"> CloudWatch Logs doesnt immediately delete log events when they reach
4591
+ # <note markdown="1"> CloudWatch Logs doesn't immediately delete log events when they reach
4586
4592
  # their retention setting. It typically takes up to 72 hours after that
4587
4593
  # before log events are deleted, but in rare situations might take
4588
4594
  # longer.
4589
4595
  #
4590
4596
  # To illustrate, imagine that you change a log group to have a longer
4591
4597
  # retention setting when it contains log events that are past the
4592
- # expiration date, but havent been deleted. Those log events will take
4598
+ # expiration date, but haven't been deleted. Those log events will take
4593
4599
  # up to 72 hours to be deleted after the new retention date is reached.
4594
4600
  # To make sure that log data is deleted permanently, keep a log group at
4595
4601
  # its lower retention setting until 72 hours after the previous
@@ -5131,7 +5137,7 @@ module Aws::CloudWatchLogs
5131
5137
  # @option params [Integer] :limit
5132
5138
  # The maximum number of log events to return in the query. If the query
5133
5139
  # string uses the `fields` command, only the specified fields and their
5134
- # values are returned. The default is 1000.
5140
+ # values are returned. The default is 10,000.
5135
5141
  #
5136
5142
  # @return [Types::StartQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5137
5143
  #
@@ -5204,7 +5210,7 @@ module Aws::CloudWatchLogs
5204
5210
  # For more information about tags, see [Tag Log Groups in Amazon
5205
5211
  # CloudWatch Logs][4] in the *Amazon CloudWatch Logs User Guide*.
5206
5212
  #
5207
- # CloudWatch Logs doesnt support IAM policies that prevent users from
5213
+ # CloudWatch Logs doesn't support IAM policies that prevent users from
5208
5214
  # assigning specified tags to log groups using the
5209
5215
  # `aws:Resource/key-name ` or `aws:TagKeys` condition keys. For more
5210
5216
  # information about using tags to control access, see [Controlling
@@ -5351,7 +5357,7 @@ module Aws::CloudWatchLogs
5351
5357
  # To list the tags for a log group, use [ListTagsForResource][2]. To add
5352
5358
  # tags, use [TagResource][3].
5353
5359
  #
5354
- # CloudWatch Logs doesnt support IAM policies that prevent users from
5360
+ # CloudWatch Logs doesn't support IAM policies that prevent users from
5355
5361
  # assigning specified tags to log groups using the
5356
5362
  # `aws:Resource/key-name ` or `aws:TagKeys` condition keys.
5357
5363
  #
@@ -5426,10 +5432,10 @@ module Aws::CloudWatchLogs
5426
5432
  end
5427
5433
 
5428
5434
  # Use this operation to *suppress* anomaly detection for a specified
5429
- # anomaly or pattern. If you suppress an anomaly, CloudWatch Logs wont
5435
+ # anomaly or pattern. If you suppress an anomaly, CloudWatch Logs won't
5430
5436
  # report new occurrences of that anomaly and won't update that anomaly
5431
- # with new data. If you suppress a pattern, CloudWatch Logs wont report
5432
- # any anomalies related to that pattern.
5437
+ # with new data. If you suppress a pattern, CloudWatch Logs won't
5438
+ # report any anomalies related to that pattern.
5433
5439
  #
5434
5440
  # You must specify either `anomalyId` or `patternId`, but you can't
5435
5441
  # specify both parameters in the same operation.
@@ -5509,8 +5515,8 @@ module Aws::CloudWatchLogs
5509
5515
  #
5510
5516
  # @option params [Array<String>] :record_fields
5511
5517
  # The list of record fields to be delivered to the destination, in
5512
- # order. If the deliverys log source has mandatory fields, they must be
5513
- # included in this list.
5518
+ # order. If the delivery's log source has mandatory fields, they must
5519
+ # be included in this list.
5514
5520
  #
5515
5521
  # @option params [String] :field_delimiter
5516
5522
  # The field delimiter to use between record fields when the final output
@@ -5518,7 +5524,7 @@ module Aws::CloudWatchLogs
5518
5524
  #
5519
5525
  # @option params [Types::S3DeliveryConfiguration] :s3_delivery_configuration
5520
5526
  # This structure contains parameters that are valid only when the
5521
- # deliverys delivery destination is an S3 bucket.
5527
+ # delivery's delivery destination is an S3 bucket.
5522
5528
  #
5523
5529
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5524
5530
  #
@@ -5611,7 +5617,7 @@ module Aws::CloudWatchLogs
5611
5617
  tracer: tracer
5612
5618
  )
5613
5619
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
5614
- context[:gem_version] = '1.97.0'
5620
+ context[:gem_version] = '1.98.0'
5615
5621
  Seahorse::Client::Request.new(handlers, context)
5616
5622
  end
5617
5623
 
@@ -189,6 +189,7 @@ module Aws::CloudWatchLogs
189
189
  GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
190
190
  Histogram = Shapes::MapShape.new(name: 'Histogram')
191
191
  IncludeLinkedAccounts = Shapes::BooleanShape.new(name: 'IncludeLinkedAccounts')
192
+ InferredTokenName = Shapes::StringShape.new(name: 'InferredTokenName')
192
193
  InheritedProperties = Shapes::ListShape.new(name: 'InheritedProperties')
193
194
  InheritedProperty = Shapes::StringShape.new(name: 'InheritedProperty')
194
195
  InputLogEvent = Shapes::StructureShape.new(name: 'InputLogEvent')
@@ -1082,6 +1083,7 @@ module Aws::CloudWatchLogs
1082
1083
  PatternToken.add_member(:is_dynamic, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDynamic"))
1083
1084
  PatternToken.add_member(:token_string, Shapes::ShapeRef.new(shape: TokenString, location_name: "tokenString"))
1084
1085
  PatternToken.add_member(:enumerations, Shapes::ShapeRef.new(shape: Enumerations, location_name: "enumerations"))
1086
+ PatternToken.add_member(:inferred_token_name, Shapes::ShapeRef.new(shape: InferredTokenName, location_name: "inferredTokenName"))
1085
1087
  PatternToken.struct_class = Types::PatternToken
1086
1088
 
1087
1089
  PatternTokens.member = Shapes::ShapeRef.new(shape: PatternToken)
@@ -387,7 +387,7 @@ module Aws::CloudWatchLogs
387
387
  #
388
388
  # @!attribute [rw] default_delivery_config_values
389
389
  # A mapping that displays the default value of each property within a
390
- # deliverys configuration, if it is not specified in the request.
390
+ # delivery's configuration, if it is not specified in the request.
391
391
  # @return [Types::ConfigurationTemplateDeliveryConfigValues]
392
392
  #
393
393
  # @!attribute [rw] allowed_fields
@@ -508,7 +508,7 @@ module Aws::CloudWatchLogs
508
508
  #
509
509
  # @!attribute [rw] record_fields
510
510
  # The list of record fields to be delivered to the destination, in
511
- # order. If the deliverys log source has mandatory fields, they must
511
+ # order. If the delivery's log source has mandatory fields, they must
512
512
  # be included in this list.
513
513
  # @return [Array<String>]
514
514
  #
@@ -519,7 +519,7 @@ module Aws::CloudWatchLogs
519
519
  #
520
520
  # @!attribute [rw] s3_delivery_configuration
521
521
  # This structure contains parameters that are valid only when the
522
- # deliverys delivery destination is an S3 bucket.
522
+ # delivery's delivery destination is an S3 bucket.
523
523
  # @return [Types::S3DeliveryConfiguration]
524
524
  #
525
525
  # @!attribute [rw] tags
@@ -595,6 +595,10 @@ module Aws::CloudWatchLogs
595
595
  # @!attribute [rw] destination_prefix
596
596
  # The prefix used as the start of the key for every object exported.
597
597
  # If you don't specify a value, the default is `exportedlogs`.
598
+ #
599
+ # The length of this parameter must comply with the S3 object key name
600
+ # length limits. The object key name is a sequence of Unicode
601
+ # characters with UTF-8 encoding, and can be up to 1,024 bytes.
598
602
  # @return [String]
599
603
  #
600
604
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskRequest AWS API Documentation
@@ -1057,12 +1061,13 @@ module Aws::CloudWatchLogs
1057
1061
  #
1058
1062
  # For more information, see [CreateDelivery][1].
1059
1063
  #
1060
- # You can't update an existing delivery. You can only create and delete
1061
- # deliveries.
1064
+ # To update an existing delivery configuration, use
1065
+ # [UpdateDeliveryConfiguration][2].
1062
1066
  #
1063
1067
  #
1064
1068
  #
1065
1069
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
1070
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
1066
1071
  #
1067
1072
  # @!attribute [rw] id
1068
1073
  # The unique ID that identifies this delivery in your account.
@@ -3727,13 +3732,28 @@ module Aws::CloudWatchLogs
3727
3732
  # times each value was found.
3728
3733
  # @return [Hash<String,Integer>]
3729
3734
  #
3735
+ # @!attribute [rw] inferred_token_name
3736
+ # A name that CloudWatch Logs assigned to this dynamic token to make
3737
+ # the pattern more readable. The string part of the
3738
+ # `inferredTokenName` gives you a clearer idea of the content of this
3739
+ # token. The number part of the `inferredTokenName` shows where in the
3740
+ # pattern this token appears, compared to other dynamic tokens.
3741
+ # CloudWatch Logs assigns the string part of the name based on
3742
+ # analyzing the content of the log events that contain it.
3743
+ #
3744
+ # For example, an inferred token name of `IPAddress-3` means that the
3745
+ # token represents an IP address, and this token is the third dynamic
3746
+ # token in the pattern.
3747
+ # @return [String]
3748
+ #
3730
3749
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PatternToken AWS API Documentation
3731
3750
  #
3732
3751
  class PatternToken < Struct.new(
3733
3752
  :dynamic_token_position,
3734
3753
  :is_dynamic,
3735
3754
  :token_string,
3736
- :enumerations)
3755
+ :enumerations,
3756
+ :inferred_token_name)
3737
3757
  SENSITIVE = []
3738
3758
  include Aws::Structure
3739
3759
  end
@@ -5041,7 +5061,7 @@ module Aws::CloudWatchLogs
5041
5061
  # @!attribute [rw] limit
5042
5062
  # The maximum number of log events to return in the query. If the
5043
5063
  # query string uses the `fields` command, only the specified fields
5044
- # and their values are returned. The default is 1000.
5064
+ # and their values are returned. The default is 10,000.
5045
5065
  # @return [Integer]
5046
5066
  #
5047
5067
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQueryRequest AWS API Documentation
@@ -5377,7 +5397,7 @@ module Aws::CloudWatchLogs
5377
5397
  #
5378
5398
  # @!attribute [rw] record_fields
5379
5399
  # The list of record fields to be delivered to the destination, in
5380
- # order. If the deliverys log source has mandatory fields, they must
5400
+ # order. If the delivery's log source has mandatory fields, they must
5381
5401
  # be included in this list.
5382
5402
  # @return [Array<String>]
5383
5403
  #
@@ -5388,7 +5408,7 @@ module Aws::CloudWatchLogs
5388
5408
  #
5389
5409
  # @!attribute [rw] s3_delivery_configuration
5390
5410
  # This structure contains parameters that are valid only when the
5391
- # deliverys delivery destination is an S3 bucket.
5411
+ # delivery's delivery destination is an S3 bucket.
5392
5412
  # @return [Types::S3DeliveryConfiguration]
5393
5413
  #
5394
5414
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateDeliveryConfigurationRequest AWS API Documentation
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.97.0'
58
+ GEM_VERSION = '1.98.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -865,6 +865,7 @@ module Aws::CloudWatchLogs
865
865
  attr_accessor is_dynamic: bool
866
866
  attr_accessor token_string: ::String
867
867
  attr_accessor enumerations: ::Hash[::String, ::Integer]
868
+ attr_accessor inferred_token_name: ::String
868
869
  SENSITIVE: []
869
870
  end
870
871
 
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.97.0
4
+ version: 1.98.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core