aws-sdk-lambda 1.81.0 → 1.84.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
@@ -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.
@@ -1209,6 +1221,10 @@ module Aws::Lambda
1209
1221
  # string array with one of the valid values (arm64 or x86\_64). The
1210
1222
  # default value is `x86_64`.
1211
1223
  #
1224
+ # @option params [Types::EphemeralStorage] :ephemeral_storage
1225
+ # The size of the function’s /tmp directory in MB. The default value is
1226
+ # 512, but can be any whole number between 512 and 10240 MB.
1227
+ #
1212
1228
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1213
1229
  #
1214
1230
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -1243,12 +1259,13 @@ module Aws::Lambda
1243
1259
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
1244
1260
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
1245
1261
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
1262
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
1246
1263
  #
1247
1264
  # @example Request syntax with placeholder values
1248
1265
  #
1249
1266
  # resp = client.create_function({
1250
1267
  # function_name: "FunctionName", # required
1251
- # 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
1268
+ # 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
1252
1269
  # role: "RoleArn", # required
1253
1270
  # handler: "Handler",
1254
1271
  # code: { # required
@@ -1296,13 +1313,16 @@ module Aws::Lambda
1296
1313
  # },
1297
1314
  # code_signing_config_arn: "CodeSigningConfigArn",
1298
1315
  # architectures: ["x86_64"], # accepts x86_64, arm64
1316
+ # ephemeral_storage: {
1317
+ # size: 1, # required
1318
+ # },
1299
1319
  # })
1300
1320
  #
1301
1321
  # @example Response structure
1302
1322
  #
1303
1323
  # resp.function_name #=> String
1304
1324
  # resp.function_arn #=> String
1305
- # 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"
1325
+ # 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"
1306
1326
  # resp.role #=> String
1307
1327
  # resp.handler #=> String
1308
1328
  # resp.code_size #=> Integer
@@ -1352,6 +1372,7 @@ module Aws::Lambda
1352
1372
  # resp.signing_job_arn #=> String
1353
1373
  # resp.architectures #=> Array
1354
1374
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
1375
+ # resp.ephemeral_storage.size #=> Integer
1355
1376
  #
1356
1377
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1357
1378
  #
@@ -1362,6 +1383,97 @@ module Aws::Lambda
1362
1383
  req.send_request(options)
1363
1384
  end
1364
1385
 
1386
+ # Creates a Lambda function URL with the specified configuration
1387
+ # parameters. A function URL is a dedicated HTTP(S) endpoint that you
1388
+ # can use to invoke your function.
1389
+ #
1390
+ # @option params [required, String] :function_name
1391
+ # The name of the Lambda function.
1392
+ #
1393
+ # **Name formats**
1394
+ #
1395
+ # * **Function name** - `my-function`.
1396
+ #
1397
+ # * **Function ARN** -
1398
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1399
+ #
1400
+ # * **Partial ARN** - `123456789012:function:my-function`.
1401
+ #
1402
+ # The length constraint applies only to the full ARN. If you specify
1403
+ # only the function name, it is limited to 64 characters in length.
1404
+ #
1405
+ # @option params [String] :qualifier
1406
+ # The alias name.
1407
+ #
1408
+ # @option params [required, String] :auth_type
1409
+ # The type of authentication that your function URL uses. Set to
1410
+ # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
1411
+ # only. Set to `NONE` if you want to bypass IAM authentication to create
1412
+ # a public endpoint. For more information, see [ Security and auth model
1413
+ # for Lambda function URLs][1].
1414
+ #
1415
+ #
1416
+ #
1417
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
1418
+ #
1419
+ # @option params [Types::Cors] :cors
1420
+ # The [cross-origin resource sharing (CORS)][1] settings for your
1421
+ # function URL.
1422
+ #
1423
+ #
1424
+ #
1425
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
1426
+ #
1427
+ # @return [Types::CreateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1428
+ #
1429
+ # * {Types::CreateFunctionUrlConfigResponse#function_url #function_url} => String
1430
+ # * {Types::CreateFunctionUrlConfigResponse#function_arn #function_arn} => String
1431
+ # * {Types::CreateFunctionUrlConfigResponse#auth_type #auth_type} => String
1432
+ # * {Types::CreateFunctionUrlConfigResponse#cors #cors} => Types::Cors
1433
+ # * {Types::CreateFunctionUrlConfigResponse#creation_time #creation_time} => Time
1434
+ #
1435
+ # @example Request syntax with placeholder values
1436
+ #
1437
+ # resp = client.create_function_url_config({
1438
+ # function_name: "FunctionName", # required
1439
+ # qualifier: "FunctionUrlQualifier",
1440
+ # auth_type: "NONE", # required, accepts NONE, AWS_IAM
1441
+ # cors: {
1442
+ # allow_credentials: false,
1443
+ # allow_headers: ["Header"],
1444
+ # allow_methods: ["Method"],
1445
+ # allow_origins: ["Origin"],
1446
+ # expose_headers: ["Header"],
1447
+ # max_age: 1,
1448
+ # },
1449
+ # })
1450
+ #
1451
+ # @example Response structure
1452
+ #
1453
+ # resp.function_url #=> String
1454
+ # resp.function_arn #=> String
1455
+ # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
1456
+ # resp.cors.allow_credentials #=> Boolean
1457
+ # resp.cors.allow_headers #=> Array
1458
+ # resp.cors.allow_headers[0] #=> String
1459
+ # resp.cors.allow_methods #=> Array
1460
+ # resp.cors.allow_methods[0] #=> String
1461
+ # resp.cors.allow_origins #=> Array
1462
+ # resp.cors.allow_origins[0] #=> String
1463
+ # resp.cors.expose_headers #=> Array
1464
+ # resp.cors.expose_headers[0] #=> String
1465
+ # resp.cors.max_age #=> Integer
1466
+ # resp.creation_time #=> Time
1467
+ #
1468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig AWS API Documentation
1469
+ #
1470
+ # @overload create_function_url_config(params = {})
1471
+ # @param [Hash] params ({})
1472
+ def create_function_url_config(params = {}, options = {})
1473
+ req = build_request(:create_function_url_config, params)
1474
+ req.send_request(options)
1475
+ end
1476
+
1365
1477
  # Deletes a Lambda function [alias][1].
