aws-sdk-lambda 1.118.0 → 1.120.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-lambda/client.rb +88 -64
- data/lib/aws-sdk-lambda.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: cb4fff91b2fda102b712cac3354a206a32294925894adc1e3618518a9ed080a1
|
4
|
+
data.tar.gz: 5be04fc2890f13f3a0c3c25983cbeded593c89a8348dcaea1bec193f09b1f0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31ccb57d40a0702ff5603ccd5c73970cd72efe029e0395f2538d79f08061c92a5fe93e2b329574b47e50726cfb0f85a835fa2d98b54278c791de6113103b7138
|
7
|
+
data.tar.gz: 682fd843ec0893c8a16405f77a7cbc941daf38e107a786e90cff38dc4a71f0fea6771339d3c17aecab0c80e78d6be8831c00f4d9c1fc3e31bccfe0aa8be43c3e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.120.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.119.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.118.0 (2024-04-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.120.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::Lambda
|
|
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::Lambda
|
|
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::Lambda
|
|
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
|
#
|
@@ -348,50 +358,65 @@ module Aws::Lambda
|
|
348
358
|
# @option options [Aws::Lambda::EndpointProvider] :endpoint_provider
|
349
359
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Lambda::EndpointParameters`
|
350
360
|
#
|
351
|
-
# @option options [
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
# @option options [Float] :
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
361
|
+
# @option options [Float] :http_continue_timeout (1)
|
362
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
363
|
+
# request body. This option has no effect unless the request has "Expect"
|
364
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
365
|
+
# behaviour. This value can safely be set per request on the session.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_idle_timeout (5)
|
368
|
+
# The number of seconds a connection is allowed to sit idle before it
|
369
|
+
# is considered stale. Stale connections are closed and removed from the
|
370
|
+
# pool before making a request.
|
371
|
+
#
|
372
|
+
# @option options [Float] :http_open_timeout (15)
|
373
|
+
# The default number of seconds to wait for response data.
|
374
|
+
# This value can safely be set per-request on the session.
|
375
|
+
#
|
376
|
+
# @option options [URI::HTTP,String] :http_proxy
|
377
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
378
|
+
#
|
379
|
+
# @option options [Float] :http_read_timeout (60)
|
380
|
+
# The default number of seconds to wait for response data.
|
381
|
+
# This value can safely be set per-request on the session.
|
382
|
+
#
|
383
|
+
# @option options [Boolean] :http_wire_trace (false)
|
384
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
385
|
+
#
|
386
|
+
# @option options [Proc] :on_chunk_received
|
387
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
388
|
+
# of the response body is received. It provides three arguments: the chunk,
|
389
|
+
# the number of bytes received, and the total number of
|
390
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
391
|
+
#
|
392
|
+
# @option options [Proc] :on_chunk_sent
|
393
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
394
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
395
|
+
# the number of bytes read from the body, and the total number of
|
396
|
+
# bytes in the body.
|
397
|
+
#
|
398
|
+
# @option options [Boolean] :raise_response_errors (true)
|
399
|
+
# When `true`, response errors are raised.
|
400
|
+
#
|
401
|
+
# @option options [String] :ssl_ca_bundle
|
402
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
403
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
404
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
405
|
+
#
|
406
|
+
# @option options [String] :ssl_ca_directory
|
407
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
408
|
+
# authority files for verifying peer certificates. If you do
|
409
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
410
|
+
# default will be used if available.
|
376
411
|
#
|
377
|
-
# @option options [
|
378
|
-
#
|
412
|
+
# @option options [String] :ssl_ca_store
|
413
|
+
# Sets the X509::Store to verify peer certificate.
|
379
414
|
#
|
380
|
-
# @option options [
|
381
|
-
#
|
382
|
-
# connection.
|
415
|
+
# @option options [Float] :ssl_timeout
|
416
|
+
# Sets the SSL timeout in seconds
|
383
417
|
#
|
384
|
-
# @option options [
|
385
|
-
#
|
386
|
-
# verifying peer certificates. If you do not pass
|
387
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
388
|
-
# will be used if available.
|
389
|
-
#
|
390
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
391
|
-
# directory that contains the unbundled SSL certificate
|
392
|
-
# authority files for verifying peer certificates. If you do
|
393
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
394
|
-
# system default will be used if available.
|
418
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
419
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
395
420
|
#
|
396
421
|
def initialize(*args)
|
397
422
|
super
|
@@ -3398,22 +3423,22 @@ module Aws::Lambda
|
|
3398
3423
|
#
|
3399
3424
|
# @example EventStream Operation Example
|
3400
3425
|
#
|
3401
|
-
# You can process event once it arrives immediately, or wait until
|
3402
|
-
# full response complete and iterate through eventstream enumerator.
|
3426
|
+
# You can process the event once it arrives immediately, or wait until the
|
3427
|
+
# full response is complete and iterate through the eventstream enumerator.
|
3403
3428
|
#
|
3404
3429
|
# To interact with event immediately, you need to register #invoke_with_response_stream
|
3405
|
-
# with callbacks
|
3406
|
-
#
|
3430
|
+
# with callbacks. Callbacks can be registered for specific events or for all
|
3431
|
+
# events, including error events.
|
3407
3432
|
#
|
3408
|
-
# Callbacks can be passed
|
3409
|
-
# statement attached to #invoke_with_response_stream call directly. Hybrid
|
3410
|
-
# is also supported.
|
3433
|
+
# Callbacks can be passed into the `:event_stream_handler` option or within a
|
3434
|
+
# block statement attached to the #invoke_with_response_stream call directly. Hybrid
|
3435
|
+
# pattern of both is also supported.
|
3411
3436
|
#
|
3412
|
-
# `:event_stream_handler` option takes in either Proc object or
|
3437
|
+
# `:event_stream_handler` option takes in either a Proc object or
|
3413
3438
|
# Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent object.
|
3414
3439
|
#
|
3415
|
-
# Usage pattern a):
|
3416
|
-
# Example for registering callbacks for all event types and error event
|
3440
|
+
# Usage pattern a): Callbacks with a block attached to #invoke_with_response_stream
|
3441
|
+
# Example for registering callbacks for all event types and an error event
|
3417
3442
|
#
|
3418
3443
|
# client.invoke_with_response_stream( # params input# ) do |stream|
|
3419
3444
|
# stream.on_error_event do |event|
|
@@ -3433,9 +3458,9 @@ module Aws::Lambda
|
|
3433
3458
|
#
|
3434
3459
|
# end
|
3435
3460
|
#
|
3436
|
-
# Usage pattern b):
|
3461
|
+
# Usage pattern b): Pass in `:event_stream_handler` for #invoke_with_response_stream
|
3437
3462
|
#
|
3438
|
-
# 1)
|
3463
|
+
# 1) Create a Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent object
|
3439
3464
|
# Example for registering callbacks with specific events
|
3440
3465
|
#
|
3441
3466
|
# handler = Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent.new
|
@@ -3448,7 +3473,7 @@ module Aws::Lambda
|
|
3448
3473
|
#
|
3449
3474
|
# client.invoke_with_response_stream( # params input #, event_stream_handler: handler)
|
3450
3475
|
#
|
3451
|
-
# 2)
|
3476
|
+
# 2) Use a Ruby Proc object
|
3452
3477
|
# Example for registering callbacks with specific events
|
3453
3478
|
#
|
3454
3479
|
# handler = Proc.new do |stream|
|
@@ -3462,7 +3487,7 @@ module Aws::Lambda
|
|
3462
3487
|
#
|
3463
3488
|
# client.invoke_with_response_stream( # params input #, event_stream_handler: handler)
|
3464
3489
|
#
|
3465
|
-
# Usage pattern c):
|
3490
|
+
# Usage pattern c): Hybrid pattern of a) and b)
|
3466
3491
|
#
|
3467
3492
|
# handler = Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent.new
|
3468
3493
|
# handler.on_payload_chunk_event do |event|
|
@@ -3483,8 +3508,7 @@ module Aws::Lambda
|
|
3483
3508
|
# end
|
3484
3509
|
# end
|
3485
3510
|
#
|
3486
|
-
#
|
3487
|
-
# iterate through events after response complete.
|
3511
|
+
# You can also iterate through events after the response complete.
|
3488
3512
|
#
|
3489
3513
|
# Events are available at resp.event_stream # => Enumerator
|
3490
3514
|
# For parameter input example, please refer to following request syntax
|
@@ -6507,7 +6531,7 @@ module Aws::Lambda
|
|
6507
6531
|
params: params,
|
6508
6532
|
config: config)
|
6509
6533
|
context[:gem_name] = 'aws-sdk-lambda'
|
6510
|
-
context[:gem_version] = '1.
|
6534
|
+
context[:gem_version] = '1.120.0'
|
6511
6535
|
Seahorse::Client::Request.new(handlers, context)
|
6512
6536
|
end
|
6513
6537
|
|
data/lib/aws-sdk-lambda.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.120.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
|