aws-sdk-lambda 1.73.0 → 1.77.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0767b9ced06243329830cf26b10c073dcb263d14c6ccff92f974f19da7052680
4
- data.tar.gz: 2771d40f0745260a896ba36ca5c27dad21170037a6b954a9ca5500b0c901893b
3
+ metadata.gz: fdd06a94657f245df4121f6cfc2996ac13a577f79d529db9386ca1f6553b6a8a
4
+ data.tar.gz: 61b91f4794f198e2c8210234aca804c86b86037d0d54acbb38555bcd3dd6e07e
5
5
  SHA512:
6
- metadata.gz: 676c779489633cabee2b7852f9a812b9a45884acfff3b584be335d63fb5057a1e6cb7afad9348fa5edcda8c08037b3755308039237f7f1fd482897d8084c32f4
7
- data.tar.gz: d51b81b8017a2600650ba74cf178fb7dd2d49cdd97297e2e891e46d9f3b95ddec02b2aa3823918055bdbaab694e117590c7d01a68dd60b1adc8f578e7c5f9202
6
+ metadata.gz: 48dbceb256463aa14476b6c8913c01b433edc35762dcb8a4955707047418c4b239538e254c731fec795ff8dd49ed9a83db80867bd7fdf169c17a5e89a54820ae
7
+ data.tar.gz: d2b5370447998f61001423b97f49f27a381aaa7c1b5fdf0808e2a265146b7381d4f2ddeed49a7f21657a54cf479c46553bbb13ad161400a401f2a46c496926c8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.76.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.75.0 (2021-11-24)
15
+ ------------------
16
+
17
+ * Feature - Remove Lambda function url apis
18
+
19
+ 1.74.0 (2021-11-23)
20
+ ------------------
21
+
22
+ * Feature - Release Lambda event source filtering for SQS, Kinesis Streams, and DynamoDB Streams.
23
+
4
24
  1.73.0 (2021-11-19)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.77.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Lambda
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::Lambda
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::Lambda
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -295,7 +303,7 @@ module Aws::Lambda
295
303
  # seconds to wait when opening a HTTP session before raising a
296
304
  # `Timeout::Error`.
297
305
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
299
307
  # number of seconds to wait for response data. This value can
300
308
  # safely be set per-request on the session.
301
309
  #
@@ -311,6 +319,9 @@ module Aws::Lambda
311
319
  # disables this behaviour. This value can safely be set per
312
320
  # request on the session.
313
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
314
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
326
  # HTTP debug output will be sent to the `:logger`.
316
327
  #
@@ -783,6 +794,17 @@ module Aws::Lambda
783
794
  #
784
795
  # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
785
796
  #
797
+ # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
798
+ #
799
+ # @option params [Types::FilterCriteria] :filter_criteria
800
+ # (Streams and Amazon SQS) An object that defines the filter criteria
801
+ # that determine whether Lambda should process an event. For more
802
+ # information, see [Lambda event filtering][1].
803
+ #
804
+ #
805
+ #
806
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
807
+ #
786
808
  # @option params [Integer] :maximum_batching_window_in_seconds
787
809
  # (Streams and Amazon SQS standard queues) The maximum amount of time,
788
810
  # in seconds, that Lambda spends gathering records before invoking the
@@ -841,8 +863,8 @@ module Aws::Lambda
841
863
  # The Self-Managed Apache Kafka cluster to send records.
842
864
  #
843
865
  # @option params [Array<String>] :function_response_types
844
- # (Streams only) A list of current response type enums applied to the
845
- # event source mapping.
866
+ # (Streams and Amazon SQS) A list of current response type enums applied
867
+ # to the event source mapping.
846
868
  #
847
869
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
848
870
  #
@@ -853,6 +875,7 @@ module Aws::Lambda
853
875
  # * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
854
876
  # * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
855
877
  # * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
878
+ # * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
856
879
  # * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
857
880
  # * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
858
881
  # * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
@@ -876,6 +899,13 @@ module Aws::Lambda
876
899
  # function_name: "FunctionName", # required
877
900
  # enabled: false,
878
901
  # batch_size: 1,
902
+ # filter_criteria: {
903
+ # filters: [
904
+ # {
905
+ # pattern: "Pattern",
906
+ # },
907
+ # ],
908
+ # },
879
909
  # maximum_batching_window_in_seconds: 1,
880
910
  # parallelization_factor: 1,
