aws-sdk-lambda 1.142.0 → 1.144.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: 5e5715c1a23a2275e2284d80df69dbd5134c1c43787243d1be6a00861f3dfc59
4
- data.tar.gz: 4a26a48397d4fae836d5c2c60cc29cdfba80797dd008f757d63dd54086a9150b
3
+ metadata.gz: af43a321dda93960e1202f144d5acd9ff2a7ce00ff61680f8e766668217064e9
4
+ data.tar.gz: 1b06f3d8de667625114b9879eb0629ab333a3f205f4020dbc31d49212bc5e03a
5
5
  SHA512:
6
- metadata.gz: b7f16c1a28de87d73db3a99834c0448830b4cdf5c4896d6683657ea15c7840ce7f4c052c89709c479adad6c1f4f3be40afe9b7a6eca5f24bc53c278b391e6dbe
7
- data.tar.gz: c8def99084787ab73125f343d086749343cca68f4d7b9bdca11eb7ced4879c5ec2f1157be77d4be4aa3f2cf834954b7a6c0a045903ff8a84e6aeabf34a8ba9ed
6
+ metadata.gz: 2733575fa2b72c58f4d5f873ff2610fd7fef9755414f787499bd584815f75aa29531312af3100ae02bf53d49a07fbacf7929cfb589747ce79572ee138babc2f6
7
+ data.tar.gz: d0764bb90eb667d365f458b932e63c701009f9db6d5329e624fff34763791ecb5cc9e188b04e9bbb0100952763de60efb25382675d36de551c3a816e61928153
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.144.0 (2024-11-22)
5
+ ------------------
6
+
7
+ * Feature - Add ProvisionedPollerConfig to Lambda event-source-mapping API.
8
+
9
+ 1.143.0 (2024-11-21)
10
+ ------------------
11
+
12
+ * Feature - Adds support for metrics for event source mappings for AWS Lambda
13
+
4
14
  1.142.0 (2024-11-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.142.0
1
+ 1.144.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,23 @@ 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
+ #
1160
+ # @option params [Types::ProvisionedPollerConfig] :provisioned_poller_config
1161
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
1162
+ # configuration for the event source. For more information, see
1163
+ # [Provisioned Mode][1].
1164
+ #
1165
+ #
1166
+ #
1167
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
1168
+ #
1147
1169
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1148
1170
  #
1149
1171
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -1176,6 +1198,8 @@ module Aws::Lambda
1176
1198
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
1177
1199
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
1178
1200
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
1201
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
1202
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
1179
1203
  #
1180
1204
  #
1181
1205
  # @example Example: To create a mapping between an event source and an AWS Lambda function
@@ -1261,6 +1285,13 @@ module Aws::Lambda
1261
1285
  # full_document: "UpdateLookup", # accepts UpdateLookup, Default
1262
1286
  # },
1263
1287
  # kms_key_arn: "KMSKeyArn",
1288
+ # metrics_config: {
1289
+ # metrics: ["EventCount"], # accepts EventCount
1290
+ # },
1291
+ # provisioned_poller_config: {
1292
+ # minimum_pollers: 1,
1293
+ # maximum_pollers: 1,
1294
+ # },
1264
1295
  # })
1265
1296
  #
1266
1297
  # @example Response structure
@@ -1307,6 +1338,10 @@ module Aws::Lambda
1307
1338
  # resp.filter_criteria_error.error_code #=> String
1308
1339
  # resp.filter_criteria_error.message #=> String
1309
1340
  # resp.event_source_mapping_arn #=> String
1341
+ # resp.metrics_config.metrics #=> Array
1342
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
1343
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
1344
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
1310
1345
  #
1311
1346
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
1312
1347
  #
@@ -2066,6 +2101,8 @@ module Aws::Lambda
2066
2101
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
2067
2102
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
2068
2103
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
2104
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
2105
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
2069
2106
  #
2070
2107
  #
2071
2108
  # @example Example: To delete a Lambda function event source mapping
@@ -2137,6 +2174,10 @@ module Aws::Lambda
2137
2174
  # resp.filter_criteria_error.error_code #=> String
2138
2175
  # resp.filter_criteria_error.message #=> String
2139
2176
  # resp.event_source_mapping_arn #=> String
2177
+ # resp.metrics_config.metrics #=> Array
2178
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2179
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
2180
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
2140
2181
  #
2141
2182
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
2142
2183
  #
@@ -2673,6 +2714,8 @@ module Aws::Lambda
2673
2714
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
2674
2715
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
2675
2716
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
2717
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
2718
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
2676
2719
  #
2677
2720
  #
2678
2721
  # @example Example: To get a Lambda function's event source mapping
@@ -2751,6 +2794,10 @@ module Aws::Lambda
2751
2794
  # resp.filter_criteria_error.error_code #=> String
2752
2795
  # resp.filter_criteria_error.message #=> String
2753
2796
  # resp.event_source_mapping_arn #=> String
2797
+ # resp.metrics_config.metrics #=> Array
2798
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2799
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
2800
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
2754
2801
  #
2755
2802
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2756
2803
  #
@@ -4595,6 +4642,10 @@ module Aws::Lambda
4595
4642
  # resp.event_source_mappings[0].filter_criteria_error.error_code #=> String
4596
4643
  # resp.event_source_mappings[0].filter_criteria_error.message #=> String
4597
4644
  # resp.event_source_mappings[0].event_source_mapping_arn #=> String
4645
+ # resp.event_source_mappings[0].metrics_config.metrics #=> Array
4646
+ # resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount"
4647
+ # resp.event_source_mappings[0].provisioned_poller_config.minimum_pollers #=> Integer
4648
+ # resp.event_source_mappings[0].provisioned_poller_config.maximum_pollers #=> Integer
4598
4649
  #
4599
4650
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
4600
4651
  #
@@ -6046,12 +6097,17 @@ module Aws::Lambda
6046
6097
  # retain discarded events, configure a dead-letter queue with
6047
6098
  # UpdateFunctionConfiguration.
6048
6099
  #
6049
- # To send an invocation record to a queue, topic, function, or event
6050
- # bus, specify a [destination][2]. You can configure separate
6100
+ # To send an invocation record to a queue, topic, S3 bucket, function,
6101
+ # or event bus, specify a [destination][2]. You can configure separate
6051
6102
  # destinations for successful invocations (on-success) and events that
6052
6103
  # fail all processing attempts (on-failure). You can configure
6053
6104
  # destinations in addition to or instead of a dead-letter queue.
6054
6105
  #
6106
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
6107
+ # records of successful invocations, use another destination type.
6108
+ #
6109
+ # </note>
6110
+ #
6055
6111
  #
6056
6112
  #
6057
6113
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
@@ -6095,10 +6151,17 @@ module Aws::Lambda
6095
6151
  #
6096
6152
  # * **Queue** - The ARN of a standard SQS queue.
6097
6153
  #
6154
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
6155
+ #
6098
6156
  # * **Topic** - The ARN of a standard SNS topic.
6099
6157
  #
6100
6158
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
6101
6159
  #
6160
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
6161
+ # records of successful invocations, use another destination type.
6162
+ #
6163
+ # </note>
6164
+ #
6102
6165
  # @return [Types::FunctionEventInvokeConfig] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6103
6166
  #
6104
6167
  # * {Types::FunctionEventInvokeConfig#last_modified #last_modified} => Time
@@ -6819,15 +6882,12 @@ module Aws::Lambda
6819
6882
  #
6820
6883
  # * [ Amazon DocumentDB][7]
6821
6884
  #
6822
- # The following error handling options are available only for stream
6823
- # sources (DynamoDB and Kinesis):
6885
+ # The following error handling options are available only for DynamoDB
6886
+ # and Kinesis event sources:
6824
6887
  #
6825
6888
  # * `BisectBatchOnFunctionError` – If the function returns an error,
6826
6889
  # split the batch in two and retry.
6827
6890
  #
6828
- # * `DestinationConfig` – Send discarded records to an Amazon SQS queue
6829
- # or Amazon SNS topic.
6830
- #
6831
6891
  # * `MaximumRecordAgeInSeconds` – Discard records older than the
6832
6892
  # specified age. The default value is infinite (-1). When set to
6833
6893
  # infinite (-1), failed records are retried until the record expires
@@ -6839,6 +6899,14 @@ module Aws::Lambda
6839
6899
  # * `ParallelizationFactor` – Process multiple batches from each shard
6840
6900
  # concurrently.
6841
6901
  #
6902
+ # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
6903
+ # Apache Kafka), the following option is also available:
6904
+ #
6905
+ # * `DestinationConfig` – Send discarded records to an Amazon SQS queue,
6906
+ # Amazon SNS topic, or Amazon S3 bucket.
6907
+ #
6908
+ # ^
6909
+ #
6842
6910
  # For information about which configuration parameters apply to each
6843
6911
  # event source, see the following topics.
6844
6912
  #
@@ -7008,6 +7076,23 @@ module Aws::Lambda
7008
7076
  #
7009
7077
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
7010
7078
  #
7079
+ # @option params [Types::EventSourceMappingMetricsConfig] :metrics_config
7080
+ # The metrics configuration for your event source. For more information,
7081
+ # see [Event source mapping metrics][1].
7082
+ #
7083
+ #
7084
+ #
7085
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
7086
+ #
7087
+ # @option params [Types::ProvisionedPollerConfig] :provisioned_poller_config
7088
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
7089
+ # configuration for the event source. For more information, see
7090
+ # [Provisioned Mode][1].
7091
+ #
7092
+ #
7093
+ #
7094
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
7095
+ #
7011
7096
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7012
7097
  #
7013
7098
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -7040,6 +7125,8 @@ module Aws::Lambda
7040
7125
  # * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
7041
7126
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
7042
7127
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
7128
+ # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
7129
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
7043
7130
  #
7044
7131
  #
7045
7132
  # @example Example: To update a Lambda function event source mapping
@@ -7109,6 +7196,13 @@ module Aws::Lambda
7109
7196
  # full_document: "UpdateLookup", # accepts UpdateLookup, Default
7110
7197
  # },
7111
7198
  # kms_key_arn: "KMSKeyArn",
7199
+ # metrics_config: {
7200
+ # metrics: ["EventCount"], # accepts EventCount
7201
+ # },
7202
+ # provisioned_poller_config: {
7203
+ # minimum_pollers: 1,
7204
+ # maximum_pollers: 1,
7205
+ # },
7112
7206
  # })
7113
7207
  #
7114
7208
  # @example Response structure
@@ -7155,6 +7249,10 @@ module Aws::Lambda
7155
7249
  # resp.filter_criteria_error.error_code #=> String
7156
7250
  # resp.filter_criteria_error.message #=> String
7157
7251
  # resp.event_source_mapping_arn #=> String
7252
+ # resp.metrics_config.metrics #=> Array
7253
+ # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
7254
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
7255
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
7158
7256
  #
7159
7257
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
7160
7258
  #
@@ -7864,10 +7962,17 @@ module Aws::Lambda
7864
7962
  #
7865
7963
  # * **Queue** - The ARN of a standard SQS queue.
7866
7964
  #
7965
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
7966
+ #
7867
7967
  # * **Topic** - The ARN of a standard SNS topic.
7868
7968
  #
7869
7969
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
7870
7970
  #
7971
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
7972
+ # records of successful invocations, use another destination type.
7973
+ #
7974
+ # </note>
7975
+ #
7871
7976
  # @return [Types::FunctionEventInvokeConfig] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7872
7977
  #
7873
7978
  # * {Types::FunctionEventInvokeConfig#last_modified #last_modified} => Time
@@ -8071,7 +8176,7 @@ module Aws::Lambda
8071
8176
  tracer: tracer
8072
8177
  )
