aws-sdk-lambda 1.108.0 → 1.111.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: aa4603ad9aaa10646d7090b5c2fc1471b057dbeeb37c2ad9678634b5ea548540
4
- data.tar.gz: 5d7d4999e43b9ff44c4acb47f3a60e88f3ca3efefa8656beaa4fa17dfc4783d3
3
+ metadata.gz: f4beb830530326772f2d6a7538ea78bc17f55236d689516f5d6987c4532c58ea
4
+ data.tar.gz: b3b77eaa7d517bafde224440243bdd6d9b3864d1fd4409039fe4a0f3e9a6bd3d
5
5
  SHA512:
6
- metadata.gz: 5be9cfc534afcd166bb8e2d6fe3790c61d5076dd5d7e84b52a74df6e4523ab75804c81f139b04d229eabb1c3c5188704fdb401df99de47efd4e844b6cdfa03e5
7
- data.tar.gz: 4f6e322dcca03b505ab73ed159c0d0677485817fea7551848cdb41999433555e5da1f98f1cfcd17b9a9a386be3f5fca277bf4ffb2546b5e60fc59fa3da481fe9
6
+ metadata.gz: 291419dfe6860f75bd2ca1045ea3d824ea8c9ad3778a63fd29117d3e63991d0096444f47ed31bd2f94f6513acd5d86b532f759587343286a6645efd3427e22de
7
+ data.tar.gz: 8c7ba918be09d18b2e39c9da188e85d5babb66adf82fe20f9e284714cc8b49b1974b4de6f0c9a37b12db4c2e8fc0a214b8425cf02d2cde6f85e318063bf1ffca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2023-11-16)
5
+ ------------------
6
+
7
+ * Feature - Adds support for logging configuration in Lambda Functions. Customers will have more control how their function logs are captured and to which cloud watch log group they are delivered also.
8
+
9
+ 1.110.0 (2023-11-15)
10
+ ------------------
11
+
12
+ * Feature - Add Java 21 (java21) support to AWS Lambda
13
+
14
+ 1.109.0 (2023-11-14)
15
+ ------------------
16
+
17
+ * Feature - Add Python 3.12 (python3.12) support to AWS Lambda
18
+
4
19
  1.108.0 (2023-11-09)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.108.0
1
+ 1.111.0
@@ -1354,12 +1354,7 @@ module Aws::Lambda
1354
1354
  #
1355
1355
  # @option params [Types::EphemeralStorage] :ephemeral_storage
1356
1356
  # The size of the function's `/tmp` directory in MB. The default value
1357
- # is 512, but can be any whole number between 512 and 10,240 MB. For
1358
- # more information, see [Configuring ephemeral storage (console)][1].
1359
- #
1360
- #
1361
- #
1362
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1357
+ # is 512, but can be any whole number between 512 and 10,240 MB.
1363
1358
  #
1364
1359
  # @option params [Types::SnapStart] :snap_start
1365
1360
  # The function's [SnapStart][1] setting.
@@ -1368,6 +1363,9 @@ module Aws::Lambda
1368
1363
  #
1369
1364
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
1370
1365
  #
1366
+ # @option params [Types::LoggingConfig] :logging_config
1367
+ # The function's Amazon CloudWatch Logs configuration settings.
1368
+ #
1371
1369
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1372
1370
  #
1373
1371
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -1405,12 +1403,13 @@ module Aws::Lambda
1405
1403
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
1406
1404
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
1407
1405
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
1406
+ # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
1408
1407
  #
1409
1408
  # @example Request syntax with placeholder values
1410
1409
  #
1411
1410
  # resp = client.create_function({
1412
1411
  # function_name: "FunctionName", # required
1413
- # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023
1412
+ # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023, python3.12, java21
1414
1413
  # role: "RoleArn", # required
1415
1414
  # handler: "Handler",
1416
1415
  # code: { # required
@@ -1465,13 +1464,19 @@ module Aws::Lambda
1465
1464
  # snap_start: {
1466
1465
  # apply_on: "PublishedVersions", # accepts PublishedVersions, None
1467
1466
  # },
1467
+ # logging_config: {
1468
+ # log_format: "JSON", # accepts JSON, Text
1469
+ # application_log_level: "TRACE", # accepts TRACE, DEBUG, INFO, WARN, ERROR, FATAL
1470
+ # system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
1471
+ # log_group: "LogGroup",
1472
+ # },
1468
1473
  # })
1469
1474
  #
1470
1475
  # @example Response structure
1471
1476
  #
1472
1477
  # resp.function_name #=> String
1473
1478
  # resp.function_arn #=> String
1474
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
1479
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
1475
1480
  # resp.role #=> String
1476
1481
  # resp.handler #=> String
1477
1482
  # resp.code_size #=> Integer
@@ -1528,6 +1533,10 @@ module Aws::Lambda
1528
1533
  # resp.runtime_version_config.runtime_version_arn #=> String
1529
1534
  # resp.runtime_version_config.error.error_code #=> String
1530
1535
  # resp.runtime_version_config.error.message #=> String
1536
+ # resp.logging_config.log_format #=> String, one of "JSON", "Text"
1537
+ # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
1538
+ # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
1539
+ # resp.logging_config.log_group #=> String
1531
1540
  #
1532
1541
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1533
1542
  #
@@ -2345,7 +2354,7 @@ module Aws::Lambda
2345
2354
  #
2346
2355
  # resp.configuration.function_name #=> String
2347
2356
  # resp.configuration.function_arn #=> String
2348
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
2357
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
2349
2358
  # resp.configuration.role #=> String
2350
2359
  # resp.configuration.handler #=> String
2351
2360
  # resp.configuration.code_size #=> Integer
@@ -2402,6 +2411,10 @@ module Aws::Lambda
2402
2411
  # resp.configuration.runtime_version_config.runtime_version_arn #=> String
2403
2412
  # resp.configuration.runtime_version_config.error.error_code #=> String
2404
2413
  # resp.configuration.runtime_version_config.error.message #=> String
2414
+ # resp.configuration.logging_config.log_format #=> String, one of "JSON", "Text"
2415
+ # resp.configuration.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
2416
+ # resp.configuration.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
2417
+ # resp.configuration.logging_config.log_group #=> String
2405
2418
  # resp.code.repository_type #=> String
2406
2419
  # resp.code.location #=> String
2407
2420
  # resp.code.image_uri #=> String
@@ -2575,6 +2588,7 @@ module Aws::Lambda
2575
2588
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
2576
2589
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
2577
2590
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
2591
+ # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
2578
2592
  #
2579
2593
  # @example Request syntax with placeholder values
2580
2594
  #
@@ -2587,7 +2601,7 @@ module Aws::Lambda
2587
2601
  #
2588
2602
  # resp.function_name #=> String
2589
2603
  # resp.function_arn #=> String
2590
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
2604
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
2591
2605
  # resp.role #=> String
2592
2606
  # resp.handler #=> String
2593
2607
  # resp.code_size #=> Integer
@@ -2644,6 +2658,10 @@ module Aws::Lambda
2644
2658
  # resp.runtime_version_config.runtime_version_arn #=> String
2645
2659
  # resp.runtime_version_config.error.error_code #=> String
2646
2660
  # resp.runtime_version_config.error.message #=> String
2661
+ # resp.logging_config.log_format #=> String, one of "JSON", "Text"
2662
+ # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
2663
+ # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
2664
+ # resp.logging_config.log_group #=> String
2647
2665
  #
2648
2666
  #
2649
2667
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2830,7 +2848,7 @@ module Aws::Lambda
2830
2848
  # resp.created_date #=> Time
2831
2849
  # resp.version #=> Integer
2832
2850
  # resp.compatible_runtimes #=> Array
2833
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
2851
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
2834
2852
  # resp.license_info #=> String
2835
2853
  # resp.compatible_architectures #=> Array
