@aws-sdk/client-signer 3.50.0 → 3.53.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 (50) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/SignerServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +143 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +222 -725
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/SignerServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +132 -1
  9. package/dist-es/protocols/Aws_restJson1.js +417 -804
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/SignerServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +72 -41
  13. package/dist-types/ts3.4/Signer.d.ts +90 -0
  14. package/dist-types/ts3.4/SignerClient.d.ts +90 -0
  15. package/dist-types/ts3.4/commands/AddProfilePermissionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelSigningProfileCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DescribeSigningJobCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/GetSigningPlatformCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/GetSigningProfileCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/ListProfilePermissionsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/ListSigningJobsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListSigningPlatformsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListSigningProfilesCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/PutSigningProfileCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/RemoveProfilePermissionCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/RevokeSignatureCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/RevokeSigningProfileCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/StartSigningJobCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  33. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  34. package/dist-types/ts3.4/index.d.ts +7 -0
  35. package/dist-types/ts3.4/models/SignerServiceException.d.ts +6 -0
  36. package/dist-types/ts3.4/models/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +809 -0
  38. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  39. package/dist-types/ts3.4/pagination/ListSigningJobsPaginator.d.ts +4 -0
  40. package/dist-types/ts3.4/pagination/ListSigningPlatformsPaginator.d.ts +4 -0
  41. package/dist-types/ts3.4/pagination/ListSigningProfilesPaginator.d.ts +4 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  48. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  49. package/dist-types/ts3.4/waiters/waitForSuccessfulSigningJob.d.ts +7 -0
  50. package/package.json +34 -34
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { SignerServiceException } from "./models/SignerServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Signer service.
4
+ */
5
+ export declare class SignerServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,12 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SignerServiceException as __BaseException } from "./SignerServiceException";
2
3
  /**
3
4
  * <p>You do not have sufficient access to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
9
  code?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
14
  }
11
15
  export interface AddProfilePermissionRequest {
12
16
  /**
@@ -56,67 +60,88 @@ export declare namespace AddProfilePermissionResponse {
56
60
  /**
57
61
  * <p>The resource encountered a conflicting state.</p>
58
62
  */
