aws-sdk-lambda 1.148.0 → 1.149.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43e9245ed8a983e8ccd8eb232e99210c98f679bf89e92e188f016cf682ef2f96
4
- data.tar.gz: 5ccda98c6e49fb2d5f08b36096e19b3229081ac217bd44d577a7d0ecfc40ef36
3
+ metadata.gz: cad1c50bed42a4f3310598feaee9fd21064e8da40ec5fc08133a7cba4611902a
4
+ data.tar.gz: ee9801d552d0a446500092d2747619bd3009c49ff1145303cbd091e8f2ec0a79
5
5
  SHA512:
6
- metadata.gz: 3f384fe1b1003dd2ae836901c432ea1a0c3f53484726a85c57394250a2c842f347ae75b87c9258fca53ad11ee544a1b7518bf30831c1e5fc4e68a54d74fc0eb0
7
- data.tar.gz: 6e5a73b072a77d9fade820500c42d0d1bcc68b2f6929dd524657100993e2a4d59bf5163ece9a197c58961edf7487a3b253576f983f76ded68b944ce84246da3c
6
+ metadata.gz: 6b887cae94509bad659355f4efbe56c275d61ee8f9963388d68aa07d50bbe827d4845c6c5bffcaaa65573fc8aa9f2120e8795ecf5134403c2e7b53f4c4a90837
7
+ data.tar.gz: 1c67d4d1f639c2fd28440d49581f4ce1262c7a86b5f11a7591263bbb96537ba59742adbfa2e01588b3a1c95bc379fabab2d92b374127a34bb10a985ff1e549de
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.149.0 (2025-04-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.148.0 (2025-03-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.148.0
1
+ 1.149.0
@@ -4229,95 +4229,101 @@ module Aws::Lambda
4229
4229
  #
4230
4230
  # @example EventStream Operation Example
4231
4231
  #
4232
- # You can process the event once it arrives immediately, or wait until the
4233
- # full response is complete and iterate through the eventstream enumerator.
4234
- #
4235
- # To interact with event immediately, you need to register #invoke_with_response_stream
4236
- # with callbacks. Callbacks can be registered for specific events or for all
4237
- # events, including error events.
4238
- #
4239
- # Callbacks can be passed into the `:event_stream_handler` option or within a
4240
- # block statement attached to the #invoke_with_response_stream call directly. Hybrid
4241
- # pattern of both is also supported.
4242
- #
4243
- # `:event_stream_handler` option takes in either a Proc object or
4244
- # Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent object.
4245
- #
4246
- # Usage pattern a): Callbacks with a block attached to #invoke_with_response_stream
4247
- # Example for registering callbacks for all event types and an error event
4248
- #
4249
- # client.invoke_with_response_stream( # params input# ) do |stream|
4250
- # stream.on_error_event do |event|
4251
- # # catch unmodeled error event in the stream
4252
- # raise event
4253
- # # => Aws::Errors::EventError
4254
- # # event.event_type => :error
4255
- # # event.error_code => String
4256
- # # event.error_message => String
4257
- # end
4258
- #
4259
- # stream.on_event do |event|
4260
- # # process all events arrive
4261
- # puts event.event_type
4262
- # ...
4263
- # end
4264
- #
4232
+ # # You can process the event once it arrives immediately, or wait until the
4233
+ # # full response is complete and iterate through the eventstream enumerator.
4234
+ #
4235
+ # # To interact with event immediately, you need to register invoke_with_response_stream
4236
+ # # with callbacks. Callbacks can be registered for specific events or for all
4237
+ # # events, including error events.
4238
+ #
4239
+ # # Callbacks can be passed into the `:event_stream_handler` option or within a
4240
+ # # block statement attached to the #invoke_with_response_stream call directly. Hybrid
4241
+ # # pattern of both is also supported.
4242
+ #
4243
+ # # `:event_stream_handler` option takes in either a Proc object or
4244
+ # # Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent object.
4245
+ #
4246
+ # # Usage pattern a): Callbacks with a block attached to #invoke_with_response_stream
4247
+ # # Example for registering callbacks for all event types and an error event
4248
+ # client.invoke_with_response_stream(
4249
+ # # params input
4250
+ # ) do |stream|
4251
+ # stream.on_error_event do |event|
4252
+ # # catch unmodeled error event in the stream
4253
+ # raise event
4254
+ # # => Aws::Errors::EventError
4255
+ # # event.event_type => :error
4256
+ # # event.error_code => String
4257
+ # # event.error_message => String
4265
4258
  # end
4266
4259
  #
4267
- # Usage pattern b): Pass in `:event_stream_handler` for #invoke_with_response_stream
4268
- #
4269
- # 1) Create a Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent object
4270
- # Example for registering callbacks with specific events
4271
- #
4272
- # handler = Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent.new
4273
- # handler.on_payload_chunk_event do |event|
4274
- # event # => Aws::Lambda::Types::PayloadChunk
4275
- # end
4276
- # handler.on_invoke_complete_event do |event|
4277
- # event # => Aws::Lambda::Types::InvokeComplete
4278
- # end
4279
- #
4280
- # client.invoke_with_response_stream( # params input #, event_stream_handler: handler)
4281
- #
4282
- # 2) Use a Ruby Proc object
4283
- # Example for registering callbacks with specific events
4284
- #
4285
- # handler = Proc.new do |stream|
4286
- # stream.on_payload_chunk_event do |event|
4287
- # event # => Aws::Lambda::Types::PayloadChunk
4288
- # end
4289
- # stream.on_invoke_complete_event do |event|
4290
- # event # => Aws::Lambda::Types::InvokeComplete
4291
- # end
4260
+ # stream.on_event do |event|
4261
+ # # process all events arrive
4262
+ # puts event.event_type
4263
+ # # ...
4292
4264
  # end
4293
- #
4294
- # client.invoke_with_response_stream( # params input #, event_stream_handler: handler)
4295
- #
4296
- # Usage pattern c): Hybrid pattern of a) and b)
4297
- #
4298
- # handler = Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent.new
4299
- # handler.on_payload_chunk_event do |event|
4300
- # event # => Aws::Lambda::Types::PayloadChunk
4301
- # end
4302
- # handler.on_invoke_complete_event do |event|
4303
- # event # => Aws::Lambda::Types::InvokeComplete
4304
- # end
4305
- #
4306
- # client.invoke_with_response_stream( # params input #, event_stream_handler: handler) do |stream|
4307
- # stream.on_error_event do |event|
4308
- # # catch unmodeled error event in the stream
4309
- # raise event
4310
- # # => Aws::Errors::EventError
4311
- # # event.event_type => :error
4312
- # # event.error_code => String
4313
- # # event.error_message => String
4314
- # end
4265
+ # end
4266
+ #
4267
+ # # Usage pattern b): Pass in `:event_stream_handler` for #invoke_with_response_stream
4268
+ # # 1) Create a Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent object
4269
+ # # Example for registering callbacks with specific events
4270
+ #
4271
+ # handler = Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent.new
4272
+ # handler.on_payload_chunk_event do |event|
4273
+ # event # => Aws::Lambda::Types::PayloadChunk
4274
+ # end
4275
+ # handler.on_invoke_complete_event do |event|
4276
+ # event # => Aws::Lambda::Types::InvokeComplete
4277
+ # end
4278
+ #
4279
+ # client.invoke_with_response_stream(
4280
+ # # params inputs
4281
+ # event_stream_handler: handler
4282
+ # )
4283
+ #
4284
+ # # 2) Use a Ruby Proc object
4285
+ # # Example for registering callbacks with specific events
4286
+ # handler = Proc.new do |stream|
4287
+ # stream.on_payload_chunk_event do |event|
4288
+ # event # => Aws::Lambda::Types::PayloadChunk
4315
4289
  # end
4290
+ # stream.on_invoke_complete_event do |event|
4291
+ # event # => Aws::Lambda::Types::InvokeComplete
4292
+ # end
4293
+ # end
4294
+ #
4295
+ # client.invoke_with_response_stream(
4296
+ # # params inputs
4297
+ # event_stream_handler: handler
4298
+ # )
4299
+ #
4300
+ # # Usage pattern c): Hybrid pattern of a) and b)
4301
+ # handler = Aws::Lambda::EventStreams::InvokeWithResponseStreamResponseEvent.new
4302
+ # handler.on_payload_chunk_event do |event|
4303
+ # event # => Aws::Lambda::Types::PayloadChunk
4304
+ # end
4305
+ # handler.on_invoke_complete_event do |event|
4306
+ # event # => Aws::Lambda::Types::InvokeComplete
4307
+ # end
4308
+ #
4309
+ # client.invoke_with_response_stream(
4310
+ # # params input
4311
+ # event_stream_handler: handler
4312
+ # ) do |stream|
4313
+ # stream.on_error_event do |event|
4314
+ # # catch unmodeled error event in the stream
4315
+ # raise event
4316
+ # # => Aws::Errors::EventError
4317
+ # # event.event_type => :error
4318
+ # # event.error_code => String
4319
+ # # event.error_message => String
4320
+ # end
4321
+ # end
4316
4322
  #
4317
- # You can also iterate through events after the response complete.
4318
- #
4319
- # Events are available at resp.event_stream # => Enumerator
4320
- # For parameter input example, please refer to following request syntax
4323
+ # # You can also iterate through events after the response complete.
4324
+ # # Events are available at
4325
+ # resp.event_stream # => Enumerator
4326
+ # # For parameter input example, please refer to following request syntax.
4321
4327
  #
4322
4328
  # @example Request syntax with placeholder values
4323
4329
  #
@@ -4334,14 +4340,14 @@ module Aws::Lambda
4334
4340
  #
4335
4341
  # resp.status_code #=> Integer
4336
4342
  # resp.executed_version #=> String
4337
- # All events are available at resp.event_stream:
4343
+ # # All events are available at resp.event_stream:
4338
4344
  # resp.event_stream #=> Enumerator
4339
4345
  # resp.event_stream.event_types #=> [:payload_chunk, :invoke_complete]
4340
4346
  #
4341
- # For :payload_chunk event available at #on_payload_chunk_event callback and response eventstream enumerator:
4347
+ # # For :payload_chunk event available at #on_payload_chunk_event callback and response eventstream enumerator:
4342
4348
  # event.payload #=> String
4343
4349
  #
4344
- # For :invoke_complete event available at #on_invoke_complete_event callback and response eventstream enumerator:
4350
+ # # For :invoke_complete event available at #on_invoke_complete_event callback and response eventstream enumerator:
4345
4351
  # event.error_code #=> String
4346
4352
  # event.error_details #=> String
4347
4353
  # event.log_result #=> String
@@ -8199,7 +8205,7 @@ module Aws::Lambda
8199
8205
  tracer: tracer
8200
8206
  )
8201
8207
  context[:gem_name] = 'aws-sdk-lambda'
8202
- context[:gem_version] = '1.148.0'
8208
+ context[:gem_version] = '1.149.0'
8203
8209
  Seahorse::Client::Request.new(handlers, context)
8204
8210
  end
8205
8211
 
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.148.0'
59
+ GEM_VERSION = '1.149.0'
60
60
 
61
61
  end
62
62
 
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.148.0
4
+ version: 1.149.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: 2025-03-19 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core