@aws-sdk/client-lambda 3.212.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.
@@ -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";
@@ -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";
@@ -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-trustedcode.html">code signing configuration</a> defines a list of
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-trustedcode.html">code signing configuration</a> defines a list of
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>services-msk-consumer-group-id</a>.</p>
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>services-msk-consumer-group-id</a>.</p>
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> - (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
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>(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.</p>
706
- * <p>Default: 0</p>
707
- * <p>Related setting: When you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</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>(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.</p>
800
- * <p>Default: 0</p>
801
- * <p>Related setting: When you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</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>.</p>
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>(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.</p>
4000
- * <p>Default: 0</p>
4001
- * <p>Related setting: When you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</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
  /**
@@ -334,6 +334,7 @@ export declare enum Runtime {
334
334
  nodejs12x = "nodejs12.x",
335
335
  nodejs14x = "nodejs14.x",
336
336
  nodejs16x = "nodejs16.x",
337
+ nodejs18x = "nodejs18.x",
337
338
  nodejs43 = "nodejs4.3",
338
339
  nodejs43edge = "nodejs4.3-edge",
339
340
  nodejs610 = "nodejs6.10",
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.212.0",
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,7 +19,7 @@
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.212.0",
22
+ "@aws-sdk/client-sts": "3.213.0",
23
23
  "@aws-sdk/config-resolver": "3.212.0",
24
24
  "@aws-sdk/credential-provider-node": "3.212.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.212.0",