aws-sdk-cloudwatchlogs 1.80.0 → 1.82.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +88 -64
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 367e7788e61f7497cb5f03f4ef3e002b6f7fbcd744a35c336d3a6913324d29b4
|
4
|
+
data.tar.gz: 132c916680adb6a701c8ee9ddf3eaaddea54d863622be9a923891e85502eb002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7858906e3990d525152c5ba6fe886c80d250608d19ecbd0bceaddbfa92bce316e65b8455ca28cf0a03c7204ab969661409513f80e50c76ac2755ea01fc0b3c56
|
7
|
+
data.tar.gz: f8ea7038ecdc9754835db7c2371af0f5065222c9d5a9cb2487ae1db85ff6642b44cef10661cfc45d0d88d9469f122a5d85cbca145c4f7022f1d319880afb40b0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.82.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.81.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.80.0 (2024-03-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.82.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
|
-
#
|
203
|
-
#
|
204
|
-
#
|
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
|
@@ -303,8 +312,9 @@ module Aws::CloudWatchLogs
|
|
303
312
|
#
|
304
313
|
# @option options [String] :sdk_ua_app_id
|
305
314
|
# A unique and opaque application ID that is appended to the
|
306
|
-
# User-Agent header as app
|
307
|
-
# maximum length of 50.
|
315
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
316
|
+
# maximum length of 50. This variable is sourced from environment
|
317
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
308
318
|
#
|
309
319
|
# @option options [String] :secret_access_key
|
310
320
|
#
|
@@ -358,50 +368,65 @@ module Aws::CloudWatchLogs
|
|
358
368
|
# @option options [Aws::CloudWatchLogs::EndpointProvider] :endpoint_provider
|
359
369
|
# 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
370
|
#
|
361
|
-
# @option options [
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
# @option options [Float] :
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
371
|
+
# @option options [Float] :http_continue_timeout (1)
|
372
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
373
|
+
# request body. This option has no effect unless the request has "Expect"
|
374
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
375
|
+
# behaviour. This value can safely be set per request on the session.
|
376
|
+
#
|
377
|
+
# @option options [Float] :http_idle_timeout (5)
|
378
|
+
# The number of seconds a connection is allowed to sit idle before it
|
379
|
+
# is considered stale. Stale connections are closed and removed from the
|
380
|
+
# pool before making a request.
|
381
|
+
#
|
382
|
+
# @option options [Float] :http_open_timeout (15)
|
383
|
+
# The default number of seconds to wait for response data.
|
384
|
+
# This value can safely be set per-request on the session.
|
385
|
+
#
|
386
|
+
# @option options [URI::HTTP,String] :http_proxy
|
387
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
388
|
+
#
|
389
|
+
# @option options [Float] :http_read_timeout (60)
|
390
|
+
# The default number of seconds to wait for response data.
|
391
|
+
# This value can safely be set per-request on the session.
|
392
|
+
#
|
393
|
+
# @option options [Boolean] :http_wire_trace (false)
|
394
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
395
|
+
#
|
396
|
+
# @option options [Proc] :on_chunk_received
|
397
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
398
|
+
# of the response body is received. It provides three arguments: the chunk,
|
399
|
+
# the number of bytes received, and the total number of
|
400
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
401
|
+
#
|
402
|
+
# @option options [Proc] :on_chunk_sent
|
403
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
404
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
405
|
+
# the number of bytes read from the body, and the total number of
|
406
|
+
# bytes in the body.
|
407
|
+
#
|
408
|
+
# @option options [Boolean] :raise_response_errors (true)
|
409
|
+
# When `true`, response errors are raised.
|
410
|
+
#
|
411
|
+
# @option options [String] :ssl_ca_bundle
|
412
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
413
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
414
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
415
|
+
#
|
416
|
+
# @option options [String] :ssl_ca_directory
|
417
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
418
|
+
# authority files for verifying peer certificates. If you do
|
419
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
420
|
+
# default will be used if available.
|
386
421
|
#
|
387
|
-
# @option options [
|
388
|
-
#
|
422
|
+
# @option options [String] :ssl_ca_store
|
423
|
+
# Sets the X509::Store to verify peer certificate.
|
389
424
|
#
|
390
|
-
# @option options [
|
391
|
-
#
|
392
|
-
# connection.
|
425
|
+
# @option options [Float] :ssl_timeout
|
426
|
+
# Sets the SSL timeout in seconds
|
393
427
|
#
|
394
|
-
# @option options [
|
395
|
-
#
|
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.
|
399
|
-
#
|
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.
|
428
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
429
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
405
430
|
#
|
406
431
|
def initialize(*args)
|
407
432
|
super
|
@@ -4658,22 +4683,22 @@ module Aws::CloudWatchLogs
|
|
4658
4683
|
#
|
4659
4684
|
# @example EventStream Operation Example
|
4660
4685
|
#
|
4661
|
-
# You can process event once it arrives immediately, or wait until
|
4662
|
-
# full response complete and iterate through eventstream enumerator.
|
4686
|
+
# You can process the event once it arrives immediately, or wait until the
|
4687
|
+
# full response is complete and iterate through the eventstream enumerator.
|
4663
4688
|
#
|
4664
4689
|
# To interact with event immediately, you need to register #start_live_tail
|
4665
|
-
# with callbacks
|
4666
|
-
#
|
4690
|
+
# with callbacks. Callbacks can be registered for specific events or for all
|
4691
|
+
# events, including error events.
|
4667
4692
|
#
|
4668
|
-
# Callbacks can be passed
|
4669
|
-
# statement attached to #start_live_tail call directly. Hybrid
|
4670
|
-
# is also supported.
|
4693
|
+
# Callbacks can be passed into the `:event_stream_handler` option or within a
|
4694
|
+
# block statement attached to the #start_live_tail call directly. Hybrid
|
4695
|
+
# pattern of both is also supported.
|
4671
4696
|
#
|
4672
|
-
# `:event_stream_handler` option takes in either Proc object or
|
4697
|
+
# `:event_stream_handler` option takes in either a Proc object or
|
4673
4698
|
# Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object.
|
4674
4699
|
#
|
4675
|
-
# Usage pattern a):
|
4676
|
-
# Example for registering callbacks for all event types and error event
|
4700
|
+
# Usage pattern a): Callbacks with a block attached to #start_live_tail
|
4701
|
+
# Example for registering callbacks for all event types and an error event
|
4677
4702
|
#
|
4678
4703
|
# client.start_live_tail( # params input# ) do |stream|
|
4679
4704
|
# stream.on_error_event do |event|
|
@@ -4693,9 +4718,9 @@ module Aws::CloudWatchLogs
|
|
4693
4718
|
#
|
4694
4719
|
# end
|
4695
4720
|
#
|
4696
|
-
# Usage pattern b):
|
4721
|
+
# Usage pattern b): Pass in `:event_stream_handler` for #start_live_tail
|
4697
4722
|
#
|
4698
|
-
# 1)
|
4723
|
+
# 1) Create a Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object
|
4699
4724
|
# Example for registering callbacks with specific events
|
4700
4725
|
#
|
4701
4726
|
# handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
|
@@ -4714,7 +4739,7 @@ module Aws::CloudWatchLogs
|
|
4714
4739
|
#
|
4715
4740
|
# client.start_live_tail( # params input #, event_stream_handler: handler)
|
4716
4741
|
#
|
4717
|
-
# 2)
|
4742
|
+
# 2) Use a Ruby Proc object
|
4718
4743
|
# Example for registering callbacks with specific events
|
4719
4744
|
#
|
4720
4745
|
# handler = Proc.new do |stream|
|
@@ -4734,7 +4759,7 @@ module Aws::CloudWatchLogs
|
|
4734
4759
|
#
|
4735
4760
|
# client.start_live_tail( # params input #, event_stream_handler: handler)
|
4736
4761
|
#
|
4737
|
-
# Usage pattern c):
|
4762
|
+
# Usage pattern c): Hybrid pattern of a) and b)
|
4738
4763
|
#
|
4739
4764
|
# handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
|
4740
4765
|
# handler.on_session_start_event do |event|
|
@@ -4761,8 +4786,7 @@ module Aws::CloudWatchLogs
|
|
4761
4786
|
# end
|
4762
4787
|
# end
|
4763
4788
|
#
|
4764
|
-
#
|
4765
|
-
# iterate through events after response complete.
|
4789
|
+
# You can also iterate through events after the response complete.
|
4766
4790
|
#
|
4767
4791
|
# Events are available at resp.response_stream # => Enumerator
|
4768
4792
|
# For parameter input example, please refer to following request syntax
|
@@ -5349,7 +5373,7 @@ module Aws::CloudWatchLogs
|
|
5349
5373
|
params: params,
|
5350
5374
|
config: config)
|
5351
5375
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
5352
|
-
context[:gem_version] = '1.
|
5376
|
+
context[:gem_version] = '1.82.0'
|
5353
5377
|
Seahorse::Client::Request.new(handlers, context)
|
5354
5378
|
end
|
5355
5379
|
|
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.
|
4
|
+
version: 1.82.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-
|
11
|
+
date: 2024-05-13 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.
|
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.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|