8073
8178
  context[:gem_name] = 'aws-sdk-lambda'
8074
- context[:gem_version] = '1.142.0'
8179
+ context[:gem_version] = '1.144.0'
8075
8180
  Seahorse::Client::Request.new(handlers, context)
8076
8181
  end
8077
8182
 
@@ -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')
@@ -252,11 +255,13 @@ module Aws::Lambda
252
255
  MaximumBatchingWindowInSeconds = Shapes::IntegerShape.new(name: 'MaximumBatchingWindowInSeconds')
253
256
  MaximumConcurrency = Shapes::IntegerShape.new(name: 'MaximumConcurrency')
254
257
  MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
258
+ MaximumNumberOfPollers = Shapes::IntegerShape.new(name: 'MaximumNumberOfPollers')
255
259
  MaximumRecordAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumRecordAgeInSeconds')
256
260
  MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
257
261
  MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
258
262
  MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
259
263
  Method = Shapes::StringShape.new(name: 'Method')
264
+ MinimumNumberOfPollers = Shapes::IntegerShape.new(name: 'MinimumNumberOfPollers')
260
265
  NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
261
266
  NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
262
267
  NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
@@ -278,6 +283,7 @@ module Aws::Lambda
278
283
  ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
279
284
  ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
280
285
  ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
286
+ ProvisionedPollerConfig = Shapes::StructureShape.new(name: 'ProvisionedPollerConfig')
281
287
  PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