1366
1478
  #
1367
1479
  #
@@ -1676,6 +1788,46 @@ module Aws::Lambda
1676
1788
  req.send_request(options)
1677
1789
  end
1678
1790
 
1791
+ # Deletes a Lambda function URL. When you delete a function URL, you
1792
+ # can't recover it. Creating a new function URL results in a different
1793
+ # URL address.
1794
+ #
1795
+ # @option params [required, String] :function_name
1796
+ # The name of the Lambda function.
1797
+ #
1798
+ # **Name formats**
1799
+ #
1800
+ # * **Function name** - `my-function`.
1801
+ #
1802
+ # * **Function ARN** -
1803
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1804
+ #
1805
+ # * **Partial ARN** - `123456789012:function:my-function`.
1806
+ #
1807
+ # The length constraint applies only to the full ARN. If you specify
1808
+ # only the function name, it is limited to 64 characters in length.
1809
+ #
1810
+ # @option params [String] :qualifier
1811
+ # The alias name.
1812
+ #
1813
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1814
+ #
1815
+ # @example Request syntax with placeholder values
1816
+ #
1817
+ # resp = client.delete_function_url_config({
1818
+ # function_name: "FunctionName", # required
1819
+ # qualifier: "FunctionUrlQualifier",
1820
+ # })
1821
+ #
1822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig AWS API Documentation
1823
+ #
1824
+ # @overload delete_function_url_config(params = {})
1825
+ # @param [Hash] params ({})
1826
+ def delete_function_url_config(params = {}, options = {})
1827
+ req = build_request(:delete_function_url_config, params)
1828
+ req.send_request(options)
1829
+ end
1830
+
1679
1831
  # Deletes a version of an [Lambda layer][1]. Deleted versions can no
1680
1832
  # longer be viewed or added to functions. To avoid breaking functions, a
1681
1833
  # copy of the version remains in Lambda until no functions refer to it.
@@ -1996,7 +2148,7 @@ module Aws::Lambda
1996
2148
  #
1997
2149
  # resp.configuration.function_name #=> String
1998
2150
  # resp.configuration.function_arn #=> String
1999
- # 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"
2151
+ # 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"
2000
2152
  # resp.configuration.role #=> String
2001
2153
  # resp.configuration.handler #=> String
2002
2154
  # resp.configuration.code_size #=> Integer
@@ -2046,6 +2198,7 @@ module Aws::Lambda
2046
2198
  # resp.configuration.signing_job_arn #=> String
2047
2199
  # resp.configuration.architectures #=> Array
