aws-sdk-lambda 1.82.0 → 1.85.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -512,6 +512,17 @@ module Aws::Lambda
512
512
  # grant permissions to all the Amazon Web Services accounts under this
513
513
  # organization.
514
514
  #
515
+ # @option params [String] :function_url_auth_type
516
+ # The type of authentication that your function URL uses. Set to
517
+ # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
518
+ # only. Set to `NONE` if you want to bypass IAM authentication to create
519
+ # a public endpoint. For more information, see [ Security and auth model
520
+ # for Lambda function URLs][1].
521
+ #
522
+ #
523
+ #
524
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
525
+ #
515
526
  # @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
516
527
  #
517
528
  # * {Types::AddPermissionResponse#statement #statement} => String
@@ -529,6 +540,7 @@ module Aws::Lambda
529
540
  # qualifier: "Qualifier",
530
541
  # revision_id: "String",
531
542
  # principal_org_id: "PrincipalOrgID",
543
+ # function_url_auth_type: "NONE", # accepts NONE, AWS_IAM
532
544
  # })
533
545
  #
534
546
  # @example Response structure
@@ -684,7 +696,7 @@ module Aws::Lambda
684
696
  end
685
697
 
686
698
  # Creates a mapping between an event source and an Lambda function.
687
- # Lambda reads items from the event source and triggers the function.
699
+ # Lambda reads items from the event source and invokes the function.
688
700
  #
689
701
  # For details about how to configure different event sources, see the
690
702
  # following topics.
@@ -701,7 +713,7 @@ module Aws::Lambda
701
713
  #
702
714
  # * [ Apache Kafka][6]
703
715
  #
704
- # The following error handling options are only available for stream
716
+ # The following error handling options are available only for stream
705
717
  # sources (DynamoDB and Kinesis):
706
718
  #
707
719
  # * `BisectBatchOnFunctionError` - If the function returns an error,
@@ -796,7 +808,7 @@ module Aws::Lambda
796
808
  #
797
809
  # * **Amazon Kinesis** - Default 100. Max 10,000.
798
810
  #
799
- # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
811
+ # * **Amazon DynamoDB Streams** - Default 100. Max 10,000.
800
812
  #
801
813
  # * **Amazon Simple Queue Service** - Default 10. For standard queues
802
814
  # the max is 10,000. For FIFO queues the max is 10.
@@ -804,7 +816,7 @@ module Aws::Lambda
804
816
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
805
817
  # 10,000.
806
818
  #
807
- # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
819
+ # * **Self-managed Apache Kafka** - Default 100. Max 10,000.
808
820
  #
809
821
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
810
822
  #
@@ -834,7 +846,7 @@ module Aws::Lambda
834
846
  # @option params [String] :starting_position
835
847
  # The position in a stream from which to start reading. Required for
836
848
  # Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
837
- # `AT_TIMESTAMP` is only supported for Amazon Kinesis streams.
849
+ # `AT_TIMESTAMP` is supported only for Amazon Kinesis streams.
838
850
  #
839
851
  # @option params [Time,DateTime,Date,Integer,String] :starting_position_timestamp
840
852
  # With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to
@@ -855,11 +867,11 @@ module Aws::Lambda
855
867
  # @option params [Integer] :maximum_retry_attempts
856
868
  # (Streams only) Discard records after the specified number of retries.
857
869
  # The default value is infinite (-1). When set to infinite (-1), failed
858
- # records will be retried until the record expires.
870
+ # records are retried until the record expires.
859
871
  #
860
872
  # @option params [Integer] :tumbling_window_in_seconds
861
873
  # (Streams only) The duration in seconds of a processing window. The
862
- # range is between 1 second up to 900 seconds.
874
+ # range is between 1 second and 900 seconds.
863
875
  #
864
876
  # @option params [Array<String>] :topics
865
877
  # The name of the Kafka topic.
@@ -872,12 +884,20 @@ module Aws::Lambda
872
884
  # secure your event source.
873
885
  #
874
886
  # @option params [Types::SelfManagedEventSource] :self_managed_event_source
875
- # The Self-Managed Apache Kafka cluster to send records.
887
+ # The self-managed Apache Kafka cluster to receive records from.
876
888
  #
877
889
  # @option params [Array<String>] :function_response_types
878
890
  # (Streams and Amazon SQS) A list of current response type enums applied
879
891
  # to the event source mapping.
880
892
  #
893
+ # @option params [Types::AmazonManagedKafkaEventSourceConfig] :amazon_managed_kafka_event_source_config
894
+ # Specific configuration settings for an Amazon Managed Streaming for
895
+ # Apache Kafka (Amazon MSK) event source.
896
+ #
897
+ # @option params [Types::SelfManagedKafkaEventSourceConfig] :self_managed_kafka_event_source_config
898
+ # Specific configuration settings for a self-managed Apache Kafka event
899
+ # source.
900
+ #
881
901
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
882
902
  #
883
903
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -903,6 +923,8 @@ module Aws::Lambda
903
923
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
904
924
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
905
925
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
926
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
927
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
906
928
  #
907
929
  # @example Request syntax with placeholder values
908
930
  #
@@ -948,6 +970,12 @@ module Aws::Lambda
948
970
  # },
949
971
  # },
950
972
  # function_response_types: ["ReportBatchItemFailures"], # accepts ReportBatchItemFailures
973
+ # amazon_managed_kafka_event_source_config: {
974
+ # consumer_group_id: "URI",
975
+ # },
976
+ # self_managed_kafka_event_source_config: {
977
+ # consumer_group_id: "URI",
978
+ # },
951
979
  # })
952
980
  #
953
981
  # @example Response structure
@@ -984,6 +1012,8 @@ module Aws::Lambda
984
1012
  # resp.tumbling_window_in_seconds #=> Integer
985
1013
  # resp.function_response_types #=> Array
986
1014
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1015
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
1016
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
987
1017
  #
988
1018
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
989
1019
  #
@@ -1253,7 +1283,7 @@ module Aws::Lambda
1253
1283
  #
1254
1284
  # resp = client.create_function({
1255
1285
  # function_name: "FunctionName", # required
1256
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
1286
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
1257
1287
  # role: "RoleArn", # required
1258
1288
  # handler: "Handler",
1259
1289
  # code: { # required
@@ -1310,7 +1340,7 @@ module Aws::Lambda
1310
1340
  #
1311
1341
  # resp.function_name #=> String
1312
1342
  # resp.function_arn #=> String
1313
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
1343
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
1314
1344
  # resp.role #=> String
1315
1345
  # resp.handler #=> String
1316
1346
  # resp.code_size #=> Integer
@@ -1371,6 +1401,97 @@ module Aws::Lambda
1371
1401
  req.send_request(options)
1372
1402
  end
1373
1403
 
1404
+ # Creates a Lambda function URL with the specified configuration
1405
+ # parameters. A function URL is a dedicated HTTP(S) endpoint that you
1406
+ # can use to invoke your function.
1407
+ #
1408
+ # @option params [required, String] :function_name
1409
+ # The name of the Lambda function.
1410
+ #
1411
+ # **Name formats**
1412
+ #
1413
+ # * **Function name** - `my-function`.
1414
+ #
1415
+ # * **Function ARN** -
1416
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1417
+ #
1418
+ # * **Partial ARN** - `123456789012:function:my-function`.
1419
+ #
1420
+ # The length constraint applies only to the full ARN. If you specify
1421
+ # only the function name, it is limited to 64 characters in length.
1422
+ #
1423
+ # @option params [String] :qualifier
1424
+ # The alias name.
1425
+ #
1426
+ # @option params [required, String] :auth_type
1427
+ # The type of authentication that your function URL uses. Set to
1428
+ # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
1429
+ # only. Set to `NONE` if you want to bypass IAM authentication to create
1430
+ # a public endpoint. For more information, see [ Security and auth model
1431
+ # for Lambda function URLs][1].
1432
+ #
1433
+ #
1434
+ #
1435
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
1436
+ #
1437
+ # @option params [Types::Cors] :cors
1438
+ # The [cross-origin resource sharing (CORS)][1] settings for your
1439
+ # function URL.
1440
+ #
1441
+ #
1442
+ #
1443
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
1444
+ #
1445
+ # @return [Types::CreateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1446
+ #
1447
+ # * {Types::CreateFunctionUrlConfigResponse#function_url #function_url} => String
1448
+ # * {Types::CreateFunctionUrlConfigResponse#function_arn #function_arn} => String
1449
+ # * {Types::CreateFunctionUrlConfigResponse#auth_type #auth_type} => String
1450
+ # * {Types::CreateFunctionUrlConfigResponse#cors #cors} => Types::Cors
1451
+ # * {Types::CreateFunctionUrlConfigResponse#creation_time #creation_time} => Time
1452
+ #
1453
+ # @example Request syntax with placeholder values
1454
+ #
1455
+ # resp = client.create_function_url_config({
1456
+ # function_name: "FunctionName", # required
1457
+ # qualifier: "FunctionUrlQualifier",
1458
+ # auth_type: "NONE", # required, accepts NONE, AWS_IAM
1459
+ # cors: {
1460
+ # allow_credentials: false,
1461
+ # allow_headers: ["Header"],
1462
+ # allow_methods: ["Method"],
1463
+ # allow_origins: ["Origin"],
1464
+ # expose_headers: ["Header"],
1465
+ # max_age: 1,
1466
+ # },
1467
+ # })
1468
+ #
1469
+ # @example Response structure
1470
+ #
1471
+ # resp.function_url #=> String
1472
+ # resp.function_arn #=> String
1473
+ # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
1474
+ # resp.cors.allow_credentials #=> Boolean
1475
+ # resp.cors.allow_headers #=> Array
1476
+ # resp.cors.allow_headers[0] #=> String
1477
+ # resp.cors.allow_methods #=> Array
1478
+ # resp.cors.allow_methods[0] #=> String
1479
+ # resp.cors.allow_origins #=> Array
1480
+ # resp.cors.allow_origins[0] #=> String
1481
+ # resp.cors.expose_headers #=> Array
1482
+ # resp.cors.expose_headers[0] #=> String
1483
+ # resp.cors.max_age #=> Integer
1484
+ # resp.creation_time #=> Time
1485
+ #
1486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig AWS API Documentation
1487
+ #
1488
+ # @overload create_function_url_config(params = {})
1489
+ # @param [Hash] params ({})
1490
+ def create_function_url_config(params = {}, options = {})
1491
+ req = build_request(:create_function_url_config, params)
1492
+ req.send_request(options)
1493
+ end
1494
+
1374
1495
  # Deletes a Lambda function [alias][1].