59
- export interface ConflictException extends __SmithyException, $MetadataBearer {
60
- name: "ConflictException";
61
- $fault: "client";
62
- message?: string;
63
+ export declare class ConflictException extends __BaseException {
64
+ readonly name: "ConflictException";
65
+ readonly $fault: "client";
63
66
  code?: string;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
64
71
  }
65
72
  /**
66
73
  * <p>An internal error occurred.</p>
67
74
  */
68
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
69
- name: "InternalServiceErrorException";
70
- $fault: "server";
71
- message?: string;
75
+ export declare class InternalServiceErrorException extends __BaseException {
76
+ readonly name: "InternalServiceErrorException";
77
+ readonly $fault: "server";
72
78
  code?: string;
79
+ /**
80
+ * @internal
81
+ */
82
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
73
83
  }
74
84
  /**
75
85
  * <p>A specified resource could not be found.</p>
76
86
  */
77
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
78
- name: "ResourceNotFoundException";
79
- $fault: "client";
80
- message?: string;
87
+ export declare class ResourceNotFoundException extends __BaseException {
88
+ readonly name: "ResourceNotFoundException";
89
+ readonly $fault: "client";
81
90
  code?: string;
91
+ /**
92
+ * @internal
93
+ */
94
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
82
95
  }
83
96
  /**
84
97
  * <p>The client is making a request that exceeds service limits.</p>
85
98
  */
86
- export interface ServiceLimitExceededException extends __SmithyException, $MetadataBearer {
87
- name: "ServiceLimitExceededException";
88
- $fault: "client";
89
- message?: string;
99
+ export declare class ServiceLimitExceededException extends __BaseException {
100
+ readonly name: "ServiceLimitExceededException";
101
+ readonly $fault: "client";
90
102
  code?: string;
103
+ /**
104
+ * @internal
105
+ */
106
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
91
107
  }
92
108
  /**
93
109
  * <p>The allowed number of job-signing requests has been exceeded.</p>
94
110
  * <p>This error supersedes the error <code>ThrottlingException</code>.</p>
95
111
  */
96
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
97
- name: "TooManyRequestsException";
98
- $fault: "client";
99
- message?: string;
112
+ export declare class TooManyRequestsException extends __BaseException {
113
+ readonly name: "TooManyRequestsException";
114
+ readonly $fault: "client";
100
115
  code?: string;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
101
120
  }
102
121
  /**
103
122
  * <p>You signing certificate could not be validated.</p>
104
123
  */
105
- export interface ValidationException extends __SmithyException, $MetadataBearer {
106
- name: "ValidationException";
107
- $fault: "client";
108
- message?: string;
124
+ export declare class ValidationException extends __BaseException {
125
+ readonly name: "ValidationException";
126
+ readonly $fault: "client";
109
127
  code?: string;
128
+ /**
129
+ * @internal
130
+ */
131
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
110
132
  }
111
133
  /**
112
134
  * <p>The request contains invalid parameters for the ARN or tags. This exception also
113
135
  * occurs when you call a tagging API on a cancelled signing profile.</p>
114
136
  */
115
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
116
- name: "BadRequestException";
117
- $fault: "client";
118
- message?: string;
137
+ export declare class BadRequestException extends __BaseException {
138
+ readonly name: "BadRequestException";
139
+ readonly $fault: "client";
119
140
  code?: string;
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
120
145
  }
121
146
  export interface CancelSigningProfileRequest {
122
147
  /**
@@ -1141,11 +1166,14 @@ export declare namespace ListTagsForResourceResponse {
1141
1166
  /**
1142
1167
  * <p>The signing profile was not found.</p>
1143
1168
  */
1144
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1145
- name: "NotFoundException";
1146
- $fault: "client";
1147
- message?: string;
1169
+ export declare class NotFoundException extends __BaseException {
1170
+ readonly name: "NotFoundException";
1171
+ readonly $fault: "client";
1148
1172
  code?: string;
1173
+ /**
1174
+ * @internal
1175
+ */
1176
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1149
1177
  }
1150
1178
  export interface PutSigningProfileRequest {
1151
1179
  /**
@@ -1343,11 +1371,14 @@ export declare namespace StartSigningJobResponse {
1343
1371
  * <p>The request was denied due to request throttling.</p>
1344
1372
  * <p>Instead of this error, <code>TooManyRequestsException</code> should be used.</p>
1345
1373
  */
1346
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
1347
- name: "ThrottlingException";
1348
- $fault: "client";
1349
- message?: string;
1374
+ export declare class ThrottlingException extends __BaseException {
1375
+ readonly name: "ThrottlingException";
1376
+ readonly $fault: "client";
1350
1377
  code?: string;
1378
+ /**
1379
+ * @internal
1380
+ */
1381
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
1351
1382
  }
1352
1383
  export interface TagResourceRequest {
1353
1384
  /**
@@ -0,0 +1,90 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput } from "./commands/AddProfilePermissionCommand";
3
+ import { CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput } from "./commands/CancelSigningProfileCommand";
4
+ import { DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput } from "./commands/DescribeSigningJobCommand";
5
+ import { GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput } from "./commands/GetSigningPlatformCommand";
6
+ import { GetSigningProfileCommandInput, GetSigningProfileCommandOutput } from "./commands/GetSigningProfileCommand";
7
+ import { ListProfilePermissionsCommandInput, ListProfilePermissionsCommandOutput } from "./commands/ListProfilePermissionsCommand";
8
+ import { ListSigningJobsCommandInput, ListSigningJobsCommandOutput } from "./commands/ListSigningJobsCommand";
9
+ import { ListSigningPlatformsCommandInput, ListSigningPlatformsCommandOutput } from "./commands/ListSigningPlatformsCommand";
10
+ import { ListSigningProfilesCommandInput, ListSigningProfilesCommandOutput } from "./commands/ListSigningProfilesCommand";
11
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
12
+ import { PutSigningProfileCommandInput, PutSigningProfileCommandOutput } from "./commands/PutSigningProfileCommand";
13
+ import { RemoveProfilePermissionCommandInput, RemoveProfilePermissionCommandOutput } from "./commands/RemoveProfilePermissionCommand";
14
+ import { RevokeSignatureCommandInput, RevokeSignatureCommandOutput } from "./commands/RevokeSignatureCommand";
15
+ import { RevokeSigningProfileCommandInput, RevokeSigningProfileCommandOutput } from "./commands/RevokeSigningProfileCommand";
16
+ import { StartSigningJobCommandInput, StartSigningJobCommandOutput } from "./commands/StartSigningJobCommand";
17
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
18
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
19
+ import { SignerClient } from "./SignerClient";
20
+
21
+ export declare class Signer extends SignerClient {
22
+
23
+ addProfilePermission(args: AddProfilePermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddProfilePermissionCommandOutput>;
24
+ addProfilePermission(args: AddProfilePermissionCommandInput, cb: (err: any, data?: AddProfilePermissionCommandOutput) => void): void;
25
+ addProfilePermission(args: AddProfilePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddProfilePermissionCommandOutput) => void): void;
26
+
27
+ cancelSigningProfile(args: CancelSigningProfileCommandInput, options?: __HttpHandlerOptions): Promise<CancelSigningProfileCommandOutput>;
28
+ cancelSigningProfile(args: CancelSigningProfileCommandInput, cb: (err: any, data?: CancelSigningProfileCommandOutput) => void): void;
29
+ cancelSigningProfile(args: CancelSigningProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelSigningProfileCommandOutput) => void): void;
30
+
31
+ describeSigningJob(args: DescribeSigningJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSigningJobCommandOutput>;
32
+ describeSigningJob(args: DescribeSigningJobCommandInput, cb: (err: any, data?: DescribeSigningJobCommandOutput) => void): void;
33
+ describeSigningJob(args: DescribeSigningJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSigningJobCommandOutput) => void): void;
34
+
35
+ getSigningPlatform(args: GetSigningPlatformCommandInput, options?: __HttpHandlerOptions): Promise<GetSigningPlatformCommandOutput>;
36
+ getSigningPlatform(args: GetSigningPlatformCommandInput, cb: (err: any, data?: GetSigningPlatformCommandOutput) => void): void;
37
+ getSigningPlatform(args: GetSigningPlatformCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSigningPlatformCommandOutput) => void): void;
38
+
39
+ getSigningProfile(args: GetSigningProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetSigningProfileCommandOutput>;
40
+ getSigningProfile(args: GetSigningProfileCommandInput, cb: (err: any, data?: GetSigningProfileCommandOutput) => void): void;
41
+ getSigningProfile(args: GetSigningProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSigningProfileCommandOutput) => void): void;
42
+
43
+ listProfilePermissions(args: ListProfilePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilePermissionsCommandOutput>;
44
+ listProfilePermissions(args: ListProfilePermissionsCommandInput, cb: (err: any, data?: ListProfilePermissionsCommandOutput) => void): void;
45
+ listProfilePermissions(args: ListProfilePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilePermissionsCommandOutput) => void): void;
46
+
47
+ listSigningJobs(args: ListSigningJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListSigningJobsCommandOutput>;
48
+ listSigningJobs(args: ListSigningJobsCommandInput, cb: (err: any, data?: ListSigningJobsCommandOutput) => void): void;
49
+ listSigningJobs(args: ListSigningJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSigningJobsCommandOutput) => void): void;
50
+
51
+ listSigningPlatforms(args: ListSigningPlatformsCommandInput, options?: __HttpHandlerOptions): Promise<ListSigningPlatformsCommandOutput>;
52
+ listSigningPlatforms(args: ListSigningPlatformsCommandInput, cb: (err: any, data?: ListSigningPlatformsCommandOutput) => void): void;
53
+ listSigningPlatforms(args: ListSigningPlatformsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSigningPlatformsCommandOutput) => void): void;
54
+
55
+ listSigningProfiles(args: ListSigningProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListSigningProfilesCommandOutput>;
56
+ listSigningProfiles(args: ListSigningProfilesCommandInput, cb: (err: any, data?: ListSigningProfilesCommandOutput) => void): void;
57
+ listSigningProfiles(args: ListSigningProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSigningProfilesCommandOutput) => void): void;
58
+
59
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
60
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
61
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
62
+
63
+ putSigningProfile(args: PutSigningProfileCommandInput, options?: __HttpHandlerOptions): Promise<PutSigningProfileCommandOutput>;
64
+ putSigningProfile(args: PutSigningProfileCommandInput, cb: (err: any, data?: PutSigningProfileCommandOutput) => void): void;
65
+ putSigningProfile(args: PutSigningProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSigningProfileCommandOutput) => void): void;
66
+
67
+ removeProfilePermission(args: RemoveProfilePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveProfilePermissionCommandOutput>;
68
+ removeProfilePermission(args: RemoveProfilePermissionCommandInput, cb: (err: any, data?: RemoveProfilePermissionCommandOutput) => void): void;
69
+ removeProfilePermission(args: RemoveProfilePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveProfilePermissionCommandOutput) => void): void;
70
+
71
+ revokeSignature(args: RevokeSignatureCommandInput, options?: __HttpHandlerOptions): Promise<RevokeSignatureCommandOutput>;
72
+ revokeSignature(args: RevokeSignatureCommandInput, cb: (err: any, data?: RevokeSignatureCommandOutput) => void): void;
73
+ revokeSignature(args: RevokeSignatureCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeSignatureCommandOutput) => void): void;
74
+
75
+ revokeSigningProfile(args: RevokeSigningProfileCommandInput, options?: __HttpHandlerOptions): Promise<RevokeSigningProfileCommandOutput>;
76
+ revokeSigningProfile(args: RevokeSigningProfileCommandInput, cb: (err: any, data?: RevokeSigningProfileCommandOutput) => void): void;
77
+ revokeSigningProfile(args: RevokeSigningProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeSigningProfileCommandOutput) => void): void;
78
+
79
+ startSigningJob(args: StartSigningJobCommandInput, options?: __HttpHandlerOptions): Promise<StartSigningJobCommandOutput>;
80
+ startSigningJob(args: StartSigningJobCommandInput, cb: (err: any, data?: StartSigningJobCommandOutput) => void): void;
81
+ startSigningJob(args: StartSigningJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSigningJobCommandOutput) => void): void;
82
+
83
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
84
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
85
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
86
+
87
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
88
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
89
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
90
+ }
@@ -0,0 +1,90 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput } from "./commands/AddProfilePermissionCommand";
10
+ import { CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput } from "./commands/CancelSigningProfileCommand";
11
+ import { DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput } from "./commands/DescribeSigningJobCommand";
12
+ import { GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput } from "./commands/GetSigningPlatformCommand";
13
+ import { GetSigningProfileCommandInput, GetSigningProfileCommandOutput } from "./commands/GetSigningProfileCommand";
14
+ import { ListProfilePermissionsCommandInput, ListProfilePermissionsCommandOutput } from "./commands/ListProfilePermissionsCommand";
15
+ import { ListSigningJobsCommandInput, ListSigningJobsCommandOutput } from "./commands/ListSigningJobsCommand";
16
+ import { ListSigningPlatformsCommandInput, ListSigningPlatformsCommandOutput } from "./commands/ListSigningPlatformsCommand";
17
+ import { ListSigningProfilesCommandInput, ListSigningProfilesCommandOutput } from "./commands/ListSigningProfilesCommand";
18
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
+ import { PutSigningProfileCommandInput, PutSigningProfileCommandOutput } from "./commands/PutSigningProfileCommand";
20
+ import { RemoveProfilePermissionCommandInput, RemoveProfilePermissionCommandOutput } from "./commands/RemoveProfilePermissionCommand";
21
+ import { RevokeSignatureCommandInput, RevokeSignatureCommandOutput } from "./commands/RevokeSignatureCommand";
22
+ import { RevokeSigningProfileCommandInput, RevokeSigningProfileCommandOutput } from "./commands/RevokeSigningProfileCommand";
23
+ import { StartSigningJobCommandInput, StartSigningJobCommandOutput } from "./commands/StartSigningJobCommand";
24
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
25
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
26
+ export declare type ServiceInputTypes = AddProfilePermissionCommandInput | CancelSigningProfileCommandInput | DescribeSigningJobCommandInput | GetSigningPlatformCommandInput | GetSigningProfileCommandInput | ListProfilePermissionsCommandInput | ListSigningJobsCommandInput | ListSigningPlatformsCommandInput | ListSigningProfilesCommandInput | ListTagsForResourceCommandInput | PutSigningProfileCommandInput | RemoveProfilePermissionCommandInput | RevokeSignatureCommandInput | RevokeSigningProfileCommandInput | StartSigningJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
27
+ export declare type ServiceOutputTypes = AddProfilePermissionCommandOutput | CancelSigningProfileCommandOutput | DescribeSigningJobCommandOutput | GetSigningPlatformCommandOutput | GetSigningProfileCommandOutput | ListProfilePermissionsCommandOutput | ListSigningJobsCommandOutput | ListSigningPlatformsCommandOutput | ListSigningProfilesCommandOutput | ListTagsForResourceCommandOutput | PutSigningProfileCommandOutput | RemoveProfilePermissionCommandOutput | RevokeSignatureCommandOutput | RevokeSigningProfileCommandOutput | StartSigningJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
28
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
29
+
30
+ requestHandler?: __HttpHandler;
31
+
32
+ sha256?: __HashConstructor;
33
+
34
+ urlParser?: __UrlParser;
35
+
36
+ bodyLengthChecker?: (body: any) => number | undefined;
37
+
38
+ streamCollector?: __StreamCollector;
39
+
40
+ base64Decoder?: __Decoder;
41
+
42
+ base64Encoder?: __Encoder;
43
+
44
+ utf8Decoder?: __Decoder;
45
+
46
+ utf8Encoder?: __Encoder;
47
+
48
+ runtime?: string;
49
+
50
+ disableHostPrefix?: boolean;
51
+
52
+ maxAttempts?: number | __Provider<number>;
53
+
54
+ retryMode?: string | __Provider<string>;
55
+
56
+ logger?: __Logger;
57
+
58
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
59
+
60
+ useFipsEndpoint?: boolean | __Provider<boolean>;
61
+
62
+ serviceId?: string;
63
+
64
+ region?: string | __Provider<string>;
65
+
66
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
67
+
68
+ regionInfoProvider?: RegionInfoProvider;
69
+
70
+ defaultUserAgentProvider?: Provider<__UserAgent>;
71
+
72
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
73
+ }
74
+ declare type SignerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
75
+
76
+ export interface SignerClientConfig extends SignerClientConfigType {
77
+ }
78
+ declare type SignerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
79
+
80
+ export interface SignerClientResolvedConfig extends SignerClientResolvedConfigType {
81
+ }
82
+
83
+ export declare class SignerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig> {
84
+
85
+ readonly config: SignerClientResolvedConfig;
86
+ constructor(configuration: SignerClientConfig);
87
+
88
+ destroy(): void;
89
+ }
90
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AddProfilePermissionRequest, AddProfilePermissionResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface AddProfilePermissionCommandInput extends AddProfilePermissionRequest {
6
+ }
7
+ export interface AddProfilePermissionCommandOutput extends AddProfilePermissionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class AddProfilePermissionCommand extends $Command<AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: AddProfilePermissionCommandInput;
12
+ constructor(input: AddProfilePermissionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CancelSigningProfileRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface CancelSigningProfileCommandInput extends CancelSigningProfileRequest {
6
+ }
7
+ export interface CancelSigningProfileCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class CancelSigningProfileCommand extends $Command<CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: CancelSigningProfileCommandInput;
12
+ constructor(input: CancelSigningProfileCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeSigningJobRequest, DescribeSigningJobResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface DescribeSigningJobCommandInput extends DescribeSigningJobRequest {
6
+ }
7
+ export interface DescribeSigningJobCommandOutput extends DescribeSigningJobResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeSigningJobCommand extends $Command<DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: DescribeSigningJobCommandInput;
12
+ constructor(input: DescribeSigningJobCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetSigningPlatformRequest, GetSigningPlatformResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface GetSigningPlatformCommandInput extends GetSigningPlatformRequest {
6
+ }
7
+ export interface GetSigningPlatformCommandOutput extends GetSigningPlatformResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetSigningPlatformCommand extends $Command<GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: GetSigningPlatformCommandInput;
12
+ constructor(input: GetSigningPlatformCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetSigningProfileRequest, GetSigningProfileResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface GetSigningProfileCommandInput extends GetSigningProfileRequest {
6
+ }
7
+ export interface GetSigningProfileCommandOutput extends GetSigningProfileResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetSigningProfileCommand extends $Command<GetSigningProfileCommandInput, GetSigningProfileCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: GetSigningProfileCommandInput;
12
+ constructor(input: GetSigningProfileCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSigningProfileCommandInput, GetSigningProfileCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListProfilePermissionsRequest, ListProfilePermissionsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface ListProfilePermissionsCommandInput extends ListProfilePermissionsRequest {
6
+ }
7
+ export interface ListProfilePermissionsCommandOutput extends ListProfilePermissionsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListProfilePermissionsCommand extends $Command<ListProfilePermissionsCommandInput, ListProfilePermissionsCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: ListProfilePermissionsCommandInput;
12
+ constructor(input: ListProfilePermissionsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProfilePermissionsCommandInput, ListProfilePermissionsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListSigningJobsRequest, ListSigningJobsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface ListSigningJobsCommandInput extends ListSigningJobsRequest {
6
+ }
7
+ export interface ListSigningJobsCommandOutput extends ListSigningJobsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListSigningJobsCommand extends $Command<ListSigningJobsCommandInput, ListSigningJobsCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: ListSigningJobsCommandInput;
12
+ constructor(input: ListSigningJobsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSigningJobsCommandInput, ListSigningJobsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListSigningPlatformsRequest, ListSigningPlatformsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface ListSigningPlatformsCommandInput extends ListSigningPlatformsRequest {
6
+ }
7
+ export interface ListSigningPlatformsCommandOutput extends ListSigningPlatformsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListSigningPlatformsCommand extends $Command<ListSigningPlatformsCommandInput, ListSigningPlatformsCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: ListSigningPlatformsCommandInput;
12
+ constructor(input: ListSigningPlatformsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSigningPlatformsCommandInput, ListSigningPlatformsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListSigningProfilesRequest, ListSigningProfilesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface ListSigningProfilesCommandInput extends ListSigningProfilesRequest {
6
+ }
7
+ export interface ListSigningProfilesCommandOutput extends ListSigningProfilesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListSigningProfilesCommand extends $Command<ListSigningProfilesCommandInput, ListSigningProfilesCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: ListSigningProfilesCommandInput;
12
+ constructor(input: ListSigningProfilesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSigningProfilesCommandInput, ListSigningProfilesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: ListTagsForResourceCommandInput;
12
+ constructor(input: ListTagsForResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { PutSigningProfileRequest, PutSigningProfileResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface PutSigningProfileCommandInput extends PutSigningProfileRequest {
6
+ }
7
+ export interface PutSigningProfileCommandOutput extends PutSigningProfileResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutSigningProfileCommand extends $Command<PutSigningProfileCommandInput, PutSigningProfileCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: PutSigningProfileCommandInput;
12
+ constructor(input: PutSigningProfileCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSigningProfileCommandInput, PutSigningProfileCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { RemoveProfilePermissionRequest, RemoveProfilePermissionResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface RemoveProfilePermissionCommandInput extends RemoveProfilePermissionRequest {
6
+ }
7
+ export interface RemoveProfilePermissionCommandOutput extends RemoveProfilePermissionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class RemoveProfilePermissionCommand extends $Command<RemoveProfilePermissionCommandInput, RemoveProfilePermissionCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: RemoveProfilePermissionCommandInput;
12
+ constructor(input: RemoveProfilePermissionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveProfilePermissionCommandInput, RemoveProfilePermissionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { RevokeSignatureRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
5
+ export interface RevokeSignatureCommandInput extends RevokeSignatureRequest {
6
+ }
7
+ export interface RevokeSignatureCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class RevokeSignatureCommand extends $Command<RevokeSignatureCommandInput, RevokeSignatureCommandOutput, SignerClientResolvedConfig> {
11
+ readonly input: RevokeSignatureCommandInput;
12
+ constructor(input: RevokeSignatureCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RevokeSignatureCommandInput, RevokeSignatureCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }