aws-sdk-lambda 1.110.0 → 1.112.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a226cd8dacd6335423397aa580b1a73acea18bb7c40e1f572d2562a0b0059f62
4
- data.tar.gz: 4f1436ffe20d4d406cdf4c1d0c2c03fd08c2de26aaa1222960e3b4c0682974d5
3
+ metadata.gz: 6496bd84ca475888ff2e6c09b5d2dd1e828cbdfd1c56bb8232b3619bc8b2d631
4
+ data.tar.gz: 9ee584ae4a3da00918ee7e71f78b6b2b8b6c644dd1d99ae582d237e3444860f1
5
5
  SHA512:
6
- metadata.gz: e2a55312bc16c9d4c7da6245256fb24734f3a294679e33f9a61da59427d809825a48f071a0ae9aaa81ad2b464b67d271f9d40a48c24e79d0f98ff3385a5c4259
7
- data.tar.gz: e4b841b0d779212f14eb943ccc29ad5640edb5b2dee3a19f84115e1386cac0ccfb3162ed4c727d0fe452f056f95e16142d241e0deee00e30a8080f63c4c4f429
6
+ metadata.gz: 307af9d8bab0598f8784cefeba454dd123cd5bf513aa85a7e832ecdbcdfd71ce17ecb673cf850960b956cd8e87c738ebfe56f2eece9b6207ba718638b1c185c9
7
+ data.tar.gz: 3f11767245731efee67f35a3146d2aa521a2e6927121604b19bfb035c4fa0ee19f76422147b237bdf2af0bd75b84c79fc2bd2a7c5c5925331481e1433f42f46d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.112.0 (2023-11-22)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.111.0 (2023-11-16)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.110.0 (2023-11-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.110.0
1
+ 1.112.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,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. 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
  #
@@ -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.110.0'
6480
+ context[:gem_version] = '1.112.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.110.0'
57
+ GEM_VERSION = '1.112.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.110.0
4
+ version: 1.112.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-15 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.184.0
22
+ version: 3.188.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.184.0
32
+ version: 3.188.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: '2.3'
85
+ version: '2.5'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ">="