aws-sdk-lambda 1.143.0 → 1.145.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: 560998fe09783ada881622dda45306f716d982a61e7dbfbe9eeb9120badc0c0b
4
- data.tar.gz: 0c29b26e537b8e1287a429c772d31fea0d3ef3b366f15b93d45732288660b50c
3
+ metadata.gz: 0a7549f0a365e6e39d54eb82f3351200600be99a098957fc14e21cd260426d27
4
+ data.tar.gz: be16955c483c4e97ac085b83310e8dd888782a172efd329bc4e30edc8f1e244f
5
5
  SHA512:
6
- metadata.gz: 1f407b1c438fbee329e6acf9e992c99341e4bb0ccf332aaf5f9131c5e3e13a00b2676096018eb839a4d576aec720b01cf6a1767178159204aaa352282be738aa
7
- data.tar.gz: ec05e7dea8aab3b2aa5c52525c49ec3d32c2f3b53904a59c233929e662ed4c66f4681ab96ec31b85875a25acab095088b46abafa3efbb5e402311cd781d6098a
6
+ metadata.gz: d72e1e3d0c4fcf545dad8586b0805c5b0e94206ade2716ea7551f900445e0dcb1b6bf8e7ab47316a726e785fef3efea2de4bc300cd82c7180717e3769a127f3f
7
+ data.tar.gz: 303f89f62e6b87e563fac5b81177aaeaa8193caf14c7ff21a46115aeba494797e512587010ad57cf0e846608f2fb97757bba3a82dd11f3b29ea35433d2d7a827
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.145.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.144.0 (2024-11-22)
10
+ ------------------
11
+
12
+ * Feature - Add ProvisionedPollerConfig to Lambda event-source-mapping API.
13
+
4
14
  1.143.0 (2024-11-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.143.0
1
+ 1.145.0
@@ -268,11 +268,34 @@ module Aws::Lambda
268
268
  # Used when loading credentials from the shared credentials file
269
269
  # at HOME/.aws/credentials. When not specified, 'default' is used.
270
270
  #
271
+ # @option options [String] :request_checksum_calculation ("when_supported")
272
+ # Determines when a checksum will be calculated for request payloads. Values are:
273
+ #
274
+ # * `when_supported` - (default) When set, a checksum will be
275
+ # calculated for all request payloads of operations modeled with the
276
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
277
+ # `requestAlgorithmMember` is modeled.
278
+ # * `when_required` - When set, a checksum will only be calculated for
279
+ # request payloads of operations modeled with the `httpChecksum` trait where
280
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
281
+ # is modeled and supplied.
282
+ #
271
283
  # @option options [Integer] :request_min_compression_size_bytes (10240)
272
284
  # The minimum size in bytes that triggers compression for request
273
285
  # bodies. The value must be non-negative integer value between 0
274
286
  # and 10485780 bytes inclusive.
275
287
  #
288
+ # @option options [String] :response_checksum_validation ("when_supported")
289
+ # Determines when checksum validation will be performed on response payloads. Values are:
290
+ #
291
+ # * `when_supported` - (default) When set, checksum validation is performed on all
292
+ # response payloads of operations modeled with the `httpChecksum` trait where
293
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
294
+ # are supported.
295
+ # * `when_required` - When set, checksum validation is not performed on
296
+ # response payloads of operations unless the checksum algorithm is supported and
297
+ # the `requestValidationModeMember` member is set to `ENABLED`.
298
+ #
276
299
  # @option options [Proc] :retry_backoff
277
300
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
278
301
  # This option is only used in the `legacy` retry mode.
@@ -1157,6 +1180,15 @@ module Aws::Lambda
1157
1180
  #
1158
1181
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
1159
1182
  #
1183
+ # @option params [Types::ProvisionedPollerConfig] :provisioned_poller_config
1184
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
1185
+ # configuration for the event source. For more information, see
1186
+ # [Provisioned Mode][1].
1187
+ #
1188
+ #
1189
+ #
1190
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
1191
+ #
1160
1192
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1161
1193
  #
1162
1194
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -1190,6 +1222,7 @@ module Aws::Lambda
1190
1222
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
1191
1223
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
1192
1224
  # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
1225
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
1193
1226
  #
1194
1227
  #
1195
1228
  # @example Example: To create a mapping between an event source and an AWS Lambda function
@@ -1278,6 +1311,10 @@ module Aws::Lambda
1278
1311
  # metrics_config: {
1279
1312
  # metrics: ["EventCount"], # accepts EventCount
1280
1313
  # },
1314
+ # provisioned_poller_config: {
1315
+ # minimum_pollers: 1,
1316
+ # maximum_pollers: 1,
1317
+ # },
1281
1318
  # })
1282
1319
  #
1283
1320
  # @example Response structure
@@ -1326,6 +1363,8 @@ module Aws::Lambda
1326
1363
  # resp.event_source_mapping_arn #=> String
1327
1364
  # resp.metrics_config.metrics #=> Array
1328
1365
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
1366
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
1367
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
1329
1368
  #
1330
1369
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
1331
1370
  #
@@ -2086,6 +2125,7 @@ module Aws::Lambda
2086
2125
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
2087
2126
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
2088
2127
  # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
2128
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
2089
2129
  #
2090
2130
  #
2091
2131
  # @example Example: To delete a Lambda function event source mapping
@@ -2159,6 +2199,8 @@ module Aws::Lambda
2159
2199
  # resp.event_source_mapping_arn #=> String
2160
2200
  # resp.metrics_config.metrics #=> Array
2161
2201
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2202
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
2203
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
2162
2204
  #
2163
2205
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
2164
2206
  #
@@ -2696,6 +2738,7 @@ module Aws::Lambda
2696
2738
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
2697
2739
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
2698
2740
  # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
2741
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
2699
2742
  #
2700
2743
  #
2701
2744
  # @example Example: To get a Lambda function's event source mapping
@@ -2776,6 +2819,8 @@ module Aws::Lambda
2776
2819
  # resp.event_source_mapping_arn #=> String
2777
2820
  # resp.metrics_config.metrics #=> Array
2778
2821
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
2822
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
2823
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
2779
2824
  #
2780
2825
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
2781
2826
  #
@@ -4622,6 +4667,8 @@ module Aws::Lambda
4622
4667
  # resp.event_source_mappings[0].event_source_mapping_arn #=> String
4623
4668
  # resp.event_source_mappings[0].metrics_config.metrics #=> Array
4624
4669
  # resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount"
4670
+ # resp.event_source_mappings[0].provisioned_poller_config.minimum_pollers #=> Integer
4671
+ # resp.event_source_mappings[0].provisioned_poller_config.maximum_pollers #=> Integer
4625
4672
  #
4626
4673
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
4627
4674
  #
@@ -7060,6 +7107,15 @@ module Aws::Lambda
7060
7107
  #
7061
7108
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
7062
7109
  #
7110
+ # @option params [Types::ProvisionedPollerConfig] :provisioned_poller_config
7111
+ # (Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode
7112
+ # configuration for the event source. For more information, see
7113
+ # [Provisioned Mode][1].
7114
+ #
7115
+ #
7116
+ #
7117
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
7118
+ #
7063
7119
  # @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7064
7120
  #
7065
7121
  # * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
@@ -7093,6 +7149,7 @@ module Aws::Lambda
7093
7149
  # * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
7094
7150
  # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
7095
7151
  # * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
7152
+ # * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
7096
7153
  #
7097
7154
  #
7098
7155
  # @example Example: To update a Lambda function event source mapping
@@ -7165,6 +7222,10 @@ module Aws::Lambda
7165
7222
  # metrics_config: {
7166
7223
  # metrics: ["EventCount"], # accepts EventCount
7167
7224
  # },
7225
+ # provisioned_poller_config: {
7226
+ # minimum_pollers: 1,
7227
+ # maximum_pollers: 1,
7228
+ # },
7168
7229
  # })
7169
7230
  #
7170
7231
  # @example Response structure
@@ -7213,6 +7274,8 @@ module Aws::Lambda
7213
7274
  # resp.event_source_mapping_arn #=> String
7214
7275
  # resp.metrics_config.metrics #=> Array
7215
7276
  # resp.metrics_config.metrics[0] #=> String, one of "EventCount"
7277
+ # resp.provisioned_poller_config.minimum_pollers #=> Integer
7278
+ # resp.provisioned_poller_config.maximum_pollers #=> Integer
7216
7279
  #
7217
7280
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
7218
7281
  #
@@ -8136,7 +8199,7 @@ module Aws::Lambda
8136
8199
  tracer: tracer
8137
8200
  )
