aws-sdk-cloudwatchlogs 1.79.0 → 1.81.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: 4410a18c6d11ef7163f799e49d08da4badbbd80662a5947c2ae9087d54812210
4
- data.tar.gz: a9003066dc1616d0bed560cd03ee7b3c2b9e6c41d96269fb52831f439b2e4caa
3
+ metadata.gz: 00ee28d3c97b0e1cebdf2a8027b143319a8257b354e6a7ea7a81bbdc5943afce
4
+ data.tar.gz: 285725f7cf0c943b8db9fe462512cc5cd6acce31e4fc8962fcbf7e28e7d80ec0
5
5
  SHA512:
6
- metadata.gz: 7d8d88aba78dd18b7564c8d9ed9867bb0f00d9ec1e6089d521fcbf725fde8ccb8012adaebfda772d8997967155265cfd050e029084d7e756e7779ad78ddeded0
7
- data.tar.gz: 9cda1ffae9dc2377d9019304099bae61c02de922484e95f2c58699a58c226be6176fa113843ebc8b05d85cec16dfe638bad2e83d53a5ddc1e251cb82a21a1671
6
+ metadata.gz: e16a4c4c47be49e6b0eb7dd922a30f925fb344e26f29c405452bab7ad9d05855267747e6f455223a11ba0c511e693baeefa8cb7e3b3288a8864f739b3f656251
7
+ data.tar.gz: 543db75adb9c30d18efd7c9863f9211927e853d44218fbe28eb2d1bce31b228a20ecfb627dc5396f89d07f26ea11c0b951256cc4491aff11f7c4143c7cc486fc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.80.0 (2024-03-19)
10
+ ------------------
11
+
12
+ * Feature - Update LogSamples field in Anomaly model to be a list of LogEvent
13
+
4
14
  1.79.0 (2024-02-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.81.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -73,6 +74,7 @@ module Aws::CloudWatchLogs
73
74
  add_plugin(Aws::Plugins::ResponsePaging)
74
75
  add_plugin(Aws::Plugins::StubResponses)
75
76
  add_plugin(Aws::Plugins::IdempotencyToken)
77
+ add_plugin(Aws::Plugins::InvocationId)
76
78
  add_plugin(Aws::Plugins::JsonvalueConverter)
77
79
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
78
80
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -198,10 +200,17 @@ module Aws::CloudWatchLogs
198
200
  # When set to 'true' the request body will not be compressed
199
201
  # for supported operations.
200
202
  #
201
- # @option options [String] :endpoint
202
- # The client endpoint is normally constructed from the `:region`
203
- # option. You should only configure an `:endpoint` when connecting
204
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
203
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
204
+ # Normally you should not configure the `:endpoint` option
205
+ # directly. This is normally constructed from the `:region`
206
+ # option. Configuring `:endpoint` is normally reserved for
207
+ # connecting to test or custom endpoints. The endpoint should
208
+ # be a URI formatted like:
209
+ #
210
+ # 'http://example.com'
211
+ # 'https://example.com'
212
+ # 'http://example.com:123'
213
+ #
205
214
  #
206
215
  # @option options [Integer] :endpoint_cache_max_entries (1000)
207
216
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -358,50 +367,65 @@ module Aws::CloudWatchLogs
358
367
  # @option options [Aws::CloudWatchLogs::EndpointProvider] :endpoint_provider
359
368
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CloudWatchLogs::EndpointParameters`
360
369
  #
361
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
362
- # requests through. Formatted like 'http://proxy.com:123'.
363
- #
364
- # @option options [Float] :http_open_timeout (15) The number of
365
- # seconds to wait when opening a HTTP session before raising a
366
- # `Timeout::Error`.
367
- #
368
- # @option options [Float] :http_read_timeout (60) The default
369
- # number of seconds to wait for response data. This value can
370
- # safely be set per-request on the session.
371
- #
372
- # @option options [Float] :http_idle_timeout (5) The number of
373
- # seconds a connection is allowed to sit idle before it is
374
- # considered stale. Stale connections are closed and removed
375
- # from the pool before making a request.
376
- #
377
- # @option options [Float] :http_continue_timeout (1) The number of
378
- # seconds to wait for a 100-continue response before sending the
379
- # request body. This option has no effect unless the request has
380
- # "Expect" header set to "100-continue". Defaults to `nil` which
381
- # disables this behaviour. This value can safely be set per
382
- # request on the session.
383
- #
384
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
385
- # in seconds.
386
- #
387
- # @option options [Boolean] :http_wire_trace (false) When `true`,
388
- # HTTP debug output will be sent to the `:logger`.
370
+ # @option options [Float] :http_continue_timeout (1)
371
+ # The number of seconds to wait for a 100-continue response before sending the
372
+ # request body. This option has no effect unless the request has "Expect"
373
+ # header set to "100-continue". Defaults to `nil` which disables this
374
+ # behaviour. This value can safely be set per request on the session.
375
+ #
376
+ # @option options [Float] :http_idle_timeout (5)
377
+ # The number of seconds a connection is allowed to sit idle before it
378
+ # is considered stale. Stale connections are closed and removed from the
379
+ # pool before making a request.
380
+ #
381
+ # @option options [Float] :http_open_timeout (15)
382
+ # The default number of seconds to wait for response data.
383
+ # This value can safely be set per-request on the session.
384
+ #
385
+ # @option options [URI::HTTP,String] :http_proxy
386
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
387
+ #
388
+ # @option options [Float] :http_read_timeout (60)
389
+ # The default number of seconds to wait for response data.
390
+ # This value can safely be set per-request on the session.
391
+ #
392
+ # @option options [Boolean] :http_wire_trace (false)
393
+ # When `true`, HTTP debug output will be sent to the `:logger`.
394
+ #
395
+ # @option options [Proc] :on_chunk_received
396
+ # When a Proc object is provided, it will be used as callback when each chunk
397
+ # of the response body is received. It provides three arguments: the chunk,
398
+ # the number of bytes received, and the total number of
399
+ # bytes in the response (or nil if the server did not send a `content-length`).
400
+ #
401
+ # @option options [Proc] :on_chunk_sent
402
+ # When a Proc object is provided, it will be used as callback when each chunk
403
+ # of the request body is sent. It provides three arguments: the chunk,
404
+ # the number of bytes read from the body, and the total number of
405
+ # bytes in the body.
406
+ #
407
+ # @option options [Boolean] :raise_response_errors (true)
408
+ # When `true`, response errors are raised.
409
+ #
410
+ # @option options [String] :ssl_ca_bundle
411
+ # Full path to the SSL certificate authority bundle file that should be used when
412
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
413
+ # `:ssl_ca_directory` the the system default will be used if available.
414
+ #
415
+ # @option options [String] :ssl_ca_directory
416
+ # Full path of the directory that contains the unbundled SSL certificate
417
+ # authority files for verifying peer certificates. If you do
418
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
419
+ # default will be used if available.
389
420
  #
390
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
391
- # SSL peer certificates are verified when establishing a
392
- # connection.
421
+ # @option options [String] :ssl_ca_store
422
+ # Sets the X509::Store to verify peer certificate.
393
423
  #
394
- # @option options [String] :ssl_ca_bundle Full path to the SSL
395
- # certificate authority bundle file that should be used when
396
- # verifying peer certificates. If you do not pass
397
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
398
- # will be used if available.
424
+ # @option options [Float] :ssl_timeout
425
+ # Sets the SSL timeout in seconds
399
426
  #
400
- # @option options [String] :ssl_ca_directory Full path of the
401
- # directory that contains the unbundled SSL certificate
402
- # authority files for verifying peer certificates. If you do
403
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
404
- # system default will be used if available.
427
+ # @option options [Boolean] :ssl_verify_peer (true)
428
+ # When `true`, SSL peer certificates are verified when establishing a connection.
405
429
  #
406
430
  def initialize(*args)
407
431
  super
@@ -569,7 +593,7 @@ module Aws::CloudWatchLogs
569
593
  # from Amazon Web Services services.][1]
570
594
  #
571
595
  # A delivery destination can represent a log group in CloudWatch Logs,
572
- # an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose.
596
+ # an Amazon S3 bucket, or a delivery stream in Firehose.
573
597
  #
574
598
  # To configure logs delivery between a supported Amazon Web Services
575
599
  # service and a destination, you must do the following:
@@ -1526,10 +1550,9 @@ module Aws::CloudWatchLogs
1526
1550
  #
1527
1551
  # A delivery source represents an Amazon Web Services resource that
1528
1552
  # sends logs to an logs delivery destination. The destination can be
1529
- # CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some Amazon
1530
- # Web Services services support being configured as a delivery source.
1531
- # These services are listed in [Enable logging from Amazon Web Services
1532
- # services.][3]
1553
+ # CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services
1554
+ # services support being configured as a delivery source. These services
1555
+ # are listed in [Enable logging from Amazon Web Services services.][3]
1533
1556
  #
1534
1557
  #
1535
1558
  #
@@ -2573,10 +2596,9 @@ module Aws::CloudWatchLogs
2573
2596
  #
2574
2597
  # A delivery source represents an Amazon Web Services resource that
2575
2598
  # sends logs to an logs delivery destination. The destination can be
2576
- # CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some Amazon
2577
- # Web Services services support being configured as a delivery source.
2578
- # These services are listed in [Enable logging from Amazon Web Services
2579
- # services.][3]
2599
+ # CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services
2600
+ # services support being configured as a delivery source. These services
2601
+ # are listed in [Enable logging from Amazon Web Services services.][3]
2580
2602
  #
2581
2603
  # You need to specify the delivery `id` in this operation. You can find
2582
2604
  # the IDs of the deliveries in your account with the
@@ -3141,7 +3163,8 @@ module Aws::CloudWatchLogs
3141
3163
  # resp.anomalies[0].histogram #=> Hash
3142
3164
  # resp.anomalies[0].histogram["Time"] #=> Integer
3143
3165
  # resp.anomalies[0].log_samples #=> Array
3144
- # resp.anomalies[0].log_samples[0] #=> String
3166
+ # resp.anomalies[0].log_samples[0].timestamp #=> Integer
3167
+ # resp.anomalies[0].log_samples[0].message #=> String
3145
3168
  # resp.anomalies[0].pattern_tokens #=> Array
3146
3169
  # resp.anomalies[0].pattern_tokens[0].dynamic_token_position #=> Integer
3147
3170
  # resp.anomalies[0].pattern_tokens[0].is_dynamic #=> Boolean
@@ -3348,25 +3371,24 @@ module Aws::CloudWatchLogs
3348
3371
  # from CloudWatch Logs to other Amazon Web Services services.
3349
3372
  # Account-level subscription filter policies apply to both existing log
3350
3373
  # groups and log groups that are created later in this account.
3351
- # Supported destinations are Kinesis Data Streams, Kinesis Data
3352
- # Firehose, and Lambda. When log events are sent to the receiving
3353
- # service, they are Base64 encoded and compressed with the GZIP format.
3374
+ # Supported destinations are Kinesis Data Streams, Firehose, and Lambda.
3375
+ # When log events are sent to the receiving service, they are Base64
3376
+ # encoded and compressed with the GZIP format.
3354
3377
  #
3355
3378
  # The following destinations are supported for subscription filters:
3356
3379
  #
3357
3380
  # * An Kinesis Data Streams data stream in the same account as the
3358
3381
  # subscription policy, for same-account delivery.
3359
3382
  #
3360
- # * An Kinesis Data Firehose data stream in the same account as the
3361
- # subscription policy, for same-account delivery.
3383
+ # * An Firehose data stream in the same account as the subscription
3384
+ # policy, for same-account delivery.
3362
3385
  #
3363
3386
  # * A Lambda function in the same account as the subscription policy,
3364
3387
  # for same-account delivery.
3365
3388
  #
3366
3389
  # * A logical destination in a different account created with
3367
3390
  # [PutDestination][5], for cross-account delivery. Kinesis Data
3368
- # Streams and Kinesis Data Firehose are supported as logical
3369
- # destinations.
3391
+ # Streams and Firehose are supported as logical destinations.
3370
3392
  #
3371
3393
  # Each account can have one account-level subscription filter policy. If
3372
3394
  # you are updating an existing filter, you must specify the correct name
@@ -3403,8 +3425,7 @@ module Aws::CloudWatchLogs
3403
3425
  # `FindingsDestination` object. You can optionally use that
3404
3426
  # `FindingsDestination` object to list one or more destinations to
3405
3427
  # send audit findings to. If you specify destinations such as log
3406
- # groups, Kinesis Data Firehose streams, and S3 buckets, they must
3407
- # already exist.
3428
+ # groups, Firehose streams, and S3 buckets, they must already exist.
3408
3429
  #
3409
3430
  # * The second block must include both a `DataIdentifer` array and an
3410
3431
  # `Operation` property with an `Deidentify` action. The
@@ -3440,16 +3461,15 @@ module Aws::CloudWatchLogs
3440
3461
  # * An Kinesis Data Streams data stream in the same account as the
3441
3462
  # subscription policy, for same-account delivery.
3442
3463
  #
3443
- # * An Kinesis Data Firehose data stream in the same account as the
3444
- # subscription policy, for same-account delivery.
3464
+ # * An Firehose data stream in the same account as the subscription
3465
+ # policy, for same-account delivery.
3445
3466
  #
3446
3467
  # * A Lambda function in the same account as the subscription policy,
3447
3468
  # for same-account delivery.
3448
3469
  #
3449
3470
  # * A logical destination in a different account created with
3450
3471
  # [PutDestination][2], for cross-account delivery. Kinesis Data
3451
- # Streams and Kinesis Data Firehose are supported as logical
3452
- # destinations.
3472
+ # Streams and Firehose are supported as logical destinations.
3453
3473
  #
3454
3474
  # * **RoleArn** The ARN of an IAM role that grants CloudWatch Logs
3455
3475
  # permissions to deliver ingested log events to the destination
@@ -3582,8 +3602,7 @@ module Aws::CloudWatchLogs
3582
3602
  # `FindingsDestination` object. You can optionally use that
3583
3603
  # `FindingsDestination` object to list one or more destinations to
3584
3604
  # send audit findings to. If you specify destinations such as log
3585
- # groups, Kinesis Data Firehose streams, and S3 buckets, they must
3586
- # already exist.
3605
+ # groups, Firehose streams, and S3 buckets, they must already exist.
3587
3606
  #
3588
3607
  # * The second block must include both a `DataIdentifer` array and an
3589
3608
  # `Operation` property with an `Deidentify` action. The
@@ -3641,8 +3660,7 @@ module Aws::CloudWatchLogs
3641
3660
  # Creates or updates a logical *delivery destination*. A delivery
3642
3661
  # destination is an Amazon Web Services resource that represents an
3643
3662
  # Amazon Web Services service that logs can be sent to. CloudWatch Logs,
3644
- # Amazon S3, and Kinesis Data Firehose are supported as logs delivery
3645
- # destinations.
3663
+ # Amazon S3, and Firehose are supported as logs delivery destinations.
3646
3664
  #
3647
3665
  # To configure logs delivery between a supported Amazon Web Services
3648
3666
  # service and a destination, you must do the following:
@@ -3812,7 +3830,7 @@ module Aws::CloudWatchLogs
3812
3830
  # Creates or updates a logical *delivery source*. A delivery source
3813
3831
  # represents an Amazon Web Services resource that sends logs to an logs
3814
3832
  # delivery destination. The destination can be CloudWatch Logs, Amazon
3815
- # S3, or Kinesis Data Firehose.
3833
+ # S3, or Firehose.
3816
3834
  #
3817
3835
  # To configure logs delivery between a delivery destination and an
3818
3836
  # Amazon Web Services service that is supported as a delivery source,
@@ -3866,8 +3884,15 @@ module Aws::CloudWatchLogs
3866
3884
  # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
3867
3885
  #
3868
3886
  # @option params [required, String] :log_type
3869
- # Defines the type of log that the source is sending. For Amazon
3870
- # CodeWhisperer, the valid value is `EVENT_LOGS`.
3887
+ # Defines the type of log that the source is sending.
3888
+ #
3889
+ # * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
3890
+ #
3891
+ # * For IAM Identity Centerr, the valid value is `ERROR_LOGS`.
3892
+ #
3893
+ # * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
3894
+ # `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
3895
+ # `WORKMAIL_MAILBOX_ACCESS_LOGS`.
3871
3896
  #
3872
3897
  # @option params [Hash<String,String>] :tags
3873
3898
  # An optional list of key-value pairs to associate with the resource.
@@ -4450,8 +4475,7 @@ module Aws::CloudWatchLogs
4450
4475
  #
4451
4476
  # * A logical destination created with [PutDestination][2] that belongs
4452
4477
  # to a different account, for cross-account delivery. We currently
4453
- # support Kinesis Data Streams and Kinesis Data Firehose as logical
4454
- # destinations.
4478
+ # support Kinesis Data Streams and Firehose as logical destinations.
4455
4479
  #
4456
4480
  # * An Amazon Kinesis Data Firehose delivery stream that belongs to the
4457
4481
  # same account as the subscription filter, for same-account delivery.
@@ -4658,22 +4682,22 @@ module Aws::CloudWatchLogs
4658
4682
  #
4659
4683
  # @example EventStream Operation Example
4660
4684
  #
4661
- # You can process event once it arrives immediately, or wait until
4662
- # full response complete and iterate through eventstream enumerator.
4685
+ # You can process the event once it arrives immediately, or wait until the
4686
+ # full response is complete and iterate through the eventstream enumerator.
4663
4687
  #
4664
4688
  # To interact with event immediately, you need to register #start_live_tail
4665
- # with callbacks, callbacks can be register for specifc events or for all events,
4666
- # callback for errors in the event stream is also available for register.
4689
+ # with callbacks. Callbacks can be registered for specific events or for all
4690
+ # events, including error events.
4667
4691
  #
4668
- # Callbacks can be passed in by `:event_stream_handler` option or within block
4669
- # statement attached to #start_live_tail call directly. Hybrid pattern of both
4670
- # is also supported.
4692
+ # Callbacks can be passed into the `:event_stream_handler` option or within a
4693
+ # block statement attached to the #start_live_tail call directly. Hybrid
4694
+ # pattern of both is also supported.
4671
4695
  #
4672
- # `:event_stream_handler` option takes in either Proc object or
4696
+ # `:event_stream_handler` option takes in either a Proc object or
4673
4697
  # Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object.
4674
4698
  #
4675
- # Usage pattern a): callbacks with a block attached to #start_live_tail
4676
- # Example for registering callbacks for all event types and error event
4699
+ # Usage pattern a): Callbacks with a block attached to #start_live_tail
4700
+ # Example for registering callbacks for all event types and an error event
4677
4701
  #
4678
4702
  # client.start_live_tail( # params input# ) do |stream|
4679
4703
  # stream.on_error_event do |event|
@@ -4693,9 +4717,9 @@ module Aws::CloudWatchLogs
4693
4717
  #
4694
4718
  # end
4695
4719
  #
4696
- # Usage pattern b): pass in `:event_stream_handler` for #start_live_tail
4720
+ # Usage pattern b): Pass in `:event_stream_handler` for #start_live_tail
4697
4721
  #
4698
- # 1) create a Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object
4722
+ # 1) Create a Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object
4699
4723
  # Example for registering callbacks with specific events
4700
4724
  #
4701
4725
  # handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
@@ -4714,7 +4738,7 @@ module Aws::CloudWatchLogs
4714
4738
  #
4715
4739
  # client.start_live_tail( # params input #, event_stream_handler: handler)
4716
4740
  #
4717
- # 2) use a Ruby Proc object
4741
+ # 2) Use a Ruby Proc object
4718
4742
  # Example for registering callbacks with specific events
4719
4743
  #
4720
4744
  # handler = Proc.new do |stream|
@@ -4734,7 +4758,7 @@ module Aws::CloudWatchLogs
4734
4758
  #
4735
4759
  # client.start_live_tail( # params input #, event_stream_handler: handler)
4736
4760
  #
4737
- # Usage pattern c): hybird pattern of a) and b)
4761
+ # Usage pattern c): Hybrid pattern of a) and b)
4738
4762
  #
4739
4763
  # handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
4740
4764
  # handler.on_session_start_event do |event|
@@ -4761,8 +4785,7 @@ module Aws::CloudWatchLogs
4761
4785
  # end
4762
4786
  # end
4763
4787
  #
4764
- # Besides above usage patterns for process events when they arrive immediately, you can also
4765
- # iterate through events after response complete.
4788
+ # You can also iterate through events after the response complete.
4766
4789
  #
4767
4790
  # Events are available at resp.response_stream # => Enumerator
4768
4791
  # For parameter input example, please refer to following request syntax
@@ -5349,7 +5372,7 @@ module Aws::CloudWatchLogs
5349
5372
  params: params,
5350
5373
  config: config)
