aws-sdk-lambda 1.141.0 → 1.143.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: 186e21d724473bf5f05d194b03faa3c958ee42e309ecd987d0a5c598fcec3bc2
4
- data.tar.gz: 7e6d3f65f42aac5876d461d5ff1c258f9f625a8542b93e60b095da22bb53e082
3
+ metadata.gz: 560998fe09783ada881622dda45306f716d982a61e7dbfbe9eeb9120badc0c0b
4
+ data.tar.gz: 0c29b26e537b8e1287a429c772d31fea0d3ef3b366f15b93d45732288660b50c
5
5
  SHA512:
6
- metadata.gz: 278b2e579d855b71520b40df46762ce33bca65b52449801f383188e11bca83f3675f042630a661e4fd7e23a66c0a9c43e9944f430fd93374b9a4afbdbef552b8
7
- data.tar.gz: c5765fef2cf32518b92a931c503e8188ad5b443346472cbfd080da67af6246934b4d9b6b84741a51af103f76eb13fa869999b935704244f406c3b6dad6e40885
6
+ metadata.gz: 1f407b1c438fbee329e6acf9e992c99341e4bb0ccf332aaf5f9131c5e3e13a00b2676096018eb839a4d576aec720b01cf6a1767178159204aaa352282be738aa
7
+ data.tar.gz: ec05e7dea8aab3b2aa5c52525c49ec3d32c2f3b53904a59c233929e662ed4c66f4681ab96ec31b85875a25acab095088b46abafa3efbb5e402311cd781d6098a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.143.0 (2024-11-21)
5
+ ------------------
6
+
7
+ * Feature - Adds support for metrics for event source mappings for AWS Lambda
8
+
9
+ 1.142.0 (2024-11-20)
10
+ ------------------
11
+
12
+ * Feature - Add Node 22.x (node22.x) support to AWS Lambda
13
+
4
14
  1.141.0 (2024-11-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.143.0
@@ -906,15 +906,12 @@ module Aws::Lambda
906
906
  #
907
907
  # * [ Amazon DocumentDB][7]
908
908
  #
909
- # The following error handling options are available only for stream
910
- # sources (DynamoDB and Kinesis):
909
+ # The following error handling options are available only for DynamoDB
910
+ # and Kinesis event sources:
911
911
  #
912
912
  # * `BisectBatchOnFunctionError` – If the function returns an error,
913
913
  # split the batch in two and retry.
914
914
  #
915
- # * `DestinationConfig` – Send discarded records to an Amazon SQS queue
916
- # or Amazon SNS topic.
917
- #
918
915
  # * `MaximumRecordAgeInSeconds` – Discard records older than the
919
916
  # specified age. The default value is infinite (-1). When set to
920
917
  # infinite (-1), failed records are retried until the record expires
@@ -926,6 +923,14 @@ module Aws::Lambda
926
923
  # * `ParallelizationFactor` – Process multiple batches from each shard
927
924
  # concurrently.
928
925
  #
926
+ # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
927
+ # Apache Kafka), the following option is also available:
928
+ #
929
+ # * `DestinationConfig` – Send discarded records to an Amazon SQS queue,
930
+ # Amazon SNS topic, or Amazon S3 bucket.
931
+ #
932
+ # ^
933
+ #
929
934
  # For information about which configuration parameters apply to each
930
935
  # event source, see the following topics.
931
936
  #
@@ -1144,6 +1149,14 @@ module Aws::Lambda
1144
1149
  #
1145
1150
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
1146
1151
  #
1152
+ # @option params [Types::EventSourceMappingMetricsConfig] :metrics_config
1153
+ # The metrics configuration for your event source. For more information,
1154
+ # see [Event source mapping metrics][1].
1155
+ #
1156
+ #
1157
+ #
1158
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
1159
+ #
1147
1160
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1148
1161
  #
1149
1162
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -1176,6 +1189,7 @@ module Aws::Lambda
1176
1189
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
1177
1190
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
1178
1191
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
1192
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
1179
1193
  #
1180
1194
  #
1181
1195
  # @example Example: To create a mapping between an event source and an AWS Lambda function
@@ -1261,6 +1275,9 @@ module Aws::Lambda
1261
1275
  # full_document: "UpdateLookup", # accepts UpdateLookup, Default
1262
1276
  # },
1263
1277
  # kms_key_arn: "KMSKeyArn",
1278
+ # metrics_config: {
1279
+ # metrics: ["EventCount"], # accepts EventCount
1280
+ # },
1264
1281
  # })
1265
1282
  #
1266
1283
  # @example Response structure
@@ -1307,6 +1324,8 @@ module Aws::Lambda
1307
1324
  # resp.filter_criteria_error.error_code #=> String
1308
1325
  # resp.filter_criteria_error.message #=> String
1309
1326
  # resp.event_source_mapping_arn #=> String
1327
+ # resp.metrics_config.metrics #=> Array
1328
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
1310
1329
  #
1311
1330
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
1312
1331
  #
@@ -1695,7 +1714,7 @@ module Aws::Lambda
1695
1714
  #
1696
1715
  # resp = client.create_function({
1697
1716
  # function_name: "FunctionName", # required
1698
- # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13
1717
+ # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13, nodejs22.x
1699
1718
  # role: "RoleArn", # required
1700
1719
  # handler: "Handler",
1701
1720
  # code: { # required
@@ -1763,7 +1782,7 @@ module Aws::Lambda
1763
1782
  #
1764
1783
  # resp.function_name #=> String
1765
1784
  # resp.function_arn #=> String
1766
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
1785
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
1767
1786
  # resp.role #=> String
1768
1787
  # resp.handler #=> String
1769
1788
  # resp.code_size #=> Integer
@@ -2066,6 +2085,7 @@ module Aws::Lambda
2066
2085
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
2067
2086
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
2068
2087
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
2088
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
2069
2089
  #
2070
2090
  #
2071
2091
  # @example Example: To delete a Lambda function event source mapping
@@ -2137,6 +2157,8 @@ module Aws::Lambda
2137
2157
  # resp.filter_criteria_error.error_code #=> String
2138
2158
  # resp.filter_criteria_error.message #=> String
2139
2159
  # resp.event_source_mapping_arn #=> String
2160
+ # resp.metrics_config.metrics #=> Array
2161
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2140
2162
  #
2141
2163
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
2142
2164
  #
@@ -2673,6 +2695,7 @@ module Aws::Lambda
2673
2695
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
2674
2696
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
2675
2697
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
2698
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
2676
2699
  #
2677
2700
  #
2678
2701
  # @example Example: To get a Lambda function's event source mapping
@@ -2751,6 +2774,8 @@ module Aws::Lambda
2751
2774
  # resp.filter_criteria_error.error_code #=> String
2752
2775
  # resp.filter_criteria_error.message #=> String
2753
2776
  # resp.event_source_mapping_arn #=> String
2777
+ # resp.metrics_config.metrics #=> Array
2778
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2754
2779
  #
2755
2780
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2756
2781
  #
@@ -2854,7 +2879,7 @@ module Aws::Lambda
2854
2879
  #
2855
2880
  # resp.configuration.function_name #=> String
2856
2881
  # resp.configuration.function_arn #=> String
2857
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
2882
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
2858
2883
  # resp.configuration.role #=> String
2859
2884
  # resp.configuration.handler #=> String
2860
2885
  # resp.configuration.code_size #=> Integer
@@ -3157,7 +3182,7 @@ module Aws::Lambda
3157
3182
  #
3158
3183
  # resp.function_name #=> String
3159
3184
  # resp.function_arn #=> String
3160
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
3185
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
3161
3186
  # resp.role #=> String
3162
3187
  # resp.handler #=> String
3163
3188
  # resp.code_size #=> Integer
@@ -3490,7 +3515,7 @@ module Aws::Lambda
3490
3515
  # resp.created_date #=> Time
3491
3516
  # resp.version #=> Integer
3492
3517
  # resp.compatible_runtimes #=> Array
3493
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
3518
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
3494
3519
  # resp.license_info #=> String
3495
3520
  # resp.compatible_architectures #=> Array
3496
3521
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -3571,7 +3596,7 @@ module Aws::Lambda
3571
3596
  # resp.created_date #=> Time
3572
3597
  # resp.version #=> Integer
3573
3598
  # resp.compatible_runtimes #=> Array
3574
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
3599
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
3575
3600
  # resp.license_info #=> String
3576
3601
  # resp.compatible_architectures #=> Array
3577
3602
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -4595,6 +4620,8 @@ module Aws::Lambda
4595
4620
  # resp.event_source_mappings[0].filter_criteria_error.error_code #=> String
4596
4621
  # resp.event_source_mappings[0].filter_criteria_error.message #=> String
4597
4622
  # resp.event_source_mappings[0].event_source_mapping_arn #=> String
4623
+ # resp.event_source_mappings[0].metrics_config.metrics #=> Array
4624
+ # resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount"
4598
4625
  #
4599
4626
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
4600
4627
  #
@@ -4880,7 +4907,7 @@ module Aws::Lambda
4880
4907
  # resp.functions #=> Array
4881
4908
  # resp.functions[0].function_name #=> String
4882
4909
  # resp.functions[0].function_arn #=> String
4883
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
4910
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
4884
4911
  # resp.functions[0].role #=> String
4885
4912
  # resp.functions[0].handler #=> String
4886
4913
  # resp.functions[0].code_size #=> Integer
@@ -5079,7 +5106,7 @@ module Aws::Lambda
5079
5106
  # @example Request syntax with placeholder values
5080
5107
  #
5081
5108
  # resp = client.list_layer_versions({
5082
- # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13
5109
+ # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13, nodejs22.x
5083
5110
  # layer_name: "LayerName", # required
5084
5111
  # marker: "String",
5085
5112
  # max_items: 1,
@@ -5095,7 +5122,7 @@ module Aws::Lambda
5095
5122
  # resp.layer_versions[0].description #=> String
5096
5123
  # resp.layer_versions[0].created_date #=> Time
5097
5124
  # resp.layer_versions[0].compatible_runtimes #=> Array
5098
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
5125
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
5099
5126
  # resp.layer_versions[0].license_info #=> String
5100
5127
  # resp.layer_versions[0].compatible_architectures #=> Array
5101
5128
  # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -5187,7 +5214,7 @@ module Aws::Lambda
5187
5214
  # @example Request syntax with placeholder values
5188
5215
  #
5189
5216
  # resp = client.list_layers({
5190
- # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13
5217
+ # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13, nodejs22.x
5191
5218
  # marker: "String",
5192
5219
  # max_items: 1,
5193
5220
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -5204,7 +5231,7 @@ module Aws::Lambda
5204
5231
  # resp.layers[0].latest_matching_version.description #=> String
5205
5232
  # resp.layers[0].latest_matching_version.created_date #=> Time
5206
5233
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
5207
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
5234
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
5208
5235
  # resp.layers[0].latest_matching_version.license_info #=> String
5209
5236
  # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
5210
5237
  # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -5480,7 +5507,7 @@ module Aws::Lambda
5480
5507
  # resp.versions #=> Array
5481
5508
  # resp.versions[0].function_name #=> String
5482
5509
  # resp.versions[0].function_arn #=> String
5483
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
5510
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
5484
5511
  # resp.versions[0].role #=> String
5485
5512
  # resp.versions[0].handler #=> String
5486
5513
  # resp.versions[0].code_size #=> Integer
@@ -5666,7 +5693,7 @@ module Aws::Lambda
5666
5693
  # s3_object_version: "S3ObjectVersion",
5667
5694
  # zip_file: "data",
5668
5695
  # },
5669
- # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13
5696
+ # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13, nodejs22.x
5670
5697
  # license_info: "LicenseInfo",
5671
5698
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
5672
5699
  # })
@@ -5684,7 +5711,7 @@ module Aws::Lambda
5684
5711
  # resp.created_date #=> Time
5685
5712
  # resp.version #=> Integer
5686
5713
  # resp.compatible_runtimes #=> Array
5687
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
5714
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
5688
5715
  # resp.license_info #=> String
5689
5716
  # resp.compatible_architectures #=> Array
5690
5717
  # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
@@ -5837,7 +5864,7 @@ module Aws::Lambda
5837
5864
  #
5838
5865
  # resp.function_name #=> String
5839
5866
  # resp.function_arn #=> String
5840
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
5867
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
5841
5868
  # resp.role #=> String
5842
5869
  # resp.handler #=> String
5843
5870
  # resp.code_size #=> Integer
@@ -6046,12 +6073,17 @@ module Aws::Lambda
6046
6073
  # retain discarded events, configure a dead-letter queue with
6047
6074
  # UpdateFunctionConfiguration.
6048
6075
  #
6049
- # To send an invocation record to a queue, topic, function, or event
6050
- # bus, specify a [destination][2]. You can configure separate
6076
+ # To send an invocation record to a queue, topic, S3 bucket, function,
6077
+ # or event bus, specify a [destination][2]. You can configure separate
6051
6078
  # destinations for successful invocations (on-success) and events that
6052
6079
  # fail all processing attempts (on-failure). You can configure
6053
6080
  # destinations in addition to or instead of a dead-letter queue.
6054
6081
  #
6082
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
6083
+ # records of successful invocations, use another destination type.
6084
+ #
6085
+ # </note>
6086
+ #
6055
6087
  #
6056
6088
  #
6057
6089
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
@@ -6095,10 +6127,17 @@ module Aws::Lambda
6095
6127
  #
6096
6128
  # * **Queue** - The ARN of a standard SQS queue.
6097
6129
  #
6130
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
6131
+ #
6098
6132
  # * **Topic** - The ARN of a standard SNS topic.
6099
6133
  #
6100
6134
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
6101
6135
  #
6136
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
6137
+ # records of successful invocations, use another destination type.
6138
+ #
6139
+ # </note>
6140
+ #
6102
6141
  # @return [Types::FunctionEventInvokeConfig] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6103
6142
  #
6104
6143
  # * {Types::FunctionEventInvokeConfig#last_modified #last_modified} => Time
@@ -6819,15 +6858,12 @@ module Aws::Lambda
6819
6858
  #
6820
6859
  # * [ Amazon DocumentDB][7]
6821
6860
  #
6822
- # The following error handling options are available only for stream
6823
- # sources (DynamoDB and Kinesis):
6861
+ # The following error handling options are available only for DynamoDB
6862
+ # and Kinesis event sources:
6824
6863
  #
6825
6864
  # * `BisectBatchOnFunctionError` – If the function returns an error,
6826
6865
  # split the batch in two and retry.
6827
6866
  #
6828
- # * `DestinationConfig` – Send discarded records to an Amazon SQS queue
6829
- # or Amazon SNS topic.
6830
- #
6831
6867
  # * `MaximumRecordAgeInSeconds` – Discard records older than the
6832
6868
  # specified age. The default value is infinite (-1). When set to
6833
6869
  # infinite (-1), failed records are retried until the record expires
@@ -6839,6 +6875,14 @@ module Aws::Lambda
6839
6875
  # * `ParallelizationFactor` – Process multiple batches from each shard
6840
6876
  # concurrently.
6841
6877
  #
6878
+ # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
6879
+ # Apache Kafka), the following option is also available:
6880
+ #
6881
+ # * `DestinationConfig` – Send discarded records to an Amazon SQS queue,
6882
+ # Amazon SNS topic, or Amazon S3 bucket.
6883
+ #
6884
+ # ^
6885
+ #
6842
6886
  # For information about which configuration parameters apply to each
6843
6887
  # event source, see the following topics.
6844
6888
  #
@@ -7008,6 +7052,14 @@ module Aws::Lambda
7008
7052
  #
7009
7053
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
7010
7054
  #
7055
+ # @option params [Types::EventSourceMappingMetricsConfig] :metrics_config
7056
+ # The metrics configuration for your event source. For more information,
7057
+ # see [Event source mapping metrics][1].
7058
+ #
7059
+ #
7060
+ #
7061
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
7062
+ #
7011
7063
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7012
7064
  #
7013
7065
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -7040,6 +7092,7 @@ module Aws::Lambda
7040
7092
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
7041
7093
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
7042
7094
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
7095
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
7043
7096
  #
7044
7097
  #
7045
7098
  # @example Example: To update a Lambda function event source mapping
@@ -7109,6 +7162,9 @@ module Aws::Lambda
7109
7162
  # full_document: "UpdateLookup", # accepts UpdateLookup, Default
7110
7163
  # },
7111
7164
  # kms_key_arn: "KMSKeyArn",
7165
+ # metrics_config: {
7166
+ # metrics: ["EventCount"], # accepts EventCount
7167
+ # },
7112
7168
  # })
7113
7169
  #
7114
7170
  # @example Response structure
@@ -7155,6 +7211,8 @@ module Aws::Lambda
7155
7211
  # resp.filter_criteria_error.error_code #=> String
7156
7212
  # resp.filter_criteria_error.message #=> String
7157
7213
  # resp.event_source_mapping_arn #=> String
7214
+ # resp.metrics_config.metrics #=> Array
7215
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
7158
7216
  #
7159
7217
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
7160
7218
  #
@@ -7350,7 +7408,7 @@ module Aws::Lambda
7350
7408
  #
7351
7409
  # resp.function_name #=> String
7352
7410
  # resp.function_arn #=> String
7353
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
7411
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
7354
7412
  # resp.role #=> String
7355
7413
  # resp.handler #=> String
7356
7414
  # resp.code_size #=> Integer
@@ -7710,7 +7768,7 @@ module Aws::Lambda
7710
7768
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
7711
7769
  # },
7712
7770
  # },
7713
- # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13
7771
+ # 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, dotnet8, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x, python3.10, java17, ruby3.2, ruby3.3, python3.11, nodejs20.x, provided.al2023, python3.12, java21, python3.13, nodejs22.x
7714
7772
  # dead_letter_config: {
7715
7773
  # target_arn: "ResourceArn",
7716
7774
  # },
@@ -7749,7 +7807,7 @@ module Aws::Lambda
7749
7807
  #
7750
7808
  # resp.function_name #=> String
7751
7809
  # resp.function_arn #=> String
7752
- # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13"
7810
+ # 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", "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x", "python3.10", "java17", "ruby3.2", "ruby3.3", "python3.11", "nodejs20.x", "provided.al2023", "python3.12", "java21", "python3.13", "nodejs22.x"
7753
7811
  # resp.role #=> String
7754
7812
  # resp.handler #=> String
7755
7813
  # resp.code_size #=> Integer
@@ -7864,10 +7922,17 @@ module Aws::Lambda
7864
7922
  #
7865
7923
  # * **Queue** - The ARN of a standard SQS queue.
7866
7924
  #
7925
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
7926
+ #
7867
7927
  # * **Topic** - The ARN of a standard SNS topic.
7868
7928
  #
7869
7929
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
7870
7930
  #
7931
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
7932
+ # records of successful invocations, use another destination type.
7933
+ #
7934
+ # </note>
7935
+ #
7871
7936
  # @return [Types::FunctionEventInvokeConfig] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7872
7937
  #
7873
7938
  # * {Types::FunctionEventInvokeConfig#last_modified #last_modified} => Time
@@ -8071,7 +8136,7 @@ module Aws::Lambda
8071
8136
  tracer: tracer
8072
8137
  )
