@aws-sdk/client-lambda 3.211.0 → 3.213.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/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +16 -32
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +16 -32
- package/dist-types/Lambda.d.ts +1 -1
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -21
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +29 -29
|
@@ -221,6 +221,7 @@ var Runtime;
|
|
|
221
221
|
Runtime["nodejs12x"] = "nodejs12.x";
|
|
222
222
|
Runtime["nodejs14x"] = "nodejs14.x";
|
|
223
223
|
Runtime["nodejs16x"] = "nodejs16.x";
|
|
224
|
+
Runtime["nodejs18x"] = "nodejs18.x";
|
|
224
225
|
Runtime["nodejs43"] = "nodejs4.3";
|
|
225
226
|
Runtime["nodejs43edge"] = "nodejs4.3-edge";
|
|
226
227
|
Runtime["nodejs610"] = "nodejs6.10";
|
|
@@ -6011,10 +6011,8 @@ const serializeAws_restJson1AdditionalVersionWeights = (input, context) => {
|
|
|
6011
6011
|
if (value === null) {
|
|
6012
6012
|
return acc;
|
|
6013
6013
|
}
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
[key]: (0, smithy_client_1.serializeFloat)(value),
|
|
6017
|
-
};
|
|
6014
|
+
acc[key] = (0, smithy_client_1.serializeFloat)(value);
|
|
6015
|
+
return acc;
|
|
6018
6016
|
}, {});
|
|
6019
6017
|
};
|
|
6020
6018
|
const serializeAws_restJson1AliasRoutingConfiguration = (input, context) => {
|
|
@@ -6117,10 +6115,8 @@ const serializeAws_restJson1Endpoints = (input, context) => {
|
|
|
6117
6115
|
if (value === null) {
|
|
6118
6116
|
return acc;
|
|
6119
6117
|
}
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
[key]: serializeAws_restJson1EndpointLists(value, context),
|
|
6123
|
-
};
|
|
6118
|
+
acc[key] = serializeAws_restJson1EndpointLists(value, context);
|
|
6119
|
+
return acc;
|
|
6124
6120
|
}, {});
|
|
6125
6121
|
};
|
|
6126
6122
|
const serializeAws_restJson1Environment = (input, context) => {
|
|
@@ -6133,10 +6129,8 @@ const serializeAws_restJson1EnvironmentVariables = (input, context) => {
|
|
|
6133
6129
|
if (value === null) {
|
|
6134
6130
|
return acc;
|
|
6135
6131
|
}
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
[key]: value,
|
|
6139
|
-
};
|
|
6132
|
+
acc[key] = value;
|
|
6133
|
+
return acc;
|
|
6140
6134
|
}, {});
|
|
6141
6135
|
};
|
|
6142
6136
|
const serializeAws_restJson1EphemeralStorage = (input, context) => {
|
|
@@ -6292,10 +6286,8 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
6292
6286
|
if (value === null) {
|
|
6293
6287
|
return acc;
|
|
6294
6288
|
}
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
[key]: value,
|
|
6298
|
-
};
|
|
6289
|
+
acc[key] = value;
|
|
6290
|
+
return acc;
|
|
6299
6291
|
}, {});
|
|
6300
6292
|
};
|
|
6301
6293
|
const serializeAws_restJson1Topics = (input, context) => {
|
|
@@ -6338,10 +6330,8 @@ const deserializeAws_restJson1AdditionalVersionWeights = (output, context) => {
|
|
|
6338
6330
|
if (value === null) {
|
|
6339
6331
|
return acc;
|
|
6340
6332
|
}
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
[key]: (0, smithy_client_1.limitedParseDouble)(value),
|
|
6344
|
-
};
|
|
6333
|
+
acc[key] = (0, smithy_client_1.limitedParseDouble)(value);
|
|
6334
|
+
return acc;
|
|
6345
6335
|
}, {});
|
|
6346
6336
|
};
|
|
6347
6337
|
const deserializeAws_restJson1AliasConfiguration = (output, context) => {
|
|
@@ -6513,10 +6503,8 @@ const deserializeAws_restJson1Endpoints = (output, context) => {
|
|
|
6513
6503
|
if (value === null) {
|
|
6514
6504
|
return acc;
|
|
6515
6505
|
}
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
[key]: deserializeAws_restJson1EndpointLists(value, context),
|
|
6519
|
-
};
|
|
6506
|
+
acc[key] = deserializeAws_restJson1EndpointLists(value, context);
|
|
6507
|
+
return acc;
|
|
6520
6508
|
}, {});
|
|
6521
6509
|
};
|
|
6522
6510
|
const deserializeAws_restJson1EnvironmentError = (output, context) => {
|
|
@@ -6536,10 +6524,8 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
6536
6524
|
if (value === null) {
|
|
6537
6525
|
return acc;
|
|
6538
6526
|
}
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
6542
|
-
};
|
|
6527
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
6528
|
+
return acc;
|
|
6543
6529
|
}, {});
|
|
6544
6530
|
};
|
|
6545
6531
|
const deserializeAws_restJson1EphemeralStorage = (output, context) => {
|
|
@@ -7001,10 +6987,8 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
7001
6987
|
if (value === null) {
|
|
7002
6988
|
return acc;
|
|
7003
6989
|
}
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
7007
|
-
};
|
|
6990
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
6991
|
+
return acc;
|
|
7008
6992
|
}, {});
|
|
7009
6993
|
};
|
|
7010
6994
|
const deserializeAws_restJson1Topics = (output, context) => {
|
|
@@ -205,6 +205,7 @@ export var Runtime;
|
|
|
205
205
|
Runtime["nodejs12x"] = "nodejs12.x";
|
|
206
206
|
Runtime["nodejs14x"] = "nodejs14.x";
|
|
207
207
|
Runtime["nodejs16x"] = "nodejs16.x";
|
|
208
|
+
Runtime["nodejs18x"] = "nodejs18.x";
|
|
208
209
|
Runtime["nodejs43"] = "nodejs4.3";
|
|
209
210
|
Runtime["nodejs43edge"] = "nodejs4.3-edge";
|
|
210
211
|
Runtime["nodejs610"] = "nodejs6.10";
|
|
@@ -5880,10 +5880,8 @@ const serializeAws_restJson1AdditionalVersionWeights = (input, context) => {
|
|
|
5880
5880
|
if (value === null) {
|
|
5881
5881
|
return acc;
|
|
5882
5882
|
}
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
[key]: __serializeFloat(value),
|
|
5886
|
-
};
|
|
5883
|
+
acc[key] = __serializeFloat(value);
|
|
5884
|
+
return acc;
|
|
5887
5885
|
}, {});
|
|
5888
5886
|
};
|
|
5889
5887
|
const serializeAws_restJson1AliasRoutingConfiguration = (input, context) => {
|
|
@@ -5986,10 +5984,8 @@ const serializeAws_restJson1Endpoints = (input, context) => {
|
|
|
5986
5984
|
if (value === null) {
|
|
5987
5985
|
return acc;
|
|
5988
5986
|
}
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
[key]: serializeAws_restJson1EndpointLists(value, context),
|
|
5992
|
-
};
|
|
5987
|
+
acc[key] = serializeAws_restJson1EndpointLists(value, context);
|
|
5988
|
+
return acc;
|
|
5993
5989
|
}, {});
|
|
5994
5990
|
};
|
|
5995
5991
|
const serializeAws_restJson1Environment = (input, context) => {
|
|
@@ -6002,10 +5998,8 @@ const serializeAws_restJson1EnvironmentVariables = (input, context) => {
|
|
|
6002
5998
|
if (value === null) {
|
|
6003
5999
|
return acc;
|
|
6004
6000
|
}
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
[key]: value,
|
|
6008
|
-
};
|
|
6001
|
+
acc[key] = value;
|
|
6002
|
+
return acc;
|
|
6009
6003
|
}, {});
|
|
6010
6004
|
};
|
|
6011
6005
|
const serializeAws_restJson1EphemeralStorage = (input, context) => {
|
|
@@ -6161,10 +6155,8 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
6161
6155
|
if (value === null) {
|
|
6162
6156
|
return acc;
|
|
6163
6157
|
}
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
[key]: value,
|
|
6167
|
-
};
|
|
6158
|
+
acc[key] = value;
|
|
6159
|
+
return acc;
|
|
6168
6160
|
}, {});
|
|
6169
6161
|
};
|
|
6170
6162
|
const serializeAws_restJson1Topics = (input, context) => {
|
|
@@ -6207,10 +6199,8 @@ const deserializeAws_restJson1AdditionalVersionWeights = (output, context) => {
|
|
|
6207
6199
|
if (value === null) {
|
|
6208
6200
|
return acc;
|
|
6209
6201
|
}
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
[key]: __limitedParseDouble(value),
|
|
6213
|
-
};
|
|
6202
|
+
acc[key] = __limitedParseDouble(value);
|
|
6203
|
+
return acc;
|
|
6214
6204
|
}, {});
|
|
6215
6205
|
};
|
|
6216
6206
|
const deserializeAws_restJson1AliasConfiguration = (output, context) => {
|
|
@@ -6382,10 +6372,8 @@ const deserializeAws_restJson1Endpoints = (output, context) => {
|
|
|
6382
6372
|
if (value === null) {
|
|
6383
6373
|
return acc;
|
|
6384
6374
|
}
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
[key]: deserializeAws_restJson1EndpointLists(value, context),
|
|
6388
|
-
};
|
|
6375
|
+
acc[key] = deserializeAws_restJson1EndpointLists(value, context);
|
|
6376
|
+
return acc;
|
|
6389
6377
|
}, {});
|
|
6390
6378
|
};
|
|
6391
6379
|
const deserializeAws_restJson1EnvironmentError = (output, context) => {
|
|
@@ -6405,10 +6393,8 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
6405
6393
|
if (value === null) {
|
|
6406
6394
|
return acc;
|
|
6407
6395
|
}
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
[key]: __expectString(value),
|
|
6411
|
-
};
|
|
6396
|
+
acc[key] = __expectString(value);
|
|
6397
|
+
return acc;
|
|
6412
6398
|
}, {});
|
|
6413
6399
|
};
|
|
6414
6400
|
const deserializeAws_restJson1EphemeralStorage = (output, context) => {
|
|
@@ -6870,10 +6856,8 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
6870
6856
|
if (value === null) {
|
|
6871
6857
|
return acc;
|
|
6872
6858
|
}
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
[key]: __expectString(value),
|
|
6876
|
-
};
|
|
6859
|
+
acc[key] = __expectString(value);
|
|
6860
|
+
return acc;
|
|
6877
6861
|
}, {});
|
|
6878
6862
|
};
|
|
6879
6863
|
const deserializeAws_restJson1Topics = (output, context) => {
|
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -175,7 +175,7 @@ export declare class Lambda extends LambdaClient {
|
|
|
175
175
|
createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
|
|
176
176
|
createAlias(args: CreateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
|
|
177
177
|
/**
|
|
178
|
-
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
|
178
|
+
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of
|
|
179
179
|
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
|
|
180
180
|
* validation checks fail). </p>
|
|
181
181
|
*/
|
|
@@ -8,7 +8,7 @@ export interface CreateCodeSigningConfigCommandInput extends CreateCodeSigningCo
|
|
|
8
8
|
export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningConfigResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
|
11
|
+
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of
|
|
12
12
|
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
|
|
13
13
|
* validation checks fail). </p>
|
|
14
14
|
* @example
|
|
@@ -338,7 +338,7 @@ export interface AmazonManagedKafkaEventSourceConfig {
|
|
|
338
338
|
/**
|
|
339
339
|
* <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
|
|
340
340
|
* After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
|
|
341
|
-
* <a
|
|
341
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id">Customizable consumer group ID</a>.</p>
|
|
342
342
|
*/
|
|
343
343
|
ConsumerGroupId?: string;
|
|
344
344
|
}
|
|
@@ -537,7 +537,7 @@ export interface SelfManagedKafkaEventSourceConfig {
|
|
|
537
537
|
/**
|
|
538
538
|
* <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
|
|
539
539
|
* After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
|
|
540
|
-
* <a
|
|
540
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id">Customizable consumer group ID</a>.</p>
|
|
541
541
|
*/
|
|
542
542
|
ConsumerGroupId?: string;
|
|
543
543
|
}
|
|
@@ -568,23 +568,23 @@ export interface SourceAccessConfiguration {
|
|
|
568
568
|
* </li>
|
|
569
569
|
* <li>
|
|
570
570
|
* <p>
|
|
571
|
-
* <code>VPC_SUBNET</code> - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.</p>
|
|
571
|
+
* <code>VPC_SUBNET</code> - (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.</p>
|
|
572
572
|
* </li>
|
|
573
573
|
* <li>
|
|
574
574
|
* <p>
|
|
575
|
-
* <code>VPC_SECURITY_GROUP</code> - The VPC security group used to manage access to your self-managed Apache Kafka brokers.</p>
|
|
575
|
+
* <code>VPC_SECURITY_GROUP</code> - (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.</p>
|
|
576
576
|
* </li>
|
|
577
577
|
* <li>
|
|
578
578
|
* <p>
|
|
579
|
-
* <code>SASL_SCRAM_256_AUTH</code> - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.</p>
|
|
579
|
+
* <code>SASL_SCRAM_256_AUTH</code> - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.</p>
|
|
580
580
|
* </li>
|
|
581
581
|
* <li>
|
|
582
582
|
* <p>
|
|
583
|
-
* <code>SASL_SCRAM_512_AUTH</code> - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.</p>
|
|
583
|
+
* <code>SASL_SCRAM_512_AUTH</code> - (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.</p>
|
|
584
584
|
* </li>
|
|
585
585
|
* <li>
|
|
586
586
|
* <p>
|
|
587
|
-
* <code>VIRTUAL_HOST</code> - (
|
|
587
|
+
* <code>VIRTUAL_HOST</code> - (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
|
|
588
588
|
* This property cannot be specified in an UpdateEventSourceMapping API call.</p>
|
|
589
589
|
* </li>
|
|
590
590
|
* <li>
|
|
@@ -702,9 +702,12 @@ export interface CreateEventSourceMappingRequest {
|
|
|
702
702
|
*/
|
|
703
703
|
FilterCriteria?: FilterCriteria;
|
|
704
704
|
/**
|
|
705
|
-
* <p>
|
|
706
|
-
*
|
|
707
|
-
* <p>
|
|
705
|
+
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
706
|
+
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
707
|
+
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ event sources, the default
|
|
708
|
+
* batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it.
|
|
709
|
+
* To restore the default batching window, you must create a new event source mapping.</p>
|
|
710
|
+
* <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
708
711
|
*/
|
|
709
712
|
MaximumBatchingWindowInSeconds?: number;
|
|
710
713
|
/**
|
|
@@ -796,9 +799,12 @@ export interface EventSourceMappingConfiguration {
|
|
|
796
799
|
*/
|
|
797
800
|
BatchSize?: number;
|
|
798
801
|
/**
|
|
799
|
-
* <p>
|
|
800
|
-
*
|
|
801
|
-
* <p>
|
|
802
|
+
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
803
|
+
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
804
|
+
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ event sources, the default
|
|
805
|
+
* batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it.
|
|
806
|
+
* To restore the default batching window, you must create a new event source mapping.</p>
|
|
807
|
+
* <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
802
808
|
*/
|
|
803
809
|
MaximumBatchingWindowInSeconds?: number;
|
|
804
810
|
/**
|
|
@@ -1040,6 +1046,7 @@ export declare enum Runtime {
|
|
|
1040
1046
|
nodejs12x = "nodejs12.x",
|
|
1041
1047
|
nodejs14x = "nodejs14.x",
|
|
1042
1048
|
nodejs16x = "nodejs16.x",
|
|
1049
|
+
nodejs18x = "nodejs18.x",
|
|
1043
1050
|
nodejs43 = "nodejs4.3",
|
|
1044
1051
|
nodejs43edge = "nodejs4.3-edge",
|
|
1045
1052
|
nodejs610 = "nodejs6.10",
|
|
@@ -1225,7 +1232,7 @@ export interface EnvironmentError {
|
|
|
1225
1232
|
*/
|
|
1226
1233
|
export interface EnvironmentResponse {
|
|
1227
1234
|
/**
|
|
1228
|
-
* <p>Environment variable key-value pairs.</p>
|
|
1235
|
+
* <p>Environment variable key-value pairs. Omitted from CloudTrail logs.</p>
|
|
1229
1236
|
*/
|
|
1230
1237
|
Variables?: Record<string, string>;
|
|
1231
1238
|
/**
|
|
@@ -1406,7 +1413,7 @@ export interface FunctionConfiguration {
|
|
|
1406
1413
|
*/
|
|
1407
1414
|
DeadLetterConfig?: DeadLetterConfig;
|
|
1408
1415
|
/**
|
|
1409
|
-
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html">environment variables</a
|
|
1416
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html">environment variables</a>. Omitted from CloudTrail logs.</p>
|
|
1410
1417
|
*/
|
|
1411
1418
|
Environment?: EnvironmentResponse;
|
|
1412
1419
|
/**
|
|
@@ -2401,7 +2408,7 @@ export interface GetProvisionedConcurrencyConfigResponse {
|
|
|
2401
2408
|
*/
|
|
2402
2409
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
2403
2410
|
/**
|
|
2404
|
-
* <p>The amount of provisioned concurrency allocated.</p>
|
|
2411
|
+
* <p>The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.</p>
|
|
2405
2412
|
*/
|
|
2406
2413
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
2407
2414
|
/**
|
|
@@ -3339,7 +3346,7 @@ export interface ProvisionedConcurrencyConfigListItem {
|
|
|
3339
3346
|
*/
|
|
3340
3347
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
3341
3348
|
/**
|
|
3342
|
-
* <p>The amount of provisioned concurrency allocated.</p>
|
|
3349
|
+
* <p>The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.</p>
|
|
3343
3350
|
*/
|
|
3344
3351
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
3345
3352
|
/**
|
|
@@ -3758,7 +3765,7 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
3758
3765
|
*/
|
|
3759
3766
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
3760
3767
|
/**
|
|
3761
|
-
* <p>The amount of provisioned concurrency allocated.</p>
|
|
3768
|
+
* <p>The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.</p>
|
|
3762
3769
|
*/
|
|
3763
3770
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
3764
3771
|
/**
|
|
@@ -3996,9 +4003,12 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
3996
4003
|
*/
|
|
3997
4004
|
FilterCriteria?: FilterCriteria;
|
|
3998
4005
|
/**
|
|
3999
|
-
* <p>
|
|
4000
|
-
*
|
|
4001
|
-
* <p>
|
|
4006
|
+
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
4007
|
+
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
4008
|
+
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ event sources, the default
|
|
4009
|
+
* batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it.
|
|
4010
|
+
* To restore the default batching window, you must create a new event source mapping.</p>
|
|
4011
|
+
* <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
4002
4012
|
*/
|
|
4003
4013
|
MaximumBatchingWindowInSeconds?: number;
|
|
4004
4014
|
/**
|
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.213.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,39 +19,39 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.213.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
42
|
+
"@aws-sdk/types": "3.212.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
|
-
"@aws-sdk/util-waiter": "3.
|
|
54
|
+
"@aws-sdk/util-waiter": "3.212.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|