aws-sdk-lambda 1.73.0 → 1.74.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-lambda/client.rb +59 -5
- data/lib/aws-sdk-lambda/client_api.rb +15 -0
- data/lib/aws-sdk-lambda/types.rb +108 -5
- 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: 75dd1a3fbb14a7dd1042d8958f59616345cdff89f7a30cdec2ad7d8beb57cffd
|
4
|
+
data.tar.gz: ef5c1f54ca84550031918a500cb9ed28c99bc748b2869c1a83b82878b42cb158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d612704bcd15ca26992dcd9d7e28618515477e2cde82492de2f34dcda800700ad9802ea1be9440f8222ace7297b86b4a814628ff5fc1414d73ed8f2da172f21
|
7
|
+
data.tar.gz: 9447fe60b4ec965b1716e3e2f8417f744d59d8b829089e557f4c607c8c411eb8f5e0657e26b5af59cc970760c1f7054f41f04a9f26070bb3517f5aedb825d949
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -783,6 +783,17 @@ module Aws::Lambda
|
|
783
783
|
#
|
784
784
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
785
785
|
#
|
786
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
787
|
+
#
|
788
|
+
# @option params [Types::FilterCriteria] :filter_criteria
|
789
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
790
|
+
# used to determine whether Lambda should process an event. For more
|
791
|
+
# information, see [Lambda event filtering][1].
|
792
|
+
#
|
793
|
+
#
|
794
|
+
#
|
795
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
796
|
+
#
|
786
797
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
787
798
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
788
799
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -853,6 +864,7 @@ module Aws::Lambda
|
|
853
864
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
854
865
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
855
866
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
867
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
856
868
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
857
869
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
858
870
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -876,6 +888,13 @@ module Aws::Lambda
|
|
876
888
|
# function_name: "FunctionName", # required
|
877
889
|
# enabled: false,
|
878
890
|
# batch_size: 1,
|
891
|
+
# filter_criteria: {
|
892
|
+
# filters: [
|
893
|
+
# {
|
894
|
+
# pattern: "Pattern",
|
895
|
+
# },
|
896
|
+
# ],
|
897
|
+
# },
|
879
898
|
# maximum_batching_window_in_seconds: 1,
|
880
899
|
# parallelization_factor: 1,
|
881
900
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
@@ -917,6 +936,8 @@ module Aws::Lambda
|
|
917
936
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
918
937
|
# resp.parallelization_factor #=> Integer
|
919
938
|
# resp.event_source_arn #=> String
|
939
|
+
# resp.filter_criteria.filters #=> Array
|
940
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
920
941
|
# resp.function_arn #=> String
|
921
942
|
# resp.last_modified #=> Time
|
922
943
|
# resp.last_processing_result #=> String
|
@@ -1160,8 +1181,8 @@ module Aws::Lambda
|
|
1160
1181
|
#
|
1161
1182
|
# @option params [Array<String>] :architectures
|
1162
1183
|
# The instruction set architecture that the function supports. Enter a
|
1163
|
-
# string array with one of the valid values
|
1164
|
-
# `x86_64`.
|
1184
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1185
|
+
# default value is `x86_64`.
|
1165
1186
|
#
|
1166
1187
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1167
1188
|
#
|
@@ -1461,6 +1482,7 @@ module Aws::Lambda
|
|
1461
1482
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1462
1483
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
1463
1484
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
1485
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
1464
1486
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
1465
1487
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
1466
1488
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -1492,6 +1514,8 @@ module Aws::Lambda
|
|
1492
1514
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1493
1515
|
# resp.parallelization_factor #=> Integer
|
1494
1516
|
# resp.event_source_arn #=> String
|
1517
|
+
# resp.filter_criteria.filters #=> Array
|
1518
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
1495
1519
|
# resp.function_arn #=> String
|
1496
1520
|
# resp.last_modified #=> Time
|
1497
1521
|
# resp.last_processing_result #=> String
|
@@ -1916,6 +1940,7 @@ module Aws::Lambda
|
|
1916
1940
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1917
1941
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
1918
1942
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
1943
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
1919
1944
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
1920
1945
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
1921
1946
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -1947,6 +1972,8 @@ module Aws::Lambda
|
|
1947
1972
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
1948
1973
|
# resp.parallelization_factor #=> Integer
|
1949
1974
|
# resp.event_source_arn #=> String
|
1975
|
+
# resp.filter_criteria.filters #=> Array
|
1976
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
1950
1977
|
# resp.function_arn #=> String
|
1951
1978
|
# resp.last_modified #=> Time
|
1952
1979
|
# resp.last_processing_result #=> String
|
@@ -2780,6 +2807,10 @@ module Aws::Lambda
|
|
2780
2807
|
# @option params [String, StringIO, File] :payload
|
2781
2808
|
# The JSON that you want to provide to your Lambda function as input.
|
2782
2809
|
#
|
2810
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
2811
|
+
# "value" \}'`. You can also specify a file path. For example,
|
2812
|
+
# `--payload file://payload.json`.
|
2813
|
+
#
|
2783
2814
|
# @option params [String] :qualifier
|
2784
2815
|
# Specify a version or alias to invoke a published version of the
|
2785
2816
|
# function.
|
@@ -3054,6 +3085,8 @@ module Aws::Lambda
|
|
3054
3085
|
# resp.event_source_mappings[0].maximum_batching_window_in_seconds #=> Integer
|
3055
3086
|
# resp.event_source_mappings[0].parallelization_factor #=> Integer
|
3056
3087
|
# resp.event_source_mappings[0].event_source_arn #=> String
|
3088
|
+
# resp.event_source_mappings[0].filter_criteria.filters #=> Array
|
3089
|
+
# resp.event_source_mappings[0].filter_criteria.filters[0].pattern #=> String
|
3057
3090
|
# resp.event_source_mappings[0].function_arn #=> String
|
3058
3091
|
# resp.event_source_mappings[0].last_modified #=> Time
|
3059
3092
|
# resp.event_source_mappings[0].last_processing_result #=> String
|
@@ -4653,6 +4686,17 @@ module Aws::Lambda
|
|
4653
4686
|
#
|
4654
4687
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
4655
4688
|
#
|
4689
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
4690
|
+
#
|
4691
|
+
# @option params [Types::FilterCriteria] :filter_criteria
|
4692
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
4693
|
+
# used to determine whether Lambda should process an event. For more
|
4694
|
+
# information, see [Lambda event filtering][1].
|
4695
|
+
#
|
4696
|
+
#
|
4697
|
+
#
|
4698
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
4699
|
+
#
|
4656
4700
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
4657
4701
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
4658
4702
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -4705,6 +4749,7 @@ module Aws::Lambda
|
|
4705
4749
|
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
4706
4750
|
# * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
|
4707
4751
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
4752
|
+
# * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
|
4708
4753
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
4709
4754
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
4710
4755
|
# * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
|
@@ -4728,6 +4773,13 @@ module Aws::Lambda
|
|
4728
4773
|
# function_name: "FunctionName",
|
4729
4774
|
# enabled: false,
|
4730
4775
|
# batch_size: 1,
|
4776
|
+
# filter_criteria: {
|
4777
|
+
# filters: [
|
4778
|
+
# {
|
4779
|
+
# pattern: "Pattern",
|
4780
|
+
# },
|
4781
|
+
# ],
|
4782
|
+
# },
|
4731
4783
|
# maximum_batching_window_in_seconds: 1,
|
4732
4784
|
# destination_config: {
|
4733
4785
|
# on_success: {
|
@@ -4760,6 +4812,8 @@ module Aws::Lambda
|
|
4760
4812
|
# resp.maximum_batching_window_in_seconds #=> Integer
|
4761
4813
|
# resp.parallelization_factor #=> Integer
|
4762
4814
|
# resp.event_source_arn #=> String
|
4815
|
+
# resp.filter_criteria.filters #=> Array
|
4816
|
+
# resp.filter_criteria.filters[0].pattern #=> String
|
4763
4817
|
# resp.function_arn #=> String
|
4764
4818
|
# resp.last_modified #=> Time
|
4765
4819
|
# resp.last_processing_result #=> String
|
@@ -4861,8 +4915,8 @@ module Aws::Lambda
|
|
4861
4915
|
#
|
4862
4916
|
# @option params [Array<String>] :architectures
|
4863
4917
|
# The instruction set architecture that the function supports. Enter a
|
4864
|
-
# string array with one of the valid values
|
4865
|
-
# `x86_64`.
|
4918
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
4919
|
+
# default value is `x86_64`.
|
4866
4920
|
#
|
4867
4921
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4868
4922
|
#
|
@@ -5424,7 +5478,7 @@ module Aws::Lambda
|
|
5424
5478
|
params: params,
|
5425
5479
|
config: config)
|
5426
5480
|
context[:gem_name] = 'aws-sdk-lambda'
|
5427
|
-
context[:gem_version] = '1.
|
5481
|
+
context[:gem_version] = '1.74.0'
|
5428
5482
|
Seahorse::Client::Request.new(handlers, context)
|
5429
5483
|
end
|
5430
5484
|
|
@@ -101,6 +101,9 @@ module Aws::Lambda
|
|
101
101
|
FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
|
102
102
|
FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig')
|
103
103
|
FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
|
104
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
105
|
+
FilterCriteria = Shapes::StructureShape.new(name: 'FilterCriteria')
|
106
|
+
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
104
107
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
105
108
|
FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
|
106
109
|
FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
|
@@ -237,6 +240,7 @@ module Aws::Lambda
|
|
237
240
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
238
241
|
PackageType = Shapes::StringShape.new(name: 'PackageType')
|
239
242
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
243
|
+
Pattern = Shapes::StringShape.new(name: 'Pattern')
|
240
244
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
241
245
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
242
246
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
@@ -447,6 +451,7 @@ module Aws::Lambda
|
|
447
451
|
CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
448
452
|
CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
449
453
|
CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
454
|
+
CreateEventSourceMappingRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
|
450
455
|
CreateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
451
456
|
CreateEventSourceMappingRequest.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
452
457
|
CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
@@ -603,6 +608,7 @@ module Aws::Lambda
|
|
603
608
|
EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
604
609
|
EventSourceMappingConfiguration.add_member(:parallelization_factor, Shapes::ShapeRef.new(shape: ParallelizationFactor, location_name: "ParallelizationFactor"))
|
605
610
|
EventSourceMappingConfiguration.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
|
611
|
+
EventSourceMappingConfiguration.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
|
606
612
|
EventSourceMappingConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
|
607
613
|
EventSourceMappingConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
608
614
|
EventSourceMappingConfiguration.add_member(:last_processing_result, Shapes::ShapeRef.new(shape: String, location_name: "LastProcessingResult"))
|
@@ -628,6 +634,14 @@ module Aws::Lambda
|
|
628
634
|
|
629
635
|
FileSystemConfigList.member = Shapes::ShapeRef.new(shape: FileSystemConfig)
|
630
636
|
|
637
|
+
Filter.add_member(:pattern, Shapes::ShapeRef.new(shape: Pattern, location_name: "Pattern"))
|
638
|
+
Filter.struct_class = Types::Filter
|
639
|
+
|
640
|
+
FilterCriteria.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
641
|
+
FilterCriteria.struct_class = Types::FilterCriteria
|
642
|
+
|
643
|
+
FilterList.member = Shapes::ShapeRef.new(shape: Filter)
|
644
|
+
|
631
645
|
FunctionArnList.member = Shapes::ShapeRef.new(shape: FunctionArn)
|
632
646
|
|
633
647
|
FunctionCode.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
|
@@ -1243,6 +1257,7 @@ module Aws::Lambda
|
|
1243
1257
|
UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
|
1244
1258
|
UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
1245
1259
|
UpdateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
1260
|
+
UpdateEventSourceMappingRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "FilterCriteria"))
|
1246
1261
|
UpdateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
1247
1262
|
UpdateEventSourceMappingRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
1248
1263
|
UpdateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -673,6 +673,13 @@ module Aws::Lambda
|
|
673
673
|
# function_name: "FunctionName", # required
|
674
674
|
# enabled: false,
|
675
675
|
# batch_size: 1,
|
676
|
+
# filter_criteria: {
|
677
|
+
# filters: [
|
678
|
+
# {
|
679
|
+
# pattern: "Pattern",
|
680
|
+
# },
|
681
|
+
# ],
|
682
|
+
# },
|
676
683
|
# maximum_batching_window_in_seconds: 1,
|
677
684
|
# parallelization_factor: 1,
|
678
685
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
@@ -762,8 +769,20 @@ module Aws::Lambda
|
|
762
769
|
# 10,000.
|
763
770
|
#
|
764
771
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
772
|
+
#
|
773
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
765
774
|
# @return [Integer]
|
766
775
|
#
|
776
|
+
# @!attribute [rw] filter_criteria
|
777
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
778
|
+
# used to determine whether Lambda should process an event. For more
|
779
|
+
# information, see [Lambda event filtering][1].
|
780
|
+
#
|
781
|
+
#
|
782
|
+
#
|
783
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
784
|
+
# @return [Types::FilterCriteria]
|
785
|
+
#
|
767
786
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
768
787
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
769
788
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -846,6 +865,7 @@ module Aws::Lambda
|
|
846
865
|
:function_name,
|
847
866
|
:enabled,
|
848
867
|
:batch_size,
|
868
|
+
:filter_criteria,
|
849
869
|
:maximum_batching_window_in_seconds,
|
850
870
|
:parallelization_factor,
|
851
871
|
:starting_position,
|
@@ -1078,8 +1098,8 @@ module Aws::Lambda
|
|
1078
1098
|
#
|
1079
1099
|
# @!attribute [rw] architectures
|
1080
1100
|
# The instruction set architecture that the function supports. Enter a
|
1081
|
-
# string array with one of the valid values
|
1082
|
-
# `x86_64`.
|
1101
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
1102
|
+
# default value is `x86_64`.
|
1083
1103
|
# @return [Array<String>]
|
1084
1104
|
#
|
1085
1105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
|
@@ -1813,6 +1833,12 @@ module Aws::Lambda
|
|
1813
1833
|
# The Amazon Resource Name (ARN) of the event source.
|
1814
1834
|
# @return [String]
|
1815
1835
|
#
|
1836
|
+
# @!attribute [rw] filter_criteria
|
1837
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
1838
|
+
# used to determine whether Lambda should process an event. For more
|
1839
|
+
# information, see Event filtering.
|
1840
|
+
# @return [Types::FilterCriteria]
|
1841
|
+
#
|
1816
1842
|
# @!attribute [rw] function_arn
|
1817
1843
|
# The ARN of the Lambda function.
|
1818
1844
|
# @return [String]
|
@@ -1898,6 +1924,7 @@ module Aws::Lambda
|
|
1898
1924
|
:maximum_batching_window_in_seconds,
|
1899
1925
|
:parallelization_factor,
|
1900
1926
|
:event_source_arn,
|
1927
|
+
:filter_criteria,
|
1901
1928
|
:function_arn,
|
1902
1929
|
:last_modified,
|
1903
1930
|
:last_processing_result,
|
@@ -1951,6 +1978,57 @@ module Aws::Lambda
|
|
1951
1978
|
include Aws::Structure
|
1952
1979
|
end
|
1953
1980
|
|
1981
|
+
# An object that specifies a filter criteria.
|
1982
|
+
#
|
1983
|
+
# @note When making an API call, you may pass Filter
|
1984
|
+
# data as a hash:
|
1985
|
+
#
|
1986
|
+
# {
|
1987
|
+
# pattern: "Pattern",
|
1988
|
+
# }
|
1989
|
+
#
|
1990
|
+
# @!attribute [rw] pattern
|
1991
|
+
# A filter pattern. For more information on the syntax of a filter
|
1992
|
+
# pattern, see [ Filter criteria syntax][1].
|
1993
|
+
#
|
1994
|
+
#
|
1995
|
+
#
|
1996
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax
|
1997
|
+
# @return [String]
|
1998
|
+
#
|
1999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Filter AWS API Documentation
|
2000
|
+
#
|
2001
|
+
class Filter < Struct.new(
|
2002
|
+
:pattern)
|
2003
|
+
SENSITIVE = []
|
2004
|
+
include Aws::Structure
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# An object that contains the filters on the event source.
|
2008
|
+
#
|
2009
|
+
# @note When making an API call, you may pass FilterCriteria
|
2010
|
+
# data as a hash:
|
2011
|
+
#
|
2012
|
+
# {
|
2013
|
+
# filters: [
|
2014
|
+
# {
|
2015
|
+
# pattern: "Pattern",
|
2016
|
+
# },
|
2017
|
+
# ],
|
2018
|
+
# }
|
2019
|
+
#
|
2020
|
+
# @!attribute [rw] filters
|
2021
|
+
# A list of filters.
|
2022
|
+
# @return [Array<Types::Filter>]
|
2023
|
+
#
|
2024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FilterCriteria AWS API Documentation
|
2025
|
+
#
|
2026
|
+
class FilterCriteria < Struct.new(
|
2027
|
+
:filters)
|
2028
|
+
SENSITIVE = []
|
2029
|
+
include Aws::Structure
|
2030
|
+
end
|
2031
|
+
|
1954
2032
|
# The code for the Lambda function. You can specify either an object in
|
1955
2033
|
# Amazon S3, upload a .zip file archive deployment package directly, or
|
1956
2034
|
# specify the URI of a container image.
|
@@ -3278,6 +3356,10 @@ module Aws::Lambda
|
|
3278
3356
|
#
|
3279
3357
|
# @!attribute [rw] payload
|
3280
3358
|
# The JSON that you want to provide to your Lambda function as input.
|
3359
|
+
#
|
3360
|
+
# You can enter the JSON directly. For example, `--payload '\{ "key":
|
3361
|
+
# "value" \}'`. You can also specify a file path. For example,
|
3362
|
+
# `--payload file://payload.json`.
|
3281
3363
|
# @return [String]
|
3282
3364
|
#
|
3283
3365
|
# @!attribute [rw] qualifier
|
@@ -5239,7 +5321,8 @@ module Aws::Lambda
|
|
5239
5321
|
#
|
5240
5322
|
# * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
|
5241
5323
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5242
|
-
# source.
|
5324
|
+
# source. This property cannot be specified in an
|
5325
|
+
# UpdateEventSourceMapping API call.
|
5243
5326
|
# @return [String]
|
5244
5327
|
#
|
5245
5328
|
# @!attribute [rw] uri
|
@@ -5543,6 +5626,13 @@ module Aws::Lambda
|
|
5543
5626
|
# function_name: "FunctionName",
|
5544
5627
|
# enabled: false,
|
5545
5628
|
# batch_size: 1,
|
5629
|
+
# filter_criteria: {
|
5630
|
+
# filters: [
|
5631
|
+
# {
|
5632
|
+
# pattern: "Pattern",
|
5633
|
+
# },
|
5634
|
+
# ],
|
5635
|
+
# },
|
5546
5636
|
# maximum_batching_window_in_seconds: 1,
|
5547
5637
|
# destination_config: {
|
5548
5638
|
# on_success: {
|
@@ -5613,8 +5703,20 @@ module Aws::Lambda
|
|
5613
5703
|
# 10,000.
|
5614
5704
|
#
|
5615
5705
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
5706
|
+
#
|
5707
|
+
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
5616
5708
|
# @return [Integer]
|
5617
5709
|
#
|
5710
|
+
# @!attribute [rw] filter_criteria
|
5711
|
+
# (Streams and Amazon SQS) A object that defines the filter criteria
|
5712
|
+
# used to determine whether Lambda should process an event. For more
|
5713
|
+
# information, see [Lambda event filtering][1].
|
5714
|
+
#
|
5715
|
+
#
|
5716
|
+
#
|
5717
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
5718
|
+
# @return [Types::FilterCriteria]
|
5719
|
+
#
|
5618
5720
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
5619
5721
|
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
5620
5722
|
# in seconds, that Lambda spends gathering records before invoking the
|
@@ -5674,6 +5776,7 @@ module Aws::Lambda
|
|
5674
5776
|
:function_name,
|
5675
5777
|
:enabled,
|
5676
5778
|
:batch_size,
|
5779
|
+
:filter_criteria,
|
5677
5780
|
:maximum_batching_window_in_seconds,
|
5678
5781
|
:destination_config,
|
5679
5782
|
:maximum_record_age_in_seconds,
|
@@ -5763,8 +5866,8 @@ module Aws::Lambda
|
|
5763
5866
|
#
|
5764
5867
|
# @!attribute [rw] architectures
|
5765
5868
|
# The instruction set architecture that the function supports. Enter a
|
5766
|
-
# string array with one of the valid values
|
5767
|
-
# `x86_64`.
|
5869
|
+
# string array with one of the valid values (arm64 or x86\_64). The
|
5870
|
+
# default value is `x86_64`.
|
5768
5871
|
# @return [Array<String>]
|
5769
5872
|
#
|
5770
5873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
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.74.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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|