8073
8138
  context[:gem_name] = 'aws-sdk-lambda'
8074
- context[:gem_version] = '1.141.0'
8139
+ context[:gem_version] = '1.143.0'
8075
8140
  Seahorse::Client::Request.new(handlers, context)
8076
8141
  end
8077
8142
 
@@ -103,6 +103,9 @@ module Aws::Lambda
103
103
  EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
104
104
  EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
105
105
  EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
106
+ EventSourceMappingMetric = Shapes::StringShape.new(name: 'EventSourceMappingMetric')
107
+ EventSourceMappingMetricList = Shapes::ListShape.new(name: 'EventSourceMappingMetricList')
108
+ EventSourceMappingMetricsConfig = Shapes::StructureShape.new(name: 'EventSourceMappingMetricsConfig')
106
109
  EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
107
110
  EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
108
111
  EventSourceToken = Shapes::StringShape.new(name: 'EventSourceToken')
@@ -533,6 +536,7 @@ module Aws::Lambda
533
536
  CreateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
534
537
  CreateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
535
538
  CreateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
539
+ CreateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
536
540
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
537
541
 
538
542
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -711,8 +715,14 @@ module Aws::Lambda
711
715
  EventSourceMappingConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
712
716
  EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
713
717
  EventSourceMappingConfiguration.add_member(:event_source_mapping_arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, location_name: "EventSourceMappingArn"))
