@aws-sdk/client-lambda 3.698.0 → 3.699.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.
package/dist-cjs/index.js CHANGED
@@ -1542,6 +1542,7 @@ var se_CreateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, co
1542
1542
  MaximumRetryAttempts: [],
1543
1543
  MetricsConfig: (_) => (0, import_smithy_client._json)(_),
1544
1544
  ParallelizationFactor: [],
1545
+ ProvisionedPollerConfig: (_) => (0, import_smithy_client._json)(_),
1545
1546
  Queues: (_) => (0, import_smithy_client._json)(_),
1546
1547
  ScalingConfig: (_) => (0, import_smithy_client._json)(_),
1547
1548
  SelfManagedEventSource: (_) => (0, import_smithy_client._json)(_),
@@ -2375,6 +2376,7 @@ var se_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, co
2375
2376
  MaximumRetryAttempts: [],
2376
2377
  MetricsConfig: (_) => (0, import_smithy_client._json)(_),
2377
2378
  ParallelizationFactor: [],
2379
+ ProvisionedPollerConfig: (_) => (0, import_smithy_client._json)(_),
2378
2380
  ScalingConfig: (_) => (0, import_smithy_client._json)(_),
2379
2381
  SourceAccessConfigurations: (_) => (0, import_smithy_client._json)(_),
2380
2382
  TumblingWindowInSeconds: []
@@ -2573,6 +2575,7 @@ var de_CreateEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, c
2573
2575
  MaximumRetryAttempts: import_smithy_client.expectInt32,
2574
2576
  MetricsConfig: import_smithy_client._json,
2575
2577
  ParallelizationFactor: import_smithy_client.expectInt32,
2578
+ ProvisionedPollerConfig: import_smithy_client._json,
2576
2579
  Queues: import_smithy_client._json,
2577
2580
  ScalingConfig: import_smithy_client._json,
2578
2581
  SelfManagedEventSource: import_smithy_client._json,
@@ -2705,6 +2708,7 @@ var de_DeleteEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, c
2705
2708
  MaximumRetryAttempts: import_smithy_client.expectInt32,
2706
2709
  MetricsConfig: import_smithy_client._json,
2707
2710
  ParallelizationFactor: import_smithy_client.expectInt32,
2711
+ ProvisionedPollerConfig: import_smithy_client._json,
2708
2712
  Queues: import_smithy_client._json,
2709
2713
  ScalingConfig: import_smithy_client._json,
2710
2714
  SelfManagedEventSource: import_smithy_client._json,
@@ -2867,6 +2871,7 @@ var de_GetEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, cont
2867
2871
  MaximumRetryAttempts: import_smithy_client.expectInt32,
2868
2872
  MetricsConfig: import_smithy_client._json,
2869
2873
  ParallelizationFactor: import_smithy_client.expectInt32,
2874
+ ProvisionedPollerConfig: import_smithy_client._json,
2870
2875
  Queues: import_smithy_client._json,
2871
2876
  ScalingConfig: import_smithy_client._json,
2872
2877
  SelfManagedEventSource: import_smithy_client._json,
@@ -3633,6 +3638,7 @@ var de_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, c
3633
3638
  MaximumRetryAttempts: import_smithy_client.expectInt32,
3634
3639
  MetricsConfig: import_smithy_client._json,
3635
3640
  ParallelizationFactor: import_smithy_client.expectInt32,
3641
+ ProvisionedPollerConfig: import_smithy_client._json,
3636
3642
  Queues: import_smithy_client._json,
3637
3643
  ScalingConfig: import_smithy_client._json,
3638
3644
  SelfManagedEventSource: import_smithy_client._json,
@@ -4561,6 +4567,7 @@ var de_EventSourceMappingConfiguration = /* @__PURE__ */ __name((output, context
4561
4567
  MaximumRetryAttempts: import_smithy_client.expectInt32,
4562
4568
  MetricsConfig: import_smithy_client._json,
4563
4569
  ParallelizationFactor: import_smithy_client.expectInt32,
4570
+ ProvisionedPollerConfig: import_smithy_client._json,
4564
4571
  Queues: import_smithy_client._json,
4565
4572
  ScalingConfig: import_smithy_client._json,
4566
4573
  SelfManagedEventSource: import_smithy_client._json,
@@ -106,6 +106,7 @@ export const se_CreateEventSourceMappingCommand = async (input, context) => {
106
106
  MaximumRetryAttempts: [],
107
107
  MetricsConfig: (_) => _json(_),
108
108
  ParallelizationFactor: [],
109
+ ProvisionedPollerConfig: (_) => _json(_),
109
110
  Queues: (_) => _json(_),
110
111
  ScalingConfig: (_) => _json(_),
111
112
  SelfManagedEventSource: (_) => _json(_),
@@ -911,6 +912,7 @@ export const se_UpdateEventSourceMappingCommand = async (input, context) => {
911
912
  MaximumRetryAttempts: [],
912
913
  MetricsConfig: (_) => _json(_),
913
914
  ParallelizationFactor: [],
915
+ ProvisionedPollerConfig: (_) => _json(_),
914
916
  ScalingConfig: (_) => _json(_),
915
917
  SourceAccessConfigurations: (_) => _json(_),
916
918
  TumblingWindowInSeconds: [],
@@ -1100,6 +1102,7 @@ export const de_CreateEventSourceMappingCommand = async (output, context) => {
1100
1102
  MaximumRetryAttempts: __expectInt32,
1101
1103
  MetricsConfig: _json,
1102
1104
  ParallelizationFactor: __expectInt32,
1105
+ ProvisionedPollerConfig: _json,
1103
1106
  Queues: _json,
1104
1107
  ScalingConfig: _json,
1105
1108
  SelfManagedEventSource: _json,
@@ -1232,6 +1235,7 @@ export const de_DeleteEventSourceMappingCommand = async (output, context) => {
1232
1235
  MaximumRetryAttempts: __expectInt32,
1233
1236
  MetricsConfig: _json,
1234
1237
  ParallelizationFactor: __expectInt32,
1238
+ ProvisionedPollerConfig: _json,
1235
1239
  Queues: _json,
1236
1240
  ScalingConfig: _json,
1237
1241
  SelfManagedEventSource: _json,
@@ -1394,6 +1398,7 @@ export const de_GetEventSourceMappingCommand = async (output, context) => {
1394
1398
  MaximumRetryAttempts: __expectInt32,
1395
1399
  MetricsConfig: _json,
1396
1400
  ParallelizationFactor: __expectInt32,
1401
+ ProvisionedPollerConfig: _json,
1397
1402
  Queues: _json,
1398
1403
  ScalingConfig: _json,
1399
1404
  SelfManagedEventSource: _json,
@@ -2160,6 +2165,7 @@ export const de_UpdateEventSourceMappingCommand = async (output, context) => {
2160
2165
  MaximumRetryAttempts: __expectInt32,
2161
2166
  MetricsConfig: _json,
2162
2167
  ParallelizationFactor: __expectInt32,
2168
+ ProvisionedPollerConfig: _json,
2163
2169
  Queues: _json,
2164
2170
  ScalingConfig: _json,
2165
2171
  SelfManagedEventSource: _json,
@@ -3090,6 +3096,7 @@ const de_EventSourceMappingConfiguration = (output, context) => {
3090
3096
  MaximumRetryAttempts: __expectInt32,
3091
3097
  MetricsConfig: _json,
3092
3098
  ParallelizationFactor: __expectInt32,
3099
+ ProvisionedPollerConfig: _json,
3093
3100
  Queues: _json,
3094
3101
  ScalingConfig: _json,
3095
3102
  SelfManagedEventSource: _json,
@@ -224,6 +224,10 @@ declare const CreateEventSourceMappingCommand_base: {
224
224
  * "EventCount",
225
225
  * ],
226
226
  * },
227
+ * ProvisionedPollerConfig: { // ProvisionedPollerConfig
228
+ * MinimumPollers: Number("int"),
229
+ * MaximumPollers: Number("int"),
230
+ * },
227
231
  * };
228
232
  * const command = new CreateEventSourceMappingCommand(input);
229
233
  * const response = await client.send(command);
@@ -306,6 +310,10 @@ declare const CreateEventSourceMappingCommand_base: {
306
310
  * // "EventCount",
307
311
  * // ],
308
312
  * // },
313
+ * // ProvisionedPollerConfig: { // ProvisionedPollerConfig
314
+ * // MinimumPollers: Number("int"),
315
+ * // MaximumPollers: Number("int"),
316
+ * // },
309
317
  * // };
310
318
  *
311
319
  * ```
@@ -121,6 +121,10 @@ declare const DeleteEventSourceMappingCommand_base: {
121
121
  * // "EventCount",
122
122
  * // ],
123
123
  * // },
124
+ * // ProvisionedPollerConfig: { // ProvisionedPollerConfig
125
+ * // MinimumPollers: Number("int"),
126
+ * // MaximumPollers: Number("int"),
127
+ * // },
124
128
  * // };
125
129
  *
126
130
  * ```
@@ -119,6 +119,10 @@ declare const GetEventSourceMappingCommand_base: {
119
119
  * // "EventCount",
120
120
  * // ],
121
121
  * // },
122
+ * // ProvisionedPollerConfig: { // ProvisionedPollerConfig
123
+ * // MinimumPollers: Number("int"),
124
+ * // MaximumPollers: Number("int"),
125
+ * // },
122
126
  * // };
123
127
  *
124
128
  * ```
@@ -125,6 +125,10 @@ declare const ListEventSourceMappingsCommand_base: {
125
125
  * // "EventCount",
126
126
  * // ],
127
127
  * // },
128
+ * // ProvisionedPollerConfig: { // ProvisionedPollerConfig
129
+ * // MinimumPollers: Number("int"),
130
+ * // MaximumPollers: Number("int"),
131
+ * // },
128
132
  * // },
129
133
  * // ],
130
134
  * // };
@@ -201,6 +201,10 @@ declare const UpdateEventSourceMappingCommand_base: {
201
201
  * "EventCount",
202
202
  * ],
203
203
  * },
204
+ * ProvisionedPollerConfig: { // ProvisionedPollerConfig
205
+ * MinimumPollers: Number("int"),
206
+ * MaximumPollers: Number("int"),
207
+ * },
204
208
  * };
205
209
  * const command = new UpdateEventSourceMappingCommand(input);
206
210
  * const response = await client.send(command);
@@ -283,6 +287,10 @@ declare const UpdateEventSourceMappingCommand_base: {
283
287
  * // "EventCount",
284
288
  * // ],
285
289
  * // },
290
+ * // ProvisionedPollerConfig: { // ProvisionedPollerConfig
291
+ * // MinimumPollers: Number("int"),
292
+ * // MaximumPollers: Number("int"),
293
+ * // },
286
294
  * // };
287
295
  *
288
296
  * ```
@@ -769,6 +769,24 @@ export interface EventSourceMappingMetricsConfig {
769
769
  */
770
770
  Metrics?: EventSourceMappingMetric[] | undefined;
771
771
  }
772
+ /**
773
+ * <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">
774
+ * Provisioned Mode</a> configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers
775
+ * for your event source. An event poller is a compute unit that provides approximately 5 MBps of throughput.</p>
776
+ * @public
777
+ */
778
+ export interface ProvisionedPollerConfig {
779
+ /**
780
+ * <p>The minimum number of event pollers this event source can scale down to.</p>
781
+ * @public
782
+ */
783
+ MinimumPollers?: number | undefined;
784
+ /**
785
+ * <p>The maximum number of event pollers this event source can scale up to.</p>
786
+ * @public
787
+ */
788
+ MaximumPollers?: number | undefined;
789
+ }
772
790
  /**
773
791
  * <p>(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.</p>
774
792
  * @public
@@ -1133,6 +1151,12 @@ export interface CreateEventSourceMappingRequest {
1133
1151
  * @public
1134
1152
  */
1135
1153
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
1154
+ /**
1155
+ * <p>(Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode configuration for the event source.
1156
+ * For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">Provisioned Mode</a>.</p>
1157
+ * @public
1158
+ */
1159
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
1136
1160
  }
1137
1161
  /**
1138
1162
  * <p>An object that contains details about an error related to filter criteria encryption.</p>
@@ -1334,6 +1358,12 @@ export interface EventSourceMappingConfiguration {
1334
1358
  * @public
1335
1359
  */
1336
1360
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
1361
+ /**
1362
+ * <p>(Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode configuration for the event source.
1363
+ * For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">Provisioned Mode</a>.</p>
1364
+ * @public
1365
+ */
1366
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
1337
1367
  }
1338
1368
  /**
1339
1369
  * <p>The specified code signing configuration does not exist.</p>
@@ -6202,6 +6232,12 @@ export interface UpdateEventSourceMappingRequest {
6202
6232
  * @public
6203
6233
  */
6204
6234
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
6235
+ /**
6236
+ * <p>(Amazon MSK and self-managed Apache Kafka only) The Provisioned Mode configuration for the event source.
6237
+ * For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode">Provisioned Mode</a>.</p>
6238
+ * @public
6239
+ */
6240
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
6205
6241
  }
6206
6242
  /**
6207
6243
  * @public
@@ -219,6 +219,10 @@ export type EventSourceMappingMetric =
219
219
  export interface EventSourceMappingMetricsConfig {
220
220
  Metrics?: EventSourceMappingMetric[] | undefined;
221
221
  }
222
+ export interface ProvisionedPollerConfig {
223
+ MinimumPollers?: number | undefined;
224
+ MaximumPollers?: number | undefined;
225
+ }
222
226
  export interface ScalingConfig {
223
227
  MaximumConcurrency?: number | undefined;
224
228
  }
@@ -286,6 +290,7 @@ export interface CreateEventSourceMappingRequest {
286
290
  DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
287
291
  KMSKeyArn?: string | undefined;
288
292
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
293
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
289
294
  }
290
295
  export interface FilterCriteriaError {
291
296
  ErrorCode?: string | undefined;
@@ -327,6 +332,7 @@ export interface EventSourceMappingConfiguration {
327
332
  FilterCriteriaError?: FilterCriteriaError | undefined;
328
333
  EventSourceMappingArn?: string | undefined;
329
334
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
335
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
330
336
  }
331
337
  export declare class CodeSigningConfigNotFoundException extends __BaseException {
332
338
  readonly name: "CodeSigningConfigNotFoundException";
@@ -1523,6 +1529,7 @@ export interface UpdateEventSourceMappingRequest {
1523
1529
  DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
1524
1530
  KMSKeyArn?: string | undefined;
1525
1531
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
1532
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
1526
1533
  }
1527
1534
  export interface UpdateFunctionCodeRequest {
1528
1535
  FunctionName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.698.0",
4
+ "version": "3.699.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lambda",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.696.0",
24
- "@aws-sdk/client-sts": "3.696.0",
23
+ "@aws-sdk/client-sso-oidc": "3.699.0",
24
+ "@aws-sdk/client-sts": "3.699.0",
25
25
  "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.699.0",
27
27
  "@aws-sdk/middleware-host-header": "3.696.0",
28
28
  "@aws-sdk/middleware-logger": "3.696.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.696.0",