282
288
  PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
283
289
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
@@ -533,6 +539,8 @@ module Aws::Lambda
533
539
  CreateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
534
540
  CreateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
535
541
  CreateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
542
+ CreateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
543
+ CreateEventSourceMappingRequest.add_member(:provisioned_poller_config, Shapes::ShapeRef.new(shape: ProvisionedPollerConfig, location_name: "ProvisionedPollerConfig"))
536
544
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
537
545
 
538
546
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -711,8 +719,15 @@ module Aws::Lambda
711
719
  EventSourceMappingConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
712
720
  EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
713
721
  EventSourceMappingConfiguration.add_member(:event_source_mapping_arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, location_name: "EventSourceMappingArn"))
722
+ EventSourceMappingConfiguration.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
723
+ EventSourceMappingConfiguration.add_member(:provisioned_poller_config, Shapes::ShapeRef.new(shape: ProvisionedPollerConfig, location_name: "ProvisionedPollerConfig"))
714
724
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
715
725
 
726
+ EventSourceMappingMetricList.member = Shapes::ShapeRef.new(shape: EventSourceMappingMetric)
727
+
728
+ EventSourceMappingMetricsConfig.add_member(:metrics, Shapes::ShapeRef.new(shape: EventSourceMappingMetricList, location_name: "Metrics"))
729
+ EventSourceMappingMetricsConfig.struct_class = Types::EventSourceMappingMetricsConfig
730
+
716
731
  EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