718
+ EventSourceMappingConfiguration.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
714
719
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
715
720
 
721
+ EventSourceMappingMetricList.member = Shapes::ShapeRef.new(shape: EventSourceMappingMetric)
722
+
723
+ EventSourceMappingMetricsConfig.add_member(:metrics, Shapes::ShapeRef.new(shape: EventSourceMappingMetricList, location_name: "Metrics"))
724
+ EventSourceMappingMetricsConfig.struct_class = Types::EventSourceMappingMetricsConfig
725
+
716
726
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
717
727
 
718
728
  FileSystemConfig.add_member(:arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "Arn"))
@@ -1480,6 +1490,7 @@ module Aws::Lambda
1480
1490
  UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
1481
1491
  UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
1482
1492
  UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
1493
+ UpdateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
1483
1494
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
1484
1495
 
1485
1496
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -863,6 +863,15 @@ module Aws::Lambda
863
863
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
864
864
  # @return [String]
865
865
  #
866
+ # @!attribute [rw] metrics_config
867
+ # The metrics configuration for your event source. For more
868
+ # information, see [Event source mapping metrics][1].
869
+ #
870
+ #
871
+ #
872
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
873
+ # @return [Types::EventSourceMappingMetricsConfig]
874
+ #
866
875
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
867
876
  #