2836
2854
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -2885,7 +2903,7 @@ module Aws::Lambda
2885
2903
  # resp.created_date #=> Time
2886
2904
  # resp.version #=> Integer
2887
2905
  # resp.compatible_runtimes #=> Array
2888
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
2906
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
2889
2907
  # resp.license_info #=> String
2890
2908
  # resp.compatible_architectures #=> Array
2891
2909
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3252,12 +3270,6 @@ module Aws::Lambda
3252
3270
  #
3253
3271
  # Invokes a function asynchronously.
3254
3272
  #
3255
- # <note markdown="1"> If you do use the InvokeAsync action, note that it doesn't support
3256
- # the use of X-Ray active tracing. Trace ID is not propagated to the
3257
- # function, even if X-Ray active tracing is turned on.
3258
- #
3259
- # </note>
3260
- #
3261
3273
  # @option params [required, String] :function_name
3262
3274
  # The name of the Lambda function.
3263
3275
  #
@@ -3937,7 +3949,7 @@ module Aws::Lambda
3937
3949
  # resp.functions #=> Array
3938
3950
  # resp.functions[0].function_name #=> String
3939
3951
  # resp.functions[0].function_arn #=> String
3940
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
3952
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
3941
3953
  # resp.functions[0].role #=> String
3942
3954
  # resp.functions[0].handler #=> String
3943
3955
  # resp.functions[0].code_size #=> Integer
@@ -3994,6 +4006,10 @@ module Aws::Lambda
3994
4006
  # resp.functions[0].runtime_version_config.runtime_version_arn #=> String
3995
4007
  # resp.functions[0].runtime_version_config.error.error_code #=> String
3996
4008
  # resp.functions[0].runtime_version_config.error.message #=> String
4009
+ # resp.functions[0].logging_config.log_format #=> String, one of "JSON", "Text"
4010
+ # resp.functions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
4011
+ # resp.functions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
4012
+ # resp.functions[0].logging_config.log_group #=> String
3997
4013
  #
3998
4014
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3999
4015
  #
@@ -4095,7 +4111,7 @@ module Aws::Lambda
4095
4111
  # @example Request syntax with placeholder values
4096
4112
  #
4097
4113
  # resp = client.list_layer_versions({
4098
- # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023
4114
+ # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023, python3.12, java21
4099
4115
  # layer_name: "LayerName", # required
4100
4116
  # marker: "String",
4101
4117
  # max_items: 1,
@@ -4111,7 +4127,7 @@ module Aws::Lambda
4111
4127
  # resp.layer_versions[0].description #=> String
4112
4128
  # resp.layer_versions[0].created_date #=> Time
4113
4129
  # resp.layer_versions[0].compatible_runtimes #=> Array
4114
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
4130
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
4115
4131
  # resp.layer_versions[0].license_info #=> String
4116
4132
  # resp.layer_versions[0].compatible_architectures #=> Array
4117
4133
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -4170,7 +4186,7 @@ module Aws::Lambda
4170
4186
  # @example Request syntax with placeholder values
4171
4187
  #
4172
4188
  # resp = client.list_layers({
4173
- # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023
4189
+ # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023, python3.12, java21
4174
4190
  # marker: "String",
4175
4191
  # max_items: 1,
4176
4192
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -4187,7 +4203,7 @@ module Aws::Lambda
4187
4203
  # resp.layers[0].latest_matching_version.description #=> String
4188
4204
  # resp.layers[0].latest_matching_version.created_date #=> Time
4189
4205
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
4190
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
4206
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
4191
4207
  # resp.layers[0].latest_matching_version.license_info #=> String
4192
4208
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
4193
4209
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -4349,7 +4365,7 @@ module Aws::Lambda
4349
4365
  # resp.versions #=> Array
4350
4366
  # resp.versions[0].function_name #=> String
4351
4367
  # resp.versions[0].function_arn #=> String
4352
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
4368
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
4353
4369
  # resp.versions[0].role #=> String
4354
4370
  # resp.versions[0].handler #=> String
4355
4371
  # resp.versions[0].code_size #=> Integer
@@ -4406,6 +4422,10 @@ module Aws::Lambda
4406
4422
  # resp.versions[0].runtime_version_config.runtime_version_arn #=> String
4407
4423
  # resp.versions[0].runtime_version_config.error.error_code #=> String
4408
4424
  # resp.versions[0].runtime_version_config.error.message #=> String
4425
+ # resp.versions[0].logging_config.log_format #=> String, one of "JSON", "Text"
4426
+ # resp.versions[0].logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
4427
+ # resp.versions[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
4428
+ # resp.versions[0].logging_config.log_group #=> String
4409
4429
  #
4410
4430
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
4411
4431
  #
@@ -4492,7 +4512,7 @@ module Aws::Lambda
4492
4512
  # s3_object_version: "S3ObjectVersion",
4493
4513
  # zip_file: "data",
4494
4514
  # },
4495
- # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023
4515
+ # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023, python3.12, java21
4496
4516
  # license_info: "LicenseInfo",
4497
4517
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
4498
4518
  # })
@@ -4510,7 +4530,7 @@ module Aws::Lambda
4510
4530
  # resp.created_date #=> Time
4511
4531
  # resp.version #=> Integer
4512
4532
  # resp.compatible_runtimes #=> Array
4513
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
4533
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
4514
4534
  # resp.license_info #=> String
4515
4535
  # resp.compatible_architectures #=> Array
4516
4536
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -4608,6 +4628,7 @@ module Aws::Lambda
4608
4628
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
4609
4629
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
4610
4630
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
4631
+ # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
4611
4632
  #
4612
4633
  # @example Request syntax with placeholder values
4613
4634
  #
@@ -4622,7 +4643,7 @@ module Aws::Lambda
4622
4643
  #
4623
4644
  # resp.function_name #=> String
4624
4645
  # resp.function_arn #=> String
4625
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
4646
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
4626
4647
  # resp.role #=> String
4627
4648
  # resp.handler #=> String
4628
4649
  # resp.code_size #=> Integer
@@ -4679,6 +4700,10 @@ module Aws::Lambda
4679
4700
  # resp.runtime_version_config.runtime_version_arn #=> String
4680
4701
  # resp.runtime_version_config.error.error_code #=> String
4681
4702
  # resp.runtime_version_config.error.message #=> String
4703
+ # resp.logging_config.log_format #=> String, one of "JSON", "Text"
4704
+ # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
4705
+ # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
4706
+ # resp.logging_config.log_group #=> String
4682
4707
  #
4683
4708
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
4684
4709
  #
@@ -5803,6 +5828,7 @@ module Aws::Lambda
5803
5828
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
5804
5829
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
5805
5830
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
5831
+ # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
5806
5832
  #
5807
5833
  # @example Request syntax with placeholder values
5808
5834
  #
@@ -5823,7 +5849,7 @@ module Aws::Lambda
5823
5849
  #
5824
5850
  # resp.function_name #=> String
5825
5851
  # resp.function_arn #=> String
5826
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
5852
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
5827
5853
  # resp.role #=> String
5828
5854
  # resp.handler #=> String
5829
5855
  # resp.code_size #=> Integer
@@ -5880,6 +5906,10 @@ module Aws::Lambda
5880
5906
  # resp.runtime_version_config.runtime_version_arn #=> String
5881
5907
  # resp.runtime_version_config.error.error_code #=> String
5882
5908
  # resp.runtime_version_config.error.message #=> String
5909
+ # resp.logging_config.log_format #=> String, one of "JSON", "Text"
5910
+ # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
5911
+ # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
5912
+ # resp.logging_config.log_group #=> String
5883
5913
  #
5884
5914
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
5885
5915
  #
@@ -6051,12 +6081,7 @@ module Aws::Lambda
6051
6081
  #
