aws-sdk-lambda 1.78.0 → 1.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae0cf84f03d7e0a488b1147562509e3ff31cb49b5acede6df6777202fedb7170
4
- data.tar.gz: 2e680376ade400c263cfdc7595a6ff0128a0adca8332c20d8f4520650a5d747e
3
+ metadata.gz: 335ecae4c16b478744eb8d37645d6cfb8a6bbb54fe801d166067f274fde523b8
4
+ data.tar.gz: 8660fab559b31cac93171fcef03edd49982b0d7a80f03d1a773c3d81e9403dd6
5
5
  SHA512:
6
- metadata.gz: 341d16c71196455760f065a3f0cb13a27559ccd013867c89da7107b12d056a9dbcbe6903ff8da6e64392b6ad6bc5dbe2f717e01d8134b99fe5e39289281ab193
7
- data.tar.gz: db5c42306c9363a0f99f9dea1dc2c53786033f76be547442253ada59bc475aa316400bbbfac1848348dee611d4f7051ac711b59f9ca6ede758b67b5c390baacc
6
+ metadata.gz: 7c196b215efb959b7d47e46f4f66132f4759c2d6f00d190628ac7b9a52a9b6e79a7665239205549c5b01015c00d5dc8277948ab3c2fb44591bdcd4a007e95de4
7
+ data.tar.gz: 9e44bd1edd25cadc5e447c675012f3c115e8380df88439ba91a4cf38ee19884e6244ff0094dc11075f2c0839d479b01837437620c95fe41d9fa520f989473593
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2022-02-23)
5
+ ------------------
6
+
7
+ * Feature - Lambda releases .NET 6 managed runtime to be available in all commercial regions.
8
+
4
9
  1.78.0 (2022-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.78.0
1
+ 1.79.0
@@ -1238,7 +1238,7 @@ module Aws::Lambda
1238
1238
  #
1239
1239
  # resp = client.create_function({
1240
1240
  # function_name: "FunctionName", # required
1241
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
1241
+ # 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
1242
1242
  # role: "RoleArn", # required
1243
1243
  # handler: "Handler",
1244
1244
  # code: { # required
@@ -1292,7 +1292,7 @@ module Aws::Lambda
1292
1292
  #
1293
1293
  # resp.function_name #=> String
1294
1294
  # resp.function_arn #=> String
1295
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
1295
+ # 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"
1296
1296
  # resp.role #=> String
1297
1297
  # resp.handler #=> String
1298
1298
  # resp.code_size #=> Integer
@@ -1986,7 +1986,7 @@ module Aws::Lambda
1986
1986
  #
1987
1987
  # resp.configuration.function_name #=> String
1988
1988
  # resp.configuration.function_arn #=> String
1989
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
1989
+ # 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"
1990
1990
  # resp.configuration.role #=> String
1991
1991
  # resp.configuration.handler #=> String
1992
1992
  # resp.configuration.code_size #=> Integer
@@ -2047,7 +2047,9 @@ module Aws::Lambda
2047
2047
  #
2048
2048
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2049
2049
  #
2050
+ # * function_active_v2
2050
2051
  # * function_exists
2052
+ # * function_updated_v2
2051
2053
  #
2052
2054
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction AWS API Documentation
2053
2055
  #
@@ -2216,7 +2218,7 @@ module Aws::Lambda
2216
2218
  #
2217
2219
  # resp.function_name #=> String
2218
2220
  # resp.function_arn #=> String
2219
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2221
+ # 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"
2220
2222
  # resp.role #=> String
2221
2223
  # resp.handler #=> String
2222
2224
  # resp.code_size #=> Integer
@@ -2386,7 +2388,7 @@ module Aws::Lambda
2386
2388
  # resp.created_date #=> Time
2387
2389
  # resp.version #=> Integer
2388
2390
  # resp.compatible_runtimes #=> Array
2389
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2391
+ # 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"
2390
2392
  # resp.license_info #=> String
2391
2393
  # resp.compatible_architectures #=> Array
2392
2394
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -2441,7 +2443,7 @@ module Aws::Lambda
2441
2443
  # resp.created_date #=> Time
2442
2444
  # resp.version #=> Integer
2443
2445
  # resp.compatible_runtimes #=> Array
2444
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2446
+ # 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"
2445
2447
  # resp.license_info #=> String
2446
2448
  # resp.compatible_architectures #=> Array
2447
2449
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3127,7 +3129,7 @@ module Aws::Lambda
3127
3129
  # resp.functions #=> Array
3128
3130
  # resp.functions[0].function_name #=> String
3129
3131
  # resp.functions[0].function_arn #=> String
3130
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3132
+ # 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"
3131
3133
  # resp.functions[0].role #=> String
3132
3134
  # resp.functions[0].handler #=> String
3133
3135
  # resp.functions[0].code_size #=> Integer
@@ -3271,7 +3273,7 @@ module Aws::Lambda
3271
3273
  # @example Request syntax with placeholder values
3272
3274
  #
3273
3275
  # resp = client.list_layer_versions({
3274
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3276
+ # 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
3275
3277
  # layer_name: "LayerName", # required
3276
3278
  # marker: "String",
3277
3279
  # max_items: 1,
@@ -3287,7 +3289,7 @@ module Aws::Lambda
3287
3289
  # resp.layer_versions[0].description #=> String
3288
3290
  # resp.layer_versions[0].created_date #=> Time
3289
3291
  # resp.layer_versions[0].compatible_runtimes #=> Array
3290
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3292
+ # 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"
3291
3293
  # resp.layer_versions[0].license_info #=> String
3292
3294
  # resp.layer_versions[0].compatible_architectures #=> Array
3293
3295
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3339,7 +3341,7 @@ module Aws::Lambda
3339
3341
  # @example Request syntax with placeholder values
3340
3342
  #
3341
3343
  # resp = client.list_layers({
3342
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3344
+ # 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
3343
3345
  # marker: "String",
3344
3346
  # max_items: 1,
3345
3347
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -3356,7 +3358,7 @@ module Aws::Lambda
3356
3358
  # resp.layers[0].latest_matching_version.description #=> String
3357
3359
  # resp.layers[0].latest_matching_version.created_date #=> Time
3358
3360
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3359
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3361
+ # 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"
3360
3362
  # resp.layers[0].latest_matching_version.license_info #=> String
3361
3363
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
3362
3364
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3518,7 +3520,7 @@ module Aws::Lambda
3518
3520
  # resp.versions #=> Array
3519
3521
  # resp.versions[0].function_name #=> String
3520
3522
  # resp.versions[0].function_arn #=> String
3521
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3523
+ # 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"
3522
3524
  # resp.versions[0].role #=> String
3523
3525
  # resp.versions[0].handler #=> String
3524
3526
  # resp.versions[0].code_size #=> Integer
@@ -3650,7 +3652,7 @@ module Aws::Lambda
3650
3652
  # s3_object_version: "S3ObjectVersion",
3651
3653
  # zip_file: "data",
3652
3654
  # },
3653
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3655
+ # 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
3654
3656
  # license_info: "LicenseInfo",
3655
3657
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
3656
3658
  # })
@@ -3668,7 +3670,7 @@ module Aws::Lambda
3668
3670
  # resp.created_date #=> Time
3669
3671
  # resp.version #=> Integer
3670
3672
  # resp.compatible_runtimes #=> Array
3671
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3673
+ # 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"
3672
3674
  # resp.license_info #=> String
3673
3675
  # resp.compatible_architectures #=> Array
3674
3676
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3777,7 +3779,7 @@ module Aws::Lambda
3777
3779
  #
3778
3780
  # resp.function_name #=> String
3779
3781
  # resp.function_arn #=> String
3780
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3782
+ # 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"
3781
3783
  # resp.role #=> String
3782
3784
  # resp.handler #=> String
3783
3785
  # resp.code_size #=> Integer
@@ -4689,6 +4691,18 @@ module Aws::Lambda
4689
4691
  # function, the code package must be signed by a trusted publisher. For
4690
4692
  # more information, see [Configuring code signing][1].
4691
4693
  #
4694
+ # If the function's package type is `Image`, you must specify the code
4695
+ # package in `ImageUri` as the URI of a [container image][2] in the
4696
+ # Amazon ECR registry.
4697
+ #
4698
+ # If the function's package type is `Zip`, you must specify the
4699
+ # deployment package as a [.zip file archive][3]. Enter the Amazon S3
4700
+ # bucket and key of the code .zip file location. You can also provide
4701
+ # the function code inline using the `ZipFile` field.
4702
+ #
4703
+ # The code in the deployment package must be compatible with the target
4704
+ # instruction set architecture of the function (`x86-64` or `arm64`).
4705
+ #
4692
4706
  # The function's code is locked when you publish a version. You can't
4693
4707
  # modify the code of a published version, only the unpublished version.
4694
4708
  #
@@ -4701,6 +4715,8 @@ module Aws::Lambda
4701
4715
  #
4702
4716
  #
4703
4717
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html
4718
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
4719
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip
4704
4720
  #
4705
4721
  # @option params [required, String] :function_name
4706
4722
  # The name of the Lambda function.
@@ -4720,22 +4736,26 @@ module Aws::Lambda
4720
4736
  # @option params [String, StringIO, File] :zip_file
4721
4737
  # The base64-encoded contents of the deployment package. Amazon Web
4722
4738
  # Services SDK and Amazon Web Services CLI clients handle the encoding
4723
- # for you.
4739
+ # for you. Use only with a function defined with a .zip file archive
4740
+ # deployment package.
4724
4741
  #
4725
4742
  # @option params [String] :s3_bucket
4726
4743
  # An Amazon S3 bucket in the same Amazon Web Services Region as your
4727
4744
  # function. The bucket can be in a different Amazon Web Services
4728
- # account.
4745
+ # account. Use only with a function defined with a .zip file archive
4746
+ # deployment package.
4729
4747
  #
4730
4748
  # @option params [String] :s3_key
4731
- # The Amazon S3 key of the deployment package.
4749
+ # The Amazon S3 key of the deployment package. Use only with a function
4750
+ # defined with a .zip file archive deployment package.
4732
4751
  #
4733
4752
  # @option params [String] :s3_object_version
4734
4753
  # For versioned objects, the version of the deployment package object to
4735
4754
  # use.
4736
4755
  #
4737
4756
  # @option params [String] :image_uri
4738
- # URI of a container image in the Amazon ECR registry.
4757
+ # URI of a container image in the Amazon ECR registry. Do not use for a
4758
+ # function defined with a .zip file archive.
4739
4759
  #
4740
4760
  # @option params [Boolean] :publish
4741
4761
  # Set to true to publish a new version of the function after updating
@@ -4810,7 +4830,7 @@ module Aws::Lambda
4810
4830
  #
4811
4831
  # resp.function_name #=> String
4812
4832
  # resp.function_arn #=> String
4813
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
4833
+ # 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"
4814
4834
  # resp.role #=> String
4815
4835
  # resp.handler #=> String
4816
4836
  # resp.code_size #=> Integer
@@ -5067,7 +5087,7 @@ module Aws::Lambda
5067
5087
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5068
5088
  # },
5069
5089
  # },
5070
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
5090
+ # 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
5071
5091
  # dead_letter_config: {
5072
5092
  # target_arn: "ResourceArn",
5073
5093
  # },
@@ -5094,7 +5114,7 @@ module Aws::Lambda
5094
5114
  #
5095
5115
  # resp.function_name #=> String
5096
5116
  # resp.function_arn #=> String
5097
- # 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", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
5117
+ # 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"
5098
5118
  # resp.role #=> String
5099
5119
  # resp.handler #=> String
5100
5120
  # resp.code_size #=> Integer
@@ -5258,7 +5278,7 @@ module Aws::Lambda
5258
5278
  params: params,
5259
5279
  config: config)
5260
5280
  context[:gem_name] = 'aws-sdk-lambda'
5261
- context[:gem_version] = '1.78.0'
5281
+ context[:gem_version] = '1.79.0'
5262
5282
  Seahorse::Client::Request.new(handlers, context)
5263
5283
  end
5264
5284
 
@@ -5324,11 +5344,13 @@ module Aws::Lambda
5324
5344
  # The following table lists the valid waiter names, the operations they call,
5325
5345
  # and the default `:delay` and `:max_attempts` values.
5326
5346
  #
5327
- # | waiter_name | params | :delay | :max_attempts |
5328
- # | ---------------- | ----------------------------------- | -------- | ------------- |
5329
- # | function_active | {Client#get_function_configuration} | 5 | 60 |
5330
- # | function_exists | {Client#get_function} | 1 | 20 |
5331
- # | function_updated | {Client#get_function_configuration} | 5 | 60 |
5347
+ # | waiter_name | params | :delay | :max_attempts |
5348
+ # | ------------------- | ----------------------------------- | -------- | ------------- |
5349
+ # | function_active | {Client#get_function_configuration} | 5 | 60 |
5350
+ # | function_active_v2 | {Client#get_function} | 1 | 300 |
5351
+ # | function_exists | {Client#get_function} | 1 | 20 |
5352
+ # | function_updated | {Client#get_function_configuration} | 5 | 60 |
5353
+ # | function_updated_v2 | {Client#get_function} | 1 | 300 |
5332
5354
  #