868
877
  class CreateEventSourceMappingRequest < Struct.new(
@@ -890,7 +899,8 @@ module Aws::Lambda
890
899
  :self_managed_kafka_event_source_config,
891
900
  :scaling_config,
892
901
  :document_db_event_source_config,
893
- :kms_key_arn)
902
+ :kms_key_arn,
903
+ :metrics_config)
894
904
  SENSITIVE = []
895
905
  include Aws::Structure
896
906
  end
@@ -2047,6 +2057,15 @@ module Aws::Lambda
2047
2057
  # The Amazon Resource Name (ARN) of the event source mapping.
2048
2058
  # @return [String]
2049
2059
  #
2060
+ # @!attribute [rw] metrics_config
2061
+ # The metrics configuration for your event source. For more
2062
+ # information, see [Event source mapping metrics][1].
2063
+ #
2064
+ #
2065
+ #
2066
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
2067
+ # @return [Types::EventSourceMappingMetricsConfig]
2068
+ #
2050
2069
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
2051
2070
  #
2052
2071
  class EventSourceMappingConfiguration < Struct.new(
@@ -2079,7 +2098,32 @@ module Aws::Lambda
2079
2098
  :document_db_event_source_config,
2080
2099
  :kms_key_arn,
2081
2100
  :filter_criteria_error,
2082
- :event_source_mapping_arn)
2101
+ :event_source_mapping_arn,
2102
+ :metrics_config)
2103
+ SENSITIVE = []
2104
+ include Aws::Structure
2105
+ end
2106
+
2107
+ # The metrics configuration for your event source. Use this
2108
+ # configuration object to define which metrics you want your event
2109
+ # source mapping to produce.
2110
+ #
2111
+ # @!attribute [rw] metrics
2112
+ # The metrics you want your event source mapping to produce. Include
2113
+ # `EventCount` to receive event source mapping metrics related to the
2114
+ # number of events processed by your event source mapping. For more
2115
+ # information about these metrics, see [ Event source mapping
2116
+ # metrics][1].
2117
+ #
2118
+ #
2119
+ #
2120
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
2121
+ # @return [Array<String>]
2122
+ #
2123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingMetricsConfig AWS API Documentation
2124
+ #
2125
+ class EventSourceMappingMetricsConfig < Struct.new(
2126
+ :metrics)
2083
2127
  SENSITIVE = []
