@aws-sdk/client-signer 3.478.0 → 3.481.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 (81) hide show
  1. package/dist-cjs/commands/AddProfilePermissionCommand.js +18 -41
  2. package/dist-cjs/commands/CancelSigningProfileCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeSigningJobCommand.js +18 -41
  4. package/dist-cjs/commands/GetRevocationStatusCommand.js +18 -41
  5. package/dist-cjs/commands/GetSigningPlatformCommand.js +18 -41
  6. package/dist-cjs/commands/GetSigningProfileCommand.js +18 -41
  7. package/dist-cjs/commands/ListProfilePermissionsCommand.js +18 -41
  8. package/dist-cjs/commands/ListSigningJobsCommand.js +18 -41
  9. package/dist-cjs/commands/ListSigningPlatformsCommand.js +18 -41
  10. package/dist-cjs/commands/ListSigningProfilesCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/PutSigningProfileCommand.js +18 -41
  13. package/dist-cjs/commands/RemoveProfilePermissionCommand.js +18 -41
  14. package/dist-cjs/commands/RevokeSignatureCommand.js +18 -41
  15. package/dist-cjs/commands/RevokeSigningProfileCommand.js +18 -41
  16. package/dist-cjs/commands/SignPayloadCommand.js +18 -41
  17. package/dist-cjs/commands/StartSigningJobCommand.js +18 -41
  18. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  19. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  20. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  21. package/dist-es/commands/AddProfilePermissionCommand.js +18 -41
  22. package/dist-es/commands/CancelSigningProfileCommand.js +18 -41
  23. package/dist-es/commands/DescribeSigningJobCommand.js +18 -41
  24. package/dist-es/commands/GetRevocationStatusCommand.js +18 -41
  25. package/dist-es/commands/GetSigningPlatformCommand.js +18 -41
  26. package/dist-es/commands/GetSigningProfileCommand.js +18 -41
  27. package/dist-es/commands/ListProfilePermissionsCommand.js +18 -41
  28. package/dist-es/commands/ListSigningJobsCommand.js +18 -41
  29. package/dist-es/commands/ListSigningPlatformsCommand.js +18 -41
  30. package/dist-es/commands/ListSigningProfilesCommand.js +18 -41
  31. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  32. package/dist-es/commands/PutSigningProfileCommand.js +18 -41
  33. package/dist-es/commands/RemoveProfilePermissionCommand.js +18 -41
  34. package/dist-es/commands/RevokeSignatureCommand.js +18 -41
  35. package/dist-es/commands/RevokeSigningProfileCommand.js +18 -41
  36. package/dist-es/commands/SignPayloadCommand.js +18 -41
  37. package/dist-es/commands/StartSigningJobCommand.js +18 -41
  38. package/dist-es/commands/TagResourceCommand.js +18 -41
  39. package/dist-es/commands/UntagResourceCommand.js +18 -41
  40. package/dist-es/endpoint/EndpointParameters.js +6 -0
  41. package/dist-types/commands/AddProfilePermissionCommand.d.ts +6 -21
  42. package/dist-types/commands/CancelSigningProfileCommand.d.ts +6 -21
  43. package/dist-types/commands/DescribeSigningJobCommand.d.ts +6 -21
  44. package/dist-types/commands/GetRevocationStatusCommand.d.ts +6 -21
  45. package/dist-types/commands/GetSigningPlatformCommand.d.ts +6 -21
  46. package/dist-types/commands/GetSigningProfileCommand.d.ts +6 -21
  47. package/dist-types/commands/ListProfilePermissionsCommand.d.ts +6 -21
  48. package/dist-types/commands/ListSigningJobsCommand.d.ts +6 -21
  49. package/dist-types/commands/ListSigningPlatformsCommand.d.ts +6 -21
  50. package/dist-types/commands/ListSigningProfilesCommand.d.ts +6 -21
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  52. package/dist-types/commands/PutSigningProfileCommand.d.ts +6 -21
  53. package/dist-types/commands/RemoveProfilePermissionCommand.d.ts +6 -21
  54. package/dist-types/commands/RevokeSignatureCommand.d.ts +6 -21
  55. package/dist-types/commands/RevokeSigningProfileCommand.d.ts +6 -21
  56. package/dist-types/commands/SignPayloadCommand.d.ts +6 -21
  57. package/dist-types/commands/StartSigningJobCommand.d.ts +6 -21
  58. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  59. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  60. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  61. package/dist-types/ts3.4/commands/AddProfilePermissionCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/CancelSigningProfileCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/DescribeSigningJobCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/GetRevocationStatusCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/GetSigningPlatformCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/GetSigningProfileCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/ListProfilePermissionsCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/ListSigningJobsCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/ListSigningPlatformsCommand.d.ts +12 -24
  70. package/dist-types/ts3.4/commands/ListSigningProfilesCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/PutSigningProfileCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/RemoveProfilePermissionCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/RevokeSignatureCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/RevokeSigningProfileCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/SignPayloadCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/StartSigningJobCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  81. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListSigningPlatformsCommand, se_ListSigningPlatformsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListSigningPlatformsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListSigningPlatformsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "ListSigningPlatformsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "ListSigningPlatforms",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListSigningPlatformsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListSigningPlatformsCommand(output, context);
