@aws-sdk/client-lambda 3.54.1 → 3.55.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/CHANGELOG.md +11 -0
- package/dist-cjs/LambdaClient.js +13 -13
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +3 -3
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/CreateAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/CreateFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAliasCommand.js +3 -3
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetAliasCommand.js +3 -3
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +3 -3
- package/dist-cjs/commands/GetLayerVersionCommand.js +3 -3
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-cjs/commands/InvokeAsyncCommand.js +3 -3
- package/dist-cjs/commands/InvokeCommand.js +3 -3
- package/dist-cjs/commands/ListAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionsCommand.js +3 -3
- package/dist-cjs/commands/ListLayerVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListLayersCommand.js +3 -3
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +3 -3
- package/dist-cjs/commands/PublishLayerVersionCommand.js +3 -3
- package/dist-cjs/commands/PublishVersionCommand.js +3 -3
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +651 -649
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForFunctionActive.js +3 -3
- package/dist-cjs/waiters/waitForFunctionActiveV2.js +3 -3
- package/dist-cjs/waiters/waitForFunctionExists.js +3 -3
- package/dist-cjs/waiters/waitForFunctionUpdated.js +3 -3
- package/dist-cjs/waiters/waitForFunctionUpdatedV2.js +3 -3
- package/dist-es/Lambda.js +58 -58
- package/dist-es/pagination/ListAliasesPaginator.js +4 -4
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +4 -4
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +4 -4
- package/dist-es/pagination/ListFunctionsPaginator.js +4 -4
- package/dist-es/pagination/ListLayerVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListLayersPaginator.js +4 -4
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +61 -60
- package/dist-types/Lambda.d.ts +9 -7
- package/dist-types/commands/AddPermissionCommand.d.ts +9 -7
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -11,7 +11,7 @@ class UpdateAliasCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "LambdaClient";
|
|
@@ -27,10 +27,10 @@ class UpdateAliasCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateAliasCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateAliasCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateAliasCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateAliasCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateAliasCommand = UpdateAliasCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateCodeSigningConfigCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "LambdaClient";
|
|
@@ -27,10 +27,10 @@ class UpdateCodeSigningConfigCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateCodeSigningConfigCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateCodeSigningConfigCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateCodeSigningConfigCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateCodeSigningConfigCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateCodeSigningConfigCommand = UpdateCodeSigningConfigCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateEventSourceMappingCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "LambdaClient";
|
|
@@ -27,10 +27,10 @@ class UpdateEventSourceMappingCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateEventSourceMappingCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateEventSourceMappingCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateEventSourceMappingCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateEventSourceMappingCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateEventSourceMappingCommand = UpdateEventSourceMappingCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateFunctionCodeCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "LambdaClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFunctionCodeCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateFunctionCodeCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFunctionCodeCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionCodeCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionCodeCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFunctionCodeCommand = UpdateFunctionCodeCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateFunctionConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "LambdaClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFunctionConfigurationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateFunctionConfigurationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFunctionConfigurationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionConfigurationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionConfigurationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFunctionConfigurationCommand = UpdateFunctionConfigurationCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "LambdaClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFunctionEventInvokeConfigCommand = UpdateFunctionEventInvokeConfigCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -351,7 +351,7 @@ const partitionHash = {
|
|
|
351
351
|
],
|
|
352
352
|
},
|
|
353
353
|
};
|
|
354
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
354
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
355
355
|
...options,
|
|
356
356
|
signingService: "lambda",
|
|
357
357
|
regionHash,
|