@aws-sdk/client-signer 3.477.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 (93) 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-cjs/pagination/ListSigningJobsPaginator.js +2 -24
  22. package/dist-cjs/pagination/ListSigningPlatformsPaginator.js +2 -24
  23. package/dist-cjs/pagination/ListSigningProfilesPaginator.js +2 -24
  24. package/dist-es/commands/AddProfilePermissionCommand.js +18 -41
  25. package/dist-es/commands/CancelSigningProfileCommand.js +18 -41
  26. package/dist-es/commands/DescribeSigningJobCommand.js +18 -41
  27. package/dist-es/commands/GetRevocationStatusCommand.js +18 -41
  28. package/dist-es/commands/GetSigningPlatformCommand.js +18 -41
  29. package/dist-es/commands/GetSigningProfileCommand.js +18 -41
  30. package/dist-es/commands/ListProfilePermissionsCommand.js +18 -41
  31. package/dist-es/commands/ListSigningJobsCommand.js +18 -41
  32. package/dist-es/commands/ListSigningPlatformsCommand.js +18 -41
  33. package/dist-es/commands/ListSigningProfilesCommand.js +18 -41
  34. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  35. package/dist-es/commands/PutSigningProfileCommand.js +18 -41
  36. package/dist-es/commands/RemoveProfilePermissionCommand.js +18 -41
  37. package/dist-es/commands/RevokeSignatureCommand.js +18 -41
  38. package/dist-es/commands/RevokeSigningProfileCommand.js +18 -41
  39. package/dist-es/commands/SignPayloadCommand.js +18 -41
  40. package/dist-es/commands/StartSigningJobCommand.js +18 -41
  41. package/dist-es/commands/TagResourceCommand.js +18 -41
  42. package/dist-es/commands/UntagResourceCommand.js +18 -41
  43. package/dist-es/endpoint/EndpointParameters.js +6 -0
  44. package/dist-es/pagination/ListSigningJobsPaginator.js +2 -23
  45. package/dist-es/pagination/ListSigningPlatformsPaginator.js +2 -23
  46. package/dist-es/pagination/ListSigningProfilesPaginator.js +2 -23
  47. package/dist-types/commands/AddProfilePermissionCommand.d.ts +6 -21
  48. package/dist-types/commands/CancelSigningProfileCommand.d.ts +6 -21
  49. package/dist-types/commands/DescribeSigningJobCommand.d.ts +6 -21
  50. package/dist-types/commands/GetRevocationStatusCommand.d.ts +6 -21
  51. package/dist-types/commands/GetSigningPlatformCommand.d.ts +6 -21
  52. package/dist-types/commands/GetSigningProfileCommand.d.ts +6 -21
  53. package/dist-types/commands/ListProfilePermissionsCommand.d.ts +6 -21
  54. package/dist-types/commands/ListSigningJobsCommand.d.ts +6 -21
  55. package/dist-types/commands/ListSigningPlatformsCommand.d.ts +6 -21
  56. package/dist-types/commands/ListSigningProfilesCommand.d.ts +6 -21
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  58. package/dist-types/commands/PutSigningProfileCommand.d.ts +6 -21
  59. package/dist-types/commands/RemoveProfilePermissionCommand.d.ts +6 -21
  60. package/dist-types/commands/RevokeSignatureCommand.d.ts +6 -21
  61. package/dist-types/commands/RevokeSigningProfileCommand.d.ts +6 -21
  62. package/dist-types/commands/SignPayloadCommand.d.ts +6 -21
  63. package/dist-types/commands/StartSigningJobCommand.d.ts +6 -21
  64. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  65. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  66. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  67. package/dist-types/pagination/ListSigningJobsPaginator.d.ts +1 -1
  68. package/dist-types/pagination/ListSigningPlatformsPaginator.d.ts +1 -1
  69. package/dist-types/pagination/ListSigningProfilesPaginator.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/AddProfilePermissionCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/CancelSigningProfileCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/DescribeSigningJobCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/GetRevocationStatusCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/GetSigningPlatformCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/GetSigningProfileCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/ListProfilePermissionsCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/ListSigningJobsCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/ListSigningPlatformsCommand.d.ts +12 -24
  79. package/dist-types/ts3.4/commands/ListSigningProfilesCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/PutSigningProfileCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/RemoveProfilePermissionCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/RevokeSignatureCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/RevokeSigningProfileCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/SignPayloadCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/StartSigningJobCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  90. package/dist-types/ts3.4/pagination/ListSigningJobsPaginator.d.ts +3 -3
  91. package/dist-types/ts3.4/pagination/ListSigningPlatformsPaginator.d.ts +3 -3
  92. package/dist-types/ts3.4/pagination/ListSigningProfilesPaginator.d.ts +3 -3
  93. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UntagResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SignerClient";