5351
5374
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
5352
- context[:gem_version] = '1.79.0'
5375
+ context[:gem_version] = '1.81.0'
5353
5376
  Seahorse::Client::Request.new(handlers, context)
5354
5377
  end
5355
5378
 
@@ -196,7 +196,7 @@ module Aws::CloudWatchLogs
196
196
  LiveTailSessionResults = Shapes::ListShape.new(name: 'LiveTailSessionResults')
197
197
  LiveTailSessionStart = Shapes::StructureShape.new(name: 'LiveTailSessionStart')
198
198
  LiveTailSessionUpdate = Shapes::StructureShape.new(name: 'LiveTailSessionUpdate')
199
- LogEvent = Shapes::StringShape.new(name: 'LogEvent')
199
+ LogEvent = Shapes::StructureShape.new(name: 'LogEvent')
200
200
  LogEventIndex = Shapes::IntegerShape.new(name: 'LogEventIndex')
201
201
  LogGroup = Shapes::StructureShape.new(name: 'LogGroup')
202
202
  LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
@@ -904,6 +904,10 @@ module Aws::CloudWatchLogs
904
904
  LiveTailSessionUpdate.add_member(:session_results, Shapes::ShapeRef.new(shape: LiveTailSessionResults, location_name: "sessionResults"))