881
911
  # starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
@@ -917,6 +947,8 @@ module Aws::Lambda
917
947
  # resp.maximum_batching_window_in_seconds #=> Integer
918
948
  # resp.parallelization_factor #=> Integer
919
949
  # resp.event_source_arn #=> String
950
+ # resp.filter_criteria.filters #=> Array
951
+ # resp.filter_criteria.filters[0].pattern #=> String
920
952
  # resp.function_arn #=> String
921
953
  # resp.last_modified #=> Time
922
954
  # resp.last_processing_result #=> String
@@ -1037,7 +1069,8 @@ module Aws::Lambda
1037
1069
  # only the function name, it is limited to 64 characters in length.
1038
1070
  #
1039
1071
  # @option params [String] :runtime
1040
- # The identifier of the function's [runtime][1].
1072
+ # The identifier of the function's [runtime][1]. Runtime is required if
1073
+ # the deployment package is a .zip file archive.
1041
1074
  #
1042
1075
  #
1043
1076
  #
@@ -1048,7 +1081,8 @@ module Aws::Lambda
1048
1081
  #
1049
1082
  # @option params [String] :handler
1050
1083
  # The name of the method within your code that Lambda calls to execute
1051
- # your function. The format includes the file name. It can also include
1084
+ # your function. Handler is required if the deployment package is a .zip
1085
+ # file archive. The format includes the file name. It can also include
1052
1086
  # namespaces and other qualifiers, depending on the runtime. For more
1053
1087
  # information, see [Programming Model][1].
1054
1088
  #
@@ -1160,8 +1194,8 @@ module Aws::Lambda
1160
1194
  #
1161
1195
  # @option params [Array<String>] :architectures
1162
1196
  # The instruction set architecture that the function supports. Enter a
1163
- # string array with one of the valid values. The default value is
1164
- # `x86_64`.
1197
+ # string array with one of the valid values (arm64 or x86\_64). The
1198
+ # default value is `x86_64`.
1165
1199
  #
1166
1200
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1167
1201
  #
@@ -1316,64 +1350,6 @@ module Aws::Lambda
1316
1350
  req.send_request(options)
1317
1351
  end
1318
1352
 
1319
- # @option params [required, String] :function_name
1320
- #
1321
- # @option params [String] :qualifier
1322
- #
1323
- # @option params [required, String] :authorization_type
1324
- #
1325
- # @option params [Types::Cors] :cors
1326
- #
1327
- # @return [Types::CreateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1328
- #
1329
- # * {Types::CreateFunctionUrlConfigResponse#function_url #function_url} => String
1330
- # * {Types::CreateFunctionUrlConfigResponse#function_arn #function_arn} => String
1331
- # * {Types::CreateFunctionUrlConfigResponse#authorization_type #authorization_type} => String
1332
- # * {Types::CreateFunctionUrlConfigResponse#cors #cors} => Types::Cors
1333
- # * {Types::CreateFunctionUrlConfigResponse#creation_time #creation_time} => Time
1334
- #
1335
- # @example Request syntax with placeholder values
1336
- #
1337
- # resp = client.create_function_url_config({
1338
- # function_name: "FunctionName", # required
1339
- # qualifier: "FunctionUrlQualifier",
1340
- # authorization_type: "NONE", # required, accepts NONE, AWS_IAM
1341
- # cors: {
1342
- # allow_credentials: false,
1343
- # allow_headers: ["Header"],
1344
- # allow_methods: ["Method"],
1345
- # allow_origins: ["Origin"],
1346
- # expose_headers: ["Header"],
1347
- # max_age: 1,
1348
- # },
1349
- # })
1350
- #
1351
- # @example Response structure
1352
- #
1353
- # resp.function_url #=> String
1354
- # resp.function_arn #=> String
1355
- # resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
1356
- # resp.cors.allow_credentials #=> Boolean
1357
- # resp.cors.allow_headers #=> Array
1358
- # resp.cors.allow_headers[0] #=> String
1359
- # resp.cors.allow_methods #=> Array
1360
- # resp.cors.allow_methods[0] #=> String
1361
- # resp.cors.allow_origins #=> Array
1362
- # resp.cors.allow_origins[0] #=> String
1363
- # resp.cors.expose_headers #=> Array
1364
- # resp.cors.expose_headers[0] #=> String
1365
- # resp.cors.max_age #=> Integer
1366
- # resp.creation_time #=> Time
1367
- #
1368
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig AWS API Documentation
1369
- #
1370
- # @overload create_function_url_config(params = {})
1371
- # @param [Hash] params ({})
1372
- def create_function_url_config(params = {}, options = {})
1373
- req = build_request(:create_function_url_config, params)
1374
- req.send_request(options)
1375
- end
1376
-
1377
1353
  # Deletes a Lambda function [alias][1].