46
- }
7
+ export class ListSigningPlatformsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "ListSigningPlatforms", {})
19
+ .n("SignerClient", "ListSigningPlatformsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListSigningPlatformsCommand)
22
+ .de(de_ListSigningPlatformsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListSigningProfilesCommand, se_ListSigningProfilesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListSigningProfilesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListSigningProfilesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "ListSigningProfilesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "ListSigningProfiles",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListSigningProfilesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListSigningProfilesCommand(output, context);
46
- }
7
+ export class ListSigningProfilesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "ListSigningProfiles", {})
19
+ .n("SignerClient", "ListSigningProfilesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListSigningProfilesCommand)
22
+ .de(de_ListSigningProfilesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "ListTagsForResource", {})
19
+ .n("SignerClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutSigningProfileCommand, se_PutSigningProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutSigningProfileCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutSigningProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "PutSigningProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "PutSigningProfile",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutSigningProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutSigningProfileCommand(output, context);
46
- }
7
+ export class PutSigningProfileCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "PutSigningProfile", {})
19
+ .n("SignerClient", "PutSigningProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutSigningProfileCommand)
22
+ .de(de_PutSigningProfileCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RemoveProfilePermissionCommand, se_RemoveProfilePermissionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RemoveProfilePermissionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RemoveProfilePermissionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "RemoveProfilePermissionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "RemoveProfilePermission",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RemoveProfilePermissionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RemoveProfilePermissionCommand(output, context);
46
- }
7
+ export class RemoveProfilePermissionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "RemoveProfilePermission", {})
19
+ .n("SignerClient", "RemoveProfilePermissionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RemoveProfilePermissionCommand)
22
+ .de(de_RemoveProfilePermissionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RevokeSignatureCommand, se_RevokeSignatureCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RevokeSignatureCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RevokeSignatureCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "RevokeSignatureCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "RevokeSignature",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RevokeSignatureCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RevokeSignatureCommand(output, context);
46
- }
7
+ export class RevokeSignatureCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "RevokeSignature", {})
19
+ .n("SignerClient", "RevokeSignatureCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RevokeSignatureCommand)
22
+ .de(de_RevokeSignatureCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RevokeSigningProfileCommand, se_RevokeSigningProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RevokeSigningProfileCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RevokeSigningProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "RevokeSigningProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "RevokeSigningProfile",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RevokeSigningProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RevokeSigningProfileCommand(output, context);
46
- }
7
+ export class RevokeSigningProfileCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "RevokeSigningProfile", {})
19
+ .n("SignerClient", "RevokeSigningProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RevokeSigningProfileCommand)
22
+ .de(de_RevokeSigningProfileCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_SignPayloadCommand, se_SignPayloadCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class SignPayloadCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, SignPayloadCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "SignPayloadCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "SignPayload",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_SignPayloadCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_SignPayloadCommand(output, context);
46
- }
7
+ export class SignPayloadCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "SignPayload", {})
19
+ .n("SignerClient", "SignPayloadCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_SignPayloadCommand)
22
+ .de(de_SignPayloadCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartSigningJobCommand, se_StartSigningJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartSigningJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartSigningJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "StartSigningJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "StartSigningJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartSigningJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartSigningJobCommand(output, context);
46
- }
7
+ export class StartSigningJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WallabyService", "StartSigningJob", {})
19
+ .n("SignerClient", "StartSigningJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartSigningJobCommand)
22
+ .de(de_StartSigningJobCommand)
23
+ .build() {
47
24
  }