905
905
  LiveTailSessionUpdate.struct_class = Types::LiveTailSessionUpdate
906
906
 
907
+ LogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
908
+ LogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
909
+ LogEvent.struct_class = Types::LogEvent
910
+
907
911
  LogGroup.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
908
912
  LogGroup.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
909
913
  LogGroup.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: Days, location_name: "retentionInDays"))
@@ -146,7 +146,7 @@ module Aws::CloudWatchLogs
146
146
  # @!attribute [rw] log_samples
147
147
  # An array of sample log event messages that are considered to be part
148
148
  # of this anomaly.
149
- # @return [Array<String>]
149
+ # @return [Array<Types::LogEvent>]
150
150
  #
151
151
  # @!attribute [rw] pattern_tokens
152
152
  # An array of structures where each structure contains information
@@ -925,7 +925,7 @@ module Aws::CloudWatchLogs
925
925
  #
926
926
  # @!attribute [rw] delivery_destination_type
927
927
  # Displays whether the delivery destination associated with this
928
- # delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
928
+ # delivery is CloudWatch Logs, Amazon S3, or Firehose.
929
929
  # @return [String]
930
930
  #
931
931
  # @!attribute [rw] tags
@@ -948,8 +948,8 @@ module Aws::CloudWatchLogs
948
948
  # This structure contains information about one *delivery destination*
