aws-sdk-lambda 1.69.0 → 1.73.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: e6e5446090d0d2c6a6fcfa1cabd4f7007a996af3b5cfb56ea0c7b3f2be0df196
4
- data.tar.gz: a9db29ebdda17099d4457f8d62c00d14ee769d652d8a8ab86d71f6f165aa5afd
3
+ metadata.gz: 0767b9ced06243329830cf26b10c073dcb263d14c6ccff92f974f19da7052680
4
+ data.tar.gz: 2771d40f0745260a896ba36ca5c27dad21170037a6b954a9ca5500b0c901893b
5
5
  SHA512:
6
- metadata.gz: adfc250c78ccf75dd016a588f205d27de038ac89c5eb42771e0f312c7f01250916af8030a79364ef0ace56041c40900751b2ce30810e05db069c647014ee5150
7
- data.tar.gz: 984ce4077463df389435ad6e4ff60beef6747627901ac60acc4dc77ef2558b9a1abbb1ea273d47f37353973b2ebbef6495942b37d9ef52fa75836b275f255186
6
+ metadata.gz: 676c779489633cabee2b7852f9a812b9a45884acfff3b584be335d63fb5057a1e6cb7afad9348fa5edcda8c08037b3755308039237f7f1fd482897d8084c32f4
7
+ data.tar.gz: d51b81b8017a2600650ba74cf178fb7dd2d49cdd97297e2e891e46d9f3b95ddec02b2aa3823918055bdbaab694e117590c7d01a68dd60b1adc8f578e7c5f9202
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.73.0 (2021-11-19)
5
+ ------------------
6
+
7
+ * Feature - Add support for Lambda Function URLs. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.
8
+
9
+ 1.72.0 (2021-11-18)
10
+ ------------------
11
+
12
+ * Feature - Added support for CLIENT_CERTIFICATE_TLS_AUTH and SERVER_ROOT_CA_CERTIFICATE as SourceAccessType for MSK and Kafka event source mappings.
13
+
14
+ 1.71.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.70.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.69.0 (2021-09-29)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.73.0
@@ -275,6 +275,15 @@ module Aws::Lambda
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -654,19 +663,20 @@ module Aws::Lambda
654
663
  # Creates a mapping between an event source and an Lambda function.
655
664
  # Lambda reads items from the event source and triggers the function.
656
665
  #
657
- # For details about each event source type, see the following topics.
666
+ # For details about how to configure different event sources, see the
667
+ # following topics.
658
668
  #
659
- # * [ Configuring a Dynamo DB stream as an event source][1]
669
+ # * [ Amazon DynamoDB Streams][1]
660
670
  #
661
- # * [ Configuring a Kinesis stream as an event source][2]
671
+ # * [ Amazon Kinesis][2]
662
672
  #
663
- # * [ Configuring an Amazon SQS queue as an event source][3]
673
+ # * [ Amazon SQS][3]
664
674
  #
665
- # * [ Configuring an MQ broker as an event source][4]
675
+ # * [ Amazon MQ and RabbitMQ][4]
666
676
  #
667
- # * [ Configuring MSK as an event source][5]
677
+ # * [ Amazon MSK][5]
668
678
  #
669
- # * [ Configuring Self-Managed Apache Kafka as an event source][6]
679
+ # * [ Apache Kafka][6]
670
680
  #
671
681
  # The following error handling options are only available for stream
672
682
  # sources (DynamoDB and Kinesis):
@@ -688,6 +698,21 @@ module Aws::Lambda
688
698
  # * `ParallelizationFactor` - Process multiple batches from each shard
689
699
  # concurrently.
690
700
  #
701
+ # For information about which configuration parameters apply to each
702
+ # event source, see the following topics.
703
+ #
704
+ # * [ Amazon DynamoDB Streams][7]
705
+ #
706
+ # * [ Amazon Kinesis][8]
707
+ #
708
+ # * [ Amazon SQS][9]
709
+ #
710
+ # * [ Amazon MQ and RabbitMQ][10]
711
+ #
712
+ # * [ Amazon MSK][11]
713
+ #
714
+ # * [ Apache Kafka][12]
715
+ #
691
716
  #
692
717
  #
693
718
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping
@@ -696,6 +721,12 @@ module Aws::Lambda
696
721
  # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping
697
722
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
698
723
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
724
+ # [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
725
+ # [8]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
726
+ # [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
727
+ # [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
728
+ # [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
729
+ # [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
699
730
  #
700
731
  # @option params [String] :event_source_arn
701
732
  # The Amazon Resource Name (ARN) of the event source.
@@ -865,7 +896,7 @@ module Aws::Lambda
865
896
  # queues: ["Queue"],
866
897
  # source_access_configurations: [
867
898
  # {
868
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
899
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
869
900
  # uri: "URI",
870
901
  # },
871
902
  # ],
@@ -898,7 +929,7 @@ module Aws::Lambda
898
929
  # resp.queues #=> Array
899
930
  # resp.queues[0] #=> String
900
931
  # resp.source_access_configurations #=> Array
901
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
932
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
902
933
  # resp.source_access_configurations[0].uri #=> String
903
934
  # resp.self_managed_event_source.endpoints #=> Hash
904
935
  # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
@@ -1032,10 +1063,10 @@ module Aws::Lambda
1032
1063
  # A description of the function.
1033
1064
  #
1034
1065
  # @option params [Integer] :timeout
1035
- # The amount of time that Lambda allows a function to run before
1036
- # stopping it. The default is 3 seconds. The maximum allowed value is
1037
- # 900 seconds. For additional information, see [Lambda execution
1038
- # environment][1].
1066
+ # The amount of time (in seconds) that Lambda allows a function to run
1067
+ # before stopping it. The default is 3 seconds. The maximum allowed
1068
+ # value is 900 seconds. For additional information, see [Lambda
1069
+ # execution environment][1].
1039
1070
  #
1040
1071
  #
1041
1072
  #
@@ -1285,6 +1316,64 @@ module Aws::Lambda
1285
1316
  req.send_request(options)
1286
1317
  end
1287
1318
 
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
+
1288
1377
  # Deletes a Lambda function [alias][1].
1289
1378
  #
1290
1379
  #
@@ -1415,7 +1504,7 @@ module Aws::Lambda
1415
1504
  # resp.queues #=> Array
1416
1505
  # resp.queues[0] #=> String
1417
1506
  # resp.source_access_configurations #=> Array
1418
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
1507
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
1419
1508
  # resp.source_access_configurations[0].uri #=> String
1420
1509
  # resp.self_managed_event_source.endpoints #=> Hash
1421
1510
  # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
@@ -1596,6 +1685,28 @@ module Aws::Lambda
1596
1685
  req.send_request(options)
1597
1686
  end
1598
1687
 
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
+
1599
1710
  # Deletes a version of an [Lambda layer][1]. Deleted versions can no
1600
1711
  # longer be viewed or added to functions. To avoid breaking functions, a
1601
1712
  # copy of the version remains in Lambda until no functions refer to it.
@@ -1848,7 +1959,7 @@ module Aws::Lambda
1848
1959
  # resp.queues #=> Array
1849
1960
  # resp.queues[0] #=> String
1850
1961
  # resp.source_access_configurations #=> Array
1851
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
1962
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
1852
1963
  # resp.source_access_configurations[0].uri #=> String
1853
1964
  # resp.self_managed_event_source.endpoints #=> Hash
1854
1965
  # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
@@ -2268,6 +2379,53 @@ module Aws::Lambda
2268
2379
  req.send_request(options)
2269
2380
  end
2270
2381
 
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
+
2271
2429
  # Returns information about a version of an [Lambda layer][1], with a
2272
2430
  # link to download the layer archive that's valid for 10 minutes.
2273
2431
  #
@@ -2908,7 +3066,7 @@ module Aws::Lambda
2908
3066
  # resp.event_source_mappings[0].queues #=> Array
2909
3067
  # resp.event_source_mappings[0].queues[0] #=> String
2910
3068
  # resp.event_source_mappings[0].source_access_configurations #=> Array
2911
- # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
3069
+ # resp.event_source_mappings[0].source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
2912
3070
  # resp.event_source_mappings[0].source_access_configurations[0].uri #=> String
2913
3071
  # resp.event_source_mappings[0].self_managed_event_source.endpoints #=> Hash
2914
3072
  # resp.event_source_mappings[0].self_managed_event_source.endpoints["EndPointType"] #=> Array
@@ -2992,6 +3150,56 @@ module Aws::Lambda
2992
3150
  req.send_request(options)
2993
3151
  end
2994
3152
 
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<Types::FunctionUrlConfig>
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
+
2995
3203
  # Returns a list of Lambda functions, with the version-specific
2996
3204
  # configuration of each. Lambda returns up to 50 functions per call.
2997
3205
  #
@@ -4335,6 +4543,21 @@ module Aws::Lambda
4335
4543
  # Lambda invokes, or pause invocation and resume later from the same
4336
4544
  # location.
4337
4545
  #
4546
+ # For details about how to configure different event sources, see the
4547
+ # following topics.
4548
+ #
4549
+ # * [ Amazon DynamoDB Streams][1]
4550
+ #
4551
+ # * [ Amazon Kinesis][2]
4552
+ #
4553
+ # * [ Amazon SQS][3]
4554
+ #
4555
+ # * [ Amazon MQ and RabbitMQ][4]
4556
+ #
4557
+ # * [ Amazon MSK][5]
4558
+ #
4559
+ # * [ Apache Kafka][6]
4560
+ #
4338
4561
  # The following error handling options are only available for stream
4339
4562
  # sources (DynamoDB and Kinesis):
4340
4563
  #
@@ -4355,6 +4578,36 @@ module Aws::Lambda
4355
4578
  # * `ParallelizationFactor` - Process multiple batches from each shard
4356
4579
  # concurrently.
4357
4580
  #
4581
+ # For information about which configuration parameters apply to each
4582
+ # event source, see the following topics.
4583
+ #
4584
+ # * [ Amazon DynamoDB Streams][7]
4585
+ #
4586
+ # * [ Amazon Kinesis][8]
4587
+ #
4588
+ # * [ Amazon SQS][9]
4589
+ #
4590
+ # * [ Amazon MQ and RabbitMQ][10]
4591
+ #
4592
+ # * [ Amazon MSK][11]
4593
+ #
4594
+ # * [ Apache Kafka][12]
4595
+ #
4596
+ #
4597
+ #
4598
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping
4599
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping
4600
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource
4601
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping
4602
+ # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
4603
+ # [6]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html
4604
+ # [7]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params
4605
+ # [8]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params
4606
+ # [9]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params
4607
+ # [10]: https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params
4608
+ # [11]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms
4609
+ # [12]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms
4610
+ #
4358
4611
  # @option params [required, String] :uuid
4359
4612
  # The identifier of the event source mapping.
4360
4613
  #
@@ -4490,7 +4743,7 @@ module Aws::Lambda
4490
4743
  # parallelization_factor: 1,
4491
4744
  # source_access_configurations: [
4492
4745
  # {
4493
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
4746
+ # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST, CLIENT_CERTIFICATE_TLS_AUTH, SERVER_ROOT_CA_CERTIFICATE
4494
4747
  # uri: "URI",
4495
4748
  # },
4496
4749
  # ],
@@ -4519,7 +4772,7 @@ module Aws::Lambda
4519
4772
  # resp.queues #=> Array
4520
4773
  # resp.queues[0] #=> String
4521
4774
  # resp.source_access_configurations #=> Array
4522
- # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST"
4775
+ # resp.source_access_configurations[0].type #=> String, one of "BASIC_AUTH", "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", "SASL_SCRAM_256_AUTH", "VIRTUAL_HOST", "CLIENT_CERTIFICATE_TLS_AUTH", "SERVER_ROOT_CA_CERTIFICATE"
4523
4776
  # resp.source_access_configurations[0].uri #=> String
4524
4777
  # resp.self_managed_event_source.endpoints #=> Hash
4525
4778
  # resp.self_managed_event_source.endpoints["EndPointType"] #=> Array
@@ -4781,10 +5034,10 @@ module Aws::Lambda
4781
5034
  # A description of the function.
4782
5035
  #
4783
5036
  # @option params [Integer] :timeout
4784
- # The amount of time that Lambda allows a function to run before
4785
- # stopping it. The default is 3 seconds. The maximum allowed value is
4786
- # 900 seconds. For additional information, see [Lambda execution
4787
- # environment][1].
5037
+ # The amount of time (in seconds) that Lambda allows a function to run
5038
+ # before stopping it. The default is 3 seconds. The maximum allowed
5039
+ # value is 900 seconds. For additional information, see [Lambda
5040
+ # execution environment][1].
4788
5041
  #
4789
5042
  #
4790
5043
  #
@@ -5098,6 +5351,66 @@ module Aws::Lambda
5098
5351
  req.send_request(options)
5099
5352
  end
5100
5353
 
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
+
5101
5414
  # @!endgroup
5102
5415
 
5103
5416
  # @param params ({})
@@ -5111,7 +5424,7 @@ module Aws::Lambda
5111
5424
  params: params,
5112
5425
  config: config)
5113
5426
  context[:gem_name] = 'aws-sdk-lambda'
5114
- context[:gem_version] = '1.69.0'
5427
+ context[:gem_version] = '1.73.0'
5115
5428
  Seahorse::Client::Request.new(handlers, context)
5116
5429
  end
5117
5430