29
- const commandName = "UntagResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "WallabyService",
38
- operation: "UntagResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
49
- }
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("WallabyService", "UntagResource", {})
22
+ .n("SignerClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UntagResourceCommand)
25
+ .de(Aws_restJson1_1.de_UntagResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSigningJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSigningJobsCommand_1 = require("../commands/ListSigningJobsCommand");
5
6
  const SignerClient_1 = require("../SignerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSigningJobsCommand_1.ListSigningJobsCommand(input), ...args);
8
- };
9
- async function* paginateListSigningJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof SignerClient_1.SignerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Signer | SignerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSigningJobs = paginateListSigningJobs;
7
+ exports.paginateListSigningJobs = (0, core_1.createPaginator)(SignerClient_1.SignerClient, ListSigningJobsCommand_1.ListSigningJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSigningPlatforms = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSigningPlatformsCommand_1 = require("../commands/ListSigningPlatformsCommand");
5
6
  const SignerClient_1 = require("../SignerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSigningPlatformsCommand_1.ListSigningPlatformsCommand(input), ...args);
8
- };
9
- async function* paginateListSigningPlatforms(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof SignerClient_1.SignerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Signer | SignerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSigningPlatforms = paginateListSigningPlatforms;
7
+ exports.paginateListSigningPlatforms = (0, core_1.createPaginator)(SignerClient_1.SignerClient, ListSigningPlatformsCommand_1.ListSigningPlatformsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSigningProfiles = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSigningProfilesCommand_1 = require("../commands/ListSigningProfilesCommand");
5
6
  const SignerClient_1 = require("../SignerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSigningProfilesCommand_1.ListSigningProfilesCommand(input), ...args);
8
- };
9
- async function* paginateListSigningProfiles(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof SignerClient_1.SignerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Signer | SignerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSigningProfiles = paginateListSigningProfiles;
7
+ exports.paginateListSigningProfiles = (0, core_1.createPaginator)(SignerClient_1.SignerClient, ListSigningProfilesCommand_1.ListSigningProfilesCommand, "nextToken", "nextToken", "maxResults");
@@ -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_AddProfilePermissionCommand, se_AddProfilePermissionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class AddProfilePermissionCommand 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, AddProfilePermissionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "AddProfilePermissionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "AddProfilePermission",
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_AddProfilePermissionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddProfilePermissionCommand(output, context);
46
- }
7
+ export class AddProfilePermissionCommand 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", "AddProfilePermission", {})
19
+ .n("SignerClient", "AddProfilePermissionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddProfilePermissionCommand)
22
+ .de(de_AddProfilePermissionCommand)
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_CancelSigningProfileCommand, se_CancelSigningProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CancelSigningProfileCommand 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, CancelSigningProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "CancelSigningProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "CancelSigningProfile",
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_CancelSigningProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CancelSigningProfileCommand(output, context);
46
- }
7
+ export class CancelSigningProfileCommand 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", "CancelSigningProfile", {})
19
+ .n("SignerClient", "CancelSigningProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CancelSigningProfileCommand)
22
+ .de(de_CancelSigningProfileCommand)
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_DescribeSigningJobCommand, se_DescribeSigningJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeSigningJobCommand 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, DescribeSigningJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "DescribeSigningJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "DescribeSigningJob",
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_DescribeSigningJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeSigningJobCommand(output, context);
46
- }
7
+ export class DescribeSigningJobCommand 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", "DescribeSigningJob", {})
19
+ .n("SignerClient", "DescribeSigningJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSigningJobCommand)
22
+ .de(de_DescribeSigningJobCommand)
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_GetRevocationStatusCommand, se_GetRevocationStatusCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetRevocationStatusCommand 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, GetRevocationStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "GetRevocationStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "GetRevocationStatus",
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_GetRevocationStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetRevocationStatusCommand(output, context);
46
- }
7
+ export class GetRevocationStatusCommand 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", "GetRevocationStatus", {})
19
+ .n("SignerClient", "GetRevocationStatusCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRevocationStatusCommand)
22
+ .de(de_GetRevocationStatusCommand)
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_GetSigningPlatformCommand, se_GetSigningPlatformCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSigningPlatformCommand 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, GetSigningPlatformCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "GetSigningPlatformCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "GetSigningPlatform",
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_GetSigningPlatformCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSigningPlatformCommand(output, context);
46
- }
7
+ export class GetSigningPlatformCommand 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", "GetSigningPlatform", {})
19
+ .n("SignerClient", "GetSigningPlatformCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSigningPlatformCommand)
22
+ .de(de_GetSigningPlatformCommand)
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_GetSigningProfileCommand, se_GetSigningProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSigningProfileCommand 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, GetSigningProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "GetSigningProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "GetSigningProfile",
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_GetSigningProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSigningProfileCommand(output, context);
46
- }
7
+ export class GetSigningProfileCommand 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", "GetSigningProfile", {})
19
+ .n("SignerClient", "GetSigningProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSigningProfileCommand)
22
+ .de(de_GetSigningProfileCommand)
23
+ .build() {
47
24
  }