949
949
  # in your account. A delivery destination is an Amazon Web Services
950
950
  # resource that represents an Amazon Web Services service that logs can
951
- # be sent to. CloudWatch Logs, Amazon S3, are supported as Kinesis Data
952
- # Firehose delivery destinations.
951
+ # be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose
952
+ # delivery destinations.
953
953
  #
954
954
  # To configure logs delivery between a supported Amazon Web Services
955
955
  # service and a destination, you must do the following:
@@ -991,7 +991,7 @@ module Aws::CloudWatchLogs
991
991
  #
992
992
  # @!attribute [rw] delivery_destination_type
993
993
  # Displays whether this delivery destination is CloudWatch Logs,
994
- # Amazon S3, or Kinesis Data Firehose.
994
+ # Amazon S3, or Firehose.
995
995
  # @return [String]
996
996
  #
997
997
  # @!attribute [rw] output_format
@@ -1027,7 +1027,7 @@ module Aws::CloudWatchLogs
1027
1027
  # The ARN of the Amazon Web Services destination that this delivery
1028
1028
  # destination represents. That Amazon Web Services destination can be
1029
1029
  # a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery
1030
- # stream in Kinesis Data Firehose.
1030
+ # stream in Firehose.
1031
1031
  # @return [String]
1032
1032
  #
