aws-sdk-lambda 1.110.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +58 -19
- data/lib/aws-sdk-lambda/client_api.rb +14 -0
- data/lib/aws-sdk-lambda/types.rb +59 -29
- 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: f4beb830530326772f2d6a7538ea78bc17f55236d689516f5d6987c4532c58ea
|
4
|
+
data.tar.gz: b3b77eaa7d517bafde224440243bdd6d9b3864d1fd4409039fe4a0f3e9a6bd3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 291419dfe6860f75bd2ca1045ea3d824ea8c9ad3778a63fd29117d3e63991d0096444f47ed31bd2f94f6513acd5d86b532f759587343286a6645efd3427e22de
|
7
|
+
data.tar.gz: 8c7ba918be09d18b2e39c9da188e85d5babb66adf82fe20f9e284714cc8b49b1974b4de6f0c9a37b12db4c2e8fc0a214b8425cf02d2cde6f85e318063bf1ffca
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.110.0 (2023-11-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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.
|
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,6 +1403,7 @@ 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
|
#
|
@@ -1465,6 +1464,12 @@ 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
|
@@ -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
|
#
|
@@ -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
|
#
|
@@ -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):
|
@@ -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
|
#
|
@@ -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
|
#
|
@@ -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
|
#
|
@@ -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
|
#
|
@@ -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
|
#
|
@@ -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.
|
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
|
#
|
@@ -6149,6 +6178,12 @@ 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
|
@@ -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.
|
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"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -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.
|
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
|
2309
|
-
#
|
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 function’s `/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
|
data/lib/aws-sdk-lambda.rb
CHANGED
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.
|
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-
|
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
|