@aws-sdk/client-lambda 3.279.0 → 3.281.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/README.md +523 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +14 -5
- package/dist-cjs/protocols/Aws_restJson1.js +38 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +38 -0
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +6 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +6 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +6 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +6 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +6 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +6 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +6 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +6 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +6 -0
- package/dist-types/commands/GetAliasCommand.d.ts +6 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +6 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +6 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +6 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +6 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +6 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +6 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +6 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +6 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +6 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +6 -0
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +6 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -0
- package/dist-types/commands/InvokeCommand.d.ts +6 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +6 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +6 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +6 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +6 -0
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +6 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +6 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +6 -0
- package/dist-types/commands/ListLayersCommand.d.ts +6 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsCommand.d.ts +6 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +6 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +6 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +6 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +6 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +6 -0
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +6 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +6 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +6 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +64 -17
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/package.json +3 -3
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { UntagResourceRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UntagResourceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UntagResourceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { AliasConfiguration, UpdateAliasRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateAliasCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateAliasCommandInput extends UpdateAliasRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateAliasCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateAliasCommandOutput extends AliasConfiguration, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { UpdateCodeSigningConfigRequest, UpdateCodeSigningConfigResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateCodeSigningConfigCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateCodeSigningConfigCommandInput extends UpdateCodeSigningConfigRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateCodeSigningConfigCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateCodeSigningConfigCommandOutput extends UpdateCodeSigningConfigResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { EventSourceMappingConfiguration, UpdateEventSourceMappingRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateEventSourceMappingCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateEventSourceMappingCommandInput extends UpdateEventSourceMappingRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateEventSourceMappingCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { FunctionConfiguration, UpdateFunctionCodeRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateFunctionCodeCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateFunctionCodeCommandInput extends UpdateFunctionCodeRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateFunctionCodeCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { FunctionConfiguration, UpdateFunctionConfigurationRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateFunctionConfigurationCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateFunctionConfigurationCommandInput extends UpdateFunctionConfigurationRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateFunctionConfigurationCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfiguration, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { FunctionEventInvokeConfig, UpdateFunctionEventInvokeConfigRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateFunctionEventInvokeConfigCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateFunctionEventInvokeConfigCommandInput extends UpdateFunctionEventInvokeConfigRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateFunctionEventInvokeConfigCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
5
5
|
import { UpdateFunctionUrlConfigRequest, UpdateFunctionUrlConfigResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateFunctionUrlConfigCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateFunctionUrlConfigCommandInput extends UpdateFunctionUrlConfigRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateFunctionUrlConfigCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateFunctionUrlConfigCommandOutput extends UpdateFunctionUrlConfigResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -271,7 +271,7 @@ export interface AddPermissionRequest {
|
|
|
271
271
|
PrincipalOrgID?: string;
|
|
272
272
|
/**
|
|
273
273
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
274
|
-
*
|
|
274
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
275
275
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
276
276
|
*/
|
|
277
277
|
FunctionUrlAuthType?: FunctionUrlAuthType | string;
|
|
@@ -486,6 +486,35 @@ export interface DestinationConfig {
|
|
|
486
486
|
*/
|
|
487
487
|
OnFailure?: OnFailure;
|
|
488
488
|
}
|
|
489
|
+
export declare enum FullDocument {
|
|
490
|
+
Default = "Default",
|
|
491
|
+
UpdateLookup = "UpdateLookup"
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* <p>
|
|
495
|
+
* Specific configuration settings for a DocumentDB event source.
|
|
496
|
+
* </p>
|
|
497
|
+
*/
|
|
498
|
+
export interface DocumentDBEventSourceConfig {
|
|
499
|
+
/**
|
|
500
|
+
* <p>
|
|
501
|
+
* The name of the database to consume within the DocumentDB cluster.
|
|
502
|
+
* </p>
|
|
503
|
+
*/
|
|
504
|
+
DatabaseName?: string;
|
|
505
|
+
/**
|
|
506
|
+
* <p>
|
|
507
|
+
* The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
|
|
508
|
+
* </p>
|
|
509
|
+
*/
|
|
510
|
+
CollectionName?: string;
|
|
511
|
+
/**
|
|
512
|
+
* <p>
|
|
513
|
+
* Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
|
|
514
|
+
* </p>
|
|
515
|
+
*/
|
|
516
|
+
FullDocument?: FullDocument | string;
|
|
517
|
+
}
|
|
489
518
|
/**
|
|
490
519
|
* <p>
|
|
491
520
|
* A structure within a <code>FilterCriteria</code> object that defines an event filtering pattern.
|
|
@@ -790,6 +819,10 @@ export interface CreateEventSourceMappingRequest {
|
|
|
790
819
|
* <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
|
|
791
820
|
*/
|
|
792
821
|
ScalingConfig?: ScalingConfig;
|
|
822
|
+
/**
|
|
823
|
+
* <p>Specific configuration settings for a DocumentDB event source.</p>
|
|
824
|
+
*/
|
|
825
|
+
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
793
826
|
}
|
|
794
827
|
/**
|
|
795
828
|
* <p>A mapping between an Amazon Web Services resource and a Lambda function. For details, see <a>CreateEventSourceMapping</a>.</p>
|
|
@@ -913,6 +946,10 @@ export interface EventSourceMappingConfiguration {
|
|
|
913
946
|
* <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
|
|
914
947
|
*/
|
|
915
948
|
ScalingConfig?: ScalingConfig;
|
|
949
|
+
/**
|
|
950
|
+
* <p>Specific configuration settings for a DocumentDB event source.</p>
|
|
951
|
+
*/
|
|
952
|
+
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
916
953
|
}
|
|
917
954
|
/**
|
|
918
955
|
* <p>The specified code signing configuration does not exist.</p>
|
|
@@ -1153,8 +1190,8 @@ export interface CreateFunctionRequest {
|
|
|
1153
1190
|
*/
|
|
1154
1191
|
FunctionName: string | undefined;
|
|
1155
1192
|
/**
|
|
1156
|
-
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive
|
|
1157
|
-
*
|
|
1193
|
+
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.</p>
|
|
1194
|
+
* <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>
|
|
1158
1195
|
*/
|
|
1159
1196
|
Runtime?: Runtime | string;
|
|
1160
1197
|
/**
|
|
@@ -1210,8 +1247,7 @@ export interface CreateFunctionRequest {
|
|
|
1210
1247
|
*/
|
|
1211
1248
|
Environment?: Environment;
|
|
1212
1249
|
/**
|
|
1213
|
-
* <p>The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment
|
|
1214
|
-
* variables. If it's not provided, Lambda uses a default service key.</p>
|
|
1250
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, this key is also used to encrypt your function's snapshot. If you don't provide a customer managed key, Lambda uses a default service key.</p>
|
|
1215
1251
|
*/
|
|
1216
1252
|
KMSKeyArn?: string;
|
|
1217
1253
|
/**
|
|
@@ -1527,7 +1563,7 @@ export interface FunctionConfiguration {
|
|
|
1527
1563
|
*/
|
|
1528
1564
|
Environment?: EnvironmentResponse;
|
|
1529
1565
|
/**
|
|
1530
|
-
* <p>The KMS key that's used to encrypt the function's environment variables. This key is
|
|
1566
|
+
* <p>The KMS key that's used to encrypt the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, this key is also used to encrypt the function's snapshot. This key is
|
|
1531
1567
|
* returned only if you've configured a customer managed key.</p>
|
|
1532
1568
|
*/
|
|
1533
1569
|
KMSKeyArn?: string;
|
|
@@ -1697,7 +1733,7 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
1697
1733
|
Qualifier?: string;
|
|
1698
1734
|
/**
|
|
1699
1735
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
1700
|
-
*
|
|
1736
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
1701
1737
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
1702
1738
|
*/
|
|
1703
1739
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
@@ -1718,7 +1754,7 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
1718
1754
|
FunctionArn: string | undefined;
|
|
1719
1755
|
/**
|
|
1720
1756
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
1721
|
-
*
|
|
1757
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
1722
1758
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
1723
1759
|
*/
|
|
1724
1760
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
@@ -2326,7 +2362,7 @@ export interface GetFunctionUrlConfigResponse {
|
|
|
2326
2362
|
FunctionArn: string | undefined;
|
|
2327
2363
|
/**
|
|
2328
2364
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
2329
|
-
*
|
|
2365
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
2330
2366
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
2331
2367
|
*/
|
|
2332
2368
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
@@ -2598,9 +2634,13 @@ export interface GetRuntimeManagementConfigResponse {
|
|
|
2598
2634
|
UpdateRuntimeOn?: UpdateRuntimeOn | string;
|
|
2599
2635
|
/**
|
|
2600
2636
|
* <p>The ARN of the runtime the function is configured to use. If the runtime update mode is <b>Manual</b>, the ARN is returned, otherwise <code>null</code>
|
|
2601
|
-
*
|
|
2637
|
+
* is returned.</p>
|
|
2602
2638
|
*/
|
|
2603
2639
|
RuntimeVersionArn?: string;
|
|
2640
|
+
/**
|
|
2641
|
+
* <p>The Amazon Resource Name (ARN) of your function.</p>
|
|
2642
|
+
*/
|
|
2643
|
+
FunctionArn?: string;
|
|
2604
2644
|
}
|
|
2605
2645
|
/**
|
|
2606
2646
|
* <p>Need additional permissions to configure VPC settings.</p>
|
|
@@ -3378,7 +3418,7 @@ export interface FunctionUrlConfig {
|
|
|
3378
3418
|
Cors?: Cors;
|
|
3379
3419
|
/**
|
|
3380
3420
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
3381
|
-
*
|
|
3421
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
3382
3422
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
3383
3423
|
*/
|
|
3384
3424
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
@@ -4334,6 +4374,10 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
4334
4374
|
* <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
|
|
4335
4375
|
*/
|
|
4336
4376
|
ScalingConfig?: ScalingConfig;
|
|
4377
|
+
/**
|
|
4378
|
+
* <p>Specific configuration settings for a DocumentDB event source.</p>
|
|
4379
|
+
*/
|
|
4380
|
+
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
4337
4381
|
}
|
|
4338
4382
|
export interface UpdateFunctionCodeRequest {
|
|
4339
4383
|
/**
|
|
@@ -4463,8 +4507,8 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4463
4507
|
*/
|
|
4464
4508
|
Environment?: Environment;
|
|
4465
4509
|
/**
|
|
4466
|
-
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive
|
|
4467
|
-
*
|
|
4510
|
+
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.</p>
|
|
4511
|
+
* <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>
|
|
4468
4512
|
*/
|
|
4469
4513
|
Runtime?: Runtime | string;
|
|
4470
4514
|
/**
|
|
@@ -4473,8 +4517,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4473
4517
|
*/
|
|
4474
4518
|
DeadLetterConfig?: DeadLetterConfig;
|
|
4475
4519
|
/**
|
|
4476
|
-
* <p>The ARN of the Key Management Service (KMS) key that's used to encrypt your function's environment
|
|
4477
|
-
* variables. If it's not provided, Lambda uses a default service key.</p>
|
|
4520
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, this key is also used to encrypt your function's snapshot. If you don't provide a customer managed key, Lambda uses a default service key.</p>
|
|
4478
4521
|
*/
|
|
4479
4522
|
KMSKeyArn?: string;
|
|
4480
4523
|
/**
|
|
@@ -4604,7 +4647,7 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
4604
4647
|
Qualifier?: string;
|
|
4605
4648
|
/**
|
|
4606
4649
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
4607
|
-
*
|
|
4650
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
4608
4651
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
4609
4652
|
*/
|
|
4610
4653
|
AuthType?: FunctionUrlAuthType | string;
|
|
@@ -4625,7 +4668,7 @@ export interface UpdateFunctionUrlConfigResponse {
|
|
|
4625
4668
|
FunctionArn: string | undefined;
|
|
4626
4669
|
/**
|
|
4627
4670
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
4628
|
-
*
|
|
4671
|
+
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
4629
4672
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
4630
4673
|
*/
|
|
4631
4674
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
@@ -4715,6 +4758,10 @@ export declare const OnSuccessFilterSensitiveLog: (obj: OnSuccess) => any;
|
|
|
4715
4758
|
* @internal
|
|
4716
4759
|
*/
|
|
4717
4760
|
export declare const DestinationConfigFilterSensitiveLog: (obj: DestinationConfig) => any;
|
|
4761
|
+
/**
|
|
4762
|
+
* @internal
|
|
4763
|
+
*/
|
|
4764
|
+
export declare const DocumentDBEventSourceConfigFilterSensitiveLog: (obj: DocumentDBEventSourceConfig) => any;
|
|
4718
4765
|
/**
|
|
4719
4766
|
* @internal
|
|
4720
4767
|
*/
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -172,6 +172,15 @@ export interface DestinationConfig {
|
|
|
172
172
|
OnSuccess?: OnSuccess;
|
|
173
173
|
OnFailure?: OnFailure;
|
|
174
174
|
}
|
|
175
|
+
export declare enum FullDocument {
|
|
176
|
+
Default = "Default",
|
|
177
|
+
UpdateLookup = "UpdateLookup",
|
|
178
|
+
}
|
|
179
|
+
export interface DocumentDBEventSourceConfig {
|
|
180
|
+
DatabaseName?: string;
|
|
181
|
+
CollectionName?: string;
|
|
182
|
+
FullDocument?: FullDocument | string;
|
|
183
|
+
}
|
|
175
184
|
export interface Filter {
|
|
176
185
|
Pattern?: string;
|
|
177
186
|
}
|
|
@@ -235,6 +244,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
235
244
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
236
245
|
SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
|
|
237
246
|
ScalingConfig?: ScalingConfig;
|
|
247
|
+
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
238
248
|
}
|
|
239
249
|
export interface EventSourceMappingConfiguration {
|
|
240
250
|
UUID?: string;
|
|
@@ -263,6 +273,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
263
273
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
264
274
|
SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
|
|
265
275
|
ScalingConfig?: ScalingConfig;
|
|
276
|
+
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
266
277
|
}
|
|
267
278
|
export declare class CodeSigningConfigNotFoundException extends __BaseException {
|
|
268
279
|
readonly name: "CodeSigningConfigNotFoundException";
|
|
@@ -775,6 +786,7 @@ export declare enum UpdateRuntimeOn {
|
|
|
775
786
|
export interface GetRuntimeManagementConfigResponse {
|
|
776
787
|
UpdateRuntimeOn?: UpdateRuntimeOn | string;
|
|
777
788
|
RuntimeVersionArn?: string;
|
|
789
|
+
FunctionArn?: string;
|
|
778
790
|
}
|
|
779
791
|
export declare class EC2AccessDeniedException extends __BaseException {
|
|
780
792
|
readonly name: "EC2AccessDeniedException";
|
|
@@ -1293,6 +1305,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1293
1305
|
TumblingWindowInSeconds?: number;
|
|
1294
1306
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
1295
1307
|
ScalingConfig?: ScalingConfig;
|
|
1308
|
+
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
1296
1309
|
}
|
|
1297
1310
|
export interface UpdateFunctionCodeRequest {
|
|
1298
1311
|
FunctionName: string | undefined;
|
|
@@ -1393,6 +1406,9 @@ export declare const OnSuccessFilterSensitiveLog: (obj: OnSuccess) => any;
|
|
|
1393
1406
|
export declare const DestinationConfigFilterSensitiveLog: (
|
|
1394
1407
|
obj: DestinationConfig
|
|
1395
1408
|
) => any;
|
|
1409
|
+
export declare const DocumentDBEventSourceConfigFilterSensitiveLog: (
|
|
1410
|
+
obj: DocumentDBEventSourceConfig
|
|
1411
|
+
) => any;
|
|
1396
1412
|
export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
|
|
1397
1413
|
export declare const FilterCriteriaFilterSensitiveLog: (
|
|
1398
1414
|
obj: FilterCriteria
|
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.281.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.281.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.281.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|