1033
1033
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeliveryDestinationConfiguration AWS API Documentation
@@ -1041,7 +1041,7 @@ module Aws::CloudWatchLogs
1041
1041
  # This structure contains information about one *delivery source* in
1042
1042
  # your account. A delivery source is an Amazon Web Services resource
1043
1043
  # that sends logs to an Amazon Web Services destination. The destination
1044
- # can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
1044
+ # can be CloudWatch Logs, Amazon S3, or Firehose.
1045
1045
  #
1046
1046
  # Only some Amazon Web Services services support being configured as a
1047
1047
  # delivery source. These services are listed as **Supported \[V2
@@ -3006,6 +3006,26 @@ module Aws::CloudWatchLogs
3006
3006
  include Aws::Structure
3007
3007
  end
3008
3008
 
3009
+ # This structure contains the information for one sample log event that
3010
+ # is associated with an anomaly found by a log anomaly detector.
3011
+ #
3012
+ # @!attribute [rw] timestamp
3013
+ # The time stamp of the log event.
3014
+ # @return [Integer]
3015
+ #
3016
+ # @!attribute [rw] message
3017
+ # The message content of the log event.
3018
+ # @return [String]
3019
+ #
3020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogEvent AWS API Documentation
3021
+ #
3022
+ class LogEvent < Struct.new(
3023
+ :timestamp,
3024
+ :message)
3025
+ SENSITIVE = []
3026
+ include Aws::Structure
3027
+ end
3028
+
3009
3029
  # Represents a log group.