1378
1354
  #
1379
1355
  #
@@ -1461,6 +1437,7 @@ module Aws::Lambda
1461
1437
  # * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
1462
1438
  # * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
1463
1439
  # * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
1440
+ # * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
1464
1441
  # * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
1465
1442
  # * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
1466
1443
  # * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
@@ -1492,6 +1469,8 @@ module Aws::Lambda
1492
1469
  # resp.maximum_batching_window_in_seconds #=> Integer
1493
1470
  # resp.parallelization_factor #=> Integer
1494
1471
  # resp.event_source_arn #=> String
1472
+ # resp.filter_criteria.filters #=> Array
1473
+ # resp.filter_criteria.filters[0].pattern #=> String
1495
1474
  # resp.function_arn #=> String
1496
1475
  # resp.last_modified #=> Time
1497
1476
  # resp.last_processing_result #=> String
@@ -1685,28 +1664,6 @@ module Aws::Lambda
1685
1664
  req.send_request(options)
1686
1665
  end
1687
1666
 
1688
- # @option params [required, String] :function_name
1689
- #
1690
- # @option params [String] :qualifier
1691
- #
1692
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1693
- #
1694
- # @example Request syntax with placeholder values
1695
- #
1696
- # resp = client.delete_function_url_config({
1697
- # function_name: "FunctionName", # required
1698
- # qualifier: "FunctionUrlQualifier",
1699
- # })
1700
- #
1701
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig AWS API Documentation
1702
- #
1703
- # @overload delete_function_url_config(params = {})
1704
- # @param [Hash] params ({})
1705
- def delete_function_url_config(params = {}, options = {})
1706
- req = build_request(:delete_function_url_config, params)
1707
- req.send_request(options)
1708
- end
1709
-
1710
1667
  # Deletes a version of an [Lambda layer][1]. Deleted versions can no
1711
1668
  # longer be viewed or added to functions. To avoid breaking functions, a
1712
1669
  # copy of the version remains in Lambda until no functions refer to it.
@@ -1916,6 +1873,7 @@ module Aws::Lambda
1916
1873
  # * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
1917
1874
  # * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
1918
1875
  # * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
1876
+ # * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
1919
1877
  # * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
1920
1878
  # * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
1921
1879
  # * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
@@ -1947,6 +1905,8 @@ module Aws::Lambda
1947
1905
  # resp.maximum_batching_window_in_seconds #=> Integer
1948
1906
  # resp.parallelization_factor #=> Integer
1949
1907
  # resp.event_source_arn #=> String
1908
+ # resp.filter_criteria.filters #=> Array
1909
+ # resp.filter_criteria.filters[0].pattern #=> String
1950
1910
  # resp.function_arn #=> String
1951
1911
  # resp.last_modified #=> Time
1952
1912
  # resp.last_processing_result #=> String
@@ -2379,53 +2339,6 @@ module Aws::Lambda
2379
2339
  req.send_request(options)
2380
2340
  end
2381
2341
 