1375
1496
  #
1376
1497
  #
@@ -1474,6 +1595,8 @@ module Aws::Lambda
1474
1595
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
1475
1596
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
1476
1597
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
1598
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
1599
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
1477
1600
  #
1478
1601
  # @example Request syntax with placeholder values
1479
1602
  #
@@ -1515,6 +1638,8 @@ module Aws::Lambda
1515
1638
  # resp.tumbling_window_in_seconds #=> Integer
1516
1639
  # resp.function_response_types #=> Array
1517
1640
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
1641
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
1642
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
1518
1643
  #
1519
1644
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
1520
1645
  #
@@ -1685,6 +1810,46 @@ module Aws::Lambda
1685
1810
  req.send_request(options)
1686
1811
  end
1687
1812
 
1813
+ # Deletes a Lambda function URL. When you delete a function URL, you
1814
+ # can't recover it. Creating a new function URL results in a different
1815
+ # URL address.
1816
+ #
1817
+ # @option params [required, String] :function_name
1818
+ # The name of the Lambda function.
1819
+ #
1820
+ # **Name formats**
1821
+ #
1822
+ # * **Function name** - `my-function`.
1823
+ #
1824
+ # * **Function ARN** -
1825
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1826
+ #
1827
+ # * **Partial ARN** - `123456789012:function:my-function`.
1828
+ #
1829
+ # The length constraint applies only to the full ARN. If you specify
1830
+ # only the function name, it is limited to 64 characters in length.
1831
+ #
1832
+ # @option params [String] :qualifier
1833
+ # The alias name.
1834
+ #
1835
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1836
+ #
1837
+ # @example Request syntax with placeholder values
1838
+ #
1839
+ # resp = client.delete_function_url_config({
1840
+ # function_name: "FunctionName", # required
1841
+ # qualifier: "FunctionUrlQualifier",
1842
+ # })
1843
+ #
1844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig AWS API Documentation
1845
+ #
1846
+ # @overload delete_function_url_config(params = {})
1847
+ # @param [Hash] params ({})
1848
+ def delete_function_url_config(params = {}, options = {})
1849
+ req = build_request(:delete_function_url_config, params)
1850
+ req.send_request(options)
1851
+ end
1852
+
1688
1853
  # Deletes a version of an [Lambda layer][1]. Deleted versions can no
1689
1854
  # longer be viewed or added to functions. To avoid breaking functions, a
1690
1855
  # copy of the version remains in Lambda until no functions refer to it.
@@ -1910,6 +2075,8 @@ module Aws::Lambda
1910
2075
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
1911
2076
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
1912
2077
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
2078
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
2079
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
1913
2080
  #
1914
2081
  # @example Request syntax with placeholder values
1915
2082
  #
@@ -1951,6 +2118,8 @@ module Aws::Lambda
1951
2118
  # resp.tumbling_window_in_seconds #=> Integer
1952
2119
  # resp.function_response_types #=> Array