2084
2128
  include Aws::Structure
2085
2129
  end
@@ -2566,9 +2610,16 @@ module Aws::Lambda
2566
2610
  #
2567
2611
  # * **Queue** - The ARN of a standard SQS queue.
2568
2612
  #
2613
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
2614
+ #
2569
2615
  # * **Topic** - The ARN of a standard SNS topic.
2570
2616
  #
2571
2617
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
2618
+ #
2619
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
2620
+ # records of successful invocations, use another destination type.
2621
+ #
2622
+ # </note>
2572
2623
  # @return [Types::DestinationConfig]
2573
2624
  #
2574
2625
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionEventInvokeConfig AWS API Documentation
@@ -4874,24 +4925,23 @@ module Aws::Lambda
4874
4925
  # @!attribute [rw] destination
4875
4926
  # The Amazon Resource Name (ARN) of the destination resource.
4876
4927
  #
4877
- # To retain records of [asynchronous invocations][1], you can
4878
- # configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
4879
- # Amazon EventBridge event bus as the destination.
4928
+ # To retain records of unsuccessful [asynchronous invocations][1], you
4929
+ # can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
4930
+ # bucket, Lambda function, or Amazon EventBridge event bus as the
4931
+ # destination.
4880
4932
  #
4881
- # To retain records of failed invocations from [Kinesis and DynamoDB
4882
- # event sources][2], you can configure an Amazon SNS topic or Amazon
4883
- # SQS queue as the destination.
4884
- #
4885
- # To retain records of failed invocations from [self-managed Kafka][3]
4886
- # or [Amazon MSK][4], you can configure an Amazon SNS topic, Amazon
4887
- # SQS queue, or Amazon S3 bucket as the destination.
4933
+ # To retain records of failed invocations from [Kinesis][2],
4934
+ # [DynamoDB][3], [self-managed Kafka][4] or [Amazon MSK][5], you can
4935
+ # configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket
4936
+ # as the destination.
4888
4937
  #
4889
4938
  #
4890
4939
  #
4891
4940
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
4892
- # [2]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations
4893
- # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
4894
- # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
4941
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
4942
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
4943
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
4944
+ # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
4895
4945
  # @return [String]
4896
4946
  #
4897
4947
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OnFailure AWS API Documentation
@@ -4904,6 +4954,14 @@ module Aws::Lambda
4904
4954
 
4905
4955
  # A destination for events that were processed successfully.
4906
4956
  #
4957
+ # To retain records of successful [asynchronous invocations][1], you can
4958
+ # configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
4959
+ # Amazon EventBridge event bus as the destination.
4960
+ #
4961
+ #
4962
+ #
4963
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
4964
+ #
4907
4965
  # @!attribute [rw] destination
4908
4966
  # The Amazon Resource Name (ARN) of the destination resource.
4909
4967
  # @return [String]
@@ -5346,9 +5404,16 @@ module Aws::Lambda
5346
5404
  #
5347
5405
  # * **Queue** - The ARN of a standard SQS queue.
5348
5406
  #
5407
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
5408
+ #
5349
5409
  # * **Topic** - The ARN of a standard SNS topic.
5350
5410
  #
5351
5411
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
5412
+ #
5413
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
5414
+ # records of successful invocations, use another destination type.
5415
+ #
5416
+ # </note>
5352
5417
  # @return [Types::DestinationConfig]
5353
5418
  #
5354
5419
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionEventInvokeConfigRequest AWS API Documentation
@@ -6494,6 +6559,15 @@ module Aws::Lambda
6494
6559
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
6495
6560
  # @return [String]
6496
6561
  #
6562
+ # @!attribute [rw] metrics_config
6563
+ # The metrics configuration for your event source. For more
6564
+ # information, see [Event source mapping metrics][1].
6565
+ #
6566
+ #
6567
+ #
6568
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
6569
+ # @return [Types::EventSourceMappingMetricsConfig]
6570
+ #
6497
6571
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
6498
6572
  #
6499
6573
  class UpdateEventSourceMappingRequest < Struct.new(
@@ -6513,7 +6587,8 @@ module Aws::Lambda
6513
6587
  :function_response_types,
6514
6588
  :scaling_config,
6515
6589
  :document_db_event_source_config,
6516
- :kms_key_arn)
6590
+ :kms_key_arn,
6591
+ :metrics_config)
6517
6592
  SENSITIVE = []
6518
6593
  include Aws::Structure
6519
6594
  end
@@ -6877,9 +6952,16 @@ module Aws::Lambda
6877
6952
  #
6878
6953
  # * **Queue** - The ARN of a standard SQS queue.
6879
6954
  #
6955
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
6956
+ #
6880
6957
  # * **Topic** - The ARN of a standard SNS topic.
6881
6958
  #
6882
6959
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
6960
+ #
6961
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
6962
+ # records of successful invocations, use another destination type.
6963
+ #
6964
+ # </note>
6883
6965
  # @return [Types::DestinationConfig]
6884
6966
  #
6885
6967
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionEventInvokeConfigRequest AWS API Documentation
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.141.0'
59
+ GEM_VERSION = '1.143.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -185,6 +185,7 @@ module Aws
185
185
  def kms_key_arn: () -> ::String
186
186
  def filter_criteria_error: () -> Types::FilterCriteriaError
187
187
  def event_source_mapping_arn: () -> ::String
188
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
188
189
  end
189
190
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method
190
191
  def create_event_source_mapping: (
@@ -242,7 +243,10 @@ module Aws
242
243
  collection_name: ::String?,
243
244
  full_document: ("UpdateLookup" | "Default")?
244
245
  },
245
- ?kms_key_arn: ::String
246
+ ?kms_key_arn: ::String,
247
+ ?metrics_config: {
248
+ metrics: Array[("EventCount")]?
249
+ }
246
250
  ) -> _CreateEventSourceMappingResponseSuccess
247
251
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSourceMappingResponseSuccess
248
252
 
@@ -250,7 +254,7 @@ module Aws
250
254
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
251
255
  def function_name: () -> ::String
252
256
  def function_arn: () -> ::String
253
- def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
257
+ def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
254
258
  def role: () -> ::String
255
259
  def handler: () -> ::String
256
260
  def code_size: () -> ::Integer
