@aws-sdk/client-lambda 3.935.0 → 3.938.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 +2 -1
- package/dist-es/schemas/schemas_0.js +2 -1
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +3 -1
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +21 -16
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -1085,6 +1085,7 @@ const _PFEICR = "PutFunctionEventInvokeConfigRequest";
|
|
|
1085
1085
|
const _PFRC = "PutFunctionRecursionConfig";
|
|
1086
1086
|
const _PFRCR = "PutFunctionRecursionConfigRequest";
|
|
1087
1087
|
const _PFRCRu = "PutFunctionRecursionConfigResponse";
|
|
1088
|
+
const _PGN = "PollerGroupName";
|
|
1088
1089
|
const _PLEE = "PolicyLengthExceededException";
|
|
1089
1090
|
const _PLV = "PublishLayerVersion";
|
|
1090
1091
|
const _PLVR = "PublishLayerVersionRequest";
|
|
@@ -2936,7 +2937,7 @@ var ProvisionedConcurrencyConfigNotFoundException = [
|
|
|
2936
2937
|
[0, 0],
|
|
2937
2938
|
];
|
|
2938
2939
|
schema.TypeRegistry.for(n0).registerError(ProvisionedConcurrencyConfigNotFoundException, ProvisionedConcurrencyConfigNotFoundException$1);
|
|
2939
|
-
var ProvisionedPollerConfig = [3, n0, _PPC, 0, [_MP, _MPa], [1, 1]];
|
|
2940
|
+
var ProvisionedPollerConfig = [3, n0, _PPC, 0, [_MP, _MPa, _PGN], [1, 1, 0]];
|
|
2940
2941
|
var PublishLayerVersionRequest = [
|
|
2941
2942
|
3,
|
|
2942
2943
|
n0,
|
|
@@ -356,6 +356,7 @@ const _PFEICR = "PutFunctionEventInvokeConfigRequest";
|
|
|
356
356
|
const _PFRC = "PutFunctionRecursionConfig";
|
|
357
357
|
const _PFRCR = "PutFunctionRecursionConfigRequest";
|
|
358
358
|
const _PFRCRu = "PutFunctionRecursionConfigResponse";
|
|
359
|
+
const _PGN = "PollerGroupName";
|
|
359
360
|
const _PLEE = "PolicyLengthExceededException";
|
|
360
361
|
const _PLV = "PublishLayerVersion";
|
|
361
362
|
const _PLVR = "PublishLayerVersionRequest";
|
|
@@ -2210,7 +2211,7 @@ export var ProvisionedConcurrencyConfigNotFoundException = [
|
|
|
2210
2211
|
[0, 0],
|
|
2211
2212
|
];
|
|
2212
2213
|
TypeRegistry.for(n0).registerError(ProvisionedConcurrencyConfigNotFoundException, __ProvisionedConcurrencyConfigNotFoundException);
|
|
2213
|
-
export var ProvisionedPollerConfig = [3, n0, _PPC, 0, [_MP, _MPa], [1, 1]];
|
|
2214
|
+
export var ProvisionedPollerConfig = [3, n0, _PPC, 0, [_MP, _MPa, _PGN], [1, 1, 0]];
|
|
2214
2215
|
export var PublishLayerVersionRequest = [
|
|
2215
2216
|
3,
|
|
2216
2217
|
n0,
|
|
@@ -27,7 +27,7 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available
|
|
30
|
+
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available for stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p> </li> <li> <p> <code>MaximumRetryAttempts</code> – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p> </li> <li> <p> <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, Kafka topic, or 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> </li> </ul> <p>The following option is available only for DynamoDB and Kinesis event sources:</p> <ul> <li> <p> <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p> </li> </ul> <p>For information about which configuration parameters apply to each event source, see the following topics.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration"> Amazon DocumentDB</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -142,6 +142,7 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
142
142
|
* ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
143
143
|
* MinimumPollers: Number("int"),
|
|
144
144
|
* MaximumPollers: Number("int"),
|
|
145
|
+
* PollerGroupName: "STRING_VALUE",
|
|
145
146
|
* },
|
|
146
147
|
* };
|
|
147
148
|
* const command = new CreateEventSourceMappingCommand(input);
|
|
@@ -258,6 +259,7 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
258
259
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
259
260
|
* // MinimumPollers: Number("int"),
|
|
260
261
|
* // MaximumPollers: Number("int"),
|
|
262
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
261
263
|
* // },
|
|
262
264
|
* // };
|
|
263
265
|
*
|
|
@@ -153,6 +153,7 @@ declare const DeleteEventSourceMappingCommand_base: {
|
|
|
153
153
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
154
154
|
* // MinimumPollers: Number("int"),
|
|
155
155
|
* // MaximumPollers: Number("int"),
|
|
156
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
156
157
|
* // },
|
|
157
158
|
* // };
|
|
158
159
|
*
|
|
@@ -153,6 +153,7 @@ declare const GetEventSourceMappingCommand_base: {
|
|
|
153
153
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
154
154
|
* // MinimumPollers: Number("int"),
|
|
155
155
|
* // MaximumPollers: Number("int"),
|
|
156
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
156
157
|
* // },
|
|
157
158
|
* // };
|
|
158
159
|
*
|
|
@@ -159,6 +159,7 @@ declare const ListEventSourceMappingsCommand_base: {
|
|
|
159
159
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
160
160
|
* // MinimumPollers: Number("int"),
|
|
161
161
|
* // MaximumPollers: Number("int"),
|
|
162
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
162
163
|
* // },
|
|
163
164
|
* // },
|
|
164
165
|
* // ],
|
|
@@ -27,7 +27,7 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available
|
|
30
|
+
* <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available for stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p> </li> <li> <p> <code>MaximumRetryAttempts</code> – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p> </li> <li> <p> <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, Kafka topic, or 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> </li> </ul> <p>The following option is available only for DynamoDB and Kinesis event sources:</p> <ul> <li> <p> <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p> </li> </ul> <p>For information about which configuration parameters apply to each event source, see the following topics.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration"> Amazon DocumentDB</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -124,6 +124,7 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
124
124
|
* ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
125
125
|
* MinimumPollers: Number("int"),
|
|
126
126
|
* MaximumPollers: Number("int"),
|
|
127
|
+
* PollerGroupName: "STRING_VALUE",
|
|
127
128
|
* },
|
|
128
129
|
* };
|
|
129
130
|
* const command = new UpdateEventSourceMappingCommand(input);
|
|
@@ -240,6 +241,7 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
240
241
|
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
241
242
|
* // MinimumPollers: Number("int"),
|
|
242
243
|
* // MaximumPollers: Number("int"),
|
|
244
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
243
245
|
* // },
|
|
244
246
|
* // };
|
|
245
247
|
*
|
|
@@ -527,7 +527,7 @@ export interface UpdateCodeSigningConfigResponse {
|
|
|
527
527
|
*/
|
|
528
528
|
export interface OnFailure {
|
|
529
529
|
/**
|
|
530
|
-
* <p>The Amazon Resource Name (ARN) of the destination resource.</p> <p>To retain records of
|
|
530
|
+
* <p>The Amazon Resource Name (ARN) of the destination resource.</p> <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html">Kinesis</a>, <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html">DynamoDB</a>, <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html">self-managed Apache Kafka</a>, or <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html">Amazon MSK</a>, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.</p> <note> <p>Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending <code>OnFailure</code> event to the destination. For details on this behavior, refer to <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html">Retaining records of asynchronous invocations</a>.</p> </note> <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html">Kinesis</a>, <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html">DynamoDB</a>, <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed Kafka</a> or <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination">Amazon MSK</a>, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.</p>
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
533
|
Destination?: string | undefined;
|
|
@@ -628,6 +628,11 @@ export interface ProvisionedPollerConfig {
|
|
|
628
628
|
* @public
|
|
629
629
|
*/
|
|
630
630
|
MaximumPollers?: number | undefined;
|
|
631
|
+
/**
|
|
632
|
+
* <p>(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the VPC to share Event Poller Unit (EPU) capacity. This option is used to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.</p>
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
PollerGroupName?: string | undefined;
|
|
631
636
|
}
|
|
632
637
|
/**
|
|
633
638
|
* <p>(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.</p>
|
|
@@ -733,22 +738,22 @@ export interface CreateEventSourceMappingRequest {
|
|
|
733
738
|
*/
|
|
734
739
|
StartingPositionTimestamp?: Date | undefined;
|
|
735
740
|
/**
|
|
736
|
-
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka
|
|
741
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.</p>
|
|
737
742
|
* @public
|
|
738
743
|
*/
|
|
739
744
|
DestinationConfig?: DestinationConfig | undefined;
|
|
740
745
|
/**
|
|
741
|
-
* <p>(Kinesis
|
|
746
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
742
747
|
* @public
|
|
743
748
|
*/
|
|
744
749
|
MaximumRecordAgeInSeconds?: number | undefined;
|
|
745
750
|
/**
|
|
746
|
-
* <p>(Kinesis
|
|
751
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) If the function returns an error, split the batch in two and retry.</p>
|
|
747
752
|
* @public
|
|
748
753
|
*/
|
|
749
754
|
BisectBatchOnFunctionError?: boolean | undefined;
|
|
750
755
|
/**
|
|
751
|
-
* <p>(Kinesis
|
|
756
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
752
757
|
* @public
|
|
753
758
|
*/
|
|
754
759
|
MaximumRetryAttempts?: number | undefined;
|
|
@@ -783,7 +788,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
783
788
|
*/
|
|
784
789
|
SelfManagedEventSource?: SelfManagedEventSource | undefined;
|
|
785
790
|
/**
|
|
786
|
-
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
791
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
787
792
|
* @public
|
|
788
793
|
*/
|
|
789
794
|
FunctionResponseTypes?: FunctionResponseType[] | undefined;
|
|
@@ -910,7 +915,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
910
915
|
*/
|
|
911
916
|
StateTransitionReason?: string | undefined;
|
|
912
917
|
/**
|
|
913
|
-
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka
|
|
918
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.</p>
|
|
914
919
|
* @public
|
|
915
920
|
*/
|
|
916
921
|
DestinationConfig?: DestinationConfig | undefined;
|
|
@@ -935,17 +940,17 @@ export interface EventSourceMappingConfiguration {
|
|
|
935
940
|
*/
|
|
936
941
|
SelfManagedEventSource?: SelfManagedEventSource | undefined;
|
|
937
942
|
/**
|
|
938
|
-
* <p>(Kinesis
|
|
943
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.</p> <note> <p>The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed</p> </note>
|
|
939
944
|
* @public
|
|
940
945
|
*/
|
|
941
946
|
MaximumRecordAgeInSeconds?: number | undefined;
|
|
942
947
|
/**
|
|
943
|
-
* <p>(Kinesis
|
|
948
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) If the function returns an error, split the batch in two and retry. The default value is false.</p>
|
|
944
949
|
* @public
|
|
945
950
|
*/
|
|
946
951
|
BisectBatchOnFunctionError?: boolean | undefined;
|
|
947
952
|
/**
|
|
948
|
-
* <p>(Kinesis
|
|
953
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.</p>
|
|
949
954
|
* @public
|
|
950
955
|
*/
|
|
951
956
|
MaximumRetryAttempts?: number | undefined;
|
|
@@ -955,7 +960,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
955
960
|
*/
|
|
956
961
|
TumblingWindowInSeconds?: number | undefined;
|
|
957
962
|
/**
|
|
958
|
-
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
963
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
959
964
|
* @public
|
|
960
965
|
*/
|
|
961
966
|
FunctionResponseTypes?: FunctionResponseType[] | undefined;
|
|
@@ -1100,22 +1105,22 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1100
1105
|
*/
|
|
1101
1106
|
MaximumBatchingWindowInSeconds?: number | undefined;
|
|
1102
1107
|
/**
|
|
1103
|
-
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka
|
|
1108
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.</p>
|
|
1104
1109
|
* @public
|
|
1105
1110
|
*/
|
|
1106
1111
|
DestinationConfig?: DestinationConfig | undefined;
|
|
1107
1112
|
/**
|
|
1108
|
-
* <p>(Kinesis
|
|
1113
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
1109
1114
|
* @public
|
|
1110
1115
|
*/
|
|
1111
1116
|
MaximumRecordAgeInSeconds?: number | undefined;
|
|
1112
1117
|
/**
|
|
1113
|
-
* <p>(Kinesis
|
|
1118
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) If the function returns an error, split the batch in two and retry.</p>
|
|
1114
1119
|
* @public
|
|
1115
1120
|
*/
|
|
1116
1121
|
BisectBatchOnFunctionError?: boolean | undefined;
|
|
1117
1122
|
/**
|
|
1118
|
-
* <p>(Kinesis
|
|
1123
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
1119
1124
|
* @public
|
|
1120
1125
|
*/
|
|
1121
1126
|
MaximumRetryAttempts?: number | undefined;
|
|
@@ -1135,7 +1140,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1135
1140
|
*/
|
|
1136
1141
|
TumblingWindowInSeconds?: number | undefined;
|
|
1137
1142
|
/**
|
|
1138
|
-
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1143
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1139
1144
|
* @public
|
|
1140
1145
|
*/
|
|
1141
1146
|
FunctionResponseTypes?: FunctionResponseType[] | undefined;
|
|
@@ -189,6 +189,7 @@ export interface EventSourceMappingMetricsConfig {
|
|
|
189
189
|
export interface ProvisionedPollerConfig {
|
|
190
190
|
MinimumPollers?: number | undefined;
|
|
191
191
|
MaximumPollers?: number | undefined;
|
|
192
|
+
PollerGroupName?: string | undefined;
|
|
192
193
|
}
|
|
193
194
|
export interface ScalingConfig {
|
|
194
195
|
MaximumConcurrency?: number | 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.
|
|
4
|
+
"version": "3.938.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,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.2.5",
|