1953
2120
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
2121
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
2122
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
1954
2123
  #
1955
2124
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
1956
2125
  #
@@ -2005,7 +2174,7 @@ module Aws::Lambda
2005
2174
  #
2006
2175
  # resp.configuration.function_name #=> String
2007
2176
  # resp.configuration.function_arn #=> String
2008
- # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2177
+ # resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2009
2178
  # resp.configuration.role #=> String
2010
2179
  # resp.configuration.handler #=> String
2011
2180
  # resp.configuration.code_size #=> Integer
@@ -2239,7 +2408,7 @@ module Aws::Lambda
2239
2408
  #
2240
2409
  # resp.function_name #=> String
2241
2410
  # resp.function_arn #=> String
2242
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2411
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2243
2412
  # resp.role #=> String
2244
2413
  # resp.handler #=> String
2245
2414
  # resp.code_size #=> Integer
@@ -2365,6 +2534,69 @@ module Aws::Lambda
2365
2534
  req.send_request(options)
2366
2535
  end
2367
2536
 
2537
+ # Returns details about a Lambda function URL.
2538
+ #
2539
+ # @option params [required, String] :function_name
2540
+ # The name of the Lambda function.
2541
+ #
2542
+ # **Name formats**
2543
+ #
2544
+ # * **Function name** - `my-function`.
2545
+ #
2546
+ # * **Function ARN** -
2547
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2548
+ #
2549
+ # * **Partial ARN** - `123456789012:function:my-function`.
2550
+ #
2551
+ # The length constraint applies only to the full ARN. If you specify
2552
+ # only the function name, it is limited to 64 characters in length.
2553
+ #
2554
+ # @option params [String] :qualifier
2555
+ # The alias name.
2556
+ #
2557
+ # @return [Types::GetFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2558
+ #
2559
+ # * {Types::GetFunctionUrlConfigResponse#function_url #function_url} => String
2560
+ # * {Types::GetFunctionUrlConfigResponse#function_arn #function_arn} => String
2561
+ # * {Types::GetFunctionUrlConfigResponse#auth_type #auth_type} => String
2562
+ # * {Types::GetFunctionUrlConfigResponse#cors #cors} => Types::Cors
2563
+ # * {Types::GetFunctionUrlConfigResponse#creation_time #creation_time} => Time
2564
+ # * {Types::GetFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
2565
+ #
2566
+ # @example Request syntax with placeholder values
2567
+ #
2568
+ # resp = client.get_function_url_config({
2569
+ # function_name: "FunctionName", # required
2570
+ # qualifier: "FunctionUrlQualifier",
2571
+ # })
2572
+ #
2573
+ # @example Response structure
2574
+ #
2575
+ # resp.function_url #=> String
2576
+ # resp.function_arn #=> String
2577
+ # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
2578
+ # resp.cors.allow_credentials #=> Boolean
2579
+ # resp.cors.allow_headers #=> Array
2580
+ # resp.cors.allow_headers[0] #=> String
2581
+ # resp.cors.allow_methods #=> Array
2582
+ # resp.cors.allow_methods[0] #=> String
2583
+ # resp.cors.allow_origins #=> Array
2584
+ # resp.cors.allow_origins[0] #=> String
2585
+ # resp.cors.expose_headers #=> Array
2586
+ # resp.cors.expose_headers[0] #=> String
2587
+ # resp.cors.max_age #=> Integer
2588
+ # resp.creation_time #=> Time
2589
+ # resp.last_modified_time #=> Time
2590
+ #
2591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig AWS API Documentation
2592
+ #
2593
+ # @overload get_function_url_config(params = {})
2594
+ # @param [Hash] params ({})
2595
+ def get_function_url_config(params = {}, options = {})
2596
+ req = build_request(:get_function_url_config, params)
2597
+ req.send_request(options)
2598
+ end
2599
+
2368
2600
  # Returns information about a version of an [Lambda layer][1], with a
2369
2601
  # link to download the layer archive that's valid for 10 minutes.
2370
2602
  #
@@ -2410,7 +2642,7 @@ module Aws::Lambda
2410
2642
  # resp.created_date #=> Time
2411
2643
  # resp.version #=> Integer
2412
2644
  # resp.compatible_runtimes #=> Array
2413
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2645
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2414
2646
  # resp.license_info #=> String
2415
2647
  # resp.compatible_architectures #=> Array
2416
2648
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -2465,7 +2697,7 @@ module Aws::Lambda
2465
2697
  # resp.created_date #=> Time
2466
2698
  # resp.version #=> Integer
2467
2699
  # resp.compatible_runtimes #=> Array
2468
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2700
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2469
2701
  # resp.license_info #=> String
2470
2702
  # resp.compatible_architectures #=> Array
2471
2703
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -2663,7 +2895,8 @@ module Aws::Lambda
2663
2895
  # for long connections with timeout or keep-alive settings.
2664
2896
  #
2665
2897
  # This operation requires permission for the [lambda:InvokeFunction][8]
2666
- # action.
2898
+ # action. For details on how to set up permissions for cross-account
2899
+ # invocations, see [Granting function access to other accounts][9].
2667
2900
  #
2668
2901
  #
2669
2902
  #
@@ -2675,6 +2908,7 @@ module Aws::Lambda
2675
2908
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
2676
2909
  # [7]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
2677
2910
  # [8]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html
2911
+ # [9]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke
2678
2912
  #
2679
2913
  # @option params [required, String] :function_name
2680
2914
  # The name of the Lambda function, version, or alias.
@@ -2928,7 +3162,7 @@ module Aws::Lambda
2928
3162
  req.send_request(options)
2929
3163
  end
2930
3164
 
2931
- # Lists event source mappings. Specify an `EventSourceArn` to only show
3165
+ # Lists event source mappings. Specify an `EventSourceArn` to show only
2932
3166
  # event source mappings for a single event source.
2933
3167
  #
2934
3168
  # @option params [String] :event_source_arn
@@ -3022,6 +3256,8 @@ module Aws::Lambda
3022
3256
  # resp.event_source_mappings[0].tumbling_window_in_seconds #=> Integer
3023
3257
  # resp.event_source_mappings[0].function_response_types #=> Array
3024
3258
  # resp.event_source_mappings[0].function_response_types[0] #=> String, one of "ReportBatchItemFailures"
3259
+ # resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.consumer_group_id #=> String
3260
+ # resp.event_source_mappings[0].self_managed_kafka_event_source_config.consumer_group_id #=> String
3025
3261
  #
3026
3262
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
3027
3263
  #
@@ -3095,6 +3331,76 @@ module Aws::Lambda
3095
3331
  req.send_request(options)
3096
3332
  end
3097
3333
 
3334
+ # Returns a list of Lambda function URLs for the specified function.
3335
+ #
3336
+ # @option params [required, String] :function_name
3337
+ # The name of the Lambda function.
3338
+ #
3339
+ # **Name formats**
3340
+ #
3341
+ # * **Function name** - `my-function`.
3342
+ #
3343
+ # * **Function ARN** -
3344
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3345
+ #
3346
+ # * **Partial ARN** - `123456789012:function:my-function`.
3347
+ #
3348
+ # The length constraint applies only to the full ARN. If you specify
3349
+ # only the function name, it is limited to 64 characters in length.
3350
+ #
3351
+ # @option params [String] :marker
3352
+ # Specify the pagination token that's returned by a previous request to
3353
+ # retrieve the next page of results.
3354
+ #
3355
+ # @option params [Integer] :max_items
3356
+ # The maximum number of function URLs to return in the response. Note
3357
+ # that `ListFunctionUrlConfigs` returns a maximum of 50 items in each
3358
+ # response, even if you set the number higher.
3359
+ #
3360
+ # @return [Types::ListFunctionUrlConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3361
+ #
3362
+ # * {Types::ListFunctionUrlConfigsResponse#function_url_configs #function_url_configs} => Array&lt;Types::FunctionUrlConfig&gt;
3363
+ # * {Types::ListFunctionUrlConfigsResponse#next_marker #next_marker} => String
3364
+ #
3365
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3366
+ #
3367
+ # @example Request syntax with placeholder values
3368
+ #
3369
+ # resp = client.list_function_url_configs({
3370
+ # function_name: "FunctionName", # required
3371
+ # marker: "String",
3372
+ # max_items: 1,
3373
+ # })
3374
+ #
3375
+ # @example Response structure
3376
+ #
3377
+ # resp.function_url_configs #=> Array
3378
+ # resp.function_url_configs[0].function_url #=> String
3379
+ # resp.function_url_configs[0].function_arn #=> String
3380
+ # resp.function_url_configs[0].creation_time #=> Time
3381
+ # resp.function_url_configs[0].last_modified_time #=> Time
3382
+ # resp.function_url_configs[0].cors.allow_credentials #=> Boolean
3383
+ # resp.function_url_configs[0].cors.allow_headers #=> Array
3384
+ # resp.function_url_configs[0].cors.allow_headers[0] #=> String
3385
+ # resp.function_url_configs[0].cors.allow_methods #=> Array
3386
+ # resp.function_url_configs[0].cors.allow_methods[0] #=> String
3387
+ # resp.function_url_configs[0].cors.allow_origins #=> Array
3388
+ # resp.function_url_configs[0].cors.allow_origins[0] #=> String
3389
+ # resp.function_url_configs[0].cors.expose_headers #=> Array
3390
+ # resp.function_url_configs[0].cors.expose_headers[0] #=> String
3391
+ # resp.function_url_configs[0].cors.max_age #=> Integer
3392
+ # resp.function_url_configs[0].auth_type #=> String, one of "NONE", "AWS_IAM"
3393
+ # resp.next_marker #=> String
3394
+ #
3395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs AWS API Documentation
3396
+ #
3397
+ # @overload list_function_url_configs(params = {})
3398
+ # @param [Hash] params ({})
3399
+ def list_function_url_configs(params = {}, options = {})
3400
+ req = build_request(:list_function_url_configs, params)
3401
+ req.send_request(options)
3402
+ end
3403
+
3098
3404
  # Returns a list of Lambda functions, with the version-specific
