aws-sdk-lambda 1.80.0 → 1.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +416 -14
- data/lib/aws-sdk-lambda/client_api.rb +179 -0
- data/lib/aws-sdk-lambda/types.rb +650 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f378afd87356e54f74a7702f945567b86eb0cde0305bd4e08147732ee470956
|
4
|
+
data.tar.gz: b217dc0da5a60b6c1f8bc3591318bac37ad7446298346a1cbff02898c0fed7d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1158775fe928900236297a931b1404251ad1c47af8c87942f620d508f072eb0c3fb3517d2b7d06f9beb4b1db7d28659bd7eaf8a0a1c0db652d558721d3892c0
|
7
|
+
data.tar.gz: 9c44a60d808e8d59255f4655b6eaa03ae0672c4f17a6fee164793e41e846cd403422dd8f7be20c40452c49428f5824aea2ce462a148595d08eeeb9ec7280c8a8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.83.0 (2022-04-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds new APIs for creating and managing Lambda Function URLs and adds a new FunctionUrlAuthType parameter to the AddPermission API. Customers can use Function URLs to create built-in HTTPS endpoints on their functions.
|
8
|
+
|
9
|
+
1.82.0 (2022-03-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for increased ephemeral storage (/tmp) up to 10GB for Lambda functions. Customers can now provision up to 10 GB of ephemeral storage per function instance, a 20x increase over the previous limit of 512 MB.
|
13
|
+
|
14
|
+
1.81.0 (2022-03-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adds PrincipalOrgID support to AddPermission API. Customers can use it to manage permissions to lambda functions at AWS Organizations level.
|
18
|
+
|
4
19
|
1.80.0 (2022-02-24)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.83.0
|
@@ -424,21 +424,23 @@ module Aws::Lambda
|
|
424
424
|
req.send_request(options)
|
425
425
|
end
|
426
426
|
|
427
|
-
# Grants an Amazon Web Services service
|
428
|
-
# use a function. You can apply the policy at the function
|
429
|
-
# specify a qualifier to restrict access to a single version
|
430
|
-
# If you use a qualifier, the invoker must use the full Amazon
|
431
|
-
# Name (ARN) of that version or alias to invoke the function.
|
432
|
-
# Lambda does not support adding policies to version $LATEST.
|
427
|
+
# Grants an Amazon Web Services service, account, or organization
|
428
|
+
# permission to use a function. You can apply the policy at the function
|
429
|
+
# level, or specify a qualifier to restrict access to a single version
|
430
|
+
# or alias. If you use a qualifier, the invoker must use the full Amazon
|
431
|
+
# Resource Name (ARN) of that version or alias to invoke the function.
|
432
|
+
# Note: Lambda does not support adding policies to version $LATEST.
|
433
433
|
#
|
434
434
|
# To grant permission to another account, specify the account ID as the
|
435
|
-
# `Principal`.
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
435
|
+
# `Principal`. To grant permission to an organization defined in
|
436
|
+
# Organizations, specify the organization ID as the `PrincipalOrgID`.
|
437
|
+
# For Amazon Web Services services, the principal is a domain-style
|
438
|
+
# identifier defined by the service, like `s3.amazonaws.com` or
|
439
|
+
# `sns.amazonaws.com`. For Amazon Web Services services, you can also
|
440
|
+
# specify the ARN of the associated resource as the `SourceArn`. If you
|
441
|
+
# grant permission to a service principal without specifying the source,
|
442
|
+
# other accounts could potentially configure resources in their account
|
443
|
+
# to invoke your Lambda function.
|
442
444
|
#
|
443
445
|
# This action adds a statement to a resource-based permissions policy
|
444
446
|
# for the function. For more information about function policies, see
|
@@ -505,6 +507,22 @@ module Aws::Lambda
|
|
505
507
|
# specified. Use this option to avoid modifying a policy that has
|
506
508
|
# changed since you last read it.
|
507
509
|
#
|
510
|
+
# @option params [String] :principal_org_id
|
511
|
+
# The identifier for your organization in Organizations. Use this to
|
512
|
+
# grant permissions to all the Amazon Web Services accounts under this
|
513
|
+
# organization.
|
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
|
+
#
|
508
526
|
# @return [Types::AddPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
509
527
|
#
|
510
528
|
# * {Types::AddPermissionResponse#statement #statement} => String
|
@@ -521,6 +539,8 @@ module Aws::Lambda
|
|
521
539
|
# event_source_token: "EventSourceToken",
|
522
540
|
# qualifier: "Qualifier",
|
523
541
|
# revision_id: "String",
|
542
|
+
# principal_org_id: "PrincipalOrgID",
|
543
|
+
# function_url_auth_type: "NONE", # accepts NONE, AWS_IAM
|
524
544
|
# })
|
525
545
|
#
|
526
546
|
# @example Response structure
|
@@ -1201,6 +1221,10 @@ module Aws::Lambda
|
|
1201
1221
|
# string array with one of the valid values (arm64 or x86\_64). The
|
1202
1222
|
# default value is `x86_64`.
|
1203
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
|
+
#
|
1204
1228
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1205
1229
|
#
|
1206
1230
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -1235,6 +1259,7 @@ module Aws::Lambda
|
|
1235
1259
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
1236
1260
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
1237
1261
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
1262
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
1238
1263
|
#
|
1239
1264
|
# @example Request syntax with placeholder values
|
1240
1265
|
#
|
@@ -1288,6 +1313,9 @@ module Aws::Lambda
|
|
1288
1313
|
# },
|
1289
1314
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
1290
1315
|
# architectures: ["x86_64"], # accepts x86_64, arm64
|
1316
|
+
# ephemeral_storage: {
|
1317
|
+
# size: 1, # required
|
1318
|
+
# },
|
1291
1319
|
# })
|
1292
1320
|
#
|
1293
1321
|
# @example Response structure
|
@@ -1344,6 +1372,7 @@ module Aws::Lambda
|
|
1344
1372
|
# resp.signing_job_arn #=> String
|
1345
1373
|
# resp.architectures #=> Array
|
1346
1374
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
1375
|
+
# resp.ephemeral_storage.size #=> Integer
|
1347
1376
|
#
|
1348
1377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
1349
1378
|
#
|
@@ -1354,6 +1383,97 @@ module Aws::Lambda
|
|
1354
1383
|
req.send_request(options)
|
1355
1384
|
end
|
1356
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
|
+
|
1357
1477
|
# Deletes a Lambda function [alias][1].
|
1358
1478
|
#
|
1359
1479
|
#
|
@@ -1668,6 +1788,46 @@ module Aws::Lambda
|
|
1668
1788
|
req.send_request(options)
|
1669
1789
|
end
|
1670
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
|
+
|
1671
1831
|
# Deletes a version of an [Lambda layer][1]. Deleted versions can no
|
1672
1832
|
# longer be viewed or added to functions. To avoid breaking functions, a
|
1673
1833
|
# copy of the version remains in Lambda until no functions refer to it.
|
@@ -2038,6 +2198,7 @@ module Aws::Lambda
|
|
2038
2198
|
# resp.configuration.signing_job_arn #=> String
|
2039
2199
|
# resp.configuration.architectures #=> Array
|
2040
2200
|
# resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
|
2201
|
+
# resp.configuration.ephemeral_storage.size #=> Integer
|
2041
2202
|
# resp.code.repository_type #=> String
|
2042
2203
|
# resp.code.location #=> String
|
2043
2204
|
# resp.code.image_uri #=> String
|
@@ -2208,6 +2369,7 @@ module Aws::Lambda
|
|
2208
2369
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
2209
2370
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
2210
2371
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
2372
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
2211
2373
|
#
|
2212
2374
|
# @example Request syntax with placeholder values
|
2213
2375
|
#
|
@@ -2270,6 +2432,7 @@ module Aws::Lambda
|
|
2270
2432
|
# resp.signing_job_arn #=> String
|
2271
2433
|
# resp.architectures #=> Array
|
2272
2434
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
2435
|
+
# resp.ephemeral_storage.size #=> Integer
|
2273
2436
|
#
|
2274
2437
|
#
|
2275
2438
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2345,6 +2508,69 @@ module Aws::Lambda
|
|
2345
2508
|
req.send_request(options)
|
2346
2509
|
end
|
2347
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
|
+
|
2348
2574
|
# Returns information about a version of an [Lambda layer][1], with a
|
2349
2575
|
# link to download the layer archive that's valid for 10 minutes.
|
2350
2576
|
#
|
@@ -3075,6 +3301,76 @@ module Aws::Lambda
|
|
3075
3301
|
req.send_request(options)
|
3076
3302
|
end
|
3077
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
|
+
|
3078
3374
|
# Returns a list of Lambda functions, with the version-specific
|
3079
3375
|
# configuration of each. Lambda returns up to 50 functions per call.
|
3080
3376
|
#
|
@@ -3181,6 +3477,7 @@ module Aws::Lambda
|
|
3181
3477
|
# resp.functions[0].signing_job_arn #=> String
|
3182
3478
|
# resp.functions[0].architectures #=> Array
|
3183
3479
|
# resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3480
|
+
# resp.functions[0].ephemeral_storage.size #=> Integer
|
3184
3481
|
#
|
3185
3482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
3186
3483
|
#
|
@@ -3572,6 +3869,7 @@ module Aws::Lambda
|
|
3572
3869
|
# resp.versions[0].signing_job_arn #=> String
|
3573
3870
|
# resp.versions[0].architectures #=> Array
|
3574
3871
|
# resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3872
|
+
# resp.versions[0].ephemeral_storage.size #=> Integer
|
3575
3873
|
#
|
3576
3874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
3577
3875
|
#
|
@@ -3767,6 +4065,7 @@ module Aws::Lambda
|
|
3767
4065
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
3768
4066
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
3769
4067
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
4068
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
3770
4069
|
#
|
3771
4070
|
# @example Request syntax with placeholder values
|
3772
4071
|
#
|
@@ -3831,6 +4130,7 @@ module Aws::Lambda
|
|
3831
4130
|
# resp.signing_job_arn #=> String
|
3832
4131
|
# resp.architectures #=> Array
|
3833
4132
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
4133
|
+
# resp.ephemeral_storage.size #=> Integer
|
3834
4134
|
#
|
3835
4135
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
3836
4136
|
#
|
@@ -4812,6 +5112,7 @@ module Aws::Lambda
|
|
4812
5112
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
4813
5113
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
4814
5114
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
5115
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
4815
5116
|
#
|
4816
5117
|
# @example Request syntax with placeholder values
|
4817
5118
|
#
|
@@ -4882,6 +5183,7 @@ module Aws::Lambda
|
|
4882
5183
|
# resp.signing_job_arn #=> String
|
4883
5184
|
# resp.architectures #=> Array
|
4884
5185
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
5186
|
+
# resp.ephemeral_storage.size #=> Integer
|
4885
5187
|
#
|
4886
5188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
4887
5189
|
#
|
@@ -5036,6 +5338,10 @@ module Aws::Lambda
|
|
5036
5338
|
#
|
5037
5339
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
5038
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
|
+
#
|
5039
5345
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5040
5346
|
#
|
5041
5347
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -5070,6 +5376,7 @@ module Aws::Lambda
|
|
5070
5376
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
5071
5377
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
5072
5378
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
5379
|
+
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
5073
5380
|
#
|
5074
5381
|
# @example Request syntax with placeholder values
|
5075
5382
|
#
|
@@ -5110,6 +5417,9 @@ module Aws::Lambda
|
|
5110
5417
|
# command: ["String"],
|
5111
5418
|
# working_directory: "WorkingDirectory",
|
5112
5419
|
# },
|
5420
|
+
# ephemeral_storage: {
|
5421
|
+
# size: 1, # required
|
5422
|
+
# },
|
5113
5423
|
# })
|
5114
5424
|
#
|
5115
5425
|
# @example Response structure
|
@@ -5166,6 +5476,7 @@ module Aws::Lambda
|
|
5166
5476
|
# resp.signing_job_arn #=> String
|
5167
5477
|
# resp.architectures #=> Array
|
5168
5478
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
5479
|
+
# resp.ephemeral_storage.size #=> Integer
|
5169
5480
|
#
|
5170
5481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
5171
5482
|
#
|
@@ -5267,6 +5578,97 @@ module Aws::Lambda
|
|
5267
5578
|
req.send_request(options)
|
5268
5579
|
end
|
5269
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
|
+
|
5270
5672
|
# @!endgroup
|
5271
5673
|
|
5272
5674
|
# @param params ({})
|
@@ -5280,7 +5682,7 @@ module Aws::Lambda
|
|
5280
5682
|
params: params,
|
5281
5683
|
config: config)
|
5282
5684
|
context[:gem_name] = 'aws-sdk-lambda'
|
5283
|
-
context[:gem_version] = '1.
|
5685
|
+
context[:gem_version] = '1.83.0'
|
5284
5686
|
Seahorse::Client::Request.new(handlers, context)
|
5285
5687
|
end
|
5286
5688
|
|