2048
2200
  # resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
2201
+ # resp.configuration.ephemeral_storage.size #=> Integer
2049
2202
  # resp.code.repository_type #=> String
2050
2203
  # resp.code.location #=> String
2051
2204
  # resp.code.image_uri #=> String
@@ -2216,6 +2369,7 @@ module Aws::Lambda
2216
2369
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
2217
2370
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
2218
2371
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
2372
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
2219
2373
  #
2220
2374
  # @example Request syntax with placeholder values
2221
2375
  #
@@ -2228,7 +2382,7 @@ module Aws::Lambda
2228
2382
  #
2229
2383
  # resp.function_name #=> String
2230
2384
  # resp.function_arn #=> String
2231
- # 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"
2385
+ # 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"
2232
2386
  # resp.role #=> String
2233
2387
  # resp.handler #=> String
2234
2388
  # resp.code_size #=> Integer
@@ -2278,6 +2432,7 @@ module Aws::Lambda
2278
2432
  # resp.signing_job_arn #=> String
2279
2433
  # resp.architectures #=> Array
2280
2434
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
2435
+ # resp.ephemeral_storage.size #=> Integer
2281
2436
  #
2282
2437
  #
2283
2438
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2353,6 +2508,69 @@ module Aws::Lambda
2353
2508
  req.send_request(options)
2354
2509
  end
2355
2510
 
2511
+ # Returns details about a Lambda function URL.
2512
+ #
2513
+ # @option params [required, String] :function_name
2514
+ # The name of the Lambda function.
2515
+ #
2516
+ # **Name formats**
2517
+ #
2518
+ # * **Function name** - `my-function`.
2519
+ #
2520
+ # * **Function ARN** -
2521
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2522
+ #
2523
+ # * **Partial ARN** - `123456789012:function:my-function`.
2524
+ #
2525
+ # The length constraint applies only to the full ARN. If you specify
2526
+ # only the function name, it is limited to 64 characters in length.
2527
+ #
2528
+ # @option params [String] :qualifier
2529
+ # The alias name.
2530
+ #
2531
+ # @return [Types::GetFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2532
+ #
2533
+ # * {Types::GetFunctionUrlConfigResponse#function_url #function_url} => String
2534
+ # * {Types::GetFunctionUrlConfigResponse#function_arn #function_arn} => String
2535
+ # * {Types::GetFunctionUrlConfigResponse#auth_type #auth_type} => String
2536
+ # * {Types::GetFunctionUrlConfigResponse#cors #cors} => Types::Cors
2537
+ # * {Types::GetFunctionUrlConfigResponse#creation_time #creation_time} => Time
2538
+ # * {Types::GetFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
2539
+ #
2540
+ # @example Request syntax with placeholder values
2541
+ #
2542
+ # resp = client.get_function_url_config({
2543
+ # function_name: "FunctionName", # required
2544
+ # qualifier: "FunctionUrlQualifier",
2545
+ # })
2546
+ #
2547
+ # @example Response structure
2548
+ #
2549
+ # resp.function_url #=> String
2550
+ # resp.function_arn #=> String
2551
+ # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
2552
+ # resp.cors.allow_credentials #=> Boolean
2553
+ # resp.cors.allow_headers #=> Array
2554
+ # resp.cors.allow_headers[0] #=> String
2555
+ # resp.cors.allow_methods #=> Array
2556
+ # resp.cors.allow_methods[0] #=> String
2557
+ # resp.cors.allow_origins #=> Array
2558
+ # resp.cors.allow_origins[0] #=> String
2559
+ # resp.cors.expose_headers #=> Array
2560
+ # resp.cors.expose_headers[0] #=> String
2561
+ # resp.cors.max_age #=> Integer
2562
+ # resp.creation_time #=> Time
2563
+ # resp.last_modified_time #=> Time
2564
+ #
2565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig AWS API Documentation
2566
+ #
2567
+ # @overload get_function_url_config(params = {})
2568
+ # @param [Hash] params ({})
2569
+ def get_function_url_config(params = {}, options = {})
2570
+ req = build_request(:get_function_url_config, params)
2571
+ req.send_request(options)
2572
+ end
2573
+
2356
2574
  # Returns information about a version of an [Lambda layer][1], with a
2357
2575
  # link to download the layer archive that's valid for 10 minutes.
2358
2576
  #