6052
6082
  # @option params [Types::EphemeralStorage] :ephemeral_storage
6053
6083
  # The size of the function's `/tmp` directory in MB. The default value
6054
- # is 512, but can be any whole number between 512 and 10,240 MB. For
6055
- # more information, see [Configuring ephemeral storage (console)][1].
6056
- #
6057
- #
6058
- #
6059
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
6084
+ # is 512, but can be any whole number between 512 and 10,240 MB.
6060
6085
  #
6061
6086
  # @option params [Types::SnapStart] :snap_start
6062
6087
  # The function's [SnapStart][1] setting.
@@ -6065,6 +6090,9 @@ module Aws::Lambda
6065
6090
  #
6066
6091
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
6067
6092
  #
6093
+ # @option params [Types::LoggingConfig] :logging_config
6094
+ # The function's Amazon CloudWatch Logs configuration settings.
6095
+ #
6068
6096
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6069
6097
  #
6070
6098
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -6102,6 +6130,7 @@ module Aws::Lambda
6102
6130
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
6103
6131
  # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
6104
6132
  # * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
6133
+ # * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
6105
6134
  #
6106
6135
  # @example Request syntax with placeholder values
6107
6136
  #
@@ -6122,7 +6151,7 @@ module Aws::Lambda
6122
6151
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
6123
6152
  # },
6124
6153
  # },
6125
- # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023
6154
+ # 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, nodejs18.x, python3.10, java17, ruby3.2, python3.11, nodejs20.x, provided.al2023, python3.12, java21
6126
6155
  # dead_letter_config: {
6127
6156
  # target_arn: "ResourceArn",
6128
6157
  # },
@@ -6149,13 +6178,19 @@ module Aws::Lambda
6149
6178
  # snap_start: {
6150
6179
  # apply_on: "PublishedVersions", # accepts PublishedVersions, None
6151
6180
  # },
6181
+ # logging_config: {
6182
+ # log_format: "JSON", # accepts JSON, Text
6183
+ # application_log_level: "TRACE", # accepts TRACE, DEBUG, INFO, WARN, ERROR, FATAL
6184
+ # system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
6185
+ # log_group: "LogGroup",
6186
+ # },
6152
6187
  # })
6153
6188
  #
6154
6189
  # @example Response structure
6155
6190
  #
6156
6191
  # resp.function_name #=> String
6157
6192
  # resp.function_arn #=> String
6158
- # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023"
6193
+ # 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", "nodejs18.x", "python3.10", "java17", "ruby3.2", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21"
6159
6194
  # resp.role #=> String
6160
6195
  # resp.handler #=> String
6161
6196
  # resp.code_size #=> Integer
@@ -6212,6 +6247,10 @@ module Aws::Lambda
6212
6247
  # resp.runtime_version_config.runtime_version_arn #=> String
6213
6248
  # resp.runtime_version_config.error.error_code #=> String
6214
6249
  # resp.runtime_version_config.error.message #=> String
6250
+ # resp.logging_config.log_format #=> String, one of "JSON", "Text"
6251
+ # resp.logging_config.application_log_level #=> String, one of "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"
6252
+ # resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
6253
+ # resp.logging_config.log_group #=> String
6215
6254
  #
6216
6255
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
6217
6256
  #
@@ -6438,7 +6477,7 @@ module Aws::Lambda
6438
6477
  params: params,
6439
6478
  config: config)
6440
6479
  context[:gem_name] = 'aws-sdk-lambda'
6441
- context[:gem_version] = '1.108.0'
6480
+ context[:gem_version] = '1.111.0'
6442
6481
  Seahorse::Client::Request.new(handlers, context)
6443
6482
  end
6444
6483
 
@@ -31,6 +31,7 @@ module Aws::Lambda
31
31
  AllowOriginsList = Shapes::ListShape.new(name: 'AllowOriginsList')
32
32
  AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
33
33
  AmazonManagedKafkaEventSourceConfig = Shapes::StructureShape.new(name: 'AmazonManagedKafkaEventSourceConfig')