2382
- # @option params [required, String] :function_name
2383
- #
2384
- # @option params [String] :qualifier
2385
- #
2386
- # @return [Types::GetFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2387
- #
2388
- # * {Types::GetFunctionUrlConfigResponse#function_url #function_url} => String
2389
- # * {Types::GetFunctionUrlConfigResponse#function_arn #function_arn} => String
2390
- # * {Types::GetFunctionUrlConfigResponse#authorization_type #authorization_type} => String
2391
- # * {Types::GetFunctionUrlConfigResponse#cors #cors} => Types::Cors
2392
- # * {Types::GetFunctionUrlConfigResponse#creation_time #creation_time} => Time
2393
- # * {Types::GetFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
2394
- #
2395
- # @example Request syntax with placeholder values
2396
- #
2397
- # resp = client.get_function_url_config({
2398
- # function_name: "FunctionName", # required
2399
- # qualifier: "FunctionUrlQualifier",
2400
- # })
2401
- #
2402
- # @example Response structure
2403
- #
2404
- # resp.function_url #=> String
2405
- # resp.function_arn #=> String
2406
- # resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
2407
- # resp.cors.allow_credentials #=> Boolean
2408
- # resp.cors.allow_headers #=> Array
2409
- # resp.cors.allow_headers[0] #=> String
2410
- # resp.cors.allow_methods #=> Array
2411
- # resp.cors.allow_methods[0] #=> String
2412
- # resp.cors.allow_origins #=> Array
2413
- # resp.cors.allow_origins[0] #=> String
2414
- # resp.cors.expose_headers #=> Array
2415
- # resp.cors.expose_headers[0] #=> String
2416
- # resp.cors.max_age #=> Integer
2417
- # resp.creation_time #=> Time
2418
- # resp.last_modified_time #=> Time
2419
- #
2420
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig AWS API Documentation
2421
- #
2422
- # @overload get_function_url_config(params = {})
2423
- # @param [Hash] params ({})
2424
- def get_function_url_config(params = {}, options = {})
2425
- req = build_request(:get_function_url_config, params)
2426
- req.send_request(options)
2427
- end
2428
-
2429
2342
  # Returns information about a version of an [Lambda layer][1], with a
2430
2343
  # link to download the layer archive that's valid for 10 minutes.
2431
2344
  #
@@ -2780,6 +2693,10 @@ module Aws::Lambda
2780
2693
  # @option params [String, StringIO, File] :payload
2781
2694
  # The JSON that you want to provide to your Lambda function as input.
2782
2695
  #
2696
+ # You can enter the JSON directly. For example, `--payload '\{ "key":
2697
+ # "value" \}'`. You can also specify a file path. For example,
2698
+ # `--payload file://payload.json`.
2699
+ #
2783
2700
  # @option params [String] :qualifier
2784
2701
  # Specify a version or alias to invoke a published version of the
2785
2702
  # function.
@@ -3054,6 +2971,8 @@ module Aws::Lambda
3054
2971
  # resp.event_source_mappings[0].maximum_batching_window_in_seconds #=> Integer
3055
2972
  # resp.event_source_mappings[0].parallelization_factor #=> Integer
3056
2973
  # resp.event_source_mappings[0].event_source_arn #=> String
2974
+ # resp.event_source_mappings[0].filter_criteria.filters #=> Array
2975
+ # resp.event_source_mappings[0].filter_criteria.filters[0].pattern #=> String
3057
2976
  # resp.event_source_mappings[0].function_arn #=> String
3058
2977
  # resp.event_source_mappings[0].last_modified #=> Time
3059
2978
  # resp.event_source_mappings[0].last_processing_result #=> String
@@ -3150,56 +3069,6 @@ module Aws::Lambda
3150
3069
  req.send_request(options)
3151
3070
  end
3152
3071
 
3153
- # @option params [required, String] :function_name
3154
- #
3155
- # @option params [String] :marker
3156
- #
3157
- # @option params [Integer] :max_items
3158
- #
3159
- # @return [Types::ListFunctionUrlConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3160
- #
3161
- # * {Types::ListFunctionUrlConfigsResponse#function_url_configs #function_url_configs} => Array&lt;Types::FunctionUrlConfig&gt;
3162
- # * {Types::ListFunctionUrlConfigsResponse#next_marker #next_marker} => String
3163
- #
3164
- # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3165
- #
3166
- # @example Request syntax with placeholder values
3167
- #
3168
- # resp = client.list_function_url_configs({
3169
- # function_name: "FunctionName", # required
3170
- # marker: "String",
3171
- # max_items: 1,
3172
- # })
3173
- #
3174
- # @example Response structure
3175
- #
3176
- # resp.function_url_configs #=> Array
3177
- # resp.function_url_configs[0].function_url #=> String
3178
- # resp.function_url_configs[0].function_arn #=> String
3179
- # resp.function_url_configs[0].creation_time #=> Time
3180
- # resp.function_url_configs[0].last_modified_time #=> Time
3181
- # resp.function_url_configs[0].cors.allow_credentials #=> Boolean
3182
- # resp.function_url_configs[0].cors.allow_headers #=> Array
3183
- # resp.function_url_configs[0].cors.allow_headers[0] #=> String
3184
- # resp.function_url_configs[0].cors.allow_methods #=> Array
3185
- # resp.function_url_configs[0].cors.allow_methods[0] #=> String
3186
- # resp.function_url_configs[0].cors.allow_origins #=> Array
3187
- # resp.function_url_configs[0].cors.allow_origins[0] #=> String
3188
- # resp.function_url_configs[0].cors.expose_headers #=> Array
3189
- # resp.function_url_configs[0].cors.expose_headers[0] #=> String
3190
- # resp.function_url_configs[0].cors.max_age #=> Integer
3191
- # resp.function_url_configs[0].authorization_type #=> String, one of "NONE", "AWS_IAM"
3192
- # resp.next_marker #=> String
3193
- #
3194
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs AWS API Documentation
3195
- #
3196
- # @overload list_function_url_configs(params = {})
3197
- # @param [Hash] params ({})
3198
- def list_function_url_configs(params = {}, options = {})
3199
- req = build_request(:list_function_url_configs, params)
3200
- req.send_request(options)
3201
- end
3202
-
3203
3072
  # Returns a list of Lambda functions, with the version-specific
3204
3073
  # configuration of each. Lambda returns up to 50 functions per call.
3205
3074
  #
@@ -4653,6 +4522,17 @@ module Aws::Lambda
4653
4522
  #
4654
4523
  # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
4655
4524
  #
4525
+ # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
4526
+ #
4527
+ # @option params [Types::FilterCriteria] :filter_criteria
4528
+ # (Streams and Amazon SQS) An object that defines the filter criteria
4529
+ # that determine whether Lambda should process an event. For more
4530
+ # information, see [Lambda event filtering][1].
4531
+ #
4532
+ #
4533
+ #
4534
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
4535
+ #
4656
4536
  # @option params [Integer] :maximum_batching_window_in_seconds
4657
4537
  # (Streams and Amazon SQS standard queues) The maximum amount of time,
4658
4538
  # in seconds, that Lambda spends gathering records before invoking the
@@ -4693,8 +4573,8 @@ module Aws::Lambda
4693
4573
  # range is between 1 second up to 900 seconds.
4694
4574
  #
4695
4575
  # @option params [Array<String>] :function_response_types
4696
- # (Streams only) A list of current response type enums applied to the
4697
- # event source mapping.
4576
+ # (Streams and Amazon SQS) A list of current response type enums applied
4577
+ # to the event source mapping.
4698
4578
  #
4699
4579
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4700
4580
  #
@@ -4705,6 +4585,7 @@ module Aws::Lambda
4705
4585
  # * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
4706
4586
  # * {Types::EventSourceMappingConfiguration#parallelization_factor #parallelization_factor} => Integer
4707
4587
  # * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
4588
+ # * {Types::EventSourceMappingConfiguration#filter_criteria #filter_criteria} => Types::FilterCriteria
4708
4589
  # * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
4709
4590
  # * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
4710
4591
  # * {Types::EventSourceMappingConfiguration#last_processing_result #last_processing_result} => String
@@ -4728,6 +4609,13 @@ module Aws::Lambda
4728
4609
  # function_name: "FunctionName",
4729
4610
  # enabled: false,
4730
4611
  # batch_size: 1,
4612
+ # filter_criteria: {
4613
+ # filters: [
4614
+ # {
4615
+ # pattern: "Pattern",
4616
+ # },
4617
+ # ],
4618
+ # },
4731
4619
  # maximum_batching_window_in_seconds: 1,
4732
4620
  # destination_config: {
4733
4621
  # on_success: {
@@ -4760,6 +4648,8 @@ module Aws::Lambda
4760
4648
  # resp.maximum_batching_window_in_seconds #=> Integer
4761
4649
  # resp.parallelization_factor #=> Integer
4762
4650
  # resp.event_source_arn #=> String
4651
+ # resp.filter_criteria.filters #=> Array
4652
+ # resp.filter_criteria.filters[0].pattern #=> String
4763
4653
  # resp.function_arn #=> String
4764
4654
  # resp.last_modified #=> Time
4765
4655
  # resp.last_processing_result #=> String
@@ -4861,8 +4751,8 @@ module Aws::Lambda
4861
4751
  #
4862
4752
  # @option params [Array<String>] :architectures
4863
4753
  # The instruction set architecture that the function supports. Enter a
4864
- # string array with one of the valid values. The default value is
4865
- # `x86_64`.
4754
+ # string array with one of the valid values (arm64 or x86\_64). The
4755
+ # default value is `x86_64`.
4866
4756
  #