@@ -2398,7 +2616,7 @@ module Aws::Lambda
2398
2616
  # resp.created_date #=> Time
2399
2617
  # resp.version #=> Integer
2400
2618
  # resp.compatible_runtimes #=> Array
2401
- # 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"
2619
+ # 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"
2402
2620
  # resp.license_info #=> String
2403
2621
  # resp.compatible_architectures #=> Array
2404
2622
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -2453,7 +2671,7 @@ module Aws::Lambda
2453
2671
  # resp.created_date #=> Time
2454
2672
  # resp.version #=> Integer
2455
2673
  # resp.compatible_runtimes #=> Array
2456
- # 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"
2674
+ # 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"
2457
2675
  # resp.license_info #=> String
2458
2676
  # resp.compatible_architectures #=> Array
2459
2677
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3083,6 +3301,76 @@ module Aws::Lambda
3083
3301
  req.send_request(options)
3084
3302
  end
3085
3303
 
3304
+ # Returns a list of Lambda function URLs for the specified function.
3305
+ #
3306
+ # @option params [required, String] :function_name
3307
+ # The name of the Lambda function.
3308
+ #
3309
+ # **Name formats**
3310
+ #
3311
+ # * **Function name** - `my-function`.
3312
+ #
3313
+ # * **Function ARN** -
3314
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3315
+ #
3316
+ # * **Partial ARN** - `123456789012:function:my-function`.
3317
+ #
3318
+ # The length constraint applies only to the full ARN. If you specify
3319
+ # only the function name, it is limited to 64 characters in length.
3320
+ #
3321
+ # @option params [String] :marker
3322
+ # Specify the pagination token that's returned by a previous request to
3323
+ # retrieve the next page of results.
3324
+ #
3325
+ # @option params [Integer] :max_items
3326
+ # The maximum number of function URLs to return in the response. Note
3327
+ # that `ListFunctionUrlConfigs` returns a maximum of 50 items in each
3328
+ # response, even if you set the number higher.
3329
+ #
3330
+ # @return [Types::ListFunctionUrlConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3331
+ #
3332
+ # * {Types::ListFunctionUrlConfigsResponse#function_url_configs #function_url_configs} => Array<Types::FunctionUrlConfig>
3333
+ # * {Types::ListFunctionUrlConfigsResponse#next_marker #next_marker} => String
3334
+ #
3335
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3336
+ #
3337
+ # @example Request syntax with placeholder values
3338
+ #
3339
+ # resp = client.list_function_url_configs({
3340
+ # function_name: "FunctionName", # required
3341
+ # marker: "String",
3342
+ # max_items: 1,
3343
+ # })
3344
+ #
3345
+ # @example Response structure
3346
+ #
3347
+ # resp.function_url_configs #=> Array
3348
+ # resp.function_url_configs[0].function_url #=> String
3349
+ # resp.function_url_configs[0].function_arn #=> String
3350
+ # resp.function_url_configs[0].creation_time #=> Time
3351
+ # resp.function_url_configs[0].last_modified_time #=> Time
3352
+ # resp.function_url_configs[0].cors.allow_credentials #=> Boolean
3353
+ # resp.function_url_configs[0].cors.allow_headers #=> Array
3354
+ # resp.function_url_configs[0].cors.allow_headers[0] #=> String
3355
+ # resp.function_url_configs[0].cors.allow_methods #=> Array
3356
+ # resp.function_url_configs[0].cors.allow_methods[0] #=> String
3357
+ # resp.function_url_configs[0].cors.allow_origins #=> Array
3358
+ # resp.function_url_configs[0].cors.allow_origins[0] #=> String
3359
+ # resp.function_url_configs[0].cors.expose_headers #=> Array
3360
+ # resp.function_url_configs[0].cors.expose_headers[0] #=> String
3361
+ # resp.function_url_configs[0].cors.max_age #=> Integer
3362
+ # resp.function_url_configs[0].auth_type #=> String, one of "NONE", "AWS_IAM"
3363
+ # resp.next_marker #=> String
3364
+ #
3365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs AWS API Documentation
3366
+ #
3367
+ # @overload list_function_url_configs(params = {})
3368
+ # @param [Hash] params ({})
3369
+ def list_function_url_configs(params = {}, options = {})
3370
+ req = build_request(:list_function_url_configs, params)
3371
+ req.send_request(options)
3372
+ end
3373
+
3086
3374
  # Returns a list of Lambda functions, with the version-specific
