@aws-sdk/client-lambda 3.928.0 → 3.929.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.
Files changed (92) hide show
  1. package/dist-cjs/index.js +3678 -3901
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/LambdaClient.js +2 -0
  4. package/dist-es/commands/AddLayerVersionPermissionCommand.js +3 -9
  5. package/dist-es/commands/AddPermissionCommand.js +3 -9
  6. package/dist-es/commands/CreateAliasCommand.js +3 -9
  7. package/dist-es/commands/CreateCodeSigningConfigCommand.js +3 -9
  8. package/dist-es/commands/CreateEventSourceMappingCommand.js +3 -9
  9. package/dist-es/commands/CreateFunctionCommand.js +3 -10
  10. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +3 -9
  11. package/dist-es/commands/DeleteAliasCommand.js +3 -9
  12. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +3 -9
  13. package/dist-es/commands/DeleteEventSourceMappingCommand.js +3 -9
  14. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +3 -9
  15. package/dist-es/commands/DeleteFunctionCommand.js +3 -9
  16. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +3 -9
  17. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +3 -9
  18. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +3 -9
  19. package/dist-es/commands/DeleteLayerVersionCommand.js +3 -9
  20. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +3 -9
  21. package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
  22. package/dist-es/commands/GetAliasCommand.js +3 -9
  23. package/dist-es/commands/GetCodeSigningConfigCommand.js +3 -9
  24. package/dist-es/commands/GetEventSourceMappingCommand.js +3 -9
  25. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +3 -9
  26. package/dist-es/commands/GetFunctionCommand.js +3 -10
  27. package/dist-es/commands/GetFunctionConcurrencyCommand.js +3 -9
  28. package/dist-es/commands/GetFunctionConfigurationCommand.js +3 -10
  29. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +3 -9
  30. package/dist-es/commands/GetFunctionRecursionConfigCommand.js +3 -9
  31. package/dist-es/commands/GetFunctionUrlConfigCommand.js +3 -9
  32. package/dist-es/commands/GetLayerVersionByArnCommand.js +3 -9
  33. package/dist-es/commands/GetLayerVersionCommand.js +3 -9
  34. package/dist-es/commands/GetLayerVersionPolicyCommand.js +3 -9
  35. package/dist-es/commands/GetPolicyCommand.js +3 -9
  36. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +3 -9
  37. package/dist-es/commands/GetRuntimeManagementConfigCommand.js +3 -9
  38. package/dist-es/commands/InvokeAsyncCommand.js +3 -10
  39. package/dist-es/commands/InvokeCommand.js +3 -10
  40. package/dist-es/commands/InvokeWithResponseStreamCommand.js +3 -10
  41. package/dist-es/commands/ListAliasesCommand.js +3 -9
  42. package/dist-es/commands/ListCodeSigningConfigsCommand.js +3 -9
  43. package/dist-es/commands/ListEventSourceMappingsCommand.js +3 -9
  44. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +3 -9
  45. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +3 -9
  46. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +3 -9
  47. package/dist-es/commands/ListFunctionsCommand.js +3 -10
  48. package/dist-es/commands/ListLayerVersionsCommand.js +3 -9
  49. package/dist-es/commands/ListLayersCommand.js +3 -9
  50. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +3 -9
  51. package/dist-es/commands/ListTagsCommand.js +3 -9
  52. package/dist-es/commands/ListVersionsByFunctionCommand.js +3 -10
  53. package/dist-es/commands/PublishLayerVersionCommand.js +3 -10
  54. package/dist-es/commands/PublishVersionCommand.js +3 -10
  55. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +3 -9
  56. package/dist-es/commands/PutFunctionConcurrencyCommand.js +3 -9
  57. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +3 -9
  58. package/dist-es/commands/PutFunctionRecursionConfigCommand.js +3 -9
  59. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +3 -9
  60. package/dist-es/commands/PutRuntimeManagementConfigCommand.js +3 -9
  61. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +3 -9
  62. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  63. package/dist-es/commands/TagResourceCommand.js +3 -9
  64. package/dist-es/commands/UntagResourceCommand.js +3 -9
  65. package/dist-es/commands/UpdateAliasCommand.js +3 -9
  66. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +3 -9
  67. package/dist-es/commands/UpdateEventSourceMappingCommand.js +3 -9
  68. package/dist-es/commands/UpdateFunctionCodeCommand.js +3 -10
  69. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +3 -10
  70. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +3 -9
  71. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +3 -9
  72. package/dist-es/models/models_0.js +0 -108
  73. package/dist-es/runtimeConfig.shared.js +2 -0
  74. package/dist-es/schemas/schemas_0.js +3462 -0
  75. package/dist-types/LambdaClient.d.ts +10 -1
  76. package/dist-types/models/models_0.d.ts +0 -96
  77. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  78. package/dist-types/runtimeConfig.d.ts +1 -0
  79. package/dist-types/runtimeConfig.native.d.ts +1 -0
  80. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  81. package/dist-types/schemas/schemas_0.d.ts +319 -0
  82. package/dist-types/ts3.4/LambdaClient.d.ts +4 -0
  83. package/dist-types/ts3.4/models/models_0.d.ts +0 -68
  84. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  85. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  86. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  87. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  88. package/dist-types/ts3.4/schemas/schemas_0.d.ts +326 -0
  89. package/package.json +2 -2
  90. package/dist-es/protocols/Aws_restJson1.js +0 -3196
  91. package/dist-types/protocols/Aws_restJson1.d.ts +0 -614
  92. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -824
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.lambda" }),
28
30
  serviceId: config?.serviceId ?? "Lambda",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
8
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
10
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
@@ -30,6 +31,7 @@ export class LambdaClient extends __Client {
30
31
  const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
31
32
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
32
33
  this.config = _config_9;
34
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
35
  this.middlewareStack.use(getUserAgentPlugin(this.config));
34
36
  this.middlewareStack.use(getRetryPlugin(this.config));
35
37
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddLayerVersionPermissionCommand, se_AddLayerVersionPermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { AddLayerVersionPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddLayerVersionPermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "AddLayerVersionPermission", {})
17
13
  .n("LambdaClient", "AddLayerVersionPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddLayerVersionPermissionCommand)
20
- .de(de_AddLayerVersionPermissionCommand)
14
+ .sc(AddLayerVersionPermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { AddPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddPermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "AddPermission", {})
17
13
  .n("LambdaClient", "AddPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddPermissionCommand)
20
- .de(de_AddPermissionCommand)
14
+ .sc(AddPermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAliasCommand, se_CreateAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "CreateAlias", {})
17
13
  .n("LambdaClient", "CreateAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAliasCommand)
20
- .de(de_CreateAliasCommand)
14
+ .sc(CreateAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCodeSigningConfigCommand, se_CreateCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCodeSigningConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCodeSigningConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "CreateCodeSigningConfig", {})
17
13
  .n("LambdaClient", "CreateCodeSigningConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCodeSigningConfigCommand)
20
- .de(de_CreateCodeSigningConfigCommand)
14
+ .sc(CreateCodeSigningConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateEventSourceMappingCommand, se_CreateEventSourceMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateEventSourceMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEventSourceMappingCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "CreateEventSourceMapping", {})
17
13
  .n("LambdaClient", "CreateEventSourceMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEventSourceMappingCommand)
20
- .de(de_CreateEventSourceMappingCommand)
14
+ .sc(CreateEventSourceMapping)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFunction } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateFunctionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSGirApiService", "CreateFunction", {})
18
13
  .n("LambdaClient", "CreateFunctionCommand")
19
- .f(CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog)
20
- .ser(se_CreateFunctionCommand)
21
- .de(de_CreateFunctionCommand)
14
+ .sc(CreateFunction)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateFunctionUrlConfigCommand, se_CreateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFunctionUrlConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFunctionUrlConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "CreateFunctionUrlConfig", {})
17
13
  .n("LambdaClient", "CreateFunctionUrlConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFunctionUrlConfigCommand)
20
- .de(de_CreateFunctionUrlConfigCommand)
14
+ .sc(CreateFunctionUrlConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAliasCommand, se_DeleteAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteAlias", {})
17
13
  .n("LambdaClient", "DeleteAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAliasCommand)
20
- .de(de_DeleteAliasCommand)
14
+ .sc(DeleteAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteCodeSigningConfigCommand, se_DeleteCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCodeSigningConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCodeSigningConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteCodeSigningConfig", {})
17
13
  .n("LambdaClient", "DeleteCodeSigningConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCodeSigningConfigCommand)
20
- .de(de_DeleteCodeSigningConfigCommand)
14
+ .sc(DeleteCodeSigningConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteEventSourceMappingCommand, se_DeleteEventSourceMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteEventSourceMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEventSourceMappingCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteEventSourceMapping", {})
17
13
  .n("LambdaClient", "DeleteEventSourceMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEventSourceMappingCommand)
20
- .de(de_DeleteEventSourceMappingCommand)
14
+ .sc(DeleteEventSourceMapping)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFunctionCodeSigningConfigCommand, se_DeleteFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteFunctionCodeSigningConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFunctionCodeSigningConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteFunctionCodeSigningConfig", {})
17
13
  .n("LambdaClient", "DeleteFunctionCodeSigningConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFunctionCodeSigningConfigCommand)
20
- .de(de_DeleteFunctionCodeSigningConfigCommand)
14
+ .sc(DeleteFunctionCodeSigningConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFunctionCommand, se_DeleteFunctionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFunction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFunctionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteFunction", {})
17
13
  .n("LambdaClient", "DeleteFunctionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFunctionCommand)
20
- .de(de_DeleteFunctionCommand)
14
+ .sc(DeleteFunction)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFunctionConcurrencyCommand, se_DeleteFunctionConcurrencyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFunctionConcurrency } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFunctionConcurrencyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteFunctionConcurrency", {})
17
13
  .n("LambdaClient", "DeleteFunctionConcurrencyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFunctionConcurrencyCommand)
20
- .de(de_DeleteFunctionConcurrencyCommand)
14
+ .sc(DeleteFunctionConcurrency)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFunctionEventInvokeConfigCommand, se_DeleteFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteFunctionEventInvokeConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFunctionEventInvokeConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteFunctionEventInvokeConfig", {})
17
13
  .n("LambdaClient", "DeleteFunctionEventInvokeConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFunctionEventInvokeConfigCommand)
20
- .de(de_DeleteFunctionEventInvokeConfigCommand)
14
+ .sc(DeleteFunctionEventInvokeConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFunctionUrlConfigCommand, se_DeleteFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFunctionUrlConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFunctionUrlConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteFunctionUrlConfig", {})
17
13
  .n("LambdaClient", "DeleteFunctionUrlConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFunctionUrlConfigCommand)
20
- .de(de_DeleteFunctionUrlConfigCommand)
14
+ .sc(DeleteFunctionUrlConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteLayerVersionCommand, se_DeleteLayerVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteLayerVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLayerVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteLayerVersion", {})
17
13
  .n("LambdaClient", "DeleteLayerVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLayerVersionCommand)
20
- .de(de_DeleteLayerVersionCommand)
14
+ .sc(DeleteLayerVersion)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteProvisionedConcurrencyConfigCommand, se_DeleteProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteProvisionedConcurrencyConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProvisionedConcurrencyConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "DeleteProvisionedConcurrencyConfig", {})
17
13
  .n("LambdaClient", "DeleteProvisionedConcurrencyConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProvisionedConcurrencyConfigCommand)
20
- .de(de_DeleteProvisionedConcurrencyConfigCommand)
14
+ .sc(DeleteProvisionedConcurrencyConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccountSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "GetAccountSettings", {})
17
13
  .n("LambdaClient", "GetAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccountSettingsCommand)
20
- .de(de_GetAccountSettingsCommand)
14
+ .sc(GetAccountSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAliasCommand, se_GetAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "GetAlias", {})
17
13
  .n("LambdaClient", "GetAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAliasCommand)
20
- .de(de_GetAliasCommand)
14
+ .sc(GetAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCodeSigningConfigCommand, se_GetCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCodeSigningConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCodeSigningConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "GetCodeSigningConfig", {})
17
13
  .n("LambdaClient", "GetCodeSigningConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCodeSigningConfigCommand)
20
- .de(de_GetCodeSigningConfigCommand)
14
+ .sc(GetCodeSigningConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetEventSourceMappingCommand, se_GetEventSourceMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEventSourceMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEventSourceMappingCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "GetEventSourceMapping", {})
17
13
  .n("LambdaClient", "GetEventSourceMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEventSourceMappingCommand)
20
- .de(de_GetEventSourceMappingCommand)
14
+ .sc(GetEventSourceMapping)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFunctionCodeSigningConfigCommand, se_GetFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetFunctionCodeSigningConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFunctionCodeSigningConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSGirApiService", "GetFunctionCodeSigningConfig", {})
17
13
  .n("LambdaClient", "GetFunctionCodeSigningConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFunctionCodeSigningConfigCommand)
20
- .de(de_GetFunctionCodeSigningConfigCommand)
14
+ .sc(GetFunctionCodeSigningConfig)
21
15
  .build() {
22
16
  }