8138
8201
  context[:gem_name] = 'aws-sdk-lambda'
8139
- context[:gem_version] = '1.143.0'
8202
+ context[:gem_version] = '1.145.0'
8140
8203
  Seahorse::Client::Request.new(handlers, context)
8141
8204
  end
8142
8205
 
@@ -255,11 +255,13 @@ module Aws::Lambda
255
255
  MaximumBatchingWindowInSeconds = Shapes::IntegerShape.new(name: 'MaximumBatchingWindowInSeconds')
256
256
  MaximumConcurrency = Shapes::IntegerShape.new(name: 'MaximumConcurrency')
257
257
  MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
258
+ MaximumNumberOfPollers = Shapes::IntegerShape.new(name: 'MaximumNumberOfPollers')
258
259
  MaximumRecordAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumRecordAgeInSeconds')
259
260
  MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
260
261
  MaximumRetryAttemptsEventSourceMapping = Shapes::IntegerShape.new(name: 'MaximumRetryAttemptsEventSourceMapping')
261
262
  MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
262
263
  Method = Shapes::StringShape.new(name: 'Method')
264
+ MinimumNumberOfPollers = Shapes::IntegerShape.new(name: 'MinimumNumberOfPollers')
263
265
  NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
264
266
  NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
265
267
  NamespacedStatementId = Shapes::StringShape.new(name: 'NamespacedStatementId')