5333
5355
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
5334
5356
  # because the waiter has entered a state that it will not transition
@@ -5380,8 +5402,10 @@ module Aws::Lambda
5380
5402
  def waiters
5381
5403
  {
5382
5404
  function_active: Waiters::FunctionActive,
5405
+ function_active_v2: Waiters::FunctionActiveV2,
5383
5406
  function_exists: Waiters::FunctionExists,
5384
- function_updated: Waiters::FunctionUpdated
5407
+ function_updated: Waiters::FunctionUpdated,
5408
+ function_updated_v2: Waiters::FunctionUpdatedV2
5385
5409
  }
5386
5410
  end
5387
5411
 
@@ -846,7 +846,7 @@ module Aws::Lambda
846
846
  #
847
847
  # {
848
848
  # function_name: "FunctionName", # required
849
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
849
+ # 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
850
850
  # role: "RoleArn", # required
851
851
  # handler: "Handler",
852
852
  # code: { # required
@@ -3906,7 +3906,7 @@ module Aws::Lambda
3906
3906
  # data as a hash:
3907
3907
  #
3908
3908
  # {
3909
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3909
+ # 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
3910
3910
  # layer_name: "LayerName", # required
3911
3911
  # marker: "String",
3912
3912
  # max_items: 1,
@@ -3971,7 +3971,7 @@ module Aws::Lambda
3971
3971
  # data as a hash:
3972
3972
  #
3973
3973
  # {
3974
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3974
+ # 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
3975
3975
  # marker: "String",
3976
3976
  # max_items: 1,
3977
3977
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -4346,7 +4346,7 @@ module Aws::Lambda
4346
4346
  # s3_object_version: "S3ObjectVersion",
4347
4347
  # zip_file: "data",
4348
4348
  # },
4349
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
4349
+ # 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
4350
4350
  # license_info: "LicenseInfo",
4351
4351
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
4352
4352
  # }
@@ -5582,17 +5582,20 @@ module Aws::Lambda
5582
5582
  # @!attribute [rw] zip_file
5583
5583
  # The base64-encoded contents of the deployment package. Amazon Web
5584
5584
  # Services SDK and Amazon Web Services CLI clients handle the encoding
5585
- # for you.
5585
+ # for you. Use only with a function defined with a .zip file archive
5586
+ # deployment package.
5586
5587
  # @return [String]
5587
5588
  #
5588
5589
  # @!attribute [rw] s3_bucket
5589
5590
  # An Amazon S3 bucket in the same Amazon Web Services Region as your
5590
5591
  # function. The bucket can be in a different Amazon Web Services
5591
- # account.
5592
+ # account. Use only with a function defined with a .zip file archive
5593
+ # deployment package.
5592
5594
  # @return [String]
5593
5595
  #
5594
5596
  # @!attribute [rw] s3_key
5595
- # The Amazon S3 key of the deployment package.
5597
+ # The Amazon S3 key of the deployment package. Use only with a
5598
+ # function defined with a .zip file archive deployment package.
5596
5599
  # @return [String]
5597
5600
  #
5598
5601
  # @!attribute [rw] s3_object_version
@@ -5601,7 +5604,8 @@ module Aws::Lambda
5601
5604
  # @return [String]
5602
5605
  #
5603
5606
  # @!attribute [rw] image_uri
5604
- # URI of a container image in the Amazon ECR registry.
5607
+ # URI of a container image in the Amazon ECR registry. Do not use for
5608
+ # a function defined with a .zip file archive.
5605
5609
  # @return [String]
5606
5610
  #
5607
5611
  # @!attribute [rw] publish
@@ -5663,7 +5667,7 @@ module Aws::Lambda
5663
5667
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
5664
5668
  # },
5665
5669
  # },
5666
- # 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, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
5670
+ # 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
5667
5671
  # dead_letter_config: {
5668
5672
  # target_arn: "ResourceArn",
5669
5673
  # },
@@ -67,15 +67,17 @@ module Aws::Lambda
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | ---------------- | ----------------------------------- | -------- | ------------- |
72
- # | function_active | {Client#get_function_configuration} | 5 | 60 |
73
- # | function_exists | {Client#get_function} | 1 | 20 |
74
- # | function_updated | {Client#get_function_configuration} | 5 | 60 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ------------------- | ----------------------------------- | -------- | ------------- |
72
+ # | function_active | {Client#get_function_configuration} | 5 | 60 |
73
+ # | function_active_v2 | {Client#get_function} | 1 | 300 |
74
+ # | function_exists | {Client#get_function} | 1 | 20 |
75
+ # | function_updated | {Client#get_function_configuration} | 5 | 60 |
76
+ # | function_updated_v2 | {Client#get_function} | 1 | 300 |
75
77
  #
76
78
  module Waiters
77
79
 
78
- # Waits for the function's State to be Active.
80
+ # Waits for the function's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new function creation.
79
81
  class FunctionActive
80
82
 
81
83
  # @param [Hash] options
@@ -126,6 +128,57 @@ module Aws::Lambda
126
128
 
127
129
  end
128
130
 
131
+ # Waits for the function's State to be Active. This waiter uses GetFunction API. This should be used after new function creation.
132
+ class FunctionActiveV2
133
+
134
+ # @param [Hash] options
135
+ # @option options [required, Client] :client
136
+ # @option options [Integer] :max_attempts (300)
137
+ # @option options [Integer] :delay (1)
138
+ # @option options [Proc] :before_attempt
139
+ # @option options [Proc] :before_wait
140
+ def initialize(options)
141
+ @client = options.fetch(:client)
142
+ @waiter = Aws::Waiters::Waiter.new({
143
+ max_attempts: 300,
144
+ delay: 1,
145
+ poller: Aws::Waiters::Poller.new(
146
+ operation_name: :get_function,
147
+ acceptors: [
148
+ {
149
+ "state" => "success",
150
+ "matcher" => "path",
151
+ "argument" => "configuration.state",
152
+ "expected" => "Active"
153
+ },
154
+ {
155
+ "state" => "failure",
156
+ "matcher" => "path",
157
+ "argument" => "configuration.state",
158
+ "expected" => "Failed"
159
+ },
160
+ {
161
+ "state" => "retry",
162
+ "matcher" => "path",
163
+ "argument" => "configuration.state",
164
+ "expected" => "Pending"
165
+ }
166
+ ]
167
+ )
168
+ }.merge(options))
169
+ end
170
+
171
+ # @option (see Client#get_function)
172
+ # @return (see Client#get_function)
173
+ def wait(params = {})
174
+ @waiter.wait(client: @client, params: params)
175
+ end
176
+
177
+ # @api private
178
+ attr_reader :waiter
179
+
180
+ end
181
+
129
182
  class FunctionExists
130
183
 
131
184
  # @param [Hash] options
@@ -168,7 +221,7 @@ module Aws::Lambda
168
221
 
169
222
  end
170
223
 
171
- # Waits for the function's LastUpdateStatus to be Successful.
224
+ # Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunctionConfiguration API. This should be used after function updates.
172
225
  class FunctionUpdated
173
226
 
174
227
  # @param [Hash] options
@@ -218,5 +271,56 @@ module Aws::Lambda
218
271
  attr_reader :waiter
219
272
 
220
273
  end
274
+
275
+ # Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunction API. This should be used after function updates.
276
+ class FunctionUpdatedV2
277
+
278
+ # @param [Hash] options
279
+ # @option options [required, Client] :client
280
+ # @option options [Integer] :max_attempts (300)
281
+ # @option options [Integer] :delay (1)
282
+ # @option options [Proc] :before_attempt
283
+ # @option options [Proc] :before_wait
284
+ def initialize(options)
285
+ @client = options.fetch(:client)
286
+ @waiter = Aws::Waiters::Waiter.new({
287
+ max_attempts: 300,
288
+ delay: 1,
289
+ poller: Aws::Waiters::Poller.new(
290
+ operation_name: :get_function,
291
+ acceptors: [
292
+ {
293
+ "state" => "success",
294
+ "matcher" => "path",
295
+ "argument" => "configuration.last_update_status",
296
+ "expected" => "Successful"
297
+ },
298
+ {
299
+ "state" => "failure",
300
+ "matcher" => "path",
301
+ "argument" => "configuration.last_update_status",
302
+ "expected" => "Failed"
303
+ },
304
+ {
305
+ "state" => "retry",
306
+ "matcher" => "path",
307
+ "argument" => "configuration.last_update_status",
308
+ "expected" => "InProgress"
309
+ }
310
+ ]
311
+ )
312
+ }.merge(options))
313
+ end
314
+
315
+ # @option (see Client#get_function)
316
+ # @return (see Client#get_function)
317
+ def wait(params = {})
318
+ @waiter.wait(client: @client, params: params)
319
+ end
320
+
321
+ # @api private
322
+ attr_reader :waiter
323
+
324
+ end
221
325
  end
222
326
  end
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.78.0'
52
+ GEM_VERSION = '1.79.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.78.0
4
+ version: 1.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core