34
+ ApplicationLogLevel = Shapes::StringShape.new(name: 'ApplicationLogLevel')
34
35
  Architecture = Shapes::StringShape.new(name: 'Architecture')
35
36
  ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
36
37
  Arn = Shapes::StringShape.new(name: 'Arn')
@@ -229,7 +230,10 @@ module Aws::Lambda
229
230
  ListVersionsByFunctionRequest = Shapes::StructureShape.new(name: 'ListVersionsByFunctionRequest')
230
231
  ListVersionsByFunctionResponse = Shapes::StructureShape.new(name: 'ListVersionsByFunctionResponse')
231
232
  LocalMountPath = Shapes::StringShape.new(name: 'LocalMountPath')
233
+ LogFormat = Shapes::StringShape.new(name: 'LogFormat')
234
+ LogGroup = Shapes::StringShape.new(name: 'LogGroup')
232
235
  LogType = Shapes::StringShape.new(name: 'LogType')
236
+ LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig')
233
237
  Long = Shapes::IntegerShape.new(name: 'Long')
234
238
  MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
235
239
  MaxAge = Shapes::IntegerShape.new(name: 'MaxAge')
@@ -328,6 +332,7 @@ module Aws::Lambda
328
332
  SubnetIPAddressLimitReachedException = Shapes::StructureShape.new(name: 'SubnetIPAddressLimitReachedException')
329
333
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
330
334
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
335
+ SystemLogLevel = Shapes::StringShape.new(name: 'SystemLogLevel')
331
336
  TagKey = Shapes::StringShape.new(name: 'TagKey')
332
337
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
333
338
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
@@ -535,6 +540,7 @@ module Aws::Lambda
535
540
  CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
536
541
  CreateFunctionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
537
542
  CreateFunctionRequest.add_member(:snap_start, Shapes::ShapeRef.new(shape: SnapStart, location_name: "SnapStart"))
543
+ CreateFunctionRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig"))
538
544
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
539
545
 
540
546
  CreateFunctionUrlConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -752,6 +758,7 @@ module Aws::Lambda
752
758
  FunctionConfiguration.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
753
759
  FunctionConfiguration.add_member(:snap_start, Shapes::ShapeRef.new(shape: SnapStartResponse, location_name: "SnapStart"))
754
760
  FunctionConfiguration.add_member(:runtime_version_config, Shapes::ShapeRef.new(shape: RuntimeVersionConfig, location_name: "RuntimeVersionConfig"))
761
+ FunctionConfiguration.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig"))
755
762
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
756
763
 
757
764
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -1164,6 +1171,12 @@ module Aws::Lambda
1164
1171
  ListVersionsByFunctionResponse.add_member(:versions, Shapes::ShapeRef.new(shape: FunctionList, location_name: "Versions"))
1165
1172
  ListVersionsByFunctionResponse.struct_class = Types::ListVersionsByFunctionResponse
1166
1173
 
1174
+ LoggingConfig.add_member(:log_format, Shapes::ShapeRef.new(shape: LogFormat, location_name: "LogFormat"))
1175
+ LoggingConfig.add_member(:application_log_level, Shapes::ShapeRef.new(shape: ApplicationLogLevel, location_name: "ApplicationLogLevel"))
1176
+ LoggingConfig.add_member(:system_log_level, Shapes::ShapeRef.new(shape: SystemLogLevel, location_name: "SystemLogLevel"))
1177
+ LoggingConfig.add_member(:log_group, Shapes::ShapeRef.new(shape: LogGroup, location_name: "LogGroup"))
1178
+ LoggingConfig.struct_class = Types::LoggingConfig
1179
+
1167
1180
  OnFailure.add_member(:destination, Shapes::ShapeRef.new(shape: DestinationArn, location_name: "Destination"))
1168
1181
  OnFailure.struct_class = Types::OnFailure
1169
1182
 