3087
3375
  # configuration of each. Lambda returns up to 50 functions per call.
3088
3376
  #
@@ -3139,7 +3427,7 @@ module Aws::Lambda
3139
3427
  # resp.functions #=> Array
3140
3428
  # resp.functions[0].function_name #=> String
3141
3429
  # resp.functions[0].function_arn #=> String
3142
- # 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"
3430
+ # 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"
3143
3431
  # resp.functions[0].role #=> String
3144
3432
  # resp.functions[0].handler #=> String
3145
3433
  # resp.functions[0].code_size #=> Integer
@@ -3189,6 +3477,7 @@ module Aws::Lambda
3189
3477
  # resp.functions[0].signing_job_arn #=> String
3190
3478
  # resp.functions[0].architectures #=> Array
3191
3479
  # resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3480
+ # resp.functions[0].ephemeral_storage.size #=> Integer
3192
3481
  #
3193
3482
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3194
3483
  #
@@ -3283,7 +3572,7 @@ module Aws::Lambda
3283
3572
  # @example Request syntax with placeholder values
3284
3573
  #
3285
3574
  # resp = client.list_layer_versions({
3286
- # 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
3575
+ # 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
3287
3576
  # layer_name: "LayerName", # required
3288
3577
  # marker: "String",
3289
3578
  # max_items: 1,
@@ -3299,7 +3588,7 @@ module Aws::Lambda
3299
3588
  # resp.layer_versions[0].description #=> String
3300
3589
  # resp.layer_versions[0].created_date #=> Time
3301
3590
  # resp.layer_versions[0].compatible_runtimes #=> Array
3302
- # 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"
3591
+ # 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"
3303
3592
  # resp.layer_versions[0].license_info #=> String
3304
3593
  # resp.layer_versions[0].compatible_architectures #=> Array
3305
3594
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3351,7 +3640,7 @@ module Aws::Lambda
3351
3640
  # @example Request syntax with placeholder values
3352
3641
  #
3353
3642
  # resp = client.list_layers({
3354
- # 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
3643
+ # 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
3355
3644
  # marker: "String",
3356
3645
  # max_items: 1,
3357
3646
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -3368,7 +3657,7 @@ module Aws::Lambda
3368
3657
  # resp.layers[0].latest_matching_version.description #=> String
3369
3658
  # resp.layers[0].latest_matching_version.created_date #=> Time
3370
3659
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3371
- # 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"
3660
+ # 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"
3372
3661
  # resp.layers[0].latest_matching_version.license_info #=> String
3373
3662
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
3374
3663
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3530,7 +3819,7 @@ module Aws::Lambda
3530
3819
  # resp.versions #=> Array
3531
3820
  # resp.versions[0].function_name #=> String
3532
3821
  # resp.versions[0].function_arn #=> String
3533
- # 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"
3822
+ # 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"
3534
3823
  # resp.versions[0].role #=> String
3535
3824
  # resp.versions[0].handler #=> String
3536
3825
  # resp.versions[0].code_size #=> Integer
@@ -3580,6 +3869,7 @@ module Aws::Lambda
3580
3869
  # resp.versions[0].signing_job_arn #=> String
3581
3870
  # resp.versions[0].architectures #=> Array
3582
3871
  # resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3872
+ # resp.versions[0].ephemeral_storage.size #=> Integer
3583
3873
  #
3584
3874
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
3585
3875
  #
@@ -3662,7 +3952,7 @@ module Aws::Lambda
3662
3952
  # s3_object_version: "S3ObjectVersion",
3663
3953
  # zip_file: "data",
3664
3954
  # },
3665
- # 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
3955
+ # 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
3666
3956
  # license_info: "LicenseInfo",
3667
3957
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
3668
3958
  # })
@@ -3680,7 +3970,7 @@ module Aws::Lambda
3680
3970
  # resp.created_date #=> Time
3681
3971
  # resp.version #=> Integer
3682
3972
  # resp.compatible_runtimes #=> Array
3683
- # 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"
3973
+ # 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"
3684
3974
  # resp.license_info #=> String
3685
3975
  # resp.compatible_architectures #=> Array
3686
3976
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3775,6 +4065,7 @@ module Aws::Lambda
3775
4065
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
3776
4066
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
3777
4067
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
4068
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
3778
4069
  #
3779
4070
  # @example Request syntax with placeholder values
3780
4071
  #
@@ -3789,7 +4080,7 @@ module Aws::Lambda
3789
4080
  #
3790
4081
  # resp.function_name #=> String
3791
4082
  # resp.function_arn #=> String
3792
- # 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"
4083
+ # 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"
3793
4084
  # resp.role #=> String
3794
4085
  # resp.handler #=> String
3795
4086
  # resp.code_size #=> Integer
@@ -3839,6 +4130,7 @@ module Aws::Lambda
3839
4130
  # resp.signing_job_arn #=> String
3840
4131
  # resp.architectures #=> Array
3841
4132
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
4133
+ # resp.ephemeral_storage.size #=> Integer
3842
4134
  #
3843
4135
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
3844
4136
  #
@@ -4526,7 +4818,7 @@ module Aws::Lambda
4526
4818
  #
4527
4819
  # * **Amazon Kinesis** - Default 100. Max 10,000.
4528
4820
  #
4529
- # * **Amazon DynamoDB Streams** - Default 100. Max 1,000.
4821
+ # * **Amazon DynamoDB Streams** - Default 100. Max 10,000.
4530
4822
  #
4531
4823
  # * **Amazon Simple Queue Service** - Default 10. For standard queues
4532
4824
  # the max is 10,000. For FIFO queues the max is 10.
@@ -4820,6 +5112,7 @@ module Aws::Lambda
4820
5112
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
4821
5113
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4822
5114
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
5115
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
4823
5116
  #
4824
5117
  # @example Request syntax with placeholder values
4825
5118
  #
@@ -4840,7 +5133,7 @@ module Aws::Lambda
4840
5133
  #
4841
5134
  # resp.function_name #=> String
4842
5135
  # resp.function_arn #=> String
4843
- # 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"
5136
+ # 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"
4844
5137
  # resp.role #=> String
4845
5138
  # resp.handler #=> String
4846
5139
  # resp.code_size #=> Integer
@@ -4890,6 +5183,7 @@ module Aws::Lambda
4890
5183
  # resp.signing_job_arn #=> String
4891
5184
  # resp.architectures #=> Array
4892
5185
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
5186
+ # resp.ephemeral_storage.size #=> Integer
4893
5187
  #
4894
5188
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
4895
5189
  #
@@ -5044,6 +5338,10 @@ module Aws::Lambda
5044
5338
  #
5045
5339
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5046
5340
  #
5341
+ # @option params [Types::EphemeralStorage] :ephemeral_storage
5342
+ # The size of the function’s /tmp directory in MB. The default value is
5343
+ # 512, but can be any whole number between 512 and 10240 MB.
5344
+ #
5047
5345
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5048
5346
  #
5049
5347
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -5078,6 +5376,7 @@ module Aws::Lambda
5078
5376
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
5079
5377
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5080
5378
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
5379
+ # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
5081
5380
  #
5082
5381
  # @example Request syntax with placeholder values
5083
5382
  #
@@ -5097,7 +5396,7 @@ module Aws::Lambda
5097
5396
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5098
5397
  # },
5099
5398
  # },
5100
- # 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
5399
+ # 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
5101
5400
  # dead_letter_config: {
5102
5401
  # target_arn: "ResourceArn",
5103
5402
  # },
@@ -5118,13 +5417,16 @@ module Aws::Lambda
5118
5417
  # command: ["String"],
5119
5418
  # working_directory: "WorkingDirectory",
5120
5419
  # },
5420
+ # ephemeral_storage: {
5421
+ # size: 1, # required
5422
+ # },
5121
5423
  # })
5122
5424
  #
5123
5425
  # @example Response structure
5124
5426
  #
5125
5427
  # resp.function_name #=> String
5126
5428
  # resp.function_arn #=> String
5127
- # 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"
5429
+ # 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"
5128
5430
  # resp.role #=> String
5129
5431
  # resp.handler #=> String
5130
5432
  # resp.code_size #=> Integer
@@ -5174,6 +5476,7 @@ module Aws::Lambda
5174
5476
  # resp.signing_job_arn #=> String
5175
5477
  # resp.architectures #=> Array
5176
5478
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
5479
+ # resp.ephemeral_storage.size #=> Integer
5177
5480
  #
5178
5481
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
5179
5482
  #
@@ -5275,6 +5578,97 @@ module Aws::Lambda
5275
5578
  req.send_request(options)
5276
5579
  end
5277
5580
 
