@aws-sdk/client-lambda 3.306.0 → 3.310.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 +8 -0
- package/dist-cjs/Lambda.js +15 -0
- package/dist-cjs/LambdaClient.js +4 -2
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +2 -2
- package/dist-cjs/commands/AddPermissionCommand.js +2 -2
- package/dist-cjs/commands/CreateAliasCommand.js +2 -2
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/CreateFunctionCommand.js +2 -2
- package/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteAliasCommand.js +2 -2
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +2 -2
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +2 -2
- package/dist-cjs/commands/GetAccountSettingsCommand.js +2 -2
- package/dist-cjs/commands/GetAliasCommand.js +2 -2
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +2 -2
- package/dist-cjs/commands/GetLayerVersionCommand.js +2 -2
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +2 -2
- package/dist-cjs/commands/GetRuntimeManagementConfigCommand.js +2 -2
- package/dist-cjs/commands/InvokeAsyncCommand.js +2 -2
- package/dist-cjs/commands/InvokeCommand.js +2 -2
- package/dist-cjs/commands/InvokeWithResponseStreamCommand.js +46 -0
- package/dist-cjs/commands/ListAliasesCommand.js +2 -2
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionsCommand.js +2 -2
- package/dist-cjs/commands/ListLayerVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListLayersCommand.js +2 -2
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsCommand.js +2 -2
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +2 -2
- package/dist-cjs/commands/PublishLayerVersionCommand.js +2 -2
- package/dist-cjs/commands/PublishVersionCommand.js +2 -2
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +2 -2
- package/dist-cjs/commands/PutRuntimeManagementConfigCommand.js +2 -2
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +2 -2
- package/dist-cjs/commands/RemovePermissionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAliasCommand.js +2 -2
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +44 -2
- package/dist-cjs/protocols/Aws_restJson1.js +1338 -1217
- package/dist-cjs/runtimeConfig.browser.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/Lambda.js +15 -0
- package/dist-es/LambdaClient.js +4 -2
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +3 -3
- package/dist-es/commands/AddPermissionCommand.js +3 -3
- package/dist-es/commands/CreateAliasCommand.js +3 -3
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/CreateEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/CreateFunctionCommand.js +3 -3
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/DeleteAliasCommand.js +3 -3
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/DeleteLayerVersionCommand.js +3 -3
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -3
- package/dist-es/commands/GetAliasCommand.js +3 -3
- package/dist-es/commands/GetCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/GetEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/GetFunctionCommand.js +3 -3
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +3 -3
- package/dist-es/commands/GetFunctionConfigurationCommand.js +3 -3
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/GetLayerVersionByArnCommand.js +3 -3
- package/dist-es/commands/GetLayerVersionCommand.js +3 -3
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +3 -3
- package/dist-es/commands/GetPolicyCommand.js +3 -3
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-es/commands/GetRuntimeManagementConfigCommand.js +3 -3
- package/dist-es/commands/InvokeAsyncCommand.js +3 -3
- package/dist-es/commands/InvokeCommand.js +3 -3
- package/dist-es/commands/InvokeWithResponseStreamCommand.js +42 -0
- package/dist-es/commands/ListAliasesCommand.js +3 -3
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +3 -3
- package/dist-es/commands/ListEventSourceMappingsCommand.js +3 -3
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +3 -3
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +3 -3
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/ListFunctionsCommand.js +3 -3
- package/dist-es/commands/ListLayerVersionsCommand.js +3 -3
- package/dist-es/commands/ListLayersCommand.js +3 -3
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +3 -3
- package/dist-es/commands/ListTagsCommand.js +3 -3
- package/dist-es/commands/ListVersionsByFunctionCommand.js +3 -3
- package/dist-es/commands/PublishLayerVersionCommand.js +3 -3
- package/dist-es/commands/PublishVersionCommand.js +3 -3
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +3 -3
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-es/commands/PutRuntimeManagementConfigCommand.js +3 -3
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +3 -3
- package/dist-es/commands/RemovePermissionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAliasCommand.js +3 -3
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionCodeCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/protocols/Aws_restJson1.js +1203 -1084
- package/dist-es/runtimeConfig.browser.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/Lambda.d.ts +32 -0
- package/dist-types/LambdaClient.d.ts +11 -5
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +12 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +158 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +340 -32
- package/dist-types/protocols/Aws_restJson1.d.ts +530 -131
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Lambda.d.ts +17 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +14 -0
- package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +81 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +146 -131
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -36
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_PutFunctionConcurrencyCommand, se_PutFunctionConcurrencyCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class PutFunctionConcurrencyCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class PutFunctionConcurrencyCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_PutFunctionConcurrencyCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_PutFunctionConcurrencyCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_PutFunctionEventInvokeConfigCommand, se_PutFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class PutFunctionEventInvokeConfigCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class PutFunctionEventInvokeConfigCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_PutFunctionEventInvokeConfigCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_PutFunctionEventInvokeConfigCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_PutProvisionedConcurrencyConfigCommand, se_PutProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class PutProvisionedConcurrencyConfigCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_PutProvisionedConcurrencyConfigCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_PutProvisionedConcurrencyConfigCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_PutRuntimeManagementConfigCommand, se_PutRuntimeManagementConfigCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class PutRuntimeManagementConfigCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class PutRuntimeManagementConfigCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_PutRuntimeManagementConfigCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_PutRuntimeManagementConfigCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_RemoveLayerVersionPermissionCommand, se_RemoveLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class RemoveLayerVersionPermissionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RemoveLayerVersionPermissionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RemoveLayerVersionPermissionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RemoveLayerVersionPermissionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class RemovePermissionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RemovePermissionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RemovePermissionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RemovePermissionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class TagResourceCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class TagResourceCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_TagResourceCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_TagResourceCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UntagResourceCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UntagResourceCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UntagResourceCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UntagResourceCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateAliasCommand, se_UpdateAliasCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateAliasCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateAliasCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateAliasCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateAliasCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateCodeSigningConfigCommand, se_UpdateCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateCodeSigningConfigCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateCodeSigningConfigCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateCodeSigningConfigCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateCodeSigningConfigCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateEventSourceMappingCommand, se_UpdateEventSourceMappingCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateEventSourceMappingCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateEventSourceMappingCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateEventSourceMappingCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateEventSourceMappingCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { FunctionConfigurationFilterSensitiveLog, UpdateFunctionCodeRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_UpdateFunctionCodeCommand, se_UpdateFunctionCodeCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateFunctionCodeCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class UpdateFunctionCodeCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateFunctionCodeCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateFunctionCodeCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { FunctionConfigurationFilterSensitiveLog, UpdateFunctionConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_UpdateFunctionConfigurationCommand, se_UpdateFunctionConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateFunctionConfigurationCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class UpdateFunctionConfigurationCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateFunctionConfigurationCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateFunctionConfigurationCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateFunctionEventInvokeConfigCommand, se_UpdateFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateFunctionEventInvokeConfigCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateFunctionEventInvokeConfigCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateFunctionEventInvokeConfigCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateFunctionUrlConfigCommand, se_UpdateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateFunctionUrlConfigCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateFunctionUrlConfigCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateFunctionUrlConfigCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateFunctionUrlConfigCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -33,6 +33,7 @@ export * from "./GetProvisionedConcurrencyConfigCommand";
|
|
|
33
33
|
export * from "./GetRuntimeManagementConfigCommand";
|
|
34
34
|
export * from "./InvokeAsyncCommand";
|
|
35
35
|
export * from "./InvokeCommand";
|
|
36
|
+
export * from "./InvokeWithResponseStreamCommand";
|
|
36
37
|
export * from "./ListAliasesCommand";
|
|
37
38
|
export * from "./ListCodeSigningConfigsCommand";
|
|
38
39
|
export * from "./ListEventSourceMappingsCommand";
|
|
@@ -301,6 +301,10 @@ export class InvalidCodeSignatureException extends __BaseException {
|
|
|
301
301
|
this.Message = opts.Message;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
+
export const InvokeMode = {
|
|
305
|
+
BUFFERED: "BUFFERED",
|
|
306
|
+
RESPONSE_STREAM: "RESPONSE_STREAM",
|
|
307
|
+
};
|
|
304
308
|
export class ResourceInUseException extends __BaseException {
|
|
305
309
|
constructor(opts) {
|
|
306
310
|
super({
|
|
@@ -680,6 +684,20 @@ export class UnsupportedMediaTypeException extends __BaseException {
|
|
|
680
684
|
this.Type = opts.Type;
|
|
681
685
|
}
|
|
682
686
|
}
|
|
687
|
+
export const ResponseStreamingInvocationType = {
|
|
688
|
+
DryRun: "DryRun",
|
|
689
|
+
RequestResponse: "RequestResponse",
|
|
690
|
+
};
|
|
691
|
+
export var InvokeWithResponseStreamResponseEvent;
|
|
692
|
+
(function (InvokeWithResponseStreamResponseEvent) {
|
|
693
|
+
InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => {
|
|
694
|
+
if (value.PayloadChunk !== undefined)
|
|
695
|
+
return visitor.PayloadChunk(value.PayloadChunk);
|
|
696
|
+
if (value.InvokeComplete !== undefined)
|
|
697
|
+
return visitor.InvokeComplete(value.InvokeComplete);
|
|
698
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
699
|
+
};
|
|
700
|
+
})(InvokeWithResponseStreamResponseEvent || (InvokeWithResponseStreamResponseEvent = {}));
|
|
683
701
|
export const FunctionVersion = {
|
|
684
702
|
ALL: "ALL",
|
|
685
703
|
};
|
|
@@ -746,6 +764,26 @@ export const InvocationResponseFilterSensitiveLog = (obj) => ({
|
|
|
746
764
|
export const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({
|
|
747
765
|
...obj,
|
|
748
766
|
});
|
|
767
|
+
export const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({
|
|
768
|
+
...obj,
|
|
769
|
+
...(obj.Payload && { Payload: SENSITIVE_STRING }),
|
|
770
|
+
});
|
|
771
|
+
export const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({
|
|
772
|
+
...obj,
|
|
773
|
+
...(obj.Payload && { Payload: SENSITIVE_STRING }),
|
|
774
|
+
});
|
|
775
|
+
export const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => {
|
|
776
|
+
if (obj.PayloadChunk !== undefined)
|
|
777
|
+
return { PayloadChunk: InvokeResponseStreamUpdateFilterSensitiveLog(obj.PayloadChunk) };
|
|
778
|
+
if (obj.InvokeComplete !== undefined)
|
|
779
|
+
return { InvokeComplete: obj.InvokeComplete };
|
|
780
|
+
if (obj.$unknown !== undefined)
|
|
781
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
782
|
+
};
|
|
783
|
+
export const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
|
|
784
|
+
...obj,
|
|
785
|
+
...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
|
|
786
|
+
});
|
|
749
787
|
export const ListFunctionsResponseFilterSensitiveLog = (obj) => ({
|
|
750
788
|
...obj,
|
|
751
789
|
...(obj.Functions && { Functions: obj.Functions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }),
|