4867
4757
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4868
4758
  #
@@ -5022,7 +4912,8 @@ module Aws::Lambda
5022
4912
  #
5023
4913
  # @option params [String] :handler
5024
4914
  # The name of the method within your code that Lambda calls to execute
5025
- # your function. The format includes the file name. It can also include
4915
+ # your function. Handler is required if the deployment package is a .zip
4916
+ # file archive. The format includes the file name. It can also include
5026
4917
  # namespaces and other qualifiers, depending on the runtime. For more
5027
4918
  # information, see [Programming Model][1].
5028
4919
  #
@@ -5068,7 +4959,8 @@ module Aws::Lambda
5068
4959
  # execution.
5069
4960
  #
5070
4961
  # @option params [String] :runtime
5071
- # The identifier of the function's [runtime][1].
4962
+ # The identifier of the function's [runtime][1]. Runtime is required if
4963
+ # the deployment package is a .zip file archive.
5072
4964
  #
5073
4965
  #
5074
4966
  #
@@ -5351,66 +5243,6 @@ module Aws::Lambda
5351
5243
  req.send_request(options)
5352
5244
  end
5353
5245
 
5354
- # @option params [required, String] :function_name
5355
- #
5356
- # @option params [String] :qualifier
5357
- #
5358
- # @option params [String] :authorization_type
5359
- #
5360
- # @option params [Types::Cors] :cors
5361
- #
5362
- # @return [Types::UpdateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5363
- #
5364
- # * {Types::UpdateFunctionUrlConfigResponse#function_url #function_url} => String
5365
- # * {Types::UpdateFunctionUrlConfigResponse#function_arn #function_arn} => String
5366
- # * {Types::UpdateFunctionUrlConfigResponse#authorization_type #authorization_type} => String
5367
- # * {Types::UpdateFunctionUrlConfigResponse#cors #cors} => Types::Cors
5368
- # * {Types::UpdateFunctionUrlConfigResponse#creation_time #creation_time} => Time
5369
- # * {Types::UpdateFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
5370
- #
5371
- # @example Request syntax with placeholder values
5372
- #
5373
- # resp = client.update_function_url_config({
5374
- # function_name: "FunctionName", # required
5375
- # qualifier: "FunctionUrlQualifier",
5376
- # authorization_type: "NONE", # accepts NONE, AWS_IAM
5377
- # cors: {
5378
- # allow_credentials: false,
5379
- # allow_headers: ["Header"],
5380
- # allow_methods: ["Method"],
5381
- # allow_origins: ["Origin"],
5382
- # expose_headers: ["Header"],
5383
- # max_age: 1,
5384
- # },
5385
- # })
5386
- #
5387
- # @example Response structure
5388
- #
5389
- # resp.function_url #=> String
5390
- # resp.function_arn #=> String
5391
- # resp.authorization_type #=> String, one of "NONE", "AWS_IAM"
5392
- # resp.cors.allow_credentials #=> Boolean
5393
- # resp.cors.allow_headers #=> Array
5394
- # resp.cors.allow_headers[0] #=> String
5395
- # resp.cors.allow_methods #=> Array
5396
- # resp.cors.allow_methods[0] #=> String
5397
- # resp.cors.allow_origins #=> Array
5398
- # resp.cors.allow_origins[0] #=> String
5399
- # resp.cors.expose_headers #=> Array
5400
- # resp.cors.expose_headers[0] #=> String
5401
- # resp.cors.max_age #=> Integer
5402
- # resp.creation_time #=> Time
5403
- # resp.last_modified_time #=> Time
5404
- #
5405
- # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig AWS API Documentation
5406
- #
5407
- # @overload update_function_url_config(params = {})
5408
- # @param [Hash] params ({})
5409
- def update_function_url_config(params = {}, options = {})
5410
- req = build_request(:update_function_url_config, params)
5411
- req.send_request(options)
5412
- end
5413
-
5414
5246
  # @!endgroup
5415
5247
 
5416
5248
  # @param params ({})
@@ -5424,7 +5256,7 @@ module Aws::Lambda
5424
5256
  params: params,
5425
5257
  config: config)
5426
5258
  context[:gem_name] = 'aws-sdk-lambda'
5427
- context[:gem_version] = '1.73.0'
5259
+ context[:gem_version] = '1.77.0'
5428
5260
  Seahorse::Client::Request.new(handlers, context)
5429
5261
  end
5430
5262