3010
3030
  #
3011
3031
  # @!attribute [rw] log_group_name
@@ -3493,8 +3513,7 @@ module Aws::CloudWatchLogs
3493
3513
  # `FindingsDestination` object. You can optionally use that
3494
3514
  # `FindingsDestination` object to list one or more destinations to
3495
3515
  # send audit findings to. If you specify destinations such as log
3496
- # groups, Kinesis Data Firehose streams, and S3 buckets, they must
3497
- # already exist.
3516
+ # groups, Firehose streams, and S3 buckets, they must already exist.
3498
3517
  #
3499
3518
  # * The second block must include both a `DataIdentifer` array and an
3500
3519
  # `Operation` property with an `Deidentify` action. The
@@ -3530,16 +3549,15 @@ module Aws::CloudWatchLogs
3530
3549
  # * An Kinesis Data Streams data stream in the same account as the
3531
3550
  # subscription policy, for same-account delivery.
3532
3551
  #
3533
- # * An Kinesis Data Firehose data stream in the same account as the
3534
- # subscription policy, for same-account delivery.
3552
+ # * An Firehose data stream in the same account as the subscription
3553
+ # policy, for same-account delivery.
3535
3554
  #
3536
3555
  # * A Lambda function in the same account as the subscription
3537
3556
  # policy, for same-account delivery.