@@ -281,6 +283,7 @@ module Aws::Lambda
281
283
  ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
282
284
  ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
283
285
  ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
286
+ ProvisionedPollerConfig = Shapes::StructureShape.new(name: 'ProvisionedPollerConfig')
284
287
  PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
285
288
  PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
286
289
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
@@ -537,6 +540,7 @@ module Aws::Lambda
537
540
  CreateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
538
541
  CreateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
539
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"))
540
544
  CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
541
545
 
542
546
  CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
@@ -716,6 +720,7 @@ module Aws::Lambda
716
720
  EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
717
721
  EventSourceMappingConfiguration.add_member(:event_source_mapping_arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, location_name: "EventSourceMappingArn"))
718
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"))
719
724
  EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
720
725
 
721
726
  EventSourceMappingMetricList.member = Shapes::ShapeRef.new(shape: EventSourceMappingMetric)
@@ -1250,6 +1255,10 @@ module Aws::Lambda
1250
1255
  ProvisionedConcurrencyConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1251
1256
  ProvisionedConcurrencyConfigNotFoundException.struct_class = Types::ProvisionedConcurrencyConfigNotFoundException
1252
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
+
1253
1262
  PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
1254
1263
  PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1255
1264
  PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
@@ -1491,6 +1500,7 @@ module Aws::Lambda
1491
1500
  UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
1492
1501
  UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
1493
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"))
1494
1504
  UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
1495
1505
 
1496
1506
  UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -872,6 +872,16 @@ module Aws::Lambda
872
872
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
873
873
  # @return [Types::EventSourceMappingMetricsConfig]
874
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
+ #
875
885
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
876
886
  #
877
887
  class CreateEventSourceMappingRequest < Struct.new(
@@ -900,7 +910,8 @@ module Aws::Lambda
900
910
  :scaling_config,
901
911
  :document_db_event_source_config,
902
912
  :kms_key_arn,
903
- :metrics_config)
913
+ :metrics_config,
914
+ :provisioned_poller_config)
904
915
  SENSITIVE = []
905
916
  include Aws::Structure
906
917
  end
@@ -2066,6 +2077,16 @@ module Aws::Lambda
2066
2077
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
2067
2078
  # @return [Types::EventSourceMappingMetricsConfig]
2068
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
+ #
2069
2090
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
2070
2091
  #
2071
2092
  class EventSourceMappingConfiguration < Struct.new(
@@ -2099,7 +2120,8 @@ module Aws::Lambda
2099
2120
  :kms_key_arn,
2100
2121
  :filter_criteria_error,
2101
2122
  :event_source_mapping_arn,
2102
- :metrics_config)
2123
+ :metrics_config,
2124
+ :provisioned_poller_config)
2103
2125
  SENSITIVE = []
2104
2126
  include Aws::Structure
2105
2127
  end
@@ -5093,6 +5115,34 @@ module Aws::Lambda
5093
5115
  include Aws::Structure
5094
5116
  end
5095
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
+
5096
5146
  # @!attribute [rw] layer_name
5097
5147
  # The name or Amazon Resource Name (ARN) of the layer.
5098
5148
  # @return [String]
@@ -6568,6 +6618,16 @@ module Aws::Lambda
6568
6618
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
6569
6619
  # @return [Types::EventSourceMappingMetricsConfig]
6570
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
+ #
6571
6631
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
6572
6632
  #
6573
6633
  class UpdateEventSourceMappingRequest < Struct.new(
@@ -6588,7 +6648,8 @@ module Aws::Lambda
6588
6648
  :scaling_config,
6589
6649
  :document_db_event_source_config,
6590
6650
  :kms_key_arn,
6591
- :metrics_config)
6651
+ :metrics_config,
6652
+ :provisioned_poller_config)
6592
6653
  SENSITIVE = []
6593
6654
  include Aws::Structure
6594
6655
  end
@@ -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.143.0'
59
+ GEM_VERSION = '1.145.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -42,7 +42,9 @@ module Aws
42
42
  ?max_attempts: Integer,
43
43
  ?output_event_stream_handler: Proc,
44
44
  ?profile: String,
45
+ ?request_checksum_calculation: String,
45
46
  ?request_min_compression_size_bytes: Integer,
47
+ ?response_checksum_validation: String,
46
48
  ?retry_backoff: Proc,
47
49
  ?retry_base_delay: Float,
48
50
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -186,6 +188,7 @@ module Aws
186
188
  def filter_criteria_error: () -> Types::FilterCriteriaError
187
189
  def event_source_mapping_arn: () -> ::String
188
190
  def metrics_config: () -> Types::EventSourceMappingMetricsConfig
191
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
189
192
  end
190
193
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method
191
194
  def create_event_source_mapping: (
@@ -246,6 +249,10 @@ module Aws
246
249
  ?kms_key_arn: ::String,
247
250
  ?metrics_config: {
248
251
  metrics: Array[("EventCount")]?
252
+ },
253
+ ?provisioned_poller_config: {
254
+ minimum_pollers: ::Integer?,
255
+ maximum_pollers: ::Integer?
249
256
  }
250
257
  ) -> _CreateEventSourceMappingResponseSuccess
251
258
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSourceMappingResponseSuccess
@@ -428,6 +435,7 @@ module Aws
428
435
  def filter_criteria_error: () -> Types::FilterCriteriaError
429
436
  def event_source_mapping_arn: () -> ::String
430
437
  def metrics_config: () -> Types::EventSourceMappingMetricsConfig
438
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
431
439
  end
432
440
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method
433
441
  def delete_event_source_mapping: (
@@ -551,6 +559,7 @@ module Aws
551
559
  def filter_criteria_error: () -> Types::FilterCriteriaError
552
560
  def event_source_mapping_arn: () -> ::String
553
561
  def metrics_config: () -> Types::EventSourceMappingMetricsConfig
562
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
554
563
  end
555
564
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
556
565
  def get_event_source_mapping: (
@@ -1249,6 +1258,7 @@ module Aws
1249
1258
  def filter_criteria_error: () -> Types::FilterCriteriaError
1250
1259
  def event_source_mapping_arn: () -> ::String
1251
1260
  def metrics_config: () -> Types::EventSourceMappingMetricsConfig
1261
+ def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
1252
1262
  end
1253
1263
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
1254
1264
  def update_event_source_mapping: (
@@ -1295,6 +1305,10 @@ module Aws
1295
1305
  ?kms_key_arn: ::String,
1296
1306
  ?metrics_config: {
1297
1307
  metrics: Array[("EventCount")]?
1308
+ },
1309
+ ?provisioned_poller_config: {
1310
+ minimum_pollers: ::Integer?,
1311
+ maximum_pollers: ::Integer?
1298
1312
  }
1299
1313
  ) -> _UpdateEventSourceMappingResponseSuccess
1300
1314
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourceMappingResponseSuccess
data/sig/resource.rbs CHANGED
@@ -42,7 +42,9 @@ module Aws
42
42
  ?max_attempts: Integer,
43
43
  ?output_event_stream_handler: Proc,
44
44
  ?profile: String,
45
+ ?request_checksum_calculation: String,
45
46
  ?request_min_compression_size_bytes: Integer,
47
+ ?response_checksum_validation: String,
46
48
  ?retry_backoff: Proc,
47
49
  ?retry_base_delay: Float,
48
50
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -182,6 +182,7 @@ module Aws::Lambda
182
182
  attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
183
183
  attr_accessor kms_key_arn: ::String
184
184
  attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
185
+ attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
185
186
  SENSITIVE: []
186
187
  end
187
188
 
@@ -412,6 +413,7 @@ module Aws::Lambda
412
413
  attr_accessor filter_criteria_error: Types::FilterCriteriaError
413
414
  attr_accessor event_source_mapping_arn: ::String
414
415
  attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
416
+ attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
415
417
  SENSITIVE: []
416
418
  end
417
419
 
@@ -1098,6 +1100,12 @@ module Aws::Lambda
1098
1100
  SENSITIVE: []
1099
1101
  end
1100
1102
 
1103
+ class ProvisionedPollerConfig
1104
+ attr_accessor minimum_pollers: ::Integer
1105
+ attr_accessor maximum_pollers: ::Integer
1106
+ SENSITIVE: []
1107
+ end
1108
+
1101
1109
  class PublishLayerVersionRequest
1102
1110
  attr_accessor layer_name: ::String
1103
1111
  attr_accessor description: ::String
@@ -1409,6 +1417,7 @@ module Aws::Lambda
1409
1417
  attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
1410
1418
  attr_accessor kms_key_arn: ::String
1411
1419
  attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
1420
+ attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
1412
1421
  SENSITIVE: []
1413
1422
  end
1414
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.143.0
4
+ version: 1.145.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-21 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement