aws-sdk-cloudwatchlogs 1.80.0 → 1.81.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +85 -62
- 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: 00ee28d3c97b0e1cebdf2a8027b143319a8257b354e6a7ea7a81bbdc5943afce
|
|
4
|
+
data.tar.gz: 285725f7cf0c943b8db9fe462512cc5cd6acce31e4fc8962fcbf7e28e7d80ec0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e16a4c4c47be49e6b0eb7dd922a30f925fb344e26f29c405452bab7ad9d05855267747e6f455223a11ba0c511e693baeefa8cb7e3b3288a8864f739b3f656251
|
|
7
|
+
data.tar.gz: 543db75adb9c30d18efd7c9863f9211927e853d44218fbe28eb2d1bce31b228a20ecfb627dc5396f89d07f26ea11c0b951256cc4491aff11f7c4143c7cc486fc
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
-
#
|
|
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
|
|
@@ -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 [
|
|
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
|
-
#
|
|
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.
|
|
386
420
|
#
|
|
387
|
-
# @option options [
|
|
388
|
-
#
|
|
421
|
+
# @option options [String] :ssl_ca_store
|
|
422
|
+
# Sets the X509::Store to verify peer certificate.
|
|
389
423
|
#
|
|
390
|
-
# @option options [
|
|
391
|
-
#
|
|
392
|
-
# connection.
|
|
424
|
+
# @option options [Float] :ssl_timeout
|
|
425
|
+
# Sets the SSL timeout in seconds
|
|
393
426
|
#
|
|
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.
|
|
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
|
|
@@ -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
|
|
4666
|
-
#
|
|
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
|
|
4669
|
-
# statement attached to #start_live_tail call directly. Hybrid
|
|
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):
|
|
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):
|
|
4720
|
+
# Usage pattern b): Pass in `:event_stream_handler` for #start_live_tail
|
|
4697
4721
|
#
|
|
4698
|
-
# 1)
|
|
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)
|
|
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):
|
|
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
|
-
#
|
|
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.
|
|
5375
|
+
context[:gem_version] = '1.81.0'
|
|
5353
5376
|
Seahorse::Client::Request.new(handlers, context)
|
|
5354
5377
|
end
|
|
5355
5378
|
|
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.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-
|
|
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.
|
|
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
|