@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
@@ -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
  }
@@ -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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand 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", "TagResource", {})
19
+ .n("SignerClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SignerClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WallabyService",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand 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", "UntagResource", {})
19
+ .n("SignerClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "signer",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSigningJobsCommand, } from "../commands/ListSigningJobsCommand";
2
3
  import { SignerClient } from "../SignerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSigningJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListSigningJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SignerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Signer | SignerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSigningJobs = createPaginator(SignerClient, ListSigningJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSigningPlatformsCommand, } from "../commands/ListSigningPlatformsCommand";
2
3
  import { SignerClient } from "../SignerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSigningPlatformsCommand(input), ...args);
5
- };
6
- export async function* paginateListSigningPlatforms(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SignerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Signer | SignerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSigningPlatforms = createPaginator(SignerClient, ListSigningPlatformsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSigningProfilesCommand, } from "../commands/ListSigningProfilesCommand";
2
3
  import { SignerClient } from "../SignerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSigningProfilesCommand(input), ...args);
5
- };
6
- export async function* paginateListSigningProfiles(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SignerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Signer | SignerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSigningProfiles = createPaginator(SignerClient, ListSigningProfilesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AddProfilePermissionRequest, AddProfilePermissionResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddProfilePermissionCommandInput extends AddProfilePermissionRe
21
20
  */
22
21
  export interface AddProfilePermissionCommandOutput extends AddProfilePermissionResponse, __MetadataBearer {
23
22
  }
23
+ declare const AddProfilePermissionCommand_base: {
24
+ new (input: AddProfilePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput, SignerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds cross-account permissions to a signing profile.</p>
@@ -78,23 +81,5 @@ export interface AddProfilePermissionCommandOutput extends AddProfilePermissionR
78
81
  * <p>Base exception class for all service exceptions from Signer service.</p>
79
82
  *
80
83
  */
81
- export declare class AddProfilePermissionCommand extends $Command<AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput, SignerClientResolvedConfig> {
82
- readonly input: AddProfilePermissionCommandInput;
83
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
- /**
85
- * @public
86
- */
87
- constructor(input: AddProfilePermissionCommandInput);
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput>;
92
- /**
93
- * @internal
94
- */
95
- private serialize;
96
- /**
97
- * @internal
98
- */
99
- private deserialize;
84
+ export declare class AddProfilePermissionCommand extends AddProfilePermissionCommand_base {
100
85
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CancelSigningProfileRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelSigningProfileCommandInput extends CancelSigningProfileRe
21
20
  */
22
21
  export interface CancelSigningProfileCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const CancelSigningProfileCommand_base: {
24
+ new (input: CancelSigningProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput, SignerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Changes the state of an <code>ACTIVE</code> signing profile to <code>CANCELED</code>.
@@ -65,23 +68,5 @@ export interface CancelSigningProfileCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from Signer service.</p>
66
69
  *
67
70
  */
68
- export declare class CancelSigningProfileCommand extends $Command<CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput, SignerClientResolvedConfig> {
69
- readonly input: CancelSigningProfileCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: CancelSigningProfileCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class CancelSigningProfileCommand extends CancelSigningProfileCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeSigningJobRequest, DescribeSigningJobResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeSigningJobCommandInput extends DescribeSigningJobReques
21
20
  */
22
21
  export interface DescribeSigningJobCommandOutput extends DescribeSigningJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeSigningJobCommand_base: {
24
+ new (input: DescribeSigningJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput, SignerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about a specific code signing job. You specify the job by using the
@@ -109,23 +112,5 @@ export interface DescribeSigningJobCommandOutput extends DescribeSigningJobRespo
109
112
  * <p>Base exception class for all service exceptions from Signer service.</p>
110
113
  *
111
114
  */
112
- export declare class DescribeSigningJobCommand extends $Command<DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput, SignerClientResolvedConfig> {
113
- readonly input: DescribeSigningJobCommandInput;
114
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
- /**
116
- * @public
117
- */
118
- constructor(input: DescribeSigningJobCommandInput);
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput>;
123
- /**
124
- * @internal
125
- */
126
- private serialize;
127
- /**
128
- * @internal
129
- */
130
- private deserialize;
115
+ export declare class DescribeSigningJobCommand extends DescribeSigningJobCommand_base {
131
116
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetRevocationStatusRequest, GetRevocationStatusResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetRevocationStatusCommandInput extends GetRevocationStatusRequ
21
20
  */
22
21
  export interface GetRevocationStatusCommandOutput extends GetRevocationStatusResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetRevocationStatusCommand_base: {
24
+ new (input: GetRevocationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetRevocationStatusCommandInput, GetRevocationStatusCommandOutput, SignerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the revocation status of one or more of the signing profile, signing job,
@@ -73,23 +76,5 @@ export interface GetRevocationStatusCommandOutput extends GetRevocationStatusRes
73
76
  * <p>Base exception class for all service exceptions from Signer service.</p>
74
77
  *
75
78
  */
76
- export declare class GetRevocationStatusCommand extends $Command<GetRevocationStatusCommandInput, GetRevocationStatusCommandOutput, SignerClientResolvedConfig> {
77
- readonly input: GetRevocationStatusCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: GetRevocationStatusCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRevocationStatusCommandInput, GetRevocationStatusCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class GetRevocationStatusCommand extends GetRevocationStatusCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetSigningPlatformRequest, GetSigningPlatformResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSigningPlatformCommandInput extends GetSigningPlatformReques
21
20
  */
22
21
  export interface GetSigningPlatformCommandOutput extends GetSigningPlatformResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetSigningPlatformCommand_base: {
24
+ new (input: GetSigningPlatformCommandInput): import("@smithy/smithy-client").CommandImpl<GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput, SignerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information on a specific signing platform.</p>
@@ -90,23 +93,5 @@ export interface GetSigningPlatformCommandOutput extends GetSigningPlatformRespo
90
93
  * <p>Base exception class for all service exceptions from Signer service.</p>
91
94
  *
92
95
  */
93
- export declare class GetSigningPlatformCommand extends $Command<GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput, SignerClientResolvedConfig> {
94
- readonly input: GetSigningPlatformCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: GetSigningPlatformCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class GetSigningPlatformCommand extends GetSigningPlatformCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetSigningProfileRequest, GetSigningProfileResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSigningProfileCommandInput extends GetSigningProfileRequest
21
20
  */
22
21
  export interface GetSigningProfileCommandOutput extends GetSigningProfileResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetSigningProfileCommand_base: {
24
+ new (input: GetSigningProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetSigningProfileCommandInput, GetSigningProfileCommandOutput, SignerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information on a specific signing profile.</p>
@@ -97,23 +100,5 @@ export interface GetSigningProfileCommandOutput extends GetSigningProfileRespons
97
100
  * <p>Base exception class for all service exceptions from Signer service.</p>
98
101
  *
99
102
  */
100
- export declare class GetSigningProfileCommand extends $Command<GetSigningProfileCommandInput, GetSigningProfileCommandOutput, SignerClientResolvedConfig> {
101
- readonly input: GetSigningProfileCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: GetSigningProfileCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSigningProfileCommandInput, GetSigningProfileCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class GetSigningProfileCommand extends GetSigningProfileCommand_base {
119
104
  }