aws-sdk-lambda 1.166.0 → 1.167.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd244c5f7d4d9f3133b524e4ca709dac95a10dde1e496f740a9f05e0115bd138
4
- data.tar.gz: 229ff9994ce7b816013ad34e50ea8fc1900be11604a5ef04b429aa1c78ffa08c
3
+ metadata.gz: 6c7ccb6d3dffb7d79b0da1b2bfd541e3faf7d752e4c360b026d48ec6b45bc621
4
+ data.tar.gz: 8d8e799cbe0e8573b9e134871803e201b367657cbc180911f64606f3f671dde7
5
5
  SHA512:
6
- metadata.gz: 649f9f46269681f716c6e31be1d8c79d963e4afda7e3e979e05e5ae408a24105feba41457d867568efed59455e68809d84b5d5be5fe4457b5b08db245b6d4d94
7
- data.tar.gz: fbbec93b193cd935ecd2a0bcb7566af4174685bd99b6d6bf05606617ca9c14ad8fb785973bb6c1fb17fdafb3d171124bb62ed403a486e30ba42915c2f623b097
6
+ metadata.gz: 5d76171b6760665b42c7b23464e599ac7c4573e90ff19df9998281e31382f45de9a356c21a509597822d41ac52b407c9923c9c59bf420bd1ba8086ad4e8cd32f
7
+ data.tar.gz: 6036fd3d096259cf9186074a7accff925b21e583057056fe48674d8f811d980e0c1e882e6c17483f67b72d185ae5e4b00118e49d7d8e5663e35b4314e350bbe0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.167.0 (2025-11-21)
5
+ ------------------
6
+
7
+ * Feature - Launching Enhanced Error Handling and ESM Grouping capabilities for Kafka ESMs
8
+
4
9
  1.166.0 (2025-11-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.166.0
1
+ 1.167.0
@@ -946,8 +946,8 @@ module Aws::Lambda
946
946
  #
947
947
  # * [ Amazon DocumentDB][7]
948
948
  #
949
- # The following error handling options are available only for DynamoDB
950
- # and Kinesis event sources:
949
+ # The following error handling options are available for stream sources
950
+ # (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):
951
951
  #
952
952
  # * `BisectBatchOnFunctionError` – If the function returns an error,
953
953
  # split the batch in two and retry.
@@ -960,15 +960,15 @@ module Aws::Lambda
960
960
  # of retries. The default value is infinite (-1). When set to infinite
961
961
  # (-1), failed records are retried until the record expires.
962
962
  #
963
- # * `ParallelizationFactor` – Process multiple batches from each shard
964
- # concurrently.
963
+ # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
964
+ # SNS topic, Kafka topic, or Amazon S3 bucket. For more information,
965
+ # see [Adding a destination][8].
965
966
  #
966
- # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
967
- # Apache Kafka), the following option is also available:
967
+ # The following option is available only for DynamoDB and Kinesis event
968
+ # sources:
968
969
  #
969
- # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
970
- # SNS topic, or Amazon S3 bucket. For more information, see [Adding a
971
- # destination][8].
970
+ # * `ParallelizationFactor` – Process multiple batches from each shard
971
+ # concurrently.
972
972
  #
973
973
  # ^
974
974
  #
@@ -1118,23 +1118,24 @@ module Aws::Lambda
1118
1118
  # start reading. `StartingPositionTimestamp` cannot be in the future.
1119
1119
  #
1120
1120
  # @option params [Types::DestinationConfig] :destination_config
1121
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A
1122
- # configuration object that specifies the destination of an event after
1123
- # Lambda processes it.
1121
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1122
+ # A configuration object that specifies the destination of an event
1123
+ # after Lambda processes it.
1124
1124
  #
1125
1125
  # @option params [Integer] :maximum_record_age_in_seconds
1126
- # (Kinesis and DynamoDB Streams only) Discard records older than the
1127
- # specified age. The default value is infinite (-1).
1126
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1127
+ # Discard records older than the specified age. The default value is
1128
+ # infinite (-1).
1128
1129
  #
1129
1130
  # @option params [Boolean] :bisect_batch_on_function_error
1130
- # (Kinesis and DynamoDB Streams only) If the function returns an error,
1131
- # split the batch in two and retry.
1131
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1132
+ # If the function returns an error, split the batch in two and retry.
1132
1133
  #
1133
1134
  # @option params [Integer] :maximum_retry_attempts
1134
- # (Kinesis and DynamoDB Streams only) Discard records after the
1135
- # specified number of retries. The default value is infinite (-1). When
1136
- # set to infinite (-1), failed records are retried until the record
1137
- # expires.
1135
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
1136
+ # Discard records after the specified number of retries. The default
1137
+ # value is infinite (-1). When set to infinite (-1), failed records are
1138
+ # retried until the record expires.
1138
1139
  #
1139
1140
  # @option params [Hash<String,String>] :tags
1140
1141
  # A list of tags to apply to the event source mapping.
@@ -1158,8 +1159,9 @@ module Aws::Lambda
1158
1159
  # The self-managed Apache Kafka cluster to receive records from.
1159
1160
  #
1160
1161
  # @option params [Array<String>] :function_response_types
1161
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response
1162
- # type enums applied to the event source mapping.
1162
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and
1163
+ # Amazon SQS) A list of current response type enums applied to the event
1164
+ # source mapping.
1163
1165
  #
1164
1166
  # @option params [Types::AmazonManagedKafkaEventSourceConfig] :amazon_managed_kafka_event_source_config
1165
1167
  # Specific configuration settings for an Amazon Managed Streaming for
@@ -1363,6 +1365,7 @@ module Aws::Lambda
1363
1365
  # provisioned_poller_config: {
1364
1366
  # minimum_pollers: 1,
1365
1367
  # maximum_pollers: 1,
1368
+ # poller_group_name: "ProvisionedPollerGroupName",
1366
1369
  # },
1367
1370
  # })
1368
1371
  #
@@ -1428,6 +1431,7 @@ module Aws::Lambda
1428
1431
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
1429
1432
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
1430
1433
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
1434
+ # resp.provisioned_poller_config.poller_group_name #=> String
1431
1435
  #
1432
1436
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
1433
1437
  #
@@ -2283,6 +2287,7 @@ module Aws::Lambda
2283
2287
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2284
2288
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
2285
2289
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
2290
+ # resp.provisioned_poller_config.poller_group_name #=> String
2286
2291
  #
2287
2292
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
2288
2293
  #
@@ -2922,6 +2927,7 @@ module Aws::Lambda
2922
2927
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2923
2928
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
2924
2929
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
2930
+ # resp.provisioned_poller_config.poller_group_name #=> String
2925
2931
  #
2926
2932
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2927
2933
  #
@@ -4815,6 +4821,7 @@ module Aws::Lambda
4815
4821
  # resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount"
4816
4822
  # resp.event_source_mappings[0].provisioned_poller_config.minimum_pollers #=> Integer
4817
4823
  # resp.event_source_mappings[0].provisioned_poller_config.maximum_pollers #=> Integer
4824
+ # resp.event_source_mappings[0].provisioned_poller_config.poller_group_name #=> String
4818
4825
  #
4819
4826
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
4820
4827
  #
@@ -7055,8 +7062,8 @@ module Aws::Lambda
7055
7062
  #
7056
7063
  # * [ Amazon DocumentDB][7]
7057
7064
  #
7058
- # The following error handling options are available only for DynamoDB
7059
- # and Kinesis event sources:
7065
+ # The following error handling options are available for stream sources
7066
+ # (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):
7060
7067
  #
7061
7068
  # * `BisectBatchOnFunctionError` – If the function returns an error,
7062
7069
  # split the batch in two and retry.
@@ -7069,15 +7076,15 @@ module Aws::Lambda
7069
7076
  # of retries. The default value is infinite (-1). When set to infinite
7070
7077
  # (-1), failed records are retried until the record expires.
7071
7078
  #
7072
- # * `ParallelizationFactor` – Process multiple batches from each shard
7073
- # concurrently.
7079
+ # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
7080
+ # SNS topic, Kafka topic, or Amazon S3 bucket. For more information,
7081
+ # see [Adding a destination][8].
7074
7082
  #
7075
- # For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed
7076
- # Apache Kafka), the following option is also available:
7083
+ # The following option is available only for DynamoDB and Kinesis event
7084
+ # sources:
7077
7085
  #
7078
- # * `OnFailure` – Send discarded records to an Amazon SQS queue, Amazon
7079
- # SNS topic, or Amazon S3 bucket. For more information, see [Adding a
7080
- # destination][8].
7086
+ # * `ParallelizationFactor` – Process multiple batches from each shard
7087
+ # concurrently.
7081
7088
  #
7082
7089
  # ^
7083
7090
  #
@@ -7194,23 +7201,24 @@ module Aws::Lambda
7194
7201
  # `MaximumBatchingWindowInSeconds` to at least 1.
7195
7202
  #
7196
7203
  # @option params [Types::DestinationConfig] :destination_config
7197
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A
7198
- # configuration object that specifies the destination of an event after
7199
- # Lambda processes it.
7204
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7205
+ # A configuration object that specifies the destination of an event
7206
+ # after Lambda processes it.
7200
7207
  #
7201
7208
  # @option params [Integer] :maximum_record_age_in_seconds
7202
- # (Kinesis and DynamoDB Streams only) Discard records older than the
7203
- # specified age. The default value is infinite (-1).
7209
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7210
+ # Discard records older than the specified age. The default value is
7211
+ # infinite (-1).
7204
7212
  #
7205
7213
  # @option params [Boolean] :bisect_batch_on_function_error
7206
- # (Kinesis and DynamoDB Streams only) If the function returns an error,
7207
- # split the batch in two and retry.
7214
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7215
+ # If the function returns an error, split the batch in two and retry.
7208
7216
  #
7209
7217
  # @option params [Integer] :maximum_retry_attempts
7210
- # (Kinesis and DynamoDB Streams only) Discard records after the
7211
- # specified number of retries. The default value is infinite (-1). When
7212
- # set to infinite (-1), failed records are retried until the record
7213
- # expires.
7218
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka)
7219
+ # Discard records after the specified number of retries. The default
7220
+ # value is infinite (-1). When set to infinite (-1), failed records are
7221
+ # retried until the record expires.
7214
7222
  #
7215
7223
  # @option params [Integer] :parallelization_factor
7216
7224
  # (Kinesis and DynamoDB Streams only) The number of batches to process
@@ -7226,8 +7234,9 @@ module Aws::Lambda
7226
7234
  # value of 0 seconds indicates no tumbling window.
7227
7235
  #
7228
7236
  # @option params [Array<String>] :function_response_types
7229
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response
7230
- # type enums applied to the event source mapping.
7237
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and
7238
+ # Amazon SQS) A list of current response type enums applied to the event
7239
+ # source mapping.
7231
7240
  #
7232
7241
  # @option params [Types::ScalingConfig] :scaling_config
7233
7242
  # (Amazon SQS only) The scaling configuration for the event source. For
@@ -7421,6 +7430,7 @@ module Aws::Lambda
7421
7430
  # provisioned_poller_config: {
7422
7431
  # minimum_pollers: 1,
7423
7432
  # maximum_pollers: 1,
7433
+ # poller_group_name: "ProvisionedPollerGroupName",
7424
7434
  # },
7425
7435
  # })
7426
7436
  #
@@ -7486,6 +7496,7 @@ module Aws::Lambda
7486
7496
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
7487
7497
  # resp.provisioned_poller_config.minimum_pollers #=> Integer
7488
7498
  # resp.provisioned_poller_config.maximum_pollers #=> Integer