@@ -1453,6 +1466,7 @@ module Aws::Lambda
1453
1466
  UpdateFunctionConfigurationRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
1454
1467
  UpdateFunctionConfigurationRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "EphemeralStorage"))
1455
1468
  UpdateFunctionConfigurationRequest.add_member(:snap_start, Shapes::ShapeRef.new(shape: SnapStart, location_name: "SnapStart"))
1469
+ UpdateFunctionConfigurationRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig"))
1456
1470
  UpdateFunctionConfigurationRequest.struct_class = Types::UpdateFunctionConfigurationRequest
1457
1471
 
1458
1472
  UpdateFunctionEventInvokeConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1049,12 +1049,6 @@ module Aws::Lambda
1049
1049
  # @!attribute [rw] ephemeral_storage
1050
1050
  # The size of the function's `/tmp` directory in MB. The default
1051
1051
  # value is 512, but can be any whole number between 512 and 10,240 MB.
1052
- # For more information, see [Configuring ephemeral storage
1053
- # (console)][1].
1054
- #
1055
- #
1056
- #
1057
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1058
1052
  # @return [Types::EphemeralStorage]
1059
1053
  #
1060
1054
  # @!attribute [rw] snap_start
@@ -1065,6 +1059,10 @@ module Aws::Lambda
1065
1059
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
1066
1060
  # @return [Types::SnapStart]
1067
1061
  #
1062
+ # @!attribute [rw] logging_config
1063
+ # The function's Amazon CloudWatch Logs configuration settings.
1064
+ # @return [Types::LoggingConfig]
1065
+ #
1068
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1069
1067
  #
1070
1068
  class CreateFunctionRequest < Struct.new(
@@ -1090,7 +1088,8 @@ module Aws::Lambda
1090
1088
  :code_signing_config_arn,
1091
1089
  :architectures,
1092
1090
  :ephemeral_storage,
1093
- :snap_start)
1091
+ :snap_start,
1092
+ :logging_config)
1094
1093
  SENSITIVE = []
1095
1094
  include Aws::Structure
1096
1095
  end
@@ -1765,12 +1764,7 @@ module Aws::Lambda
1765
1764
  end
1766
1765
 
1767
1766
  # The size of the function's `/tmp` directory in MB. The default value
1768
- # is 512, but can be any whole number between 512 and 10,240 MB. For
1769
- # more information, see [Configuring ephemeral storage (console)][1].
1770
- #
1771
- #
1772
- #
1773
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1767
+ # is 512, but it can be any whole number between 512 and 10,240 MB.
1774
1768
  #
1775
1769
  # @!attribute [rw] size
1776
1770
  # The size of the function's `/tmp` directory.
@@ -2305,14 +2299,8 @@ module Aws::Lambda
2305
2299
  # @return [Array<String>]
2306
2300
  #
2307
2301
  # @!attribute [rw] ephemeral_storage
2308
- # The size of the function's `/tmp` directory in MB. The default
2309
- # value is 512, but can be any whole number between 512 and 10,240 MB.
2310
- # For more information, see [Configuring ephemeral storage
2311
- # (console)][1].
2312
- #
2313
- #
2314
- #
2315
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
2302
+ # The size of the functions `/tmp` directory in MB. The default value
2303
+ # is 512, but it can be any whole number between 512 and 10,240 MB.
2316
2304
  # @return [Types::EphemeralStorage]
2317
2305
  #
2318
2306
  # @!attribute [rw] snap_start
@@ -2330,6 +2318,10 @@ module Aws::Lambda
2330
2318
  # The ARN of the runtime and any errors that occured.
2331
2319
  # @return [Types::RuntimeVersionConfig]
2332
2320
  #
2321
+ # @!attribute [rw] logging_config
2322
+ # The function's Amazon CloudWatch Logs configuration settings.
2323
+ # @return [Types::LoggingConfig]
2324
+ #
2333
2325
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
2334
2326
  #