5581
+ # Updates the configuration for a Lambda function URL.
5582
+ #
5583
+ # @option params [required, String] :function_name
5584
+ # The name of the Lambda function.
5585
+ #
5586
+ # **Name formats**
5587
+ #
5588
+ # * **Function name** - `my-function`.
5589
+ #
5590
+ # * **Function ARN** -
5591
+ # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5592
+ #
5593
+ # * **Partial ARN** - `123456789012:function:my-function`.
5594
+ #
5595
+ # The length constraint applies only to the full ARN. If you specify
5596
+ # only the function name, it is limited to 64 characters in length.
5597
+ #
5598
+ # @option params [String] :qualifier
5599
+ # The alias name.
5600
+ #
5601
+ # @option params [String] :auth_type
5602
+ # The type of authentication that your function URL uses. Set to
5603
+ # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
5604
+ # only. Set to `NONE` if you want to bypass IAM authentication to create
5605
+ # a public endpoint. For more information, see [ Security and auth model
5606
+ # for Lambda function URLs][1].
5607
+ #
5608
+ #
5609
+ #
5610
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
5611
+ #
5612
+ # @option params [Types::Cors] :cors
5613
+ # The [cross-origin resource sharing (CORS)][1] settings for your
5614
+ # function URL.
5615
+ #
5616
+ #
5617
+ #
5618
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
5619
+ #
5620
+ # @return [Types::UpdateFunctionUrlConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5621
+ #
5622
+ # * {Types::UpdateFunctionUrlConfigResponse#function_url #function_url} => String
5623
+ # * {Types::UpdateFunctionUrlConfigResponse#function_arn #function_arn} => String
5624
+ # * {Types::UpdateFunctionUrlConfigResponse#auth_type #auth_type} => String
5625
+ # * {Types::UpdateFunctionUrlConfigResponse#cors #cors} => Types::Cors
5626
+ # * {Types::UpdateFunctionUrlConfigResponse#creation_time #creation_time} => Time
5627
+ # * {Types::UpdateFunctionUrlConfigResponse#last_modified_time #last_modified_time} => Time
5628
+ #
5629
+ # @example Request syntax with placeholder values
5630
+ #
5631
+ # resp = client.update_function_url_config({
5632
+ # function_name: "FunctionName", # required
5633
+ # qualifier: "FunctionUrlQualifier",
5634
+ # auth_type: "NONE", # accepts NONE, AWS_IAM
5635
+ # cors: {
5636
+ # allow_credentials: false,
5637
+ # allow_headers: ["Header"],
5638
+ # allow_methods: ["Method"],
5639
+ # allow_origins: ["Origin"],
5640
+ # expose_headers: ["Header"],
5641
+ # max_age: 1,
5642
+ # },
5643
+ # })
5644
+ #
5645
+ # @example Response structure
5646
+ #
5647
+ # resp.function_url #=> String
5648
+ # resp.function_arn #=> String
5649
+ # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
5650
+ # resp.cors.allow_credentials #=> Boolean
5651
+ # resp.cors.allow_headers #=> Array
5652
+ # resp.cors.allow_headers[0] #=> String
5653
+ # resp.cors.allow_methods #=> Array
5654
+ # resp.cors.allow_methods[0] #=> String
5655
+ # resp.cors.allow_origins #=> Array
5656
+ # resp.cors.allow_origins[0] #=> String
5657
+ # resp.cors.expose_headers #=> Array
5658
+ # resp.cors.expose_headers[0] #=> String
5659
+ # resp.cors.max_age #=> Integer
5660
+ # resp.creation_time #=> Time
5661
+ # resp.last_modified_time #=> Time
5662
+ #
5663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig AWS API Documentation
5664
+ #
5665
+ # @overload update_function_url_config(params = {})
5666
+ # @param [Hash] params ({})
5667
+ def update_function_url_config(params = {}, options = {})
5668
+ req = build_request(:update_function_url_config, params)
5669
+ req.send_request(options)
5670
+ end
5671
+
5278
5672
  # @!endgroup
5279
5673
 
5280
5674
  # @param params ({})
@@ -5288,7 +5682,7 @@ module Aws::Lambda
5288
5682
  params: params,
5289
5683
  config: config)
5290
5684
  context[:gem_name] = 'aws-sdk-lambda'
5291
- context[:gem_version] = '1.81.0'
5685
+ context[:gem_version] = '1.84.0'
5292
5686
  Seahorse::Client::Request.new(handlers, context)
5293
5687
  end
5294
5688