7499
+ # resp.provisioned_poller_config.poller_group_name #=> String
7489
7500
  #
7490
7501
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
7491
7502
  #
@@ -8408,7 +8419,7 @@ module Aws::Lambda
8408
8419
  tracer: tracer
8409
8420
  )
8410
8421
  context[:gem_name] = 'aws-sdk-lambda'
8411
- context[:gem_version] = '1.166.0'
8422
+ context[:gem_version] = '1.167.0'
8412
8423
  Seahorse::Client::Request.new(handlers, context)
8413
8424
  end
8414
8425
 
@@ -292,6 +292,7 @@ module Aws::Lambda
292
292
  ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
293
293
  ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
294
294
  ProvisionedPollerConfig = Shapes::StructureShape.new(name: 'ProvisionedPollerConfig')
295
+ ProvisionedPollerGroupName = Shapes::StringShape.new(name: 'ProvisionedPollerGroupName')
295
296
  PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
296
297
  PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
297
298
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
@@ -1294,6 +1295,7 @@ module Aws::Lambda
1294
1295
 
1295
1296
  ProvisionedPollerConfig.add_member(:minimum_pollers, Shapes::ShapeRef.new(shape: MinimumNumberOfPollers, location_name: "MinimumPollers"))
1296
1297
  ProvisionedPollerConfig.add_member(:maximum_pollers, Shapes::ShapeRef.new(shape: MaximumNumberOfPollers, location_name: "MaximumPollers"))