717
732
 
718
733
  FileSystemConfig.add_member(:arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "Arn"))
@@ -1240,6 +1255,10 @@ module Aws::Lambda
1240
1255
  ProvisionedConcurrencyConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1241
1256
  ProvisionedConcurrencyConfigNotFoundException.struct_class = Types::ProvisionedConcurrencyConfigNotFoundException
1242
1257
 
1258
+ ProvisionedPollerConfig.add_member(:minimum_pollers, Shapes::ShapeRef.new(shape: MinimumNumberOfPollers, location_name: "MinimumPollers"))
1259
+ ProvisionedPollerConfig.add_member(:maximum_pollers, Shapes::ShapeRef.new(shape: MaximumNumberOfPollers, location_name: "MaximumPollers"))
1260
+ ProvisionedPollerConfig.struct_class = Types::ProvisionedPollerConfig
1261
+
1243
1262
  PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1244
1263
  PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1245
1264
  PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
@@ -1480,6 +1499,8 @@ module Aws::Lambda
1480
1499
  UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
1481
1500
  UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
1482
1501
  UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
1502
+ UpdateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
1503
+ UpdateEventSourceMappingRequest.add_member(:provisioned_poller_config, Shapes::ShapeRef.new(shape: ProvisionedPollerConfig, location_name: "ProvisionedPollerConfig"))
1483
1504
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
1484
1505
 
1485
1506
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -863,6 +863,25 @@ 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
+ #
875
+ # @!attribute [rw] provisioned_poller_config
876
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
877
+ # configuration for the event source. For more information, see
878
+ # [Provisioned Mode][1].
879
+ #
880
+ #
881
+ #
882
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
883
+ # @return [Types::ProvisionedPollerConfig]
884
+ #
866
885
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
867
886
  #
868
887
  class CreateEventSourceMappingRequest < Struct.new(
@@ -890,7 +909,9 @@ module Aws::Lambda
890
909
  :self_managed_kafka_event_source_config,
891
910
  :scaling_config,
892
911
  :document_db_event_source_config,
893
- :kms_key_arn)
912
+ :kms_key_arn,
913
+ :metrics_config,
914
+ :provisioned_poller_config)
894
915
  SENSITIVE = []
895
916
  include Aws::Structure
896
917
  end
@@ -2047,6 +2068,25 @@ module Aws::Lambda
2047
2068
  # The Amazon Resource Name (ARN) of the event source mapping.
