aws-sdk-lambda 1.52.0 → 1.53.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/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +24 -3
- data/lib/aws-sdk-lambda/client_api.rb +2 -0
- data/lib/aws-sdk-lambda/types.rb +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70078dd67659e21cbea7f9f1b66704815c8aa15de85aaeb53112908315cabd38
|
4
|
+
data.tar.gz: d7c33760b4d483cf4e086af86224f91a373c91cb534d7c703171d2ca6bbf15be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a293f20ae9e9af1011fb603e4b22230e9034f6dbd1fe540797edb836e1920345baf28ea14fba9ec644fc9a03e53665ddff10aa6e429195fc53fae6b90edd22eb
|
7
|
+
data.tar.gz: 45fdfebd416512f8d24c104ebb31ce41c7689841b419d9de8414ec1adfaaebb1ebbc3c08bf29244a5568b460e4b89b01bb66dbbeb2c8ecafd5dec9a145a77cc8
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -675,7 +675,9 @@ module Aws::Lambda
|
|
675
675
|
#
|
676
676
|
# * [Using AWS Lambda with Amazon SQS][3]
|
677
677
|
#
|
678
|
-
# * [Using AWS Lambda with Amazon
|
678
|
+
# * [Using AWS Lambda with Amazon MQ][4]
|
679
|
+
#
|
680
|
+
# * [Using AWS Lambda with Amazon MSK][5]
|
679
681
|
#
|
680
682
|
# The following error handling options are only available for stream
|
681
683
|
# sources (DynamoDB and Kinesis):
|
@@ -702,7 +704,8 @@ module Aws::Lambda
|
|
702
704
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
|
703
705
|
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
|
704
706
|
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
|
705
|
-
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
707
|
+
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html
|
708
|
+
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
|
706
709
|
#
|
707
710
|
# @option params [required, String] :event_source_arn
|
708
711
|
# The Amazon Resource Name (ARN) of the event source.
|
@@ -807,6 +810,8 @@ module Aws::Lambda
|
|
807
810
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
808
811
|
#
|
809
812
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
813
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
814
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
810
815
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
811
816
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
812
817
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -881,6 +886,8 @@ module Aws::Lambda
|
|
881
886
|
# @example Response structure
|
882
887
|
#
|
883
888
|
# resp.uuid #=> String
|
889
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
890
|
+
# resp.starting_position_timestamp #=> Time
|
884
891
|
# resp.batch_size #=> Integer
|
885
892
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
886
893
|
# resp.parallelization_factor #=> Integer
|
@@ -1319,6 +1326,8 @@ module Aws::Lambda
|
|
1319
1326
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1320
1327
|
#
|
1321
1328
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
1329
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
1330
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
1322
1331
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
1323
1332
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1324
1333
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -1365,6 +1374,8 @@ module Aws::Lambda
|
|
1365
1374
|
# @example Response structure
|
1366
1375
|
#
|
1367
1376
|
# resp.uuid #=> String
|
1377
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
1378
|
+
# resp.starting_position_timestamp #=> Time
|
1368
1379
|
# resp.batch_size #=> Integer
|
1369
1380
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1370
1381
|
# resp.parallelization_factor #=> Integer
|
@@ -1784,6 +1795,8 @@ module Aws::Lambda
|
|
1784
1795
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1785
1796
|
#
|
1786
1797
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
1798
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
1799
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
1787
1800
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
1788
1801
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1789
1802
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -1837,6 +1850,8 @@ module Aws::Lambda
|
|
1837
1850
|
# @example Response structure
|
1838
1851
|
#
|
1839
1852
|
# resp.uuid #=> String
|
1853
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
1854
|
+
# resp.starting_position_timestamp #=> Time
|
1840
1855
|
# resp.batch_size #=> Integer
|
1841
1856
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1842
1857
|
# resp.parallelization_factor #=> Integer
|
@@ -3093,6 +3108,8 @@ module Aws::Lambda
|
|
3093
3108
|
# resp.next_marker #=> String
|
3094
3109
|
# resp.event_source_mappings #=> Array
|
3095
3110
|
# resp.event_source_mappings[0].uuid #=> String
|
3111
|
+
# resp.event_source_mappings[0].starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
3112
|
+
# resp.event_source_mappings[0].starting_position_timestamp #=> Time
|
3096
3113
|
# resp.event_source_mappings[0].batch_size #=> Integer
|
3097
3114
|
# resp.event_source_mappings[0].maximum_batching_window_in_seconds #=> Integer
|
3098
3115
|
# resp.event_source_mappings[0].parallelization_factor #=> Integer
|
@@ -4863,6 +4880,8 @@ module Aws::Lambda
|
|
4863
4880
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4864
4881
|
#
|
4865
4882
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
4883
|
+
# * {Types::EventSourceMappingConfiguration#starting_position #starting_position} => String
|
4884
|
+
# * {Types::EventSourceMappingConfiguration#starting_position_timestamp #starting_position_timestamp} => Time
|
4866
4885
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
4867
4886
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
4868
4887
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
@@ -4935,6 +4954,8 @@ module Aws::Lambda
|
|
4935
4954
|
# @example Response structure
|
4936
4955
|
#
|
4937
4956
|
# resp.uuid #=> String
|
4957
|
+
# resp.starting_position #=> String, one of "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"
|
4958
|
+
# resp.starting_position_timestamp #=> Time
|
4938
4959
|
# resp.batch_size #=> Integer
|
4939
4960
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
4940
4961
|
# resp.parallelization_factor #=> Integer
|
@@ -5541,7 +5562,7 @@ module Aws::Lambda
|
|
5541
5562
|
params: params,
|
5542
5563
|
config: config)
|
5543
5564
|
context[:gem_name] = 'aws-sdk-lambda'
|
5544
|
-
context[:gem_version] = '1.
|
5565
|
+
context[:gem_version] = '1.53.0'
|
5545
5566
|
Seahorse::Client::Request.new(handlers, context)
|
5546
5567
|
end
|
5547
5568
|
|
@@ -441,6 +441,8 @@ module Aws::Lambda
|
|
441
441
|
EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
|
442
442
|
|
443
443
|
EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
|
444
|
+
EventSourceMappingConfiguration.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
445
|
+
EventSourceMappingConfiguration.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
|
444
446
|
EventSourceMappingConfiguration.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
445
447
|
EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
446
448
|
EventSourceMappingConfiguration.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -1298,6 +1298,17 @@ module Aws::Lambda
|
|
1298
1298
|
# The identifier of the event source mapping.
|
1299
1299
|
# @return [String]
|
1300
1300
|
#
|
1301
|
+
# @!attribute [rw] starting_position
|
1302
|
+
# The position in a stream from which to start reading. Required for
|
1303
|
+
# Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
|
1304
|
+
# `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
|
1305
|
+
# @return [String]
|
1306
|
+
#
|
1307
|
+
# @!attribute [rw] starting_position_timestamp
|
1308
|
+
# With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
|
1309
|
+
# to start reading.
|
1310
|
+
# @return [Time]
|
1311
|
+
#
|
1301
1312
|
# @!attribute [rw] batch_size
|
1302
1313
|
# The maximum number of items to retrieve in a single batch.
|
1303
1314
|
# @return [Integer]
|
@@ -1389,6 +1400,8 @@ module Aws::Lambda
|
|
1389
1400
|
#
|
1390
1401
|
class EventSourceMappingConfiguration < Struct.new(
|
1391
1402
|
:uuid,
|
1403
|
+
:starting_position,
|
1404
|
+
:starting_position_timestamp,
|
1392
1405
|
:batch_size,
|
1393
1406
|
:maximum_batching_window_in_seconds,
|
1394
1407
|
:parallelization_factor,
|
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.53.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: 2020-11-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|