@aws-sdk/client-lambda 3.515.0 → 3.516.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.
|
@@ -33,6 +33,10 @@ declare const InvokeAsyncCommand_base: {
|
|
|
33
33
|
* <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
|
|
34
34
|
* </important>
|
|
35
35
|
* <p>Invokes a function asynchronously.</p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not
|
|
38
|
+
* propagated to the function, even if X-Ray active tracing is turned on.</p>
|
|
39
|
+
* </note>
|
|
36
40
|
* @example
|
|
37
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
42
|
* ```javascript
|
|
@@ -603,6 +603,15 @@ export interface OnFailure {
|
|
|
603
603
|
/**
|
|
604
604
|
* @public
|
|
605
605
|
* <p>The Amazon Resource Name (ARN) of the destination resource.</p>
|
|
606
|
+
* <p>To retain records of <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">asynchronous invocations</a>,
|
|
607
|
+
* you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,
|
|
608
|
+
* or Amazon EventBridge event bus as the destination.</p>
|
|
609
|
+
* <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations">Kinesis and
|
|
610
|
+
* DynamoDB event sources</a>, you can configure an Amazon SNS topic or
|
|
611
|
+
* Amazon SQS queue as the destination.</p>
|
|
612
|
+
* <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed Kafka</a> or
|
|
613
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination">Amazon MSK</a>,
|
|
614
|
+
* you can configure an Amazon SNS topic or Amazon SQS queue as the destination.</p>
|
|
606
615
|
*/
|
|
607
616
|
Destination?: string;
|
|
608
617
|
}
|
|
@@ -874,7 +883,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
874
883
|
* </li>
|
|
875
884
|
* <li>
|
|
876
885
|
* <p>
|
|
877
|
-
* <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster.</p>
|
|
886
|
+
* <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster or the ARN of the VPC connection (for <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc">cross-account event source mappings</a>).</p>
|
|
878
887
|
* </li>
|
|
879
888
|
* <li>
|
|
880
889
|
* <p>
|
|
@@ -993,7 +1002,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
993
1002
|
StartingPositionTimestamp?: Date;
|
|
994
1003
|
/**
|
|
995
1004
|
* @public
|
|
996
|
-
* <p>(Kinesis
|
|
1005
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p>
|
|
997
1006
|
*/
|
|
998
1007
|
DestinationConfig?: DestinationConfig;
|
|
999
1008
|
/**
|
|
@@ -1328,8 +1337,8 @@ export interface Environment {
|
|
|
1328
1337
|
}
|
|
1329
1338
|
/**
|
|
1330
1339
|
* @public
|
|
1331
|
-
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but
|
|
1332
|
-
*
|
|
1340
|
+
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
1341
|
+
* number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
|
|
1333
1342
|
*/
|
|
1334
1343
|
export interface EphemeralStorage {
|
|
1335
1344
|
/**
|
|
@@ -1417,13 +1426,13 @@ export interface LoggingConfig {
|
|
|
1417
1426
|
/**
|
|
1418
1427
|
* @public
|
|
1419
1428
|
* <p>Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the
|
|
1420
|
-
* selected level and lower.</p>
|
|
1429
|
+
* selected level of detail and lower, where <code>TRACE</code> is the highest level and <code>FATAL</code> is the lowest.</p>
|
|
1421
1430
|
*/
|
|
1422
1431
|
ApplicationLogLevel?: ApplicationLogLevel;
|
|
1423
1432
|
/**
|
|
1424
1433
|
* @public
|
|
1425
1434
|
* <p>Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the
|
|
1426
|
-
* selected level and lower.</p>
|
|
1435
|
+
* selected level of detail and lower, where <code>DEBUG</code> is the highest level and <code>WARN</code> is the lowest.</p>
|
|
1427
1436
|
*/
|
|
1428
1437
|
SystemLogLevel?: SystemLogLevel;
|
|
1429
1438
|
/**
|
|
@@ -1713,7 +1722,7 @@ export interface CreateFunctionRequest {
|
|
|
1713
1722
|
/**
|
|
1714
1723
|
* @public
|
|
1715
1724
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
1716
|
-
* number between 512 and 10,240 MB
|
|
1725
|
+
* number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
|
|
1717
1726
|
*/
|
|
1718
1727
|
EphemeralStorage?: EphemeralStorage;
|
|
1719
1728
|
/**
|
|
@@ -2181,8 +2190,8 @@ export interface FunctionConfiguration {
|
|
|
2181
2190
|
Architectures?: Architecture[];
|
|
2182
2191
|
/**
|
|
2183
2192
|
* @public
|
|
2184
|
-
* <p>The size of the function
|
|
2185
|
-
*
|
|
2193
|
+
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
2194
|
+
* number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
|
|
2186
2195
|
*/
|
|
2187
2196
|
EphemeralStorage?: EphemeralStorage;
|
|
2188
2197
|
/**
|
|
@@ -3791,7 +3800,8 @@ export interface InvocationRequest {
|
|
|
3791
3800
|
/**
|
|
3792
3801
|
* @public
|
|
3793
3802
|
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
3794
|
-
* object
|
|
3803
|
+
* object. Lambda passes the <code>ClientContext</code> object to your function for
|
|
3804
|
+
* synchronous invocations only.</p>
|
|
3795
3805
|
*/
|
|
3796
3806
|
ClientContext?: string;
|
|
3797
3807
|
/**
|
|
@@ -4368,7 +4378,7 @@ export interface ListEventSourceMappingsRequest {
|
|
|
4368
4378
|
* </li>
|
|
4369
4379
|
* <li>
|
|
4370
4380
|
* <p>
|
|
4371
|
-
* <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster.</p>
|
|
4381
|
+
* <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster or the ARN of the VPC connection (for <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc">cross-account event source mappings</a>).</p>
|
|
4372
4382
|
* </li>
|
|
4373
4383
|
* <li>
|
|
4374
4384
|
* <p>
|
|
@@ -4700,7 +4710,7 @@ export interface ListFunctionUrlConfigsResponse {
|
|
|
4700
4710
|
export interface ListLayersRequest {
|
|
4701
4711
|
/**
|
|
4702
4712
|
* @public
|
|
4703
|
-
* <p>A runtime identifier. For example, <code>
|
|
4713
|
+
* <p>A runtime identifier. For example, <code>java21</code>.</p>
|
|
4704
4714
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4705
4715
|
*/
|
|
4706
4716
|
CompatibleRuntime?: Runtime;
|
|
@@ -4808,7 +4818,7 @@ export interface ListLayersResponse {
|
|
|
4808
4818
|
export interface ListLayerVersionsRequest {
|
|
4809
4819
|
/**
|
|
4810
4820
|
* @public
|
|
4811
|
-
* <p>A runtime identifier. For example, <code>
|
|
4821
|
+
* <p>A runtime identifier. For example, <code>java21</code>.</p>
|
|
4812
4822
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4813
4823
|
*/
|
|
4814
4824
|
CompatibleRuntime?: Runtime;
|
|
@@ -5822,7 +5832,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
5822
5832
|
MaximumBatchingWindowInSeconds?: number;
|
|
5823
5833
|
/**
|
|
5824
5834
|
* @public
|
|
5825
|
-
* <p>(Kinesis
|
|
5835
|
+
* <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p>
|
|
5826
5836
|
*/
|
|
5827
5837
|
DestinationConfig?: DestinationConfig;
|
|
5828
5838
|
/**
|
|
@@ -6077,7 +6087,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
6077
6087
|
/**
|
|
6078
6088
|
* @public
|
|
6079
6089
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
6080
|
-
* number between 512 and 10,240 MB
|
|
6090
|
+
* number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
|
|
6081
6091
|
*/
|
|
6082
6092
|
EphemeralStorage?: EphemeralStorage;
|
|
6083
6093
|
/**
|
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.516.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",
|