2335
2327
  class FunctionConfiguration < Struct.new(
@@ -2367,7 +2359,8 @@ module Aws::Lambda
2367
2359
  :architectures,
2368
2360
  :ephemeral_storage,
2369
2361
  :snap_start,
2370
- :runtime_version_config)
2362
+ :runtime_version_config,
2363
+ :logging_config)
2371
2364
  SENSITIVE = []
2372
2365
  include Aws::Structure
2373
2366
  end
@@ -4599,6 +4592,44 @@ module Aws::Lambda
4599
4592
  include Aws::Structure
4600
4593
  end
4601
4594
 
4595
+ # The function's Amazon CloudWatch Logs configuration settings.
4596
+ #
4597
+ # @!attribute [rw] log_format
4598
+ # The format in which Lambda sends your function's application and
4599
+ # system logs to CloudWatch. Select between plain text and structured
4600
+ # JSON.
4601
+ # @return [String]
4602
+ #
4603
+ # @!attribute [rw] application_log_level
4604
+ # Set this property to filter the application logs for your function
4605
+ # that Lambda sends to CloudWatch. Lambda only sends application logs
4606
+ # at the selected level and lower.
4607
+ # @return [String]
4608
+ #
4609
+ # @!attribute [rw] system_log_level
4610
+ # Set this property to filter the system logs for your function that
4611
+ # Lambda sends to CloudWatch. Lambda only sends system logs at the
4612
+ # selected level and lower.
4613
+ # @return [String]
4614
+ #
4615
+ # @!attribute [rw] log_group
4616
+ # The name of the Amazon CloudWatch log group the function sends logs
4617
+ # to. By default, Lambda functions send logs to a default log group
4618
+ # named `/aws/lambda/<function name>`. To use a different log group,
4619
+ # enter an existing log group or enter a new log group name.
4620
+ # @return [String]
4621
+ #
4622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LoggingConfig AWS API Documentation
4623
+ #
4624
+ class LoggingConfig < Struct.new(
4625
+ :log_format,
4626
+ :application_log_level,
4627
+ :system_log_level,
4628
+ :log_group)
4629
+ SENSITIVE = []
4630
+ include Aws::Structure
4631
+ end
4632
+
4602
4633
  # A destination for events that failed processing.
4603
4634
  #
4604
4635
  # @!attribute [rw] destination
@@ -6349,12 +6380,6 @@ module Aws::Lambda
6349
6380
  # @!attribute [rw] ephemeral_storage
6350
6381
  # The size of the function's `/tmp` directory in MB. The default
6351
6382
  # value is 512, but can be any whole number between 512 and 10,240 MB.
6352
- # For more information, see [Configuring ephemeral storage
6353
- # (console)][1].
6354
- #
6355
- #
6356
- #
6357
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
6358
6383
  # @return [Types::EphemeralStorage]
6359
6384
  #
6360
6385
  # @!attribute [rw] snap_start
@@ -6365,6 +6390,10 @@ module Aws::Lambda
6365
6390
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
6366
6391
  # @return [Types::SnapStart]
6367
6392
  #
6393
+ # @!attribute [rw] logging_config
6394
+ # The function's Amazon CloudWatch Logs configuration settings.
6395
+ # @return [Types::LoggingConfig]
6396
+ #
6368
6397
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
6369
6398
  #
6370
6399
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -6385,7 +6414,8 @@ module Aws::Lambda
6385
6414
  :file_system_configs,
6386
6415
  :image_config,
6387
6416
  :ephemeral_storage,
6388
- :snap_start)
6417
+ :snap_start,
6418
+ :logging_config)
6389
6419
  SENSITIVE = []
6390
6420
  include Aws::Structure
6391
6421
  end
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lambda/event_streams'
54
54
  # @!group service
55
55
  module Aws::Lambda
56
56
 
57
- GEM_VERSION = '1.108.0'
57
+ GEM_VERSION = '1.111.0'
58
58
 
59
59
  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.108.0
4
+ version: 1.111.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: 2023-11-09 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core