2048
2069
  # @return [String]
2049
2070
  #
2071
+ # @!attribute [rw] metrics_config
2072
+ # The metrics configuration for your event source. For more
2073
+ # information, see [Event source mapping metrics][1].
2074
+ #
2075
+ #
2076
+ #
2077
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
2078
+ # @return [Types::EventSourceMappingMetricsConfig]
2079
+ #
2080
+ # @!attribute [rw] provisioned_poller_config
2081
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
2082
+ # configuration for the event source. For more information, see
2083
+ # [Provisioned Mode][1].
2084
+ #
2085
+ #
2086
+ #
2087
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
2088
+ # @return [Types::ProvisionedPollerConfig]
2089
+ #
2050
2090
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
2051
2091
  #
2052
2092
  class EventSourceMappingConfiguration < Struct.new(
@@ -2079,7 +2119,33 @@ module Aws::Lambda
2079
2119
  :document_db_event_source_config,
2080
2120
  :kms_key_arn,
2081
2121
  :filter_criteria_error,
2082
- :event_source_mapping_arn)
2122
+ :event_source_mapping_arn,
2123
+ :metrics_config,
2124
+ :provisioned_poller_config)
2125
+ SENSITIVE = []
2126
+ include Aws::Structure
2127
+ end
2128
+
2129
+ # The metrics configuration for your event source. Use this
2130
+ # configuration object to define which metrics you want your event
2131
+ # source mapping to produce.
2132
+ #
2133
+ # @!attribute [rw] metrics
2134
+ # The metrics you want your event source mapping to produce. Include
2135
+ # `EventCount` to receive event source mapping metrics related to the
2136
+ # number of events processed by your event source mapping. For more
2137
+ # information about these metrics, see [ Event source mapping
2138
+ # metrics][1].
2139
+ #
2140
+ #
2141
+ #
2142
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
2143
+ # @return [Array<String>]
2144
+ #
2145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingMetricsConfig AWS API Documentation
2146
+ #
2147
+ class EventSourceMappingMetricsConfig < Struct.new(
2148
+ :metrics)
2083
2149
  SENSITIVE = []
2084
2150
  include Aws::Structure
2085
2151
  end
@@ -2566,9 +2632,16 @@ module Aws::Lambda
2566
2632
  #
2567
2633
  # * **Queue** - The ARN of a standard SQS queue.
2568
2634
  #
2635
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
2636
+ #
2569
2637
  # * **Topic** - The ARN of a standard SNS topic.
2570
2638
  #
2571
2639
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
2640
+ #
2641
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
2642
+ # records of successful invocations, use another destination type.
2643
+ #
2644
+ # </note>
2572
2645
  # @return [Types::DestinationConfig]
2573
2646
  #
2574
2647
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionEventInvokeConfig AWS API Documentation
@@ -4874,24 +4947,23 @@ module Aws::Lambda
4874
4947
  # @!attribute [rw] destination
4875
4948
  # The Amazon Resource Name (ARN) of the destination resource.
4876
4949
  #
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.
4950
+ # To retain records of unsuccessful [asynchronous invocations][1], you
4951
+ # can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
4952
+ # bucket, Lambda function, or Amazon EventBridge event bus as the
4953
+ # destination.
4880
4954
  #
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.
4955
+ # To retain records of failed invocations from [Kinesis][2],
4956
+ # [DynamoDB][3], [self-managed Kafka][4] or [Amazon MSK][5], you can
4957
+ # configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket
4958
+ # as the destination.
4888
4959
  #
4889
4960
  #
4890
4961
  #
4891
4962
  # [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
4963
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
4964
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
4965
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
4966
+ # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
4895
4967
  # @return [String]
4896
4968
  #
4897
4969
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/OnFailure AWS API Documentation
@@ -4904,6 +4976,14 @@ module Aws::Lambda
4904
4976
 
4905
4977
  # A destination for events that were processed successfully.
4906
4978
  #
4979
+ # To retain records of successful [asynchronous invocations][1], you can
4980
+ # configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
4981
+ # Amazon EventBridge event bus as the destination.
4982
+ #
4983
+ #
4984
+ #
4985
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
4986
+ #
4907
4987
  # @!attribute [rw] destination
4908
4988
  # The Amazon Resource Name (ARN) of the destination resource.
4909
4989
  # @return [String]
@@ -5035,6 +5115,34 @@ module Aws::Lambda
5035
5115
  include Aws::Structure
5036
5116
  end
5037
5117
 
5118
+ # The [ Provisioned Mode][1] configuration for the event source. Use
5119
+ # Provisioned Mode to customize the minimum and maximum number of event
5120
+ # pollers for your event source. An event poller is a compute unit that
5121
+ # provides approximately 5 MBps of throughput.
5122
+ #
5123
+ #
5124
+ #
5125
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
5126
+ #
5127
+ # @!attribute [rw] minimum_pollers
5128
+ # The minimum number of event pollers this event source can scale down
5129
+ # to.
5130
+ # @return [Integer]
5131
+ #
5132
+ # @!attribute [rw] maximum_pollers
5133
+ # The maximum number of event pollers this event source can scale up
5134
+ # to.
5135
+ # @return [Integer]
5136
+ #
5137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ProvisionedPollerConfig AWS API Documentation
5138
+ #
5139
+ class ProvisionedPollerConfig < Struct.new(
5140
+ :minimum_pollers,
5141
+ :maximum_pollers)
5142
+ SENSITIVE = []
5143
+ include Aws::Structure
5144
+ end
5145
+
5038
5146
  # @!attribute [rw] layer_name
5039
5147
  # The name or Amazon Resource Name (ARN) of the layer.
5040
5148
  # @return [String]
@@ -5346,9 +5454,16 @@ module Aws::Lambda
5346
5454
  #
5347
5455
  # * **Queue** - The ARN of a standard SQS queue.
5348
5456
  #
5457
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
5458
+ #
5349
5459
  # * **Topic** - The ARN of a standard SNS topic.
5350
5460
  #
5351
5461
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
5462
+ #
5463
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
5464
+ # records of successful invocations, use another destination type.
5465
+ #
5466
+ # </note>
5352
5467
  # @return [Types::DestinationConfig]
5353
5468
  #
5354
5469
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionEventInvokeConfigRequest AWS API Documentation
@@ -6494,6 +6609,25 @@ module Aws::Lambda
6494
6609
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
6495
6610
  # @return [String]
6496
6611
  #
6612
+ # @!attribute [rw] metrics_config
6613
+ # The metrics configuration for your event source. For more
6614
+ # information, see [Event source mapping metrics][1].
6615
+ #
6616
+ #
6617
+ #
6618
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
6619
+ # @return [Types::EventSourceMappingMetricsConfig]
6620
+ #
6621
+ # @!attribute [rw] provisioned_poller_config
6622
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
6623
+ # configuration for the event source. For more information, see
6624
+ # [Provisioned Mode][1].
6625
+ #
6626
+ #
6627
+ #
6628
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
6629
+ # @return [Types::ProvisionedPollerConfig]
6630
+ #
6497
6631
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
6498
6632
  #
6499
6633
  class UpdateEventSourceMappingRequest < Struct.new(
@@ -6513,7 +6647,9 @@ module Aws::Lambda
6513
6647
  :function_response_types,
6514
6648
  :scaling_config,
6515
6649
  :document_db_event_source_config,
6516
- :kms_key_arn)
6650
+ :kms_key_arn,
6651
+ :metrics_config,
6652
+ :provisioned_poller_config)
6517
6653
  SENSITIVE = []
6518
6654
  include Aws::Structure
6519
6655
  end
@@ -6877,9 +7013,16 @@ module Aws::Lambda
6877
7013
  #
6878
7014
  # * **Queue** - The ARN of a standard SQS queue.
6879
7015
  #
7016
+ # * **Bucket** - The ARN of an Amazon S3 bucket.
7017
+ #
6880
7018
  # * **Topic** - The ARN of a standard SNS topic.
6881
7019
  #
6882
7020
  # * **Event Bus** - The ARN of an Amazon EventBridge event bus.
7021
+ #
7022
+ # <note markdown="1"> S3 buckets are supported only for on-failure destinations. To retain
7023
+ # records of successful invocations, use another destination type.
7024
+ #
7025
+ # </note>
6883
7026
  # @return [Types::DestinationConfig]
6884
7027
  #
6885
7028
  # @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.142.0'
59
+ GEM_VERSION = '1.144.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -185,6 +185,8 @@ 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
189
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
188
190
  end
189
191
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method
190
192
  def create_event_source_mapping: (
@@ -242,7 +244,14 @@ module Aws
242
244
  collection_name: ::String?,
243
245
  full_document: ("UpdateLookup" | "Default")?
244
246
  },
245
- ?kms_key_arn: ::String
247
+ ?kms_key_arn: ::String,
248
+ ?metrics_config: {
249
+ metrics: Array[("EventCount")]?
250
+ },
251
+ ?provisioned_poller_config: {
252
+ minimum_pollers: ::Integer?,
253
+ maximum_pollers: ::Integer?
254
+ }
246
255
  ) -> _CreateEventSourceMappingResponseSuccess
247
256
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSourceMappingResponseSuccess
248
257
 
@@ -423,6 +432,8 @@ module Aws
423
432
  def kms_key_arn: () -> ::String
424
433
  def filter_criteria_error: () -> Types::FilterCriteriaError
425
434
  def event_source_mapping_arn: () -> ::String
435
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
436
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
426
437
  end
427
438
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method
428
439
  def delete_event_source_mapping: (
@@ -545,6 +556,8 @@ module Aws
545
556
  def kms_key_arn: () -> ::String
546
557
  def filter_criteria_error: () -> Types::FilterCriteriaError
547
558
  def event_source_mapping_arn: () -> ::String
559
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
560
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
548
561
  end
549
562
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
550
563
  def get_event_source_mapping: (
@@ -1242,6 +1255,8 @@ module Aws
1242
1255
  def kms_key_arn: () -> ::String
1243
1256
  def filter_criteria_error: () -> Types::FilterCriteriaError
1244
1257
  def event_source_mapping_arn: () -> ::String
1258
+ def metrics_config: () -> Types::EventSourceMappingMetricsConfig
1259
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
1245
1260
  end
1246
1261
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
1247
1262
  def update_event_source_mapping: (
@@ -1285,7 +1300,14 @@ module Aws
1285
1300
  collection_name: ::String?,
1286
1301
  full_document: ("UpdateLookup" | "Default")?
1287
1302
  },
1288
- ?kms_key_arn: ::String
1303
+ ?kms_key_arn: ::String,
1304
+ ?metrics_config: {
1305
+ metrics: Array[("EventCount")]?
1306
+ },
1307
+ ?provisioned_poller_config: {
1308
+ minimum_pollers: ::Integer?,
1309
+ maximum_pollers: ::Integer?
1310
+ }
1289
1311
  ) -> _UpdateEventSourceMappingResponseSuccess
1290
1312
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourceMappingResponseSuccess
1291
1313
 
data/sig/types.rbs CHANGED
@@ -181,6 +181,8 @@ 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
185
+ attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
184
186
  SENSITIVE: []
185
187
  end
186
188
 
@@ -410,6 +412,13 @@ module Aws::Lambda
410
412
  attr_accessor kms_key_arn: ::String
411
413
  attr_accessor filter_criteria_error: Types::FilterCriteriaError
412
414
  attr_accessor event_source_mapping_arn: ::String
415
+ attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
416
+ attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class EventSourceMappingMetricsConfig
421
+ attr_accessor metrics: ::Array[("EventCount")]
413
422
  SENSITIVE: []
414
423
  end
415
424
 
@@ -1091,6 +1100,12 @@ module Aws::Lambda
1091
1100
  SENSITIVE: []
1092
1101
  end
1093
1102
 
1103
+ class ProvisionedPollerConfig
1104
+ attr_accessor minimum_pollers: ::Integer
1105
+ attr_accessor maximum_pollers: ::Integer
1106
+ SENSITIVE: []
1107
+ end
1108
+
1094
1109
  class PublishLayerVersionRequest
1095
1110
  attr_accessor layer_name: ::String
1096
1111
  attr_accessor description: ::String
@@ -1401,6 +1416,8 @@ module Aws::Lambda
1401
1416
  attr_accessor scaling_config: Types::ScalingConfig
1402
1417
  attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
1403
1418
  attr_accessor kms_key_arn: ::String
1419
+ attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
1420
+ attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
1404
1421
  SENSITIVE: []
1405
1422
  end
1406
1423
 
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.142.0
4
+ version: 1.144.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-20 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core