@@ -288,7 +292,7 @@ module Aws
288
292
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_function-instance_method
289
293
  def create_function: (
290
294
  function_name: ::String,
291
- ?runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13"),
295
+ ?runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x"),
292
296
  role: ::String,
293
297
  ?handler: ::String,
294
298
  code: {
@@ -423,6 +427,7 @@ module Aws
423
427
  def kms_key_arn: () -> ::String
424
428
  def filter_criteria_error: () -> Types::FilterCriteriaError
425
429
  def event_source_mapping_arn: () -> ::String
430
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
426
431
  end
427
432
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method
428
433
  def delete_event_source_mapping: (
@@ -545,6 +550,7 @@ module Aws
545
550
  def kms_key_arn: () -> ::String
546
551
  def filter_criteria_error: () -> Types::FilterCriteriaError
547
552
  def event_source_mapping_arn: () -> ::String
553
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
548
554
  end
549
555
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
550
556
  def get_event_source_mapping: (
@@ -592,7 +598,7 @@ module Aws
592
598
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
593
599
  def function_name: () -> ::String
594
600
  def function_arn: () -> ::String
595
- def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
601
+ def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
596
602
  def role: () -> ::String
597
603
  def handler: () -> ::String
598
604
  def code_size: () -> ::Integer
@@ -684,7 +690,7 @@ module Aws
684
690
  def description: () -> ::String
685
691
  def created_date: () -> ::Time
686
692
  def version: () -> ::Integer
687
- def compatible_runtimes: () -> ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
693
+ def compatible_runtimes: () -> ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
688
694
  def license_info: () -> ::String
689
695
  def compatible_architectures: () -> ::Array[("x86_64" | "arm64")]
690
696
  end
@@ -703,7 +709,7 @@ module Aws
703
709
  def description: () -> ::String
704
710
  def created_date: () -> ::Time
705
711
  def version: () -> ::Integer
706
- def compatible_runtimes: () -> ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
712
+ def compatible_runtimes: () -> ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
707
713
  def license_info: () -> ::String
708
714
  def compatible_architectures: () -> ::Array[("x86_64" | "arm64")]
709
715
  end
@@ -914,7 +920,7 @@ module Aws
914
920
  end
915
921
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_layer_versions-instance_method
916
922
  def list_layer_versions: (
917
- ?compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13"),
923
+ ?compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x"),
918
924
  layer_name: ::String,
919
925
  ?marker: ::String,
920
926
  ?max_items: ::Integer,
@@ -929,7 +935,7 @@ module Aws
929
935
  end
930
936
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#list_layers-instance_method
931
937
  def list_layers: (
932
- ?compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13"),
938
+ ?compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x"),
933
939
  ?marker: ::String,
934
940
  ?max_items: ::Integer,
935
941
  ?compatible_architecture: ("x86_64" | "arm64")
@@ -980,7 +986,7 @@ module Aws
980
986
  def description: () -> ::String
981
987
  def created_date: () -> ::Time
982
988
  def version: () -> ::Integer
983
- def compatible_runtimes: () -> ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
989
+ def compatible_runtimes: () -> ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
984
990
  def license_info: () -> ::String
985
991
  def compatible_architectures: () -> ::Array[("x86_64" | "arm64")]
986
992
  end
@@ -994,7 +1000,7 @@ module Aws
994
1000
  s3_object_version: ::String?,
995
1001
  zip_file: ::String?
996
1002
  },
997
- ?compatible_runtimes: Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")],
1003
+ ?compatible_runtimes: Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")],
998
1004
  ?license_info: ::String,
999
1005
  ?compatible_architectures: Array[("x86_64" | "arm64")]
1000
1006
  ) -> _PublishLayerVersionResponseSuccess
@@ -1004,7 +1010,7 @@ module Aws
1004
1010
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
1005
1011
  def function_name: () -> ::String
1006
1012
  def function_arn: () -> ::String
1007
- def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
1013
+ def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
1008
1014
  def role: () -> ::String
1009
1015
  def handler: () -> ::String
1010
1016
  def code_size: () -> ::Integer
@@ -1242,6 +1248,7 @@ module Aws
1242
1248
  def kms_key_arn: () -> ::String
1243
1249
  def filter_criteria_error: () -> Types::FilterCriteriaError
1244
1250
  def event_source_mapping_arn: () -> ::String
1251
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
1245
1252
  end
1246
1253
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
1247
1254
  def update_event_source_mapping: (
@@ -1285,7 +1292,10 @@ module Aws
1285
1292
  collection_name: ::String?,
1286
1293
  full_document: ("UpdateLookup" | "Default")?
1287
1294
  },
1288
- ?kms_key_arn: ::String
1295
+ ?kms_key_arn: ::String,
1296
+ ?metrics_config: {
1297
+ metrics: Array[("EventCount")]?
1298
+ }
1289
1299
  ) -> _UpdateEventSourceMappingResponseSuccess
1290
1300
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourceMappingResponseSuccess
1291
1301
 
@@ -1293,7 +1303,7 @@ module Aws
1293
1303
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
1294
1304
  def function_name: () -> ::String
1295
1305
  def function_arn: () -> ::String
1296
- def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
1306
+ def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
1297
1307
  def role: () -> ::String
1298
1308
  def handler: () -> ::String
1299
1309
  def code_size: () -> ::Integer
@@ -1348,7 +1358,7 @@ module Aws
1348
1358
  include ::Seahorse::Client::_ResponseSuccess[Types::FunctionConfiguration]
1349
1359
  def function_name: () -> ::String
1350
1360
  def function_arn: () -> ::String
1351
- def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
1361
+ def runtime: () -> ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
1352
1362
  def role: () -> ::String
1353
1363
  def handler: () -> ::String
1354
1364
  def code_size: () -> ::Integer
@@ -1399,7 +1409,7 @@ module Aws
1399
1409
  ?environment: {
1400
1410
  variables: Hash[::String, ::String]?
1401
1411
  },
1402
- ?runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13"),
1412
+ ?runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x"),
1403
1413
  ?dead_letter_config: {
1404
1414
  target_arn: ::String?
1405
1415
  },
data/sig/types.rbs CHANGED
@@ -181,12 +181,13 @@ module Aws::Lambda
181
181
  attr_accessor scaling_config: Types::ScalingConfig
182
182
  attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
183
183
  attr_accessor kms_key_arn: ::String
184
+ attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
184
185
  SENSITIVE: []
185
186
  end
186
187
 
187
188
  class CreateFunctionRequest
188
189
  attr_accessor function_name: ::String
189
- attr_accessor runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
190
+ attr_accessor runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
190
191
  attr_accessor role: ::String
191
192
  attr_accessor handler: ::String
192
193
  attr_accessor code: Types::FunctionCode
@@ -410,6 +411,12 @@ module Aws::Lambda
410
411
  attr_accessor kms_key_arn: ::String
411
412
  attr_accessor filter_criteria_error: Types::FilterCriteriaError
412
413
  attr_accessor event_source_mapping_arn: ::String
414
+ attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class EventSourceMappingMetricsConfig
419
+ attr_accessor metrics: ::Array[("EventCount")]
413
420
  SENSITIVE: []
414
421
  end
415
422
 
@@ -457,7 +464,7 @@ module Aws::Lambda
457
464
  class FunctionConfiguration
458
465
  attr_accessor function_name: ::String
459
466
  attr_accessor function_arn: ::String
460
- attr_accessor runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
467
+ attr_accessor runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
461
468
  attr_accessor role: ::String
462
469
  attr_accessor handler: ::String
463
470
  attr_accessor code_size: ::Integer
@@ -649,7 +656,7 @@ module Aws::Lambda
649
656
  attr_accessor description: ::String
650
657
  attr_accessor created_date: ::Time
651
658
  attr_accessor version: ::Integer
652
- attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
659
+ attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
653
660
  attr_accessor license_info: ::String
654
661
  attr_accessor compatible_architectures: ::Array[("x86_64" | "arm64")]
655
662
  SENSITIVE: []
@@ -873,7 +880,7 @@ module Aws::Lambda
873
880
  attr_accessor version: ::Integer
874
881
  attr_accessor description: ::String
875
882
  attr_accessor created_date: ::Time
876
- attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
883
+ attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
877
884
  attr_accessor license_info: ::String
878
885
  attr_accessor compatible_architectures: ::Array[("x86_64" | "arm64")]
879
886
  SENSITIVE: []
@@ -980,7 +987,7 @@ module Aws::Lambda
980
987
  end
981
988
 
982
989
  class ListLayerVersionsRequest
983
- attr_accessor compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
990
+ attr_accessor compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
984
991
  attr_accessor layer_name: ::String
985
992
  attr_accessor marker: ::String
986
993
  attr_accessor max_items: ::Integer
@@ -995,7 +1002,7 @@ module Aws::Lambda
995
1002
  end
996
1003
 
997
1004
  class ListLayersRequest
998
- attr_accessor compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
1005
+ attr_accessor compatible_runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
999
1006
  attr_accessor marker: ::String
1000
1007
  attr_accessor max_items: ::Integer
1001
1008
  attr_accessor compatible_architecture: ("x86_64" | "arm64")
@@ -1095,7 +1102,7 @@ module Aws::Lambda
1095
1102
  attr_accessor layer_name: ::String
1096
1103
  attr_accessor description: ::String
1097
1104
  attr_accessor content: Types::LayerVersionContentInput
1098
- attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
1105
+ attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
1099
1106
  attr_accessor license_info: ::String
1100
1107
  attr_accessor compatible_architectures: ::Array[("x86_64" | "arm64")]
1101
1108
  SENSITIVE: []
@@ -1108,7 +1115,7 @@ module Aws::Lambda
1108
1115
  attr_accessor description: ::String
1109
1116
  attr_accessor created_date: ::Time
1110
1117
  attr_accessor version: ::Integer
1111
- attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")]
1118
+ attr_accessor compatible_runtimes: ::Array[("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")]
1112
1119
  attr_accessor license_info: ::String
1113
1120
  attr_accessor compatible_architectures: ::Array[("x86_64" | "arm64")]
1114
1121
  SENSITIVE: []
@@ -1401,6 +1408,7 @@ module Aws::Lambda
1401
1408
  attr_accessor scaling_config: Types::ScalingConfig
1402
1409
  attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
1403
1410
  attr_accessor kms_key_arn: ::String
1411
+ attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
1404
1412
  SENSITIVE: []
1405
1413
  end
1406
1414
 
@@ -1428,7 +1436,7 @@ module Aws::Lambda
1428
1436
  attr_accessor memory_size: ::Integer
1429
1437
  attr_accessor vpc_config: Types::VpcConfig
1430
1438
  attr_accessor environment: Types::Environment
1431
- attr_accessor runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13")
1439
+ attr_accessor runtime: ("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" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x")
1432
1440
  attr_accessor dead_letter_config: Types::DeadLetterConfig
1433
1441
  attr_accessor kms_key_arn: ::String
1434
1442
  attr_accessor tracing_config: Types::TracingConfig
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.141.0
4
+ version: 1.143.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: 2024-11-11 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core