3099
3405
  # configuration of each. Lambda returns up to 50 functions per call.
3100
3406
  #
@@ -3151,7 +3457,7 @@ module Aws::Lambda
3151
3457
  # resp.functions #=> Array
3152
3458
  # resp.functions[0].function_name #=> String
3153
3459
  # resp.functions[0].function_arn #=> String
3154
- # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3460
+ # resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3155
3461
  # resp.functions[0].role #=> String
3156
3462
  # resp.functions[0].handler #=> String
3157
3463
  # resp.functions[0].code_size #=> Integer
@@ -3296,7 +3602,7 @@ module Aws::Lambda
3296
3602
  # @example Request syntax with placeholder values
3297
3603
  #
3298
3604
  # resp = client.list_layer_versions({
3299
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3605
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3300
3606
  # layer_name: "LayerName", # required
3301
3607
  # marker: "String",
3302
3608
  # max_items: 1,
@@ -3312,7 +3618,7 @@ module Aws::Lambda
3312
3618
  # resp.layer_versions[0].description #=> String
3313
3619
  # resp.layer_versions[0].created_date #=> Time
3314
3620
  # resp.layer_versions[0].compatible_runtimes #=> Array
3315
- # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3621
+ # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3316
3622
  # resp.layer_versions[0].license_info #=> String
3317
3623
  # resp.layer_versions[0].compatible_architectures #=> Array
3318
3624
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3364,7 +3670,7 @@ module Aws::Lambda
3364
3670
  # @example Request syntax with placeholder values
3365
3671
  #
3366
3672
  # resp = client.list_layers({
3367
- # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3673
+ # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3368
3674
  # marker: "String",
3369
3675
  # max_items: 1,
3370
3676
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -3381,7 +3687,7 @@ module Aws::Lambda
3381
3687
  # resp.layers[0].latest_matching_version.description #=> String
3382
3688
  # resp.layers[0].latest_matching_version.created_date #=> Time
3383
3689
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3384
- # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3690
+ # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3385
3691
  # resp.layers[0].latest_matching_version.license_info #=> String
3386
3692
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
3387
3693
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3543,7 +3849,7 @@ module Aws::Lambda
3543
3849
  # resp.versions #=> Array
3544
3850
  # resp.versions[0].function_name #=> String
3545
3851
  # resp.versions[0].function_arn #=> String
3546
- # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3852
+ # resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3547
3853
  # resp.versions[0].role #=> String
3548
3854
  # resp.versions[0].handler #=> String
3549
3855
  # resp.versions[0].code_size #=> Integer
@@ -3676,7 +3982,7 @@ module Aws::Lambda
3676
3982
  # s3_object_version: "S3ObjectVersion",
3677
3983
  # zip_file: "data",
3678
3984
  # },
3679
- # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3985
+ # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3680
3986
  # license_info: "LicenseInfo",
3681
3987
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
3682
3988
  # })
@@ -3694,7 +4000,7 @@ module Aws::Lambda
3694
4000
  # resp.created_date #=> Time
3695
4001
  # resp.version #=> Integer
3696
4002
  # resp.compatible_runtimes #=> Array
3697
- # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
4003
+ # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3698
4004
  # resp.license_info #=> String
3699
4005
  # resp.compatible_architectures #=> Array
3700
4006
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3804,7 +4110,7 @@ module Aws::Lambda
3804
4110
  #
3805
4111
  # resp.function_name #=> String
3806
4112
  # resp.function_arn #=> String