3538
3557
  #
3539
3558
  # * A logical destination in a different account created with
3540
3559
  # [PutDestination][2], for cross-account delivery. Kinesis Data
3541
- # Streams and Kinesis Data Firehose are supported as logical
3542
- # destinations.
3560
+ # Streams and Firehose are supported as logical destinations.
3543
3561
  #
3544
3562
  # * **RoleArn** The ARN of an IAM role that grants CloudWatch Logs
3545
3563
  # permissions to deliver ingested log events to the destination
@@ -3635,8 +3653,7 @@ module Aws::CloudWatchLogs
3635
3653
  # `FindingsDestination` object. You can optionally use that
3636
3654
  # `FindingsDestination` object to list one or more destinations to
3637
3655
  # send audit findings to. If you specify destinations such as log
3638
- # groups, Kinesis Data Firehose streams, and S3 buckets, they must
3639
- # already exist.
3656
+ # groups, Firehose streams, and S3 buckets, they must already exist.
3640
3657
  #
3641
3658
  # * The second block must include both a `DataIdentifer` array and an
3642
3659
  # `Operation` property with an `Deidentify` action. The
@@ -3786,8 +3803,15 @@ module Aws::CloudWatchLogs
3786
3803
  # @return [String]
3787
3804
  #
3788
3805
  # @!attribute [rw] log_type
3789
- # Defines the type of log that the source is sending. For Amazon
3790
- # CodeWhisperer, the valid value is `EVENT_LOGS`.
3806
+ # Defines the type of log that the source is sending.
3807
+ #
3808
+ # * For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`.
3809
+ #
3810
+ # * For IAM Identity Centerr, the valid value is `ERROR_LOGS`.
3811
+ #
3812
+ # * For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`,
3813
+ # `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and
3814
+ # `WORKMAIL_MAILBOX_ACCESS_LOGS`.
3791
3815
  # @return [String]
3792
3816
  #
3793
3817
  # @!attribute [rw] tags
@@ -4380,11 +4404,13 @@ module Aws::CloudWatchLogs
4380
4404
  # Represents the rejected events.
4381
4405
  #
4382
4406
  # @!attribute [rw] too_new_log_event_start_index
4383
- # The log events that are too new.
4407
+ # The index of the first log event that is too new. This field is
4408
+ # inclusive.
4384
4409
  # @return [Integer]
4385
4410
  #
4386
4411
  # @!attribute [rw] too_old_log_event_end_index
4387
- # The log events that are dated too far in the past.
4412
+ # The index of the last log event that is too old. This field is
4413
+ # exclusive.
4388
4414
  # @return [Integer]
4389
4415
  #
4390
4416
  # @!attribute [rw] expired_log_event_end_index
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-cloudwatchlogs/event_streams'
53
53
  # @!group service
54
54
  module Aws::CloudWatchLogs
55
55
 
56
- GEM_VERSION = '1.79.0'
56
+ GEM_VERSION = '1.81.0'
57
57
 
58
58
  end
data/sig/types.rbs CHANGED
@@ -35,7 +35,7 @@ module Aws::CloudWatchLogs
35
35
  attr_accessor active: bool
36
36
  attr_accessor state: ("Active" | "Suppressed" | "Baseline")
37
37
  attr_accessor histogram: ::Hash[::String, ::Integer]
38
- attr_accessor log_samples: ::Array[::String]
38
+ attr_accessor log_samples: ::Array[Types::LogEvent]
39
39
  attr_accessor pattern_tokens: ::Array[Types::PatternToken]
40
40
  attr_accessor log_group_arn_list: ::Array[::String]
41
41
  attr_accessor suppressed: bool
@@ -731,6 +731,12 @@ module Aws::CloudWatchLogs
731
731
  SENSITIVE: []
732
732
  end
733
733
 
734
+ class LogEvent
735
+ attr_accessor timestamp: ::Integer
736
+ attr_accessor message: ::String
737
+ SENSITIVE: []
738
+ end
739
+
734
740
  class LogGroup
735
741
  attr_accessor log_group_name: ::String
736
742
  attr_accessor creation_time: ::Integer
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.79.0
4
+ version: 1.81.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-02-06 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement