@aws-sdk/client-lambda 3.828.0 → 3.833.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
@@ -109,6 +109,8 @@ __export(index_exports, {
109
109
  KMSDisabledException: () => KMSDisabledException,
110
110
  KMSInvalidStateException: () => KMSInvalidStateException,
111
111
  KMSNotFoundException: () => KMSNotFoundException,
112
+ KafkaSchemaRegistryAuthType: () => KafkaSchemaRegistryAuthType,
113
+ KafkaSchemaValidationAttribute: () => KafkaSchemaValidationAttribute,
112
114
  Lambda: () => Lambda,
113
115
  LambdaClient: () => LambdaClient,
114
116
  LambdaServiceException: () => LambdaServiceException,
@@ -158,6 +160,7 @@ __export(index_exports, {
158
160
  Runtime: () => Runtime,
159
161
  RuntimeVersionConfigFilterSensitiveLog: () => RuntimeVersionConfigFilterSensitiveLog,
160
162
  RuntimeVersionErrorFilterSensitiveLog: () => RuntimeVersionErrorFilterSensitiveLog,
163
+ SchemaRegistryEventRecordFormat: () => SchemaRegistryEventRecordFormat,
161
164
  ServiceException: () => ServiceException,
162
165
  SnapStartApplyOn: () => SnapStartApplyOn,
163
166
  SnapStartException: () => SnapStartException,
@@ -561,6 +564,19 @@ var FunctionUrlAuthType = {
561
564
  AWS_IAM: "AWS_IAM",
562
565
  NONE: "NONE"
563
566
  };
567
+ var KafkaSchemaRegistryAuthType = {
568
+ BASIC_AUTH: "BASIC_AUTH",
569
+ CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
570
+ SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE"
571
+ };
572
+ var SchemaRegistryEventRecordFormat = {
573
+ JSON: "JSON",
574
+ SOURCE: "SOURCE"
575
+ };
576
+ var KafkaSchemaValidationAttribute = {
577
+ KEY: "KEY",
578
+ VALUE: "VALUE"
579
+ };
564
580
  var ApplicationLogLevel = {
565
581
  Debug: "DEBUG",
566
582
  Error: "ERROR",
@@ -2506,6 +2522,7 @@ var se_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, co
2506
2522
  let body;
2507
2523
  body = JSON.stringify(
2508
2524
  (0, import_smithy_client.take)(input, {
2525
+ AmazonManagedKafkaEventSourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AmazonManagedKafkaEventSourceConfig"),
2509
2526
  BatchSize: [],
2510
2527
  BisectBatchOnFunctionError: [],
2511
2528
  DestinationConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DestinationConfig"),
@@ -2522,6 +2539,7 @@ var se_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, co
2522
2539
  ParallelizationFactor: [],
2523
2540
  ProvisionedPollerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ProvisionedPollerConfig"),
2524
2541
  ScalingConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ScalingConfig"),
2542
+ SelfManagedKafkaEventSourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SelfManagedKafkaEventSourceConfig"),
2525
2543
  SourceAccessConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceAccessConfigurations"),
2526
2544
  TumblingWindowInSeconds: []
2527
2545
  })
@@ -6309,6 +6327,9 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
6309
6327
  ThrottleReason,
6310
6328
  TooManyRequestsException,
6311
6329
  FunctionUrlAuthType,
6330
+ KafkaSchemaRegistryAuthType,
6331
+ SchemaRegistryEventRecordFormat,
6332
+ KafkaSchemaValidationAttribute,
6312
6333
  ApplicationLogLevel,
6313
6334
  Architecture,
6314
6335
  CodeSigningPolicy,
@@ -118,6 +118,19 @@ export const FunctionUrlAuthType = {
118
118
  AWS_IAM: "AWS_IAM",
119
119
  NONE: "NONE",
120
120
  };
121
+ export const KafkaSchemaRegistryAuthType = {
122
+ BASIC_AUTH: "BASIC_AUTH",
123
+ CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
124
+ SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE",
125
+ };
126
+ export const SchemaRegistryEventRecordFormat = {
127
+ JSON: "JSON",
128
+ SOURCE: "SOURCE",
129
+ };
130
+ export const KafkaSchemaValidationAttribute = {
131
+ KEY: "KEY",
132
+ VALUE: "VALUE",
133
+ };
121
134
  export const ApplicationLogLevel = {
122
135
  Debug: "DEBUG",
123
136
  Error: "ERROR",
@@ -898,6 +898,7 @@ export const se_UpdateEventSourceMappingCommand = async (input, context) => {
898
898
  b.p("UUID", () => input.UUID, "{UUID}", false);
899
899
  let body;
900
900
  body = JSON.stringify(take(input, {
901
+ AmazonManagedKafkaEventSourceConfig: (_) => _json(_),
901
902
  BatchSize: [],
902
903
  BisectBatchOnFunctionError: [],
903
904
  DestinationConfig: (_) => _json(_),
@@ -914,6 +915,7 @@ export const se_UpdateEventSourceMappingCommand = async (input, context) => {
914
915
  ParallelizationFactor: [],
915
916
  ProvisionedPollerConfig: (_) => _json(_),
916
917
  ScalingConfig: (_) => _json(_),
918
+ SelfManagedKafkaEventSourceConfig: (_) => _json(_),
917
919
  SourceAccessConfigurations: (_) => _json(_),
918
920
  TumblingWindowInSeconds: [],
919
921
  }));
@@ -96,8 +96,8 @@ declare const CreateEventSourceMappingCommand_base: {
96
96
  * <ul>
97
97
  * <li>
98
98
  * <p>
99
- * <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
100
- * Amazon S3 bucket.</p>
99
+ * <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
100
+ * Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p>
101
101
  * </li>
102
102
  * </ul>
103
103
  * <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
@@ -206,9 +206,39 @@ declare const CreateEventSourceMappingCommand_base: {
206
206
  * ],
207
207
  * AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
208
208
  * ConsumerGroupId: "STRING_VALUE",
209
+ * SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
210
+ * SchemaRegistryURI: "STRING_VALUE",
211
+ * EventRecordFormat: "JSON" || "SOURCE",
212
+ * AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
213
+ * { // KafkaSchemaRegistryAccessConfig
214
+ * Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
215
+ * URI: "STRING_VALUE",
216
+ * },
217
+ * ],
218
+ * SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
219
+ * { // KafkaSchemaValidationConfig
220
+ * Attribute: "KEY" || "VALUE",
221
+ * },
222
+ * ],
223
+ * },
209
224
  * },
210
225
  * SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
211
226
  * ConsumerGroupId: "STRING_VALUE",
227
+ * SchemaRegistryConfig: {
228
+ * SchemaRegistryURI: "STRING_VALUE",
229
+ * EventRecordFormat: "JSON" || "SOURCE",
230
+ * AccessConfigs: [
231
+ * {
232
+ * Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
233
+ * URI: "STRING_VALUE",
234
+ * },
235
+ * ],
236
+ * SchemaValidationConfigs: [
237
+ * {
238
+ * Attribute: "KEY" || "VALUE",
239
+ * },
240
+ * ],
241
+ * },
212
242
  * },
213
243
  * ScalingConfig: { // ScalingConfig
214
244
  * MaximumConcurrency: Number("int"),
@@ -287,9 +317,39 @@ declare const CreateEventSourceMappingCommand_base: {
287
317
  * // ],
288
318
  * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
289
319
  * // ConsumerGroupId: "STRING_VALUE",
320
+ * // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
321
+ * // SchemaRegistryURI: "STRING_VALUE",
322
+ * // EventRecordFormat: "JSON" || "SOURCE",
323
+ * // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
324
+ * // { // KafkaSchemaRegistryAccessConfig
325
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
326
+ * // URI: "STRING_VALUE",
327
+ * // },
328
+ * // ],
329
+ * // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
330
+ * // { // KafkaSchemaValidationConfig
331
+ * // Attribute: "KEY" || "VALUE",
332
+ * // },
333
+ * // ],
334
+ * // },
290
335
  * // },
291
336
  * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
292
337
  * // ConsumerGroupId: "STRING_VALUE",
338
+ * // SchemaRegistryConfig: {
339
+ * // SchemaRegistryURI: "STRING_VALUE",
340
+ * // EventRecordFormat: "JSON" || "SOURCE",
341
+ * // AccessConfigs: [
342
+ * // {
343
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
344
+ * // URI: "STRING_VALUE",
345
+ * // },
346
+ * // ],
347
+ * // SchemaValidationConfigs: [
348
+ * // {
349
+ * // Attribute: "KEY" || "VALUE",
350
+ * // },
351
+ * // ],
352
+ * // },
293
353
  * // },
294
354
  * // ScalingConfig: { // ScalingConfig
295
355
  * // MaximumConcurrency: Number("int"),
@@ -98,9 +98,39 @@ declare const DeleteEventSourceMappingCommand_base: {
98
98
  * // ],
99
99
  * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
100
100
  * // ConsumerGroupId: "STRING_VALUE",
101
+ * // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
102
+ * // SchemaRegistryURI: "STRING_VALUE",
103
+ * // EventRecordFormat: "JSON" || "SOURCE",
104
+ * // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
105
+ * // { // KafkaSchemaRegistryAccessConfig
106
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
107
+ * // URI: "STRING_VALUE",
108
+ * // },
109
+ * // ],
110
+ * // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
111
+ * // { // KafkaSchemaValidationConfig
112
+ * // Attribute: "KEY" || "VALUE",
113
+ * // },
114
+ * // ],
115
+ * // },
101
116
  * // },
102
117
  * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
103
118
  * // ConsumerGroupId: "STRING_VALUE",
119
+ * // SchemaRegistryConfig: {
120
+ * // SchemaRegistryURI: "STRING_VALUE",
121
+ * // EventRecordFormat: "JSON" || "SOURCE",
122
+ * // AccessConfigs: [
123
+ * // {
124
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
125
+ * // URI: "STRING_VALUE",
126
+ * // },
127
+ * // ],
128
+ * // SchemaValidationConfigs: [
129
+ * // {
130
+ * // Attribute: "KEY" || "VALUE",
131
+ * // },
132
+ * // ],
133
+ * // },
104
134
  * // },
105
135
  * // ScalingConfig: { // ScalingConfig
106
136
  * // MaximumConcurrency: Number("int"),
@@ -158,6 +188,27 @@ declare const DeleteEventSourceMappingCommand_base: {
158
188
  * <p>Base exception class for all service exceptions from Lambda service.</p>
159
189
  *
160
190
  *
191
+ * @example To delete a Lambda function event source mapping
192
+ * ```javascript
193
+ * // The following example deletes an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
194
+ * const input = {
195
+ * UUID: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
196
+ * };
197
+ * const command = new DeleteEventSourceMappingCommand(input);
198
+ * const response = await client.send(command);
199
+ * /* response is
200
+ * {
201
+ * BatchSize: 5,
202
+ * EventSourceArn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
203
+ * FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
204
+ * LastModified: "2016-11-21T19:49:20.006Z",
205
+ * State: "Enabled",
206
+ * StateTransitionReason: "USER_INITIATED",
207
+ * UUID: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
208
+ * }
209
+ * *\/
210
+ * ```
211
+ *
161
212
  * @public
162
213
  */
163
214
  export declare class DeleteEventSourceMappingCommand extends DeleteEventSourceMappingCommand_base {
@@ -96,9 +96,39 @@ declare const GetEventSourceMappingCommand_base: {
96
96
  * // ],
97
97
  * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
98
98
  * // ConsumerGroupId: "STRING_VALUE",
99
+ * // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
100
+ * // SchemaRegistryURI: "STRING_VALUE",
101
+ * // EventRecordFormat: "JSON" || "SOURCE",
102
+ * // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
103
+ * // { // KafkaSchemaRegistryAccessConfig
104
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
105
+ * // URI: "STRING_VALUE",
106
+ * // },
107
+ * // ],
108
+ * // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
109
+ * // { // KafkaSchemaValidationConfig
110
+ * // Attribute: "KEY" || "VALUE",
111
+ * // },
112
+ * // ],
113
+ * // },
99
114
  * // },
100
115
  * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
101
116
  * // ConsumerGroupId: "STRING_VALUE",
117
+ * // SchemaRegistryConfig: {
118
+ * // SchemaRegistryURI: "STRING_VALUE",
119
+ * // EventRecordFormat: "JSON" || "SOURCE",
120
+ * // AccessConfigs: [
121
+ * // {
122
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
123
+ * // URI: "STRING_VALUE",
124
+ * // },
125
+ * // ],
126
+ * // SchemaValidationConfigs: [
127
+ * // {
128
+ * // Attribute: "KEY" || "VALUE",
129
+ * // },
130
+ * // ],
131
+ * // },
102
132
  * // },
103
133
  * // ScalingConfig: { // ScalingConfig
104
134
  * // MaximumConcurrency: Number("int"),
@@ -149,6 +179,32 @@ declare const GetEventSourceMappingCommand_base: {
149
179
  * <p>Base exception class for all service exceptions from Lambda service.</p>
150
180
  *
151
181
  *
182
+ * @example To get a Lambda function's event source mapping
183
+ * ```javascript
184
+ * // The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
185
+ * const input = {
186
+ * UUID: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
187
+ * };
188
+ * const command = new GetEventSourceMappingCommand(input);
189
+ * const response = await client.send(command);
190
+ * /* response is
191
+ * {
192
+ * BatchSize: 500,
193
+ * BisectBatchOnFunctionError: false,
194
+ * DestinationConfig: { /* empty *\/ },
195
+ * EventSourceArn: "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
196
+ * FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
197
+ * LastModified: "2016-11-21T19:49:20.006Z",
198
+ * LastProcessingResult: "No records processed",
199
+ * MaximumRecordAgeInSeconds: 604800,
200
+ * MaximumRetryAttempts: 10000,
201
+ * State: "Creating",
202
+ * StateTransitionReason: "User action",
203
+ * UUID: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
204
+ * }
205
+ * *\/
206
+ * ```
207
+ *
152
208
  * @public
153
209
  */
154
210
  export declare class GetEventSourceMappingCommand extends GetEventSourceMappingCommand_base {
@@ -80,6 +80,31 @@ declare const GetFunctionEventInvokeConfigCommand_base: {
80
80
  * <p>Base exception class for all service exceptions from Lambda service.</p>
81
81
  *
82
82
  *
83
+ * @example To get an asynchronous invocation configuration
84
+ * ```javascript
85
+ * // The following example returns the asynchronous invocation configuration for the BLUE alias of a function named my-function.
86
+ * const input = {
87
+ * FunctionName: "my-function",
88
+ * Qualifier: "BLUE"
89
+ * };
90
+ * const command = new GetFunctionEventInvokeConfigCommand(input);
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * {
94
+ * DestinationConfig: {
95
+ * OnFailure: {
96
+ * Destination: "arn:aws:sqs:us-east-2:123456789012:failed-invocations"
97
+ * },
98
+ * OnSuccess: { /* empty *\/ }
99
+ * },
100
+ * FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
101
+ * LastModified: "2016-11-21T19:49:20.006Z",
102
+ * MaximumEventAgeInSeconds: 3600,
103
+ * MaximumRetryAttempts: 0
104
+ * }
105
+ * *\/
106
+ * ```
107
+ *
83
108
  * @public
84
109
  */
85
110
  export declare class GetFunctionEventInvokeConfigCommand extends GetFunctionEventInvokeConfigCommand_base {
@@ -102,9 +102,39 @@ declare const ListEventSourceMappingsCommand_base: {
102
102
  * // ],
103
103
  * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
104
104
  * // ConsumerGroupId: "STRING_VALUE",
105
+ * // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
106
+ * // SchemaRegistryURI: "STRING_VALUE",
107
+ * // EventRecordFormat: "JSON" || "SOURCE",
108
+ * // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
109
+ * // { // KafkaSchemaRegistryAccessConfig
110
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
111
+ * // URI: "STRING_VALUE",
112
+ * // },
113
+ * // ],
114
+ * // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
115
+ * // { // KafkaSchemaValidationConfig
116
+ * // Attribute: "KEY" || "VALUE",
117
+ * // },
118
+ * // ],
119
+ * // },
105
120
  * // },
106
121
  * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
107
122
  * // ConsumerGroupId: "STRING_VALUE",
123
+ * // SchemaRegistryConfig: {
124
+ * // SchemaRegistryURI: "STRING_VALUE",
125
+ * // EventRecordFormat: "JSON" || "SOURCE",
126
+ * // AccessConfigs: [
127
+ * // {
128
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
129
+ * // URI: "STRING_VALUE",
130
+ * // },
131
+ * // ],
132
+ * // SchemaValidationConfigs: [
133
+ * // {
134
+ * // Attribute: "KEY" || "VALUE",
135
+ * // },
136
+ * // ],
137
+ * // },
108
138
  * // },
109
139
  * // ScalingConfig: { // ScalingConfig
110
140
  * // MaximumConcurrency: Number("int"),
@@ -105,6 +105,30 @@ declare const PutFunctionEventInvokeConfigCommand_base: {
105
105
  * <p>Base exception class for all service exceptions from Lambda service.</p>
106
106
  *
107
107
  *
108
+ * @example To configure error handling for asynchronous invocation
109
+ * ```javascript
110
+ * // The following example sets a maximum event age of one hour and disables retries for the specified function.
111
+ * const input = {
112
+ * FunctionName: "my-function",
113
+ * MaximumEventAgeInSeconds: 3600,
114
+ * MaximumRetryAttempts: 0
115
+ * };
116
+ * const command = new PutFunctionEventInvokeConfigCommand(input);
117
+ * const response = await client.send(command);
118
+ * /* response is
119
+ * {
120
+ * DestinationConfig: {
121
+ * OnFailure: { /* empty *\/ },
122
+ * OnSuccess: { /* empty *\/ }
123
+ * },
124
+ * FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
125
+ * LastModified: "2016-11-21T19:49:20.006Z",
126
+ * MaximumEventAgeInSeconds: 3600,
127
+ * MaximumRetryAttempts: 0
128
+ * }
129
+ * *\/
130
+ * ```
131
+ *
108
132
  * @public
109
133
  */
110
134
  export declare class PutFunctionEventInvokeConfigCommand extends PutFunctionEventInvokeConfigCommand_base {
@@ -97,8 +97,8 @@ declare const UpdateEventSourceMappingCommand_base: {
97
97
  * <ul>
98
98
  * <li>
99
99
  * <p>
100
- * <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
101
- * Amazon S3 bucket.</p>
100
+ * <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
101
+ * Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p>
102
102
  * </li>
103
103
  * </ul>
104
104
  * <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
@@ -190,6 +190,42 @@ declare const UpdateEventSourceMappingCommand_base: {
190
190
  * ScalingConfig: { // ScalingConfig
191
191
  * MaximumConcurrency: Number("int"),
192
192
  * },
193
+ * AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
194
+ * ConsumerGroupId: "STRING_VALUE",
195
+ * SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
196
+ * SchemaRegistryURI: "STRING_VALUE",
197
+ * EventRecordFormat: "JSON" || "SOURCE",
198
+ * AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
199
+ * { // KafkaSchemaRegistryAccessConfig
200
+ * Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
201
+ * URI: "STRING_VALUE",
202
+ * },
203
+ * ],
204
+ * SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
205
+ * { // KafkaSchemaValidationConfig
206
+ * Attribute: "KEY" || "VALUE",
207
+ * },
208
+ * ],
209
+ * },
210
+ * },
211
+ * SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
212
+ * ConsumerGroupId: "STRING_VALUE",
213
+ * SchemaRegistryConfig: {
214
+ * SchemaRegistryURI: "STRING_VALUE",
215
+ * EventRecordFormat: "JSON" || "SOURCE",
216
+ * AccessConfigs: [
217
+ * {
218
+ * Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
219
+ * URI: "STRING_VALUE",
220
+ * },
221
+ * ],
222
+ * SchemaValidationConfigs: [
223
+ * {
224
+ * Attribute: "KEY" || "VALUE",
225
+ * },
226
+ * ],
227
+ * },
228
+ * },
193
229
  * DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
194
230
  * DatabaseName: "STRING_VALUE",
195
231
  * CollectionName: "STRING_VALUE",
@@ -264,9 +300,39 @@ declare const UpdateEventSourceMappingCommand_base: {
264
300
  * // ],
265
301
  * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
266
302
  * // ConsumerGroupId: "STRING_VALUE",
303
+ * // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
304
+ * // SchemaRegistryURI: "STRING_VALUE",
305
+ * // EventRecordFormat: "JSON" || "SOURCE",
306
+ * // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
307
+ * // { // KafkaSchemaRegistryAccessConfig
308
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
309
+ * // URI: "STRING_VALUE",
310
+ * // },
311
+ * // ],
312
+ * // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
313
+ * // { // KafkaSchemaValidationConfig
314
+ * // Attribute: "KEY" || "VALUE",
315
+ * // },
316
+ * // ],
317
+ * // },
267
318
  * // },
268
319
  * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
269
320
  * // ConsumerGroupId: "STRING_VALUE",
321
+ * // SchemaRegistryConfig: {
322
+ * // SchemaRegistryURI: "STRING_VALUE",
323
+ * // EventRecordFormat: "JSON" || "SOURCE",
324
+ * // AccessConfigs: [
325
+ * // {
326
+ * // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
327
+ * // URI: "STRING_VALUE",
328
+ * // },
329
+ * // ],
330
+ * // SchemaValidationConfigs: [
331
+ * // {
332
+ * // Attribute: "KEY" || "VALUE",
333
+ * // },
334
+ * // ],
335
+ * // },
270
336
  * // },
271
337
  * // ScalingConfig: { // ScalingConfig
272
338
  * // MaximumConcurrency: Number("int"),
@@ -324,6 +390,31 @@ declare const UpdateEventSourceMappingCommand_base: {
324
390
  * <p>Base exception class for all service exceptions from Lambda service.</p>
325
391
  *
326
392
  *
393
+ * @example To update a Lambda function event source mapping
394
+ * ```javascript
395
+ * // This operation updates a Lambda function event source mapping
396
+ * const input = {
397
+ * BatchSize: 123,
398
+ * Enabled: true,
399
+ * FunctionName: "myFunction",
400
+ * UUID: "1234xCy789012"
401
+ * };
402
+ * const command = new UpdateEventSourceMappingCommand(input);
403
+ * const response = await client.send(command);
404
+ * /* response is
405
+ * {
406
+ * BatchSize: 123,
407
+ * EventSourceArn: "arn:aws:s3:::examplebucket/*",
408
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
409
+ * LastModified: "2016-11-21T19:49:20.006Z",
410
+ * LastProcessingResult: "",
411
+ * State: "",
412
+ * StateTransitionReason: "",
413
+ * UUID: "1234xCy789012"
414
+ * }
415
+ * *\/
416
+ * ```
417
+ *
327
418
  * @public
328
419
  */
329
420
  export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {
@@ -3,9 +3,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
- UseDualStack?: boolean;
36
- UseFIPS?: boolean;
37
- Endpoint?: string;
34
+ Region?: string | undefined;
35
+ UseDualStack?: boolean | undefined;
36
+ UseFIPS?: boolean | undefined;
37
+ Endpoint?: string | undefined;
38
38
  }
@@ -419,6 +419,126 @@ export interface AllowedPublishers {
419
419
  */
420
420
  SigningProfileVersionArns: string[] | undefined;
421
421
  }
422
+ /**
423
+ * @public
424
+ * @enum
425
+ */
426
+ export declare const KafkaSchemaRegistryAuthType: {
427
+ readonly BASIC_AUTH: "BASIC_AUTH";
428
+ readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
429
+ readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
430
+ };
431
+ /**
432
+ * @public
433
+ */
434
+ export type KafkaSchemaRegistryAuthType = (typeof KafkaSchemaRegistryAuthType)[keyof typeof KafkaSchemaRegistryAuthType];
435
+ /**
436
+ * <p>Specific access configuration settings that tell Lambda how to authenticate with your schema registry.</p>
437
+ * <p>If you're working with an Glue schema registry, don't provide authentication details in this object.
438
+ * Instead, ensure that your execution role has the required permissions for Lambda to access your cluster.</p>
439
+ * <p>If you're working with a Confluent schema registry, choose the authentication method in the <code>Type</code> field,
440
+ * and provide the Secrets Manager secret ARN in the <code>URI</code> field.</p>
441
+ * @public
442
+ */
443
+ export interface KafkaSchemaRegistryAccessConfig {
444
+ /**
445
+ * <p>
446
+ * The type of authentication Lambda uses to access your schema registry.
447
+ * </p>
448
+ * @public
449
+ */
450
+ Type?: KafkaSchemaRegistryAuthType | undefined;
451
+ /**
452
+ * <p>
453
+ * The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
454
+ * </p>
455
+ * @public
456
+ */
457
+ URI?: string | undefined;
458
+ }
459
+ /**
460
+ * @public
461
+ * @enum
462
+ */
463
+ export declare const SchemaRegistryEventRecordFormat: {
464
+ readonly JSON: "JSON";
465
+ readonly SOURCE: "SOURCE";
466
+ };
467
+ /**
468
+ * @public
469
+ */
470
+ export type SchemaRegistryEventRecordFormat = (typeof SchemaRegistryEventRecordFormat)[keyof typeof SchemaRegistryEventRecordFormat];
471
+ /**
472
+ * @public
473
+ * @enum
474
+ */
475
+ export declare const KafkaSchemaValidationAttribute: {
476
+ readonly KEY: "KEY";
477
+ readonly VALUE: "VALUE";
478
+ };
479
+ /**
480
+ * @public
481
+ */
482
+ export type KafkaSchemaValidationAttribute = (typeof KafkaSchemaValidationAttribute)[keyof typeof KafkaSchemaValidationAttribute];
483
+ /**
484
+ * <p>Specific schema validation configuration settings that tell Lambda the message
485
+ * attributes you want to validate and filter using your schema registry.</p>
486
+ * @public
487
+ */
488
+ export interface KafkaSchemaValidationConfig {
489
+ /**
490
+ * <p>
491
+ * The attributes you want your schema registry to validate and filter for. If you selected <code>JSON</code> as the
492
+ * <code>EventRecordFormat</code>, Lambda also deserializes the selected message attributes.
493
+ * </p>
494
+ * @public
495
+ */
496
+ Attribute?: KafkaSchemaValidationAttribute | undefined;
497
+ }
498
+ /**
499
+ * <p>Specific configuration settings for a Kafka schema registry.</p>
500
+ * @public
501
+ */
502
+ export interface KafkaSchemaRegistryConfig {
503
+ /**
504
+ * <p>The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.</p>
505
+ * <ul>
506
+ * <li>
507
+ * <p>For Glue schema registries, use the ARN of the registry.</p>
508
+ * </li>
509
+ * <li>
510
+ * <p>For Confluent schema registries, use the URL of the registry.</p>
511
+ * </li>
512
+ * </ul>
513
+ * @public
514
+ */
515
+ SchemaRegistryURI?: string | undefined;
516
+ /**
517
+ * <p>The record format that Lambda delivers to your function after schema validation.</p>
518
+ * <ul>
519
+ * <li>
520
+ * <p>Choose <code>JSON</code> to have Lambda deliver the record to your function as a standard JSON object.</p>
521
+ * </li>
522
+ * <li>
523
+ * <p>Choose <code>SOURCE</code> to have Lambda deliver the record to your function in its original source format.
524
+ * Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.</p>
525
+ * </li>
526
+ * </ul>
527
+ * @public
528
+ */
529
+ EventRecordFormat?: SchemaRegistryEventRecordFormat | undefined;
530
+ /**
531
+ * <p>An array of access configuration objects that tell Lambda how to authenticate with your schema registry.</p>
532
+ * @public
533
+ */
534
+ AccessConfigs?: KafkaSchemaRegistryAccessConfig[] | undefined;
535
+ /**
536
+ * <p>An array of schema validation configuration objects, which tell Lambda the message
537
+ * attributes you want to validate and filter using your schema registry.</p>
538
+ * @public
539
+ */
540
+ SchemaValidationConfigs?: KafkaSchemaValidationConfig[] | undefined;
541
+ }
422
542
  /**
423
543
  * <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
424
544
  * @public
@@ -431,6 +551,11 @@ export interface AmazonManagedKafkaEventSourceConfig {
431
551
  * @public
432
552
  */
433
553
  ConsumerGroupId?: string | undefined;
554
+ /**
555
+ * <p>Specific configuration settings for a Kafka schema registry.</p>
556
+ * @public
557
+ */
558
+ SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
434
559
  }
435
560
  /**
436
561
  * @public
@@ -610,7 +735,7 @@ export interface CreateCodeSigningConfigResponse {
610
735
  CodeSigningConfig: CodeSigningConfig | undefined;
611
736
  }
612
737
  /**
613
- * <p>A destination for events that failed processing.</p>
738
+ * <p>A destination for events that failed processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p>
614
739
  * @public
615
740
  */
616
741
  export interface OnFailure {
@@ -632,6 +757,10 @@ export interface OnFailure {
632
757
  * <p>To retain records of successful <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">asynchronous invocations</a>,
633
758
  * you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,
634
759
  * or Amazon EventBridge event bus as the destination.</p>
760
+ * <note>
761
+ * <p>
762
+ * <code>OnSuccess</code> is not supported in <code>CreateEventSourceMapping</code> or <code>UpdateEventSourceMapping</code> requests.</p>
763
+ * </note>
635
764
  * @public
636
765
  */
637
766
  export interface OnSuccess {
@@ -642,12 +771,12 @@ export interface OnSuccess {
642
771
  Destination?: string | undefined;
643
772
  }
644
773
  /**
645
- * <p>A configuration object that specifies the destination of an event after Lambda processes it.</p>
774
+ * <p>A configuration object that specifies the destination of an event after Lambda processes it. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p>
646
775
  * @public
647
776
  */
648
777
  export interface DestinationConfig {
649
778
  /**
650
- * <p>The destination configuration for successful invocations.</p>
779
+ * <p>The destination configuration for successful invocations. Not supported in <code>CreateEventSourceMapping</code> or <code>UpdateEventSourceMapping</code>.</p>
651
780
  * @public
652
781
  */
653
782
  OnSuccess?: OnSuccess | undefined;
@@ -827,12 +956,17 @@ export interface SelfManagedEventSource {
827
956
  */
828
957
  export interface SelfManagedKafkaEventSourceConfig {
829
958
  /**
830
- * <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
831
- * After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
832
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id">Customizable consumer group ID</a>.</p>
959
+ * <p> The identifier for the Kafka consumer group to join. The consumer group ID must be unique
960
+ * among all your Kafka event sources. After creating a Kafka event source mapping with the
961
+ * consumer group ID specified, you cannot update this value. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add">Customizable consumer group ID</a>.</p>
833
962
  * @public
834
963
  */
835
964
  ConsumerGroupId?: string | undefined;
965
+ /**
966
+ * <p>Specific configuration settings for a Kafka schema registry.</p>
967
+ * @public
968
+ */
969
+ SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
836
970
  }
837
971
  /**
838
972
  * @public
@@ -1245,7 +1379,7 @@ export interface EventSourceMappingConfiguration {
1245
1379
  */
1246
1380
  LastModified?: Date | undefined;
1247
1381
  /**
1248
- * <p>The result of the last Lambda invocation of your function.</p>
1382
+ * <p>The result of the event source mapping's last processing attempt.</p>
1249
1383
  * @public
1250
1384
  */
1251
1385
  LastProcessingResult?: string | undefined;
@@ -1452,7 +1586,7 @@ export interface FunctionCode {
1452
1586
  SourceKMSKeyArn?: string | undefined;
1453
1587
  }
1454
1588
  /**
1455
- * <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">dead-letter queue</a> for
1589
+ * <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq">dead-letter queue</a> for
1456
1590
  * failed asynchronous invocations.</p>
1457
1591
  * @public
1458
1592
  */
@@ -6214,6 +6348,16 @@ export interface UpdateEventSourceMappingRequest {
6214
6348
  * @public
6215
6349
  */
6216
6350
  ScalingConfig?: ScalingConfig | undefined;
6351
+ /**
6352
+ * <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
6353
+ * @public
6354
+ */
6355
+ AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig | undefined;
6356
+ /**
6357
+ * <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
6358
+ * @public
6359
+ */
6360
+ SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig | undefined;
6217
6361
  /**
6218
6362
  * <p>Specific configuration settings for a DocumentDB event source.</p>
6219
6363
  * @public
@@ -16,8 +16,8 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
19
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
21
  apiVersion: string;
22
22
  cacheMiddleware?: boolean | undefined;
23
23
  urlParser: import("@smithy/types").UrlParser;
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
17
17
  utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -5,9 +5,9 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  endpoint?:
12
12
  | string
13
13
  | Provider<string>
@@ -41,8 +41,8 @@ export declare const commonParams: {
41
41
  };
42
42
  };
43
43
  export interface EndpointParameters extends __EndpointParameters {
44
- Region?: string;
45
- UseDualStack?: boolean;
46
- UseFIPS?: boolean;
47
- Endpoint?: string;
44
+ Region?: string | undefined;
45
+ UseDualStack?: boolean | undefined;
46
+ UseFIPS?: boolean | undefined;
47
+ Endpoint?: string | undefined;
48
48
  }
@@ -129,8 +129,41 @@ export interface AliasConfiguration {
129
129
  export interface AllowedPublishers {
130
130
  SigningProfileVersionArns: string[] | undefined;
131
131
  }
132
+ export declare const KafkaSchemaRegistryAuthType: {
133
+ readonly BASIC_AUTH: "BASIC_AUTH";
134
+ readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
135
+ readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
136
+ };
137
+ export type KafkaSchemaRegistryAuthType =
138
+ (typeof KafkaSchemaRegistryAuthType)[keyof typeof KafkaSchemaRegistryAuthType];
139
+ export interface KafkaSchemaRegistryAccessConfig {
140
+ Type?: KafkaSchemaRegistryAuthType | undefined;
141
+ URI?: string | undefined;
142
+ }
143
+ export declare const SchemaRegistryEventRecordFormat: {
144
+ readonly JSON: "JSON";
145
+ readonly SOURCE: "SOURCE";
146
+ };
147
+ export type SchemaRegistryEventRecordFormat =
148
+ (typeof SchemaRegistryEventRecordFormat)[keyof typeof SchemaRegistryEventRecordFormat];
149
+ export declare const KafkaSchemaValidationAttribute: {
150
+ readonly KEY: "KEY";
151
+ readonly VALUE: "VALUE";
152
+ };
153
+ export type KafkaSchemaValidationAttribute =
154
+ (typeof KafkaSchemaValidationAttribute)[keyof typeof KafkaSchemaValidationAttribute];
155
+ export interface KafkaSchemaValidationConfig {
156
+ Attribute?: KafkaSchemaValidationAttribute | undefined;
157
+ }
158
+ export interface KafkaSchemaRegistryConfig {
159
+ SchemaRegistryURI?: string | undefined;
160
+ EventRecordFormat?: SchemaRegistryEventRecordFormat | undefined;
161
+ AccessConfigs?: KafkaSchemaRegistryAccessConfig[] | undefined;
162
+ SchemaValidationConfigs?: KafkaSchemaValidationConfig[] | undefined;
163
+ }
132
164
  export interface AmazonManagedKafkaEventSourceConfig {
133
165
  ConsumerGroupId?: string | undefined;
166
+ SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
134
167
  }
135
168
  export declare const ApplicationLogLevel: {
136
169
  readonly Debug: "DEBUG";
@@ -235,6 +268,7 @@ export interface SelfManagedEventSource {
235
268
  }
236
269
  export interface SelfManagedKafkaEventSourceConfig {
237
270
  ConsumerGroupId?: string | undefined;
271
+ SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
238
272
  }
239
273
  export declare const SourceAccessType: {
240
274
  readonly BASIC_AUTH: "BASIC_AUTH";
@@ -1527,6 +1561,12 @@ export interface UpdateEventSourceMappingRequest {
1527
1561
  TumblingWindowInSeconds?: number | undefined;
1528
1562
  FunctionResponseTypes?: FunctionResponseType[] | undefined;
1529
1563
  ScalingConfig?: ScalingConfig | undefined;
1564
+ AmazonManagedKafkaEventSourceConfig?:
1565
+ | AmazonManagedKafkaEventSourceConfig
1566
+ | undefined;
1567
+ SelfManagedKafkaEventSourceConfig?:
1568
+ | SelfManagedKafkaEventSourceConfig
1569
+ | undefined;
1530
1570
  DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
1531
1571
  KMSKeyArn?: string | undefined;
1532
1572
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
@@ -23,8 +23,10 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
26
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
27
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
30
  apiVersion: string;
29
31
  cacheMiddleware?: boolean | undefined;
30
32
  urlParser: import("@smithy/types").UrlParser;
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
19
19
  utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
26
  region: string | import("@smithy/types").Provider<any>;
25
27
  profile?: string;
26
28
  defaultUserAgentProvider: (
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.828.0",
4
+ "version": "3.833.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.828.0",
24
+ "@aws-sdk/credential-provider-node": "3.830.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",