aws-sdk-lambda 1.72.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +62 -10
- data/lib/aws-sdk-lambda/client_api.rb +15 -0
- data/lib/aws-sdk-lambda/types.rb +111 -8
- data/lib/aws-sdk-lambda.rb +1 -1
- 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: c03f737b1943791877b982ef1aa2dfca780fce987578aec3b534abc0fff1f0fa
|
4
|
+
data.tar.gz: d1eff4d7260ffb2a81514420d04a41db06f598f0471219573e3351a77bf6636d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 109ccf87f744c3c6471b7353304552d416a48e3486a53722d03864f8b175e4229b467fa2d3e3ff8722c8691f785de8577c33cb0e0c4c9b6df1929abc4e2439c2
|
7
|
+
data.tar.gz: 819b28ddd85ce80d413841d4217f8fa4d640cbb17956cf97f20cc93c5d09f2f4922b2ea9014b33993825c6aa7fe1e3e4da7ee89a4452aff72595e833c97233d6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.75.0 (2021-11-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Remove Lambda function url apis
|
13
|
+
|
14
|
+
1.74.0 (2021-11-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Release Lambda event source filtering for SQS, Kinesis Streams, and DynamoDB Streams.
|
18
|
+
|
19
|
+
1.73.0 (2021-11-19)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Add support for Lambda Function URLs. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.
|
23
|
+
|
4
24
|
1.72.0 (2021-11-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
@@ -119,7 +119,9 @@ module Aws::Lambda
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -785,6 +787,15 @@ module Aws::Lambda
|
|
785
787
|
#
|
786
788
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
787
789
|
#
|
790
|
+
# @option params [Types::FilterCriteria] :filter_criteria
|
791
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
792
|
+
# that determine whether Lambda should process an event. For more
|
793
|
+
# information, see [Lambda event filtering][1].
|
794
|
+
#
|
795
|
+
#
|
796
|
+
#
|
797
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
798
|
+
#
|
788
799
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
789
800
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
790
801
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -843,8 +854,8 @@ module Aws::Lambda
|
|
843
854
|
# The Self-Managed Apache Kafka cluster to send records.
|
844
855
|
#
|
845
856
|
# @option params [Array<String>] :function_response_types
|
846
|
-
# (Streams
|
847
|
-
# event source mapping.
|
857
|
+
# (Streams and Amazon SQS) A list of current response type enums applied
|
858
|
+
# to the event source mapping.
|
848
859
|
#
|
849
860
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
850
861
|
#
|
@@ -855,6 +866,7 @@ module Aws::Lambda
|
|
855
866
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
856
867
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
857
868
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
869
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
858
870
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
859
871
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
860
872
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -878,6 +890,13 @@ module Aws::Lambda
|
|
878
890
|
# function_name: "FunctionName", # required
|
879
891
|
# enabled: false,
|
880
892
|
# batch_size: 1,
|
893
|
+
# filter_criteria: {
|
894
|
+
# filters: [
|
895
|
+
# {
|
896
|
+
# pattern: "Pattern",
|
897
|
+
# },
|
898
|
+
# ],
|
899
|
+
# },
|
881
900
|
# maximum_batching_window_in_seconds: 1,
|
882
901
|
# parallelization_factor: 1,
|
883
902
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
@@ -919,6 +938,8 @@ module Aws::Lambda
|
|
919
938
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
920
939
|
# resp.parallelization_factor #=> Integer
|
921
940
|
# resp.event_source_arn #=> String
|
941
|
+
# resp.filter_criteria.filters #=> Array
|
942
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
922
943
|
# resp.function_arn #=> String
|
923
944
|
# resp.last_modified #=> Time
|
924
945
|
# resp.last_processing_result #=> String
|
@@ -1039,7 +1060,8 @@ module Aws::Lambda
|
|
1039
1060
|
# only the function name, it is limited to 64 characters in length.
|
1040
1061
|
#
|
1041
1062
|
# @option params [String] :runtime
|
1042
|
-
# The identifier of the function's [runtime][1].
|
1063
|
+
# The identifier of the function's [runtime][1]. Runtime is required if
|
1064
|
+
# the deployment package is a .zip file archive.
|
1043
1065
|
#
|
1044
1066
|
#
|
1045
1067
|
#
|
@@ -1050,7 +1072,8 @@ module Aws::Lambda
|
|
1050
1072
|
#
|
1051
1073
|
# @option params [String] :handler
|
1052
1074
|
# The name of the method within your code that Lambda calls to execute
|
1053
|
-
# your function.
|
1075
|
+
# your function. Handler is required if the deployment package is a .zip
|
1076
|
+
# file archive. The format includes the file name. It can also include
|
1054
1077
|
# namespaces and other qualifiers, depending on the runtime. For more
|
1055
1078
|
# information, see [Programming Model][1].
|
1056
1079
|
#
|
@@ -1405,6 +1428,7 @@ module Aws::Lambda
|
|
1405
1428
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1406
1429
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
1407
1430
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
1431
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
1408
1432
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
1409
1433
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
1410
1434
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -1436,6 +1460,8 @@ module Aws::Lambda
|
|
1436
1460
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1437
1461
|
# resp.parallelization_factor #=> Integer
|
1438
1462
|
# resp.event_source_arn #=> String
|
1463
|
+
# resp.filter_criteria.filters #=> Array
|
1464
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
1439
1465
|
# resp.function_arn #=> String
|
1440
1466
|
# resp.last_modified #=> Time
|
1441
1467
|
# resp.last_processing_result #=> String
|
@@ -1838,6 +1864,7 @@ module Aws::Lambda
|
|
1838
1864
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1839
1865
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
1840
1866
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
1867
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
1841
1868
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
1842
1869
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
1843
1870
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -1869,6 +1896,8 @@ module Aws::Lambda
|
|
1869
1896
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1870
1897
|
# resp.parallelization_factor #=> Integer
|
1871
1898
|
# resp.event_source_arn #=> String
|
1899
|
+
# resp.filter_criteria.filters #=> Array
|
1900
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
1872
1901
|
# resp.function_arn #=> String
|
1873
1902
|
# resp.last_modified #=> Time
|
1874
1903
|
# resp.last_processing_result #=> String
|
@@ -2933,6 +2962,8 @@ module Aws::Lambda
|
|
2933
2962
|
# resp.event_source_mappings[0].maximum_batching_window_in_seconds #=> Integer
|
2934
2963
|
# resp.event_source_mappings[0].parallelization_factor #=> Integer
|
2935
2964
|
# resp.event_source_mappings[0].event_source_arn #=> String
|
2965
|
+
# resp.event_source_mappings[0].filter_criteria.filters #=> Array
|
2966
|
+
# resp.event_source_mappings[0].filter_criteria.filters[0].pattern #=> String
|
2936
2967
|
# resp.event_source_mappings[0].function_arn #=> String
|
2937
2968
|
# resp.event_source_mappings[0].last_modified #=> Time
|
2938
2969
|
# resp.event_source_mappings[0].last_processing_result #=> String
|
@@ -4484,6 +4515,15 @@ module Aws::Lambda
|
|
4484
4515
|
#
|
4485
4516
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
4486
4517
|
#
|
4518
|
+
# @option params [Types::FilterCriteria] :filter_criteria
|
4519
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
4520
|
+
# that determine whether Lambda should process an event. For more
|
4521
|
+
# information, see [Lambda event filtering][1].
|
4522
|
+
#
|
4523
|
+
#
|
4524
|
+
#
|
4525
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
4526
|
+
#
|
4487
4527
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
4488
4528
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
4489
4529
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -4524,8 +4564,8 @@ module Aws::Lambda
|
|
4524
4564
|
# range is between 1 second up to 900 seconds.
|
4525
4565
|
#
|
4526
4566
|
# @option params [Array<String>] :function_response_types
|
4527
|
-
# (Streams
|
4528
|
-
# event source mapping.
|
4567
|
+
# (Streams and Amazon SQS) A list of current response type enums applied
|
4568
|
+
# to the event source mapping.
|
4529
4569
|
#
|
4530
4570
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4531
4571
|
#
|
@@ -4536,6 +4576,7 @@ module Aws::Lambda
|
|
4536
4576
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
4537
4577
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
4538
4578
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
4579
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
4539
4580
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
4540
4581
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
4541
4582
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -4559,6 +4600,13 @@ module Aws::Lambda
|
|
4559
4600
|
# function_name: "FunctionName",
|
4560
4601
|
# enabled: false,
|
4561
4602
|
# batch_size: 1,
|
4603
|
+
# filter_criteria: {
|
4604
|
+
# filters: [
|
4605
|
+
# {
|
4606
|
+
# pattern: "Pattern",
|
4607
|
+
# },
|
4608
|
+
# ],
|
4609
|
+
# },
|
4562
4610
|
# maximum_batching_window_in_seconds: 1,
|
4563
4611
|
# destination_config: {
|
4564
4612
|
# on_success: {
|
@@ -4591,6 +4639,8 @@ module Aws::Lambda
|
|
4591
4639
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
4592
4640
|
# resp.parallelization_factor #=> Integer
|
4593
4641
|
# resp.event_source_arn #=> String
|
4642
|
+
# resp.filter_criteria.filters #=> Array
|
4643
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
4594
4644
|
# resp.function_arn #=> String
|
4595
4645
|
# resp.last_modified #=> Time
|
4596
4646
|
# resp.last_processing_result #=> String
|
@@ -4853,7 +4903,8 @@ module Aws::Lambda
|
|
4853
4903
|
#
|
4854
4904
|
# @option params [String] :handler
|
4855
4905
|
# The name of the method within your code that Lambda calls to execute
|
4856
|
-
# your function.
|
4906
|
+
# your function. Handler is required if the deployment package is a .zip
|
4907
|
+
# file archive. The format includes the file name. It can also include
|
4857
4908
|
# namespaces and other qualifiers, depending on the runtime. For more
|
4858
4909
|
# information, see [Programming Model][1].
|
4859
4910
|
#
|
@@ -4899,7 +4950,8 @@ module Aws::Lambda
|
|
4899
4950
|
# execution.
|
4900
4951
|
#
|
4901
4952
|
# @option params [String] :runtime
|
4902
|
-
# The identifier of the function's [runtime][1].
|
4953
|
+
# The identifier of the function's [runtime][1]. Runtime is required if
|
4954
|
+
# the deployment package is a .zip file archive.
|
4903
4955
|
#
|
4904
4956
|
#
|
4905
4957
|
#
|
@@ -5195,7 +5247,7 @@ module Aws::Lambda
|
|
5195
5247
|
params: params,
|
5196
5248
|
config: config)
|
5197
5249
|
context[:gem_name] = 'aws-sdk-lambda'
|
5198
|
-
context[:gem_version] = '1.
|
5250
|
+
context[:gem_version] = '1.76.0'
|
5199
5251
|
Seahorse::Client::Request.new(handlers, context)
|
5200
5252
|
end
|
5201
5253
|
|
@@ -93,6 +93,9 @@ module Aws::Lambda
|
|
93
93
|
FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
|
94
94
|
FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
|
95
95
|
FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
|
96
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
97
|
+
FilterCriteria = Shapes::StructureShape.new(name: 'FilterCriteria')
|
98
|
+
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
96
99
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
97
100
|
FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
|
98
101
|
FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
|
@@ -215,6 +218,7 @@ module Aws::Lambda
|
|
215
218
|
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
216
219
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
217
220
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
221
|
+
Pattern = Shapes::StringShape.new(name: 'Pattern')
|
218
222
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
219
223
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
220
224
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
@@ -411,6 +415,7 @@ module Aws::Lambda
|
|
411
415
|
CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
412
416
|
CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
413
417
|
CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
418
|
+
CreateEventSourceMappingRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
|
414
419
|
CreateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
415
420
|
CreateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
416
421
|
CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
@@ -550,6 +555,7 @@ module Aws::Lambda
|
|
550
555
|
EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
551
556
|
EventSourceMappingConfiguration.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
552
557
|
EventSourceMappingConfiguration.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
|
558
|
+
EventSourceMappingConfiguration.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
|
553
559
|
EventSourceMappingConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
|
554
560
|
EventSourceMappingConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
555
561
|
EventSourceMappingConfiguration.add_member(:last_processing_result, Shapes::ShapeRef.new(shape: String, location_name: "LastProcessingResult"))
|
@@ -575,6 +581,14 @@ module Aws::Lambda
|
|
575
581
|
|
576
582
|
FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
|
577
583
|
|
584
|
+
Filter.add_member(:pattern, Shapes::ShapeRef.new(shape: Pattern, location_name: "Pattern"))
|
585
|
+
Filter.struct_class = Types::Filter
|
586
|
+
|
587
|
+
FilterCriteria.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
588
|
+
FilterCriteria.struct_class = Types::FilterCriteria
|
589
|
+
|
590
|
+
FilterList.member = Shapes::ShapeRef.new(shape: Filter)
|
591
|
+
|
578
592
|
FunctionArnList.member = Shapes::ShapeRef.new(shape: FunctionArn)
|
579
593
|
|
580
594
|
FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
|
@@ -1157,6 +1171,7 @@ module Aws::Lambda
|
|
1157
1171
|
UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
|
1158
1172
|
UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
1159
1173
|
UpdateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
1174
|
+
UpdateEventSourceMappingRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
|
1160
1175
|
UpdateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
1161
1176
|
UpdateEventSourceMappingRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
1162
1177
|
UpdateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -630,6 +630,13 @@ module Aws::Lambda
|
|
630
630
|
# function_name: "FunctionName", # required
|
631
631
|
# enabled: false,
|
632
632
|
# batch_size: 1,
|
633
|
+
# filter_criteria: {
|
634
|
+
# filters: [
|
635
|
+
# {
|
636
|
+
# pattern: "Pattern",
|
637
|
+
# },
|
638
|
+
# ],
|
639
|
+
# },
|
633
640
|
# maximum_batching_window_in_seconds: 1,
|
634
641
|
# parallelization_factor: 1,
|
635
642
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
@@ -723,6 +730,16 @@ module Aws::Lambda
|
|
723
730
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
724
731
|
# @return [Integer]
|
725
732
|
#
|
733
|
+
# @!attribute [rw] filter_criteria
|
734
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
735
|
+
# that determine whether Lambda should process an event. For more
|
736
|
+
# information, see [Lambda event filtering][1].
|
737
|
+
#
|
738
|
+
#
|
739
|
+
#
|
740
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
741
|
+
# @return [Types::FilterCriteria]
|
742
|
+
#
|
726
743
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
727
744
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
728
745
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -794,8 +811,8 @@ module Aws::Lambda
|
|
794
811
|
# @return [Types::SelfManagedEventSource]
|
795
812
|
#
|
796
813
|
# @!attribute [rw] function_response_types
|
797
|
-
# (Streams
|
798
|
-
# event source mapping.
|
814
|
+
# (Streams and Amazon SQS) A list of current response type enums
|
815
|
+
# applied to the event source mapping.
|
799
816
|
# @return [Array<String>]
|
800
817
|
#
|
801
818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
@@ -805,6 +822,7 @@ module Aws::Lambda
|
|
805
822
|
:function_name,
|
806
823
|
:enabled,
|
807
824
|
:batch_size,
|
825
|
+
:filter_criteria,
|
808
826
|
:maximum_batching_window_in_seconds,
|
809
827
|
:parallelization_factor,
|
810
828
|
:starting_position,
|
@@ -895,7 +913,8 @@ module Aws::Lambda
|
|
895
913
|
# @return [String]
|
896
914
|
#
|
897
915
|
# @!attribute [rw] runtime
|
898
|
-
# The identifier of the function's [runtime][1].
|
916
|
+
# The identifier of the function's [runtime][1]. Runtime is required
|
917
|
+
# if the deployment package is a .zip file archive.
|
899
918
|
#
|
900
919
|
#
|
901
920
|
#
|
@@ -908,7 +927,8 @@ module Aws::Lambda
|
|
908
927
|
#
|
909
928
|
# @!attribute [rw] handler
|
910
929
|
# The name of the method within your code that Lambda calls to execute
|
911
|
-
# your function.
|
930
|
+
# your function. Handler is required if the deployment package is a
|
931
|
+
# .zip file archive. The format includes the file name. It can also
|
912
932
|
# include namespaces and other qualifiers, depending on the runtime.
|
913
933
|
# For more information, see [Programming Model][1].
|
914
934
|
#
|
@@ -1682,6 +1702,16 @@ module Aws::Lambda
|
|
1682
1702
|
# The Amazon Resource Name (ARN) of the event source.
|
1683
1703
|
# @return [String]
|
1684
1704
|
#
|
1705
|
+
# @!attribute [rw] filter_criteria
|
1706
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
1707
|
+
# that determine whether Lambda should process an event. For more
|
1708
|
+
# information, see [Lambda event filtering][1].
|
1709
|
+
#
|
1710
|
+
#
|
1711
|
+
#
|
1712
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
1713
|
+
# @return [Types::FilterCriteria]
|
1714
|
+
#
|
1685
1715
|
# @!attribute [rw] function_arn
|
1686
1716
|
# The ARN of the Lambda function.
|
1687
1717
|
# @return [String]
|
@@ -1767,6 +1797,7 @@ module Aws::Lambda
|
|
1767
1797
|
:maximum_batching_window_in_seconds,
|
1768
1798
|
:parallelization_factor,
|
1769
1799
|
:event_source_arn,
|
1800
|
+
:filter_criteria,
|
1770
1801
|
:function_arn,
|
1771
1802
|
:last_modified,
|
1772
1803
|
:last_processing_result,
|
@@ -1820,6 +1851,58 @@ module Aws::Lambda
|
|
1820
1851
|
include Aws::Structure
|
1821
1852
|
end
|
1822
1853
|
|
1854
|
+
# A structure within a `FilterCriteria` object that defines an event
|
1855
|
+
# filtering pattern.
|
1856
|
+
#
|
1857
|
+
# @note When making an API call, you may pass Filter
|
1858
|
+
# data as a hash:
|
1859
|
+
#
|
1860
|
+
# {
|
1861
|
+
# pattern: "Pattern",
|
1862
|
+
# }
|
1863
|
+
#
|
1864
|
+
# @!attribute [rw] pattern
|
1865
|
+
# A filter pattern. For more information on the syntax of a filter
|
1866
|
+
# pattern, see [ Filter rule syntax][1].
|
1867
|
+
#
|
1868
|
+
#
|
1869
|
+
#
|
1870
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax
|
1871
|
+
# @return [String]
|
1872
|
+
#
|
1873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Filter AWS API Documentation
|
1874
|
+
#
|
1875
|
+
class Filter < Struct.new(
|
1876
|
+
:pattern)
|
1877
|
+
SENSITIVE = []
|
1878
|
+
include Aws::Structure
|
1879
|
+
end
|
1880
|
+
|
1881
|
+
# An object that contains the filters for an event source.
|
1882
|
+
#
|
1883
|
+
# @note When making an API call, you may pass FilterCriteria
|
1884
|
+
# data as a hash:
|
1885
|
+
#
|
1886
|
+
# {
|
1887
|
+
# filters: [
|
1888
|
+
# {
|
1889
|
+
# pattern: "Pattern",
|
1890
|
+
# },
|
1891
|
+
# ],
|
1892
|
+
# }
|
1893
|
+
#
|
1894
|
+
# @!attribute [rw] filters
|
1895
|
+
# A list of filters.
|
1896
|
+
# @return [Array<Types::Filter>]
|
1897
|
+
#
|
1898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FilterCriteria AWS API Documentation
|
1899
|
+
#
|
1900
|
+
class FilterCriteria < Struct.new(
|
1901
|
+
:filters)
|
1902
|
+
SENSITIVE = []
|
1903
|
+
include Aws::Structure
|
1904
|
+
end
|
1905
|
+
|
1823
1906
|
# The code for the Lambda function. You can specify either an object in
|
1824
1907
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1825
1908
|
# specify the URI of a container image.
|
@@ -5300,6 +5383,13 @@ module Aws::Lambda
|
|
5300
5383
|
# function_name: "FunctionName",
|
5301
5384
|
# enabled: false,
|
5302
5385
|
# batch_size: 1,
|
5386
|
+
# filter_criteria: {
|
5387
|
+
# filters: [
|
5388
|
+
# {
|
5389
|
+
# pattern: "Pattern",
|
5390
|
+
# },
|
5391
|
+
# ],
|
5392
|
+
# },
|
5303
5393
|
# maximum_batching_window_in_seconds: 1,
|
5304
5394
|
# destination_config: {
|
5305
5395
|
# on_success: {
|
@@ -5374,6 +5464,16 @@ module Aws::Lambda
|
|
5374
5464
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
5375
5465
|
# @return [Integer]
|
5376
5466
|
#
|
5467
|
+
# @!attribute [rw] filter_criteria
|
5468
|
+
# (Streams and Amazon SQS) An object that defines the filter criteria
|
5469
|
+
# that determine whether Lambda should process an event. For more
|
5470
|
+
# information, see [Lambda event filtering][1].
|
5471
|
+
#
|
5472
|
+
#
|
5473
|
+
#
|
5474
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
5475
|
+
# @return [Types::FilterCriteria]
|
5476
|
+
#
|
5377
5477
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
5378
5478
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
5379
5479
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -5422,8 +5522,8 @@ module Aws::Lambda
|
|
5422
5522
|
# @return [Integer]
|
5423
5523
|
#
|
5424
5524
|
# @!attribute [rw] function_response_types
|
5425
|
-
# (Streams
|
5426
|
-
# event source mapping.
|
5525
|
+
# (Streams and Amazon SQS) A list of current response type enums
|
5526
|
+
# applied to the event source mapping.
|
5427
5527
|
# @return [Array<String>]
|
5428
5528
|
#
|
5429
5529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
@@ -5433,6 +5533,7 @@ module Aws::Lambda
|
|
5433
5533
|
:function_name,
|
5434
5534
|
:enabled,
|
5435
5535
|
:batch_size,
|
5536
|
+
:filter_criteria,
|
5436
5537
|
:maximum_batching_window_in_seconds,
|
5437
5538
|
:destination_config,
|
5438
5539
|
:maximum_record_age_in_seconds,
|
@@ -5607,7 +5708,8 @@ module Aws::Lambda
|
|
5607
5708
|
#
|
5608
5709
|
# @!attribute [rw] handler
|
5609
5710
|
# The name of the method within your code that Lambda calls to execute
|
5610
|
-
# your function.
|
5711
|
+
# your function. Handler is required if the deployment package is a
|
5712
|
+
# .zip file archive. The format includes the file name. It can also
|
5611
5713
|
# include namespaces and other qualifiers, depending on the runtime.
|
5612
5714
|
# For more information, see [Programming Model][1].
|
5613
5715
|
#
|
@@ -5659,7 +5761,8 @@ module Aws::Lambda
|
|
5659
5761
|
# @return [Types::Environment]
|
5660
5762
|
#
|
5661
5763
|
# @!attribute [rw] runtime
|
5662
|
-
# The identifier of the function's [runtime][1].
|
5764
|
+
# The identifier of the function's [runtime][1]. Runtime is required
|
5765
|
+
# if the deployment package is a .zip file archive.
|
5663
5766
|
#
|
5664
5767
|
#
|
5665
5768
|
#
|
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.76.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: 2021-11-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|