1298
+ ProvisionedPollerConfig.add_member(:poller_group_name, Shapes::ShapeRef.new(shape: ProvisionedPollerGroupName, location_name: "PollerGroupName"))
1297
1299
  ProvisionedPollerConfig.struct_class = Types::ProvisionedPollerConfig
1298
1300
 
1299
1301
  PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
@@ -791,26 +791,28 @@ module Aws::Lambda
791
791
  # @return [Time]
792
792
  #
793
793
  # @!attribute [rw] destination_config
794
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
795
- # A configuration object that specifies the destination of an event
796
- # after Lambda processes it.
794
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
795
+ # Kafka) A configuration object that specifies the destination of an
796
+ # event after Lambda processes it.
797
797
  # @return [Types::DestinationConfig]
798
798
  #
799
799
  # @!attribute [rw] maximum_record_age_in_seconds
800
- # (Kinesis and DynamoDB Streams only) Discard records older than the
801
- # specified age. The default value is infinite (-1).
800
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
801
+ # Kafka) Discard records older than the specified age. The default
802
+ # value is infinite (-1).
802
803
  # @return [Integer]
803
804
  #
804
805
  # @!attribute [rw] bisect_batch_on_function_error
805
- # (Kinesis and DynamoDB Streams only) If the function returns an
806
- # error, split the batch in two and retry.
806
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
807
+ # Kafka) If the function returns an error, split the batch in two and
808
+ # retry.
807
809
  # @return [Boolean]
808
810
  #
809
811
  # @!attribute [rw] maximum_retry_attempts
810
- # (Kinesis and DynamoDB Streams only) Discard records after the
811
- # specified number of retries. The default value is infinite (-1).
812
- # When set to infinite (-1), failed records are retried until the
813
- # record expires.
812
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
813
+ # Kafka) Discard records after the specified number of retries. The
814
+ # default value is infinite (-1). When set to infinite (-1), failed
815
+ # records are retried until the record expires.
814
816
  # @return [Integer]
815
817
  #
816
818
  # @!attribute [rw] tags
@@ -841,8 +843,9 @@ module Aws::Lambda
841
843
  # @return [Types::SelfManagedEventSource]
842
844
  #
843
845
  # @!attribute [rw] function_response_types
844
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
845
- # response type enums applied to the event source mapping.
846
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
847
+ # and Amazon SQS) A list of current response type enums applied to the
848
+ # event source mapping.
846
849
  # @return [Array<String>]
847
850
  #
848
851
  # @!attribute [rw] amazon_managed_kafka_event_source_config
@@ -1989,8 +1992,8 @@ module Aws::Lambda
1989
1992
  #
1990
1993
  # @!attribute [rw] destination_config
1991
1994
  # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
1992
- # Kafka event sources only) A configuration object that specifies the
1993
- # destination of an event after Lambda processes it.
1995
+ # Kafka) A configuration object that specifies the destination of an
1996
+ # event after Lambda processes it.
1994
1997
  # @return [Types::DestinationConfig]
1995
1998
  #
1996
1999
  # @!attribute [rw] topics
@@ -2012,10 +2015,10 @@ module Aws::Lambda
2012
2015
  # @return [Types::SelfManagedEventSource]
2013
2016
  #
2014
2017
  # @!attribute [rw] maximum_record_age_in_seconds
2015
- # (Kinesis and DynamoDB Streams only) Discard records older than the
2016
- # specified age. The default value is -1, which sets the maximum age
2017
- # to infinite. When the value is set to infinite, Lambda never
2018
- # discards old records.
2018
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2019
+ # Kafka) Discard records older than the specified age. The default
2020
+ # value is -1, which sets the maximum age to infinite. When the value
2021
+ # is set to infinite, Lambda never discards old records.
2019
2022
  #
2020
2023
  # <note markdown="1"> The minimum valid value for maximum record age is 60s. Although
2021
2024
  # values less than 60 and greater than -1 fall within the parameter's
@@ -2025,16 +2028,17 @@ module Aws::Lambda
2025
2028
  # @return [Integer]
2026
2029
  #
2027
2030
  # @!attribute [rw] bisect_batch_on_function_error
2028
- # (Kinesis and DynamoDB Streams only) If the function returns an
2029
- # error, split the batch in two and retry. The default value is false.
2031
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2032
+ # Kafka) If the function returns an error, split the batch in two and
2033
+ # retry. The default value is false.
2030
2034
  # @return [Boolean]
2031
2035
  #
2032
2036
  # @!attribute [rw] maximum_retry_attempts
2033
- # (Kinesis and DynamoDB Streams only) Discard records after the
2034
- # specified number of retries. The default value is -1, which sets the
2035
- # maximum number of retries to infinite. When MaximumRetryAttempts is
2036
- # infinite, Lambda retries failed records until the record expires in
2037
- # the event source.
2037
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
2038
+ # Kafka) Discard records after the specified number of retries. The
2039
+ # default value is -1, which sets the maximum number of retries to
2040
+ # infinite. When MaximumRetryAttempts is infinite, Lambda retries
2041
+ # failed records until the record expires in the event source.
2038
2042
  # @return [Integer]
2039
2043
  #
2040
2044
  # @!attribute [rw] tumbling_window_in_seconds
@@ -2044,8 +2048,9 @@ module Aws::Lambda
2044
2048
  # @return [Integer]
2045
2049
  #
2046
2050
  # @!attribute [rw] function_response_types
2047
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
2048
- # response type enums applied to the event source mapping.
2051
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
2052
+ # and Amazon SQS) A list of current response type enums applied to the
2053
+ # event source mapping.
2049
2054
  # @return [Array<String>]
2050
2055
  #
2051
2056
  # @!attribute [rw] amazon_managed_kafka_event_source_config
@@ -5079,30 +5084,30 @@ module Aws::Lambda
5079
5084
  # @!attribute [rw] destination
5080
5085
  # The Amazon Resource Name (ARN) of the destination resource.
5081
5086
  #
5082
- # To retain records of unsuccessful [asynchronous invocations][1], you
5083
- # can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
5084
- # bucket, Lambda function, or Amazon EventBridge event bus as the
5085
- # destination.
5087
+ # To retain records of failed invocations from [Kinesis][1],
5088
+ # [DynamoDB][2], [self-managed Apache Kafka][3], or [Amazon MSK][3],
5089
+ # you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3
5090
+ # bucket, or Kafka topic as the destination.
5086
5091
  #
5087
5092
  # <note markdown="1"> Amazon SNS destinations have a message size limit of 256 KB. If the
5088
5093
  # combined size of the function request and response payload exceeds
5089
5094
  # the limit, Lambda will drop the payload when sending `OnFailure`
5090
5095
  # event to the destination. For details on this behavior, refer to
5091
- # [Retaining records of asynchronous invocations][2].
5096
+ # [Retaining records of asynchronous invocations][4].
5092
5097
  #
5093
5098
  # </note>
5094
5099
  #
5095
- # To retain records of failed invocations from [Kinesis][3],
5096
- # [DynamoDB][4], [self-managed Kafka][5] or [Amazon MSK][6], you can
5100
+ # To retain records of failed invocations from [Kinesis][1],
5101
+ # [DynamoDB][2], [self-managed Kafka][5] or [Amazon MSK][6], you can
5097
5102
  # configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket
5098
5103
  # as the destination.
5099
5104
  #
5100
5105
  #
5101
5106
  #
5102
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
5103
- # [2]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5104
- # [3]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
5105
- # [4]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
5107
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
5108
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
5109
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html
5110
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
5106
5111
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
5107
5112
  # [6]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
5108
5113
  # @return [String]
@@ -5296,11 +5301,21 @@ module Aws::Lambda
5296
5301
  # allowed is 1.
5297
5302
  # @return [Integer]
5298
5303
  #
5304
+ # @!attribute [rw] poller_group_name
5305
+ # (Amazon MSK and self-managed Apache Kafka) The name of the
5306
+ # provisioned poller group. Use this option to group multiple ESMs
5307
+ # within the VPC to share Event Poller Unit (EPU) capacity. This
5308
+ # option is used to optimize Provisioned mode costs for your ESMs. You
5309
+ # can group up to 100 ESMs per poller group and aggregate maximum
5310
+ # pollers across all ESMs in a group cannot exceed 2000.
5311
+ # @return [String]
5312
+ #
5299
5313
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ProvisionedPollerConfig AWS API Documentation
5300
5314
  #
5301
5315
  class ProvisionedPollerConfig < Struct.new(
5302
5316
  :minimum_pollers,
5303
- :maximum_pollers)
5317
+ :maximum_pollers,
5318
+ :poller_group_name)
5304
5319
  SENSITIVE = []
5305
5320
  include Aws::Structure
5306
5321
  end
@@ -6747,26 +6762,28 @@ module Aws::Lambda
6747
6762
  # @return [Integer]
6748
6763
  #
6749
6764
  # @!attribute [rw] destination_config
6750
- # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only)
6751
- # A configuration object that specifies the destination of an event
6752
- # after Lambda processes it.
6765
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6766
+ # Kafka) A configuration object that specifies the destination of an
6767
+ # event after Lambda processes it.
6753
6768
  # @return [Types::DestinationConfig]
6754
6769
  #
6755
6770
  # @!attribute [rw] maximum_record_age_in_seconds
6756
- # (Kinesis and DynamoDB Streams only) Discard records older than the
6757
- # specified age. The default value is infinite (-1).
6771
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6772
+ # Kafka) Discard records older than the specified age. The default
6773
+ # value is infinite (-1).
6758
6774
  # @return [Integer]
6759
6775
  #
6760
6776
  # @!attribute [rw] bisect_batch_on_function_error
6761
- # (Kinesis and DynamoDB Streams only) If the function returns an
6762
- # error, split the batch in two and retry.
6777
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6778
+ # Kafka) If the function returns an error, split the batch in two and
6779
+ # retry.
6763
6780
  # @return [Boolean]
6764
6781
  #
6765
6782
  # @!attribute [rw] maximum_retry_attempts
6766
- # (Kinesis and DynamoDB Streams only) Discard records after the
6767
- # specified number of retries. The default value is infinite (-1).
6768
- # When set to infinite (-1), failed records are retried until the
6769
- # record expires.
6783
+ # (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
6784
+ # Kafka) Discard records after the specified number of retries. The
6785
+ # default value is infinite (-1). When set to infinite (-1), failed
6786
+ # records are retried until the record expires.
6770
6787
  # @return [Integer]
6771
6788
  #
6772
6789
  # @!attribute [rw] parallelization_factor
@@ -6786,8 +6803,9 @@ module Aws::Lambda
6786
6803
  # @return [Integer]
6787
6804
  #
6788
6805
  # @!attribute [rw] function_response_types
6789
- # (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
6790
- # response type enums applied to the event source mapping.
6806
+ # (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka,
6807
+ # and Amazon SQS) A list of current response type enums applied to the
6808
+ # event source mapping.
6791
6809
  # @return [Array<String>]
6792
6810
  #
6793
6811
  # @!attribute [rw] scaling_config
@@ -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.166.0'
59
+ GEM_VERSION = '1.167.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -284,7 +284,8 @@ module Aws
284
284
  },
285
285
  ?provisioned_poller_config: {
286
286
  minimum_pollers: ::Integer?,
287
- maximum_pollers: ::Integer?
287
+ maximum_pollers: ::Integer?,
288
+ poller_group_name: ::String?
288
289
  }
289
290
  ) -> _CreateEventSourceMappingResponseSuccess
290
291
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSourceMappingResponseSuccess
@@ -1384,7 +1385,8 @@ module Aws
1384
1385
  },
1385
1386
  ?provisioned_poller_config: {
1386
1387
  minimum_pollers: ::Integer?,
1387
- maximum_pollers: ::Integer?
1388
+ maximum_pollers: ::Integer?,
1389
+ poller_group_name: ::String?
1388
1390
  }
1389
1391
  ) -> _UpdateEventSourceMappingResponseSuccess
1390
1392
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourceMappingResponseSuccess
data/sig/types.rbs CHANGED
@@ -1128,6 +1128,7 @@ module Aws::Lambda
1128
1128
  class ProvisionedPollerConfig
1129
1129
  attr_accessor minimum_pollers: ::Integer
1130
1130
  attr_accessor maximum_pollers: ::Integer
1131
+ attr_accessor poller_group_name: ::String
1131
1132
  SENSITIVE: []
1132
1133
  end
1133
1134
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.166.0
4
+ version: 1.167.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.234.0
21
+ version: 3.239.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.234.0
31
+ version: 3.239.1
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement