@aws-sdk/client-signer 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 (40) hide show
  1. package/dist-cjs/index.js +988 -980
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SignerClient.js +2 -0
  4. package/dist-es/commands/AddProfilePermissionCommand.js +3 -9
  5. package/dist-es/commands/CancelSigningProfileCommand.js +3 -9
  6. package/dist-es/commands/DescribeSigningJobCommand.js +3 -9
  7. package/dist-es/commands/GetRevocationStatusCommand.js +3 -9
  8. package/dist-es/commands/GetSigningPlatformCommand.js +3 -9
  9. package/dist-es/commands/GetSigningProfileCommand.js +3 -9
  10. package/dist-es/commands/ListProfilePermissionsCommand.js +3 -9
  11. package/dist-es/commands/ListSigningJobsCommand.js +3 -9
  12. package/dist-es/commands/ListSigningPlatformsCommand.js +3 -9
  13. package/dist-es/commands/ListSigningProfilesCommand.js +3 -9
  14. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  15. package/dist-es/commands/PutSigningProfileCommand.js +3 -9
  16. package/dist-es/commands/RemoveProfilePermissionCommand.js +3 -9
  17. package/dist-es/commands/RevokeSignatureCommand.js +3 -9
  18. package/dist-es/commands/RevokeSigningProfileCommand.js +3 -9
  19. package/dist-es/commands/SignPayloadCommand.js +3 -9
  20. package/dist-es/commands/StartSigningJobCommand.js +3 -9
  21. package/dist-es/commands/TagResourceCommand.js +3 -9
  22. package/dist-es/commands/UntagResourceCommand.js +3 -9
  23. package/dist-es/runtimeConfig.shared.js +2 -0
  24. package/dist-es/schemas/schemas_0.js +943 -0
  25. package/dist-types/SignerClient.d.ts +10 -1
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  30. package/dist-types/schemas/schemas_0.d.ts +101 -0
  31. package/dist-types/ts3.4/SignerClient.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +106 -0
  37. package/package.json +2 -3
  38. package/dist-es/protocols/Aws_restJson1.js +0 -834
  39. package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -233
@@ -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.signer" }),
28
30
  serviceId: config?.serviceId ?? "signer",
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 { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SignerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  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_AddProfilePermissionCommand, se_AddProfilePermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { AddProfilePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddProfilePermissionCommand 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("WallabyService", "AddProfilePermission", {})
17
13
  .n("SignerClient", "AddProfilePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddProfilePermissionCommand)
20
- .de(de_AddProfilePermissionCommand)
14
+ .sc(AddProfilePermission)
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_CancelSigningProfileCommand, se_CancelSigningProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelSigningProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelSigningProfileCommand 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("WallabyService", "CancelSigningProfile", {})
17
13
  .n("SignerClient", "CancelSigningProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelSigningProfileCommand)
20
- .de(de_CancelSigningProfileCommand)
14
+ .sc(CancelSigningProfile)
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_DescribeSigningJobCommand, se_DescribeSigningJobCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeSigningJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSigningJobCommand 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("WallabyService", "DescribeSigningJob", {})
17
13
  .n("SignerClient", "DescribeSigningJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSigningJobCommand)
20
- .de(de_DescribeSigningJobCommand)
14
+ .sc(DescribeSigningJob)
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_GetRevocationStatusCommand, se_GetRevocationStatusCommand } from "../protocols/Aws_restJson1";
4
+ import { GetRevocationStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRevocationStatusCommand 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("WallabyService", "GetRevocationStatus", {})
17
13
  .n("SignerClient", "GetRevocationStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRevocationStatusCommand)
20
- .de(de_GetRevocationStatusCommand)
14
+ .sc(GetRevocationStatus)
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_GetSigningPlatformCommand, se_GetSigningPlatformCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSigningPlatform } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSigningPlatformCommand 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("WallabyService", "GetSigningPlatform", {})
17
13
  .n("SignerClient", "GetSigningPlatformCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSigningPlatformCommand)
20
- .de(de_GetSigningPlatformCommand)
14
+ .sc(GetSigningPlatform)
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_GetSigningProfileCommand, se_GetSigningProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSigningProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSigningProfileCommand 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("WallabyService", "GetSigningProfile", {})
17
13
  .n("SignerClient", "GetSigningProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSigningProfileCommand)
20
- .de(de_GetSigningProfileCommand)
14
+ .sc(GetSigningProfile)
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_ListProfilePermissionsCommand, se_ListProfilePermissionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListProfilePermissions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProfilePermissionsCommand 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("WallabyService", "ListProfilePermissions", {})
17
13
  .n("SignerClient", "ListProfilePermissionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProfilePermissionsCommand)
20
- .de(de_ListProfilePermissionsCommand)
14
+ .sc(ListProfilePermissions)
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_ListSigningJobsCommand, se_ListSigningJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSigningJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSigningJobsCommand 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("WallabyService", "ListSigningJobs", {})
17
13
  .n("SignerClient", "ListSigningJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSigningJobsCommand)
20
- .de(de_ListSigningJobsCommand)
14
+ .sc(ListSigningJobs)
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_ListSigningPlatformsCommand, se_ListSigningPlatformsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSigningPlatforms } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSigningPlatformsCommand 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("WallabyService", "ListSigningPlatforms", {})
17
13
  .n("SignerClient", "ListSigningPlatformsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSigningPlatformsCommand)
20
- .de(de_ListSigningPlatformsCommand)
14
+ .sc(ListSigningPlatforms)
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_ListSigningProfilesCommand, se_ListSigningProfilesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSigningProfiles } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSigningProfilesCommand 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("WallabyService", "ListSigningProfiles", {})
17
13
  .n("SignerClient", "ListSigningProfilesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSigningProfilesCommand)
20
- .de(de_ListSigningProfilesCommand)
14
+ .sc(ListSigningProfiles)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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("WallabyService", "ListTagsForResource", {})
17
13
  .n("SignerClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_PutSigningProfileCommand, se_PutSigningProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { PutSigningProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutSigningProfileCommand 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("WallabyService", "PutSigningProfile", {})
17
13
  .n("SignerClient", "PutSigningProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutSigningProfileCommand)
20
- .de(de_PutSigningProfileCommand)
14
+ .sc(PutSigningProfile)
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_RemoveProfilePermissionCommand, se_RemoveProfilePermissionCommand } from "../protocols/Aws_restJson1";
4
+ import { RemoveProfilePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveProfilePermissionCommand 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("WallabyService", "RemoveProfilePermission", {})
17
13
  .n("SignerClient", "RemoveProfilePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveProfilePermissionCommand)
20
- .de(de_RemoveProfilePermissionCommand)
14
+ .sc(RemoveProfilePermission)
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_RevokeSignatureCommand, se_RevokeSignatureCommand } from "../protocols/Aws_restJson1";
4
+ import { RevokeSignature } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeSignatureCommand 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("WallabyService", "RevokeSignature", {})
17
13
  .n("SignerClient", "RevokeSignatureCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeSignatureCommand)
20
- .de(de_RevokeSignatureCommand)
14
+ .sc(RevokeSignature)
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_RevokeSigningProfileCommand, se_RevokeSigningProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { RevokeSigningProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeSigningProfileCommand 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("WallabyService", "RevokeSigningProfile", {})
17
13
  .n("SignerClient", "RevokeSigningProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeSigningProfileCommand)
20
- .de(de_RevokeSigningProfileCommand)
14
+ .sc(RevokeSigningProfile)
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_SignPayloadCommand, se_SignPayloadCommand } from "../protocols/Aws_restJson1";
4
+ import { SignPayload } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SignPayloadCommand 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("WallabyService", "SignPayload", {})
17
13
  .n("SignerClient", "SignPayloadCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SignPayloadCommand)
20
- .de(de_SignPayloadCommand)
14
+ .sc(SignPayload)
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_StartSigningJobCommand, se_StartSigningJobCommand } from "../protocols/Aws_restJson1";
4
+ import { StartSigningJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartSigningJobCommand 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("WallabyService", "StartSigningJob", {})
17
13
  .n("SignerClient", "StartSigningJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartSigningJobCommand)
20
- .de(de_StartSigningJobCommand)
14
+ .sc(StartSigningJob)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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("WallabyService", "TagResource", {})
17
13
  .n("SignerClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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("WallabyService", "UntagResource", {})
17
13
  .n("SignerClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.signer" }),
25
27
  serviceId: config?.serviceId ?? "signer",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,