3807
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
4113
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3808
4114
  # resp.role #=> String
3809
4115
  # resp.handler #=> String
3810
4116
  # resp.code_size #=> Integer
@@ -4457,7 +4763,7 @@ module Aws::Lambda
4457
4763
  #
4458
4764
  # * [ Apache Kafka][6]
4459
4765
  #
4460
- # The following error handling options are only available for stream
4766
+ # The following error handling options are available only for stream
4461
4767
  # sources (DynamoDB and Kinesis):
4462
4768
  #
4463
4769
  # * `BisectBatchOnFunctionError` - If the function returns an error,
@@ -4542,7 +4848,7 @@ module Aws::Lambda
4542
4848
  #
4543
4849
  # * **Amazon Kinesis** - Default 100. Max 10,000.
4544
4850
  #
4545
- # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
4851
+ # * **Amazon DynamoDB Streams** - Default 100. Max 10,000.
4546
4852
  #
4547
4853
  # * **Amazon Simple Queue Service** - Default 10. For standard queues
4548
4854
  # the max is 10,000. For FIFO queues the max is 10.
@@ -4550,7 +4856,7 @@ module Aws::Lambda
4550
4856
  # * **Amazon Managed Streaming for Apache Kafka** - Default 100. Max
4551
4857
  # 10,000.
4552
4858
  #
4553
- # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
4859
+ # * **Self-managed Apache Kafka** - Default 100. Max 10,000.
4554
4860
  #
4555
4861
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
4556
4862
  #
@@ -4588,7 +4894,7 @@ module Aws::Lambda
4588
4894
  # @option params [Integer] :maximum_retry_attempts
4589
4895
  # (Streams only) Discard records after the specified number of retries.
4590
4896
  # The default value is infinite (-1). When set to infinite (-1), failed
4591
- # records will be retried until the record expires.
4897
+ # records are retried until the record expires.
4592
4898
  #
4593
4899
  # @option params [Integer] :parallelization_factor
4594
4900
  # (Streams only) The number of batches to process from each shard
@@ -4600,7 +4906,7 @@ module Aws::Lambda
4600
4906
  #
4601
4907
  # @option params [Integer] :tumbling_window_in_seconds
4602
4908
  # (Streams only) The duration in seconds of a processing window. The
4603
- # range is between 1 second up to 900 seconds.
4909
+ # range is between 1 second and 900 seconds.
4604
4910
  #
4605
4911
  # @option params [Array<String>] :function_response_types
4606
4912
  # (Streams and Amazon SQS) A list of current response type enums applied
@@ -4631,6 +4937,8 @@ module Aws::Lambda
4631
4937
  # * {Types::EventSourceMappingConfiguration#maximum_retry_attempts #maximum_retry_attempts} => Integer
4632
4938
  # * {Types::EventSourceMappingConfiguration#tumbling_window_in_seconds #tumbling_window_in_seconds} => Integer
4633
4939
  # * {Types::EventSourceMappingConfiguration#function_response_types #function_response_types} => Array&lt;String&gt;
4940
+ # * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
4941
+ # * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
4634
4942
  #
4635
4943
  # @example Request syntax with placeholder values
4636
4944
  #
@@ -4703,6 +5011,8 @@ module Aws::Lambda
4703
5011
  # resp.tumbling_window_in_seconds #=> Integer
4704
5012
  # resp.function_response_types #=> Array
4705
5013
  # resp.function_response_types[0] #=> String, one of "ReportBatchItemFailures"
5014
+ # resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
5015
+ # resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
4706
5016
  #
4707
5017
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
4708
5018
  #
@@ -4857,7 +5167,7 @@ module Aws::Lambda
4857
5167
  #
4858
5168
  # resp.function_name #=> String
4859
5169
  # resp.function_arn #=> String
4860
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
5170
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
4861
5171
  # resp.role #=> String
4862
5172
  # resp.handler #=> String
4863
5173
  # resp.code_size #=> Integer
@@ -5120,7 +5430,7 @@ module Aws::Lambda
5120
5430
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5121
5431
  # },
5122
5432
  # },
5123
- # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
5433
+ # runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
5124
5434
  # dead_letter_config: {
5125
5435
  # target_arn: "ResourceArn",
5126
5436
  # },
@@ -5150,7 +5460,7 @@ module Aws::Lambda
5150
5460
  #
5151
5461
  # resp.function_name #=> String
5152
5462
  # resp.function_arn #=> String
5153
- # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
5463
+ # resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
5154
5464
  # resp.role #=> String
5155
5465
  # resp.handler #=> String
5156
5466
  # resp.code_size #=> Integer
@@ -5302,6 +5612,97 @@ module Aws::Lambda
5302
5612
  req.send_request(options)
5303
5613
  end
5304
5614
 
5615
+ # Updates the configuration for a Lambda function URL.
5616
+ #
5617
+ # @option params [required, String] :function_name
5618
+ # The name of the Lambda function.
5619
+ #
5620
+ # **Name formats**
5621
+ #
5622
+ # * **Function name** - `my-function`.
5623
+ #
5624
+ # * **Function ARN** -
5625
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5626
+ #
5627
+ # * **Partial ARN** - `123456789012:function:my-function`.
5628
+ #
5629
+ # The length constraint applies only to the full ARN. If you specify
5630
+ # only the function name, it is limited to 64 characters in length.
5631
+ #
5632
+ # @option params [String] :qualifier
5633
+ # The alias name.
5634
+ #
5635
+ # @option params [String] :auth_type
5636
+ # The type of authentication that your function URL uses. Set to
5637
+ # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
5638
+ # only. Set to `NONE` if you want to bypass IAM authentication to create
5639
+ # a public endpoint. For more information, see [ Security and auth model
5640
+ # for Lambda function URLs][1].
5641
+ #
5642
+ #
5643
+ #
5644
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
5645
+ #
5646
+ # @option params [Types::Cors] :cors
5647
+ # The [cross-origin resource sharing (CORS)][1] settings for your
5648
+ # function URL.
5649
+ #
5650
+ #
5651
+ #
5652
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
5653
+ #
5654
+ # @return [Types::UpdateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5655
+ #
5656
+ # * {Types::UpdateFunctionUrlConfigResponse#function_url #function_url} => String
5657
+ # * {Types::UpdateFunctionUrlConfigResponse#function_arn #function_arn} => String
5658
+ # * {Types::UpdateFunctionUrlConfigResponse#auth_type #auth_type} => String
5659
+ # * {Types::UpdateFunctionUrlConfigResponse#cors #cors} => Types::Cors
5660
+ # * {Types::UpdateFunctionUrlConfigResponse#creation_time #creation_time} => Time
5661
+ # * {Types::UpdateFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
5662
+ #
5663
+ # @example Request syntax with placeholder values
5664
+ #
5665
+ # resp = client.update_function_url_config({
5666
+ # function_name: "FunctionName", # required
5667
+ # qualifier: "FunctionUrlQualifier",
5668
+ # auth_type: "NONE", # accepts NONE, AWS_IAM
5669
+ # cors: {
5670
+ # allow_credentials: false,
5671
+ # allow_headers: ["Header"],
5672
+ # allow_methods: ["Method"],
5673
+ # allow_origins: ["Origin"],
5674
+ # expose_headers: ["Header"],
5675
+ # max_age: 1,
5676
+ # },
5677
+ # })
5678
+ #
5679
+ # @example Response structure
5680
+ #
5681
+ # resp.function_url #=> String
5682
+ # resp.function_arn #=> String
5683
+ # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
5684
+ # resp.cors.allow_credentials #=> Boolean
5685
+ # resp.cors.allow_headers #=> Array
5686
+ # resp.cors.allow_headers[0] #=> String
5687
+ # resp.cors.allow_methods #=> Array
5688
+ # resp.cors.allow_methods[0] #=> String
5689
+ # resp.cors.allow_origins #=> Array
5690
+ # resp.cors.allow_origins[0] #=> String
5691
+ # resp.cors.expose_headers #=> Array
5692
+ # resp.cors.expose_headers[0] #=> String
5693
+ # resp.cors.max_age #=> Integer
5694
+ # resp.creation_time #=> Time
5695
+ # resp.last_modified_time #=> Time
5696
+ #
5697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig AWS API Documentation
5698
+ #
5699
+ # @overload update_function_url_config(params = {})
5700
+ # @param [Hash] params ({})
5701
+ def update_function_url_config(params = {}, options = {})
5702
+ req = build_request(:update_function_url_config, params)
5703
+ req.send_request(options)
5704
+ end
5705
+
5305
5706
  # @!endgroup
5306
5707
 
5307
5708
  # @param params ({})
@@ -5315,7 +5716,7 @@ module Aws::Lambda
5315
5716
  params: params,
5316
5717
  config: config)
5317
5718
  context[:gem_name] = 'aws-sdk-lambda'
5318
- context[:gem_version] = '1.82.0'
5719
+ context[:gem_version] = '1.85.0'
5319
5720
  Seahorse::Client::Request.new(handlers, context)
5320
5721
  end
5321
5722