aws-sdk-cloudwatchlogs 1.96.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: dd79d61961e5e5dcda644d7f69f7f8a5b911a77735905c5c47a1e1ee71e311d0
4
- data.tar.gz: 2069d23b0f271c75b30090e0e61189b4a74afbea282d8a5940f33da18c944272
3
+ metadata.gz: 2055027a80f8b7c2dcea07c868732d25b9839f7fadef46c0edd697f68edbb535
4
+ data.tar.gz: fe52b56d0e16698b832270ac258daafa61e9957d70567dfa9c495fef13f048dc
5
5
  SHA512:
6
- metadata.gz: 64b3e948e4a5bc252a4f4144580c232466cb0690331beedd673c3861e6c937839ed1f076503331cfe50f2a135f58e08bf19a3a0e41fd6157cf2f25489dad7ca1
7
- data.tar.gz: 04dbb04c194d8b092eca90bb40fba955a40abbd541c0ff37b85604ebebda7c21bf247468d68982305e84625a39bd4f307e66cb1d79d9a87a19d88e0402bc4995
6
+ metadata.gz: bb07389a518b9673de4bc4e5b593410ed08a07b713ce5b1bfa075ecb30cc63e205fd6207c1a21bed7248ead54f5c183f2b683e4c2c7b083b78e03afd98995578
7
+ data.tar.gz: 6bc9398ace4bcb8d8820e75c00e6862e539c0ab69bc64d0cb51ef35b0d965041369b0cd00aed43ad0accfd76d7f3042ba6837c55ad6f5fb5a5148173130098e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.97.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.96.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.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.96.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)
@@ -52,15 +52,18 @@ module Aws::CloudWatchLogs
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end