@aws-sdk/client-signer 3.35.0 → 3.38.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 (210) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Signer.js +0 -20
  3. package/dist-cjs/SignerClient.js +0 -25
  4. package/dist-cjs/commands/AddProfilePermissionCommand.js +0 -25
  5. package/dist-cjs/commands/CancelSigningProfileCommand.js +0 -28
  6. package/dist-cjs/commands/DescribeSigningJobCommand.js +0 -27
  7. package/dist-cjs/commands/GetSigningPlatformCommand.js +0 -25
  8. package/dist-cjs/commands/GetSigningProfileCommand.js +0 -25
  9. package/dist-cjs/commands/ListProfilePermissionsCommand.js +0 -25
  10. package/dist-cjs/commands/ListSigningJobsCommand.js +0 -31
  11. package/dist-cjs/commands/ListSigningPlatformsCommand.js +0 -31
  12. package/dist-cjs/commands/ListSigningProfilesCommand.js +0 -32
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  14. package/dist-cjs/commands/PutSigningProfileCommand.js +0 -27
  15. package/dist-cjs/commands/RemoveProfilePermissionCommand.js +0 -25
  16. package/dist-cjs/commands/RevokeSignatureCommand.js +0 -26
  17. package/dist-cjs/commands/RevokeSigningProfileCommand.js +0 -27
  18. package/dist-cjs/commands/StartSigningJobCommand.js +0 -52
  19. package/dist-cjs/commands/TagResourceCommand.js +0 -28
  20. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  21. package/dist-cjs/commands/index.js +20 -0
  22. package/dist-cjs/endpoints.js +1 -2
  23. package/dist-cjs/index.js +5 -25
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -184
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListSigningJobsPaginator.js +0 -11
  28. package/dist-cjs/pagination/ListSigningPlatformsPaginator.js +0 -11
  29. package/dist-cjs/pagination/ListSigningProfilesPaginator.js +0 -11
  30. package/dist-cjs/pagination/index.js +7 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  32. package/dist-cjs/runtimeConfig.browser.js +1 -6
  33. package/dist-cjs/runtimeConfig.js +2 -7
  34. package/dist-cjs/runtimeConfig.native.js +0 -4
  35. package/dist-cjs/runtimeConfig.shared.js +0 -4
  36. package/dist-cjs/waiters/index.js +4 -0
  37. package/dist-cjs/waiters/waitForSuccessfulSigningJob.js +0 -10
  38. package/dist-es/Signer.js +0 -1
  39. package/dist-es/SignerClient.js +0 -1
  40. package/dist-es/commands/AddProfilePermissionCommand.js +0 -1
  41. package/dist-es/commands/CancelSigningProfileCommand.js +0 -1
  42. package/dist-es/commands/DescribeSigningJobCommand.js +0 -1
  43. package/dist-es/commands/GetSigningPlatformCommand.js +0 -1
  44. package/dist-es/commands/GetSigningProfileCommand.js +0 -1
  45. package/dist-es/commands/ListProfilePermissionsCommand.js +0 -1
  46. package/dist-es/commands/ListSigningJobsCommand.js +0 -1
  47. package/dist-es/commands/ListSigningPlatformsCommand.js +0 -1
  48. package/dist-es/commands/ListSigningProfilesCommand.js +0 -1
  49. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  50. package/dist-es/commands/PutSigningProfileCommand.js +0 -1
  51. package/dist-es/commands/RemoveProfilePermissionCommand.js +0 -1
  52. package/dist-es/commands/RevokeSignatureCommand.js +0 -1
  53. package/dist-es/commands/RevokeSigningProfileCommand.js +0 -1
  54. package/dist-es/commands/StartSigningJobCommand.js +0 -1
  55. package/dist-es/commands/TagResourceCommand.js +0 -1
  56. package/dist-es/commands/UntagResourceCommand.js +0 -1
  57. package/dist-es/commands/index.js +17 -0
  58. package/dist-es/endpoints.js +1 -2
  59. package/dist-es/index.js +5 -25
  60. package/dist-es/models/index.js +0 -1
  61. package/dist-es/models/models_0.js +0 -1
  62. package/dist-es/pagination/Interfaces.js +0 -1
  63. package/dist-es/pagination/ListSigningJobsPaginator.js +0 -1
  64. package/dist-es/pagination/ListSigningPlatformsPaginator.js +0 -1
  65. package/dist-es/pagination/ListSigningProfilesPaginator.js +0 -1
  66. package/dist-es/pagination/index.js +4 -0
  67. package/dist-es/protocols/Aws_restJson1.js +0 -1
  68. package/dist-es/runtimeConfig.browser.js +1 -2
  69. package/dist-es/runtimeConfig.js +2 -3
  70. package/dist-es/runtimeConfig.native.js +0 -1
  71. package/dist-es/runtimeConfig.shared.js +0 -1
  72. package/dist-es/waiters/index.js +1 -0
  73. package/dist-es/waiters/waitForSuccessfulSigningJob.js +0 -1
  74. package/dist-types/commands/index.d.ts +17 -0
  75. package/dist-types/index.d.ts +5 -24
  76. package/dist-types/pagination/index.d.ts +4 -0
  77. package/dist-types/ts3.4/Signer.d.ts +18 -130
  78. package/dist-types/ts3.4/SignerClient.d.ts +24 -105
  79. package/dist-types/ts3.4/commands/AddProfilePermissionCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/CancelSigningProfileCommand.d.ts +2 -23
  81. package/dist-types/ts3.4/commands/DescribeSigningJobCommand.d.ts +2 -22
  82. package/dist-types/ts3.4/commands/GetSigningPlatformCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/GetSigningProfileCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/ListProfilePermissionsCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/ListSigningJobsCommand.d.ts +2 -26
  86. package/dist-types/ts3.4/commands/ListSigningPlatformsCommand.d.ts +2 -26
  87. package/dist-types/ts3.4/commands/ListSigningProfilesCommand.d.ts +2 -27
  88. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/PutSigningProfileCommand.d.ts +2 -22
  90. package/dist-types/ts3.4/commands/RemoveProfilePermissionCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/RevokeSignatureCommand.d.ts +2 -21
  92. package/dist-types/ts3.4/commands/RevokeSigningProfileCommand.d.ts +2 -22
  93. package/dist-types/ts3.4/commands/StartSigningJobCommand.d.ts +2 -47
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  97. package/dist-types/ts3.4/index.d.ts +5 -24
  98. package/dist-types/ts3.4/models/models_0.d.ts +279 -902
  99. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  104. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  105. package/dist-types/ts3.4/waiters/waitForSuccessfulSigningJob.d.ts +2 -9
  106. package/dist-types/waiters/index.d.ts +1 -0
  107. package/package.json +34 -31
  108. package/dist-cjs/Signer.js.map +0 -1
  109. package/dist-cjs/SignerClient.js.map +0 -1
  110. package/dist-cjs/commands/AddProfilePermissionCommand.js.map +0 -1
  111. package/dist-cjs/commands/CancelSigningProfileCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribeSigningJobCommand.js.map +0 -1
  113. package/dist-cjs/commands/GetSigningPlatformCommand.js.map +0 -1
  114. package/dist-cjs/commands/GetSigningProfileCommand.js.map +0 -1
  115. package/dist-cjs/commands/ListProfilePermissionsCommand.js.map +0 -1
  116. package/dist-cjs/commands/ListSigningJobsCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListSigningPlatformsCommand.js.map +0 -1
  118. package/dist-cjs/commands/ListSigningProfilesCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  120. package/dist-cjs/commands/PutSigningProfileCommand.js.map +0 -1
  121. package/dist-cjs/commands/RemoveProfilePermissionCommand.js.map +0 -1
  122. package/dist-cjs/commands/RevokeSignatureCommand.js.map +0 -1
  123. package/dist-cjs/commands/RevokeSigningProfileCommand.js.map +0 -1
  124. package/dist-cjs/commands/StartSigningJobCommand.js.map +0 -1
  125. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  126. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  127. package/dist-cjs/endpoints.js.map +0 -1
  128. package/dist-cjs/index.js.map +0 -1
  129. package/dist-cjs/models/index.js.map +0 -1
  130. package/dist-cjs/models/models_0.js.map +0 -1
  131. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  132. package/dist-cjs/pagination/ListSigningJobsPaginator.js.map +0 -1
  133. package/dist-cjs/pagination/ListSigningPlatformsPaginator.js.map +0 -1
  134. package/dist-cjs/pagination/ListSigningProfilesPaginator.js.map +0 -1
  135. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  136. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  139. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  140. package/dist-cjs/waiters/waitForSuccessfulSigningJob.js.map +0 -1
  141. package/dist-es/Signer.js.map +0 -1
  142. package/dist-es/SignerClient.js.map +0 -1
  143. package/dist-es/commands/AddProfilePermissionCommand.js.map +0 -1
  144. package/dist-es/commands/CancelSigningProfileCommand.js.map +0 -1
  145. package/dist-es/commands/DescribeSigningJobCommand.js.map +0 -1
  146. package/dist-es/commands/GetSigningPlatformCommand.js.map +0 -1
  147. package/dist-es/commands/GetSigningProfileCommand.js.map +0 -1
  148. package/dist-es/commands/ListProfilePermissionsCommand.js.map +0 -1
  149. package/dist-es/commands/ListSigningJobsCommand.js.map +0 -1
  150. package/dist-es/commands/ListSigningPlatformsCommand.js.map +0 -1
  151. package/dist-es/commands/ListSigningProfilesCommand.js.map +0 -1
  152. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  153. package/dist-es/commands/PutSigningProfileCommand.js.map +0 -1
  154. package/dist-es/commands/RemoveProfilePermissionCommand.js.map +0 -1
  155. package/dist-es/commands/RevokeSignatureCommand.js.map +0 -1
  156. package/dist-es/commands/RevokeSigningProfileCommand.js.map +0 -1
  157. package/dist-es/commands/StartSigningJobCommand.js.map +0 -1
  158. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  159. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  160. package/dist-es/endpoints.js.map +0 -1
  161. package/dist-es/index.js.map +0 -1
  162. package/dist-es/models/index.js.map +0 -1
  163. package/dist-es/models/models_0.js.map +0 -1
  164. package/dist-es/pagination/Interfaces.js.map +0 -1
  165. package/dist-es/pagination/ListSigningJobsPaginator.js.map +0 -1
  166. package/dist-es/pagination/ListSigningPlatformsPaginator.js.map +0 -1
  167. package/dist-es/pagination/ListSigningProfilesPaginator.js.map +0 -1
  168. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  169. package/dist-es/runtimeConfig.browser.js.map +0 -1
  170. package/dist-es/runtimeConfig.js.map +0 -1
  171. package/dist-es/runtimeConfig.native.js.map +0 -1
  172. package/dist-es/runtimeConfig.shared.js.map +0 -1
  173. package/dist-es/waiters/waitForSuccessfulSigningJob.js.map +0 -1
  174. package/jest.config.js +0 -4
  175. package/src/Signer.ts +0 -703
  176. package/src/SignerClient.ts +0 -327
  177. package/src/commands/AddProfilePermissionCommand.ts +0 -95
  178. package/src/commands/CancelSigningProfileCommand.ts +0 -98
  179. package/src/commands/DescribeSigningJobCommand.ts +0 -97
  180. package/src/commands/GetSigningPlatformCommand.ts +0 -95
  181. package/src/commands/GetSigningProfileCommand.ts +0 -95
  182. package/src/commands/ListProfilePermissionsCommand.ts +0 -95
  183. package/src/commands/ListSigningJobsCommand.ts +0 -101
  184. package/src/commands/ListSigningPlatformsCommand.ts +0 -101
  185. package/src/commands/ListSigningProfilesCommand.ts +0 -102
  186. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  187. package/src/commands/PutSigningProfileCommand.ts +0 -97
  188. package/src/commands/RemoveProfilePermissionCommand.ts +0 -95
  189. package/src/commands/RevokeSignatureCommand.ts +0 -96
  190. package/src/commands/RevokeSigningProfileCommand.ts +0 -97
  191. package/src/commands/StartSigningJobCommand.ts +0 -122
  192. package/src/commands/TagResourceCommand.ts +0 -98
  193. package/src/commands/UntagResourceCommand.ts +0 -96
  194. package/src/endpoints.ts +0 -57
  195. package/src/index.ts +0 -25
  196. package/src/models/index.ts +0 -1
  197. package/src/models/models_0.ts +0 -1831
  198. package/src/pagination/Interfaces.ts +0 -8
  199. package/src/pagination/ListSigningJobsPaginator.ts +0 -59
  200. package/src/pagination/ListSigningPlatformsPaginator.ts +0 -59
  201. package/src/pagination/ListSigningProfilesPaginator.ts +0 -59
  202. package/src/protocols/Aws_restJson1.ts +0 -2978
  203. package/src/runtimeConfig.browser.ts +0 -41
  204. package/src/runtimeConfig.native.ts +0 -17
  205. package/src/runtimeConfig.shared.ts +0 -17
  206. package/src/runtimeConfig.ts +0 -46
  207. package/src/waiters/waitForSuccessfulSigningJob.ts +0 -58
  208. package/tsconfig.es.json +0 -10
  209. package/tsconfig.json +0 -33
  210. package/tsconfig.types.json +0 -9
@@ -1,1831 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- message?: string;
10
- code?: string;
11
- }
12
-
13
- export namespace AccessDeniedException {
14
- /**
15
- * @internal
16
- */
17
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
18
- ...obj,
19
- });
20
- }
21
-
22
- export interface AddProfilePermissionRequest {
23
- /**
24
- * <p>The human-readable name of the signing profile.</p>
25
- */
26
- profileName: string | undefined;
27
-
28
- /**
29
- * <p>The version of the signing profile.</p>
30
- */
31
- profileVersion?: string;
32
-
33
- /**
34
- * <p>The AWS Signer action permitted as part of cross-account permissions.</p>
35
- */
36
- action: string | undefined;
37
-
38
- /**
39
- * <p>The AWS principal receiving cross-account permissions. This may be an IAM role or
40
- * another AWS account ID.</p>
41
- */
42
- principal: string | undefined;
43
-
44
- /**
45
- * <p>A unique identifier for the current profile revision.</p>
46
- */
47
- revisionId?: string;
48
-
49
- /**
50
- * <p>A unique identifier for the cross-account permission statement.</p>
51
- */
52
- statementId: string | undefined;
53
- }
54
-
55
- export namespace AddProfilePermissionRequest {
56
- /**
57
- * @internal
58
- */
59
- export const filterSensitiveLog = (obj: AddProfilePermissionRequest): any => ({
60
- ...obj,
61
- });
62
- }
63
-
64
- export interface AddProfilePermissionResponse {
65
- /**
66
- * <p>A unique identifier for the current profile revision.</p>
67
- */
68
- revisionId?: string;
69
- }
70
-
71
- export namespace AddProfilePermissionResponse {
72
- /**
73
- * @internal
74
- */
75
- export const filterSensitiveLog = (obj: AddProfilePermissionResponse): any => ({
76
- ...obj,
77
- });
78
- }
79
-
80
- /**
81
- * <p>The resource encountered a conflicting state.</p>
82
- */
83
- export interface ConflictException extends __SmithyException, $MetadataBearer {
84
- name: "ConflictException";
85
- $fault: "client";
86
- message?: string;
87
- code?: string;
88
- }
89
-
90
- export namespace ConflictException {
91
- /**
92
- * @internal
93
- */
94
- export const filterSensitiveLog = (obj: ConflictException): any => ({
95
- ...obj,
96
- });
97
- }
98
-
99
- /**
100
- * <p>An internal error occurred.</p>
101
- */
102
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
103
- name: "InternalServiceErrorException";
104
- $fault: "server";
105
- message?: string;
106
- code?: string;
107
- }
108
-
109
- export namespace InternalServiceErrorException {
110
- /**
111
- * @internal
112
- */
113
- export const filterSensitiveLog = (obj: InternalServiceErrorException): any => ({
114
- ...obj,
115
- });
116
- }
117
-
118
- /**
119
- * <p>A specified resource could not be found.</p>
120
- */
121
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
122
- name: "ResourceNotFoundException";
123
- $fault: "client";
124
- message?: string;
125
- code?: string;
126
- }
127
-
128
- export namespace ResourceNotFoundException {
129
- /**
130
- * @internal
131
- */
132
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
133
- ...obj,
134
- });
135
- }
136
-
137
- /**
138
- * <p>The client is making a request that exceeds service limits.</p>
139
- */
140
- export interface ServiceLimitExceededException extends __SmithyException, $MetadataBearer {
141
- name: "ServiceLimitExceededException";
142
- $fault: "client";
143
- message?: string;
144
- code?: string;
145
- }
146
-
147
- export namespace ServiceLimitExceededException {
148
- /**
149
- * @internal
150
- */
151
- export const filterSensitiveLog = (obj: ServiceLimitExceededException): any => ({
152
- ...obj,
153
- });
154
- }
155
-
156
- /**
157
- * <p>The allowed number of job-signing requests has been exceeded.</p>
158
- * <p>This error supersedes the error <code>ThrottlingException</code>.</p>
159
- */
160
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
161
- name: "TooManyRequestsException";
162
- $fault: "client";
163
- message?: string;
164
- code?: string;
165
- }
166
-
167
- export namespace TooManyRequestsException {
168
- /**
169
- * @internal
170
- */
171
- export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({
172
- ...obj,
173
- });
174
- }
175
-
176
- /**
177
- * <p>You signing certificate could not be validated.</p>
178
- */
179
- export interface ValidationException extends __SmithyException, $MetadataBearer {
180
- name: "ValidationException";
181
- $fault: "client";
182
- message?: string;
183
- code?: string;
184
- }
185
-
186
- export namespace ValidationException {
187
- /**
188
- * @internal
189
- */
190
- export const filterSensitiveLog = (obj: ValidationException): any => ({
191
- ...obj,
192
- });
193
- }
194
-
195
- /**
196
- * <p>The request contains invalid parameters for the ARN or tags. This exception also
197
- * occurs when you call a tagging API on a cancelled signing profile.</p>
198
- */
199
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
200
- name: "BadRequestException";
201
- $fault: "client";
202
- message?: string;
203
- code?: string;
204
- }
205
-
206
- export namespace BadRequestException {
207
- /**
208
- * @internal
209
- */
210
- export const filterSensitiveLog = (obj: BadRequestException): any => ({
211
- ...obj,
212
- });
213
- }
214
-
215
- export interface CancelSigningProfileRequest {
216
- /**
217
- * <p>The name of the signing profile to be canceled.</p>
218
- */
219
- profileName: string | undefined;
220
- }
221
-
222
- export namespace CancelSigningProfileRequest {
223
- /**
224
- * @internal
225
- */
226
- export const filterSensitiveLog = (obj: CancelSigningProfileRequest): any => ({
227
- ...obj,
228
- });
229
- }
230
-
231
- export type Category = "AWSIoT";
232
-
233
- export interface DescribeSigningJobRequest {
234
- /**
235
- * <p>The ID of the signing job on input.</p>
236
- */
237
- jobId: string | undefined;
238
- }
239
-
240
- export namespace DescribeSigningJobRequest {
241
- /**
242
- * @internal
243
- */
244
- export const filterSensitiveLog = (obj: DescribeSigningJobRequest): any => ({
245
- ...obj,
246
- });
247
- }
248
-
249
- export type EncryptionAlgorithm = "ECDSA" | "RSA";
250
-
251
- export type HashAlgorithm = "SHA1" | "SHA256";
252
-
253
- /**
254
- * <p>A signing configuration that overrides the default encryption or hash algorithm of a
255
- * signing job.</p>
256
- */
257
- export interface SigningConfigurationOverrides {
258
- /**
259
- * <p>A specified override of the default encryption algorithm that is used in a code signing
260
- * job.</p>
261
- */
262
- encryptionAlgorithm?: EncryptionAlgorithm | string;
263
-
264
- /**
265
- * <p>A specified override of the default hash algorithm that is used in a code signing
266
- * job.</p>
267
- */
268
- hashAlgorithm?: HashAlgorithm | string;
269
- }
270
-
271
- export namespace SigningConfigurationOverrides {
272
- /**
273
- * @internal
274
- */
275
- export const filterSensitiveLog = (obj: SigningConfigurationOverrides): any => ({
276
- ...obj,
277
- });
278
- }
279
-
280
- export type ImageFormat = "JSON" | "JSONDetached" | "JSONEmbedded";
281
-
282
- /**
283
- * <p>Any overrides that are applied to the signing configuration of a code signing
284
- * platform.</p>
285
- */
286
- export interface SigningPlatformOverrides {
287
- /**
288
- * <p>A signing configuration that overrides the default encryption or hash algorithm of a
289
- * signing job.</p>
290
- */
291
- signingConfiguration?: SigningConfigurationOverrides;
292
-
293
- /**
294
- * <p>A signed image is a JSON object. When overriding the default signing platform
295
- * configuration, a customer can select either of two signing formats,
296
- * <code>JSONEmbedded</code> or <code>JSONDetached</code>. (A third format value,
297
- * <code>JSON</code>, is reserved for future use.) With <code>JSONEmbedded</code>, the
298
- * signing image has the payload embedded in it. With <code>JSONDetached</code>, the
299
- * payload is not be embedded in the signing image.</p>
300
- */
301
- signingImageFormat?: ImageFormat | string;
302
- }
303
-
304
- export namespace SigningPlatformOverrides {
305
- /**
306
- * @internal
307
- */
308
- export const filterSensitiveLog = (obj: SigningPlatformOverrides): any => ({
309
- ...obj,
310
- });
311
- }
312
-
313
- /**
314
- * <p>Revocation information for a signing job.</p>
315
- */
316
- export interface SigningJobRevocationRecord {
317
- /**
318
- * <p>A caller-supplied reason for revocation.</p>
319
- */
320
- reason?: string;
321
-
322
- /**
323
- * <p>The time of revocation.</p>
324
- */
325
- revokedAt?: Date;
326
-
327
- /**
328
- * <p>The identity of the revoker.</p>
329
- */
330
- revokedBy?: string;
331
- }
332
-
333
- export namespace SigningJobRevocationRecord {
334
- /**
335
- * @internal
336
- */
337
- export const filterSensitiveLog = (obj: SigningJobRevocationRecord): any => ({
338
- ...obj,
339
- });
340
- }
341
-
342
- /**
343
- * <p>The S3 bucket name and key where code signing saved your signed code image.</p>
344
- */
345
- export interface S3SignedObject {
346
- /**
347
- * <p>Name of the S3 bucket.</p>
348
- */
349
- bucketName?: string;
350
-
351
- /**
352
- * <p>Key name that uniquely identifies a signed code image in your bucket.</p>
353
- */
354
- key?: string;
355
- }
356
-
357
- export namespace S3SignedObject {
358
- /**
359
- * @internal
360
- */
361
- export const filterSensitiveLog = (obj: S3SignedObject): any => ({
362
- ...obj,
363
- });
364
- }
365
-
366
- /**
367
- * <p>Points to an <code>S3SignedObject</code> object that contains information about your
368
- * signed code image.</p>
369
- */
370
- export interface SignedObject {
371
- /**
372
- * <p>The <code>S3SignedObject</code>.</p>
373
- */
374
- s3?: S3SignedObject;
375
- }
376
-
377
- export namespace SignedObject {
378
- /**
379
- * @internal
380
- */
381
- export const filterSensitiveLog = (obj: SignedObject): any => ({
382
- ...obj,
383
- });
384
- }
385
-
386
- /**
387
- * <p>The ACM certificate that is used to sign your code.</p>
388
- */
389
- export interface SigningMaterial {
390
- /**
391
- * <p>The Amazon Resource Name (ARN) of the certificates that is used to sign your
392
- * code.</p>
393
- */
394
- certificateArn: string | undefined;
395
- }
396
-
397
- export namespace SigningMaterial {
398
- /**
399
- * @internal
400
- */
401
- export const filterSensitiveLog = (obj: SigningMaterial): any => ({
402
- ...obj,
403
- });
404
- }
405
-
406
- /**
407
- * <p>Information about the S3 bucket where you saved your unsigned code.</p>
408
- */
409
- export interface S3Source {
410
- /**
411
- * <p>Name of the S3 bucket.</p>
412
- */
413
- bucketName: string | undefined;
414
-
415
- /**
416
- * <p>Key name of the bucket object that contains your unsigned code.</p>
417
- */
418
- key: string | undefined;
419
-
420
- /**
421
- * <p>Version of your source image in your version enabled S3 bucket.</p>
422
- */
423
- version: string | undefined;
424
- }
425
-
426
- export namespace S3Source {
427
- /**
428
- * @internal
429
- */
430
- export const filterSensitiveLog = (obj: S3Source): any => ({
431
- ...obj,
432
- });
433
- }
434
-
435
- /**
436
- * <p>An <code>S3Source</code> object that contains information about the S3 bucket where
437
- * you saved your unsigned code.</p>
438
- */
439
- export interface Source {
440
- /**
441
- * <p>The <code>S3Source</code> object.</p>
442
- */
443
- s3?: S3Source;
444
- }
445
-
446
- export namespace Source {
447
- /**
448
- * @internal
449
- */
450
- export const filterSensitiveLog = (obj: Source): any => ({
451
- ...obj,
452
- });
453
- }
454
-
455
- export type SigningStatus = "Failed" | "InProgress" | "Succeeded";
456
-
457
- export interface DescribeSigningJobResponse {
458
- /**
459
- * <p>The ID of the signing job on output.</p>
460
- */
461
- jobId?: string;
462
-
463
- /**
464
- * <p>The object that contains the name of your S3 bucket or your raw code.</p>
465
- */
466
- source?: Source;
467
-
468
- /**
469
- * <p>The Amazon Resource Name (ARN) of your code signing certificate.</p>
470
- */
471
- signingMaterial?: SigningMaterial;
472
-
473
- /**
474
- * <p>The microcontroller platform to which your signed code image will be
475
- * distributed.</p>
476
- */
477
- platformId?: string;
478
-
479
- /**
480
- * <p>A human-readable name for the signing platform associated with the signing job.</p>
481
- */
482
- platformDisplayName?: string;
483
-
484
- /**
485
- * <p>The name of the profile that initiated the signing operation.</p>
486
- */
487
- profileName?: string;
488
-
489
- /**
490
- * <p>The version of the signing profile used to initiate the signing job.</p>
491
- */
492
- profileVersion?: string;
493
-
494
- /**
495
- * <p>A list of any overrides that were applied to the signing operation.</p>
496
- */
497
- overrides?: SigningPlatformOverrides;
498
-
499
- /**
500
- * <p>Map of user-assigned key-value pairs used during signing. These values contain any
501
- * information that you specified for use in your signing job. </p>
502
- */
503
- signingParameters?: { [key: string]: string };
504
-
505
- /**
506
- * <p>Date and time that the signing job was created.</p>
507
- */
508
- createdAt?: Date;
509
-
510
- /**
511
- * <p>Date and time that the signing job was completed.</p>
512
- */
513
- completedAt?: Date;
514
-
515
- /**
516
- * <p>Thr expiration timestamp for the signature generated by the signing job.</p>
517
- */
518
- signatureExpiresAt?: Date;
519
-
520
- /**
521
- * <p>The IAM principal that requested the signing job.</p>
522
- */
523
- requestedBy?: string;
524
-
525
- /**
526
- * <p>Status of the signing job.</p>
527
- */
528
- status?: SigningStatus | string;
529
-
530
- /**
531
- * <p>String value that contains the status reason.</p>
532
- */
533
- statusReason?: string;
534
-
535
- /**
536
- * <p>A revocation record if the signature generated by the signing job has been revoked.
537
- * Contains a timestamp and the ID of the IAM entity that revoked the signature.</p>
538
- */
539
- revocationRecord?: SigningJobRevocationRecord;
540
-
541
- /**
542
- * <p>Name of the S3 bucket where the signed code image is saved by code signing.</p>
543
- */
544
- signedObject?: SignedObject;
545
-
546
- /**
547
- * <p>The AWS account ID of the job owner.</p>
548
- */
549
- jobOwner?: string;
550
-
551
- /**
552
- * <p>The IAM entity that initiated the signing job.</p>
553
- */
554
- jobInvoker?: string;
555
- }
556
-
557
- export namespace DescribeSigningJobResponse {
558
- /**
559
- * @internal
560
- */
561
- export const filterSensitiveLog = (obj: DescribeSigningJobResponse): any => ({
562
- ...obj,
563
- });
564
- }
565
-
566
- /**
567
- * <p>The name and prefix of the S3 bucket where code signing saves your signed objects.</p>
568
- */
569
- export interface S3Destination {
570
- /**
571
- * <p>Name of the S3 bucket.</p>
572
- */
573
- bucketName?: string;
574
-
575
- /**
576
- * <p>An Amazon S3 prefix that you can use to limit responses to those that begin with the
577
- * specified prefix.</p>
578
- */
579
- prefix?: string;
580
- }
581
-
582
- export namespace S3Destination {
583
- /**
584
- * @internal
585
- */
586
- export const filterSensitiveLog = (obj: S3Destination): any => ({
587
- ...obj,
588
- });
589
- }
590
-
591
- /**
592
- * <p>Points to an <code>S3Destination</code> object that contains information about your S3
593
- * bucket.</p>
594
- */
595
- export interface Destination {
596
- /**
597
- * <p>The <code>S3Destination</code> object.</p>
598
- */
599
- s3?: S3Destination;
600
- }
601
-
602
- export namespace Destination {
603
- /**
604
- * @internal
605
- */
606
- export const filterSensitiveLog = (obj: Destination): any => ({
607
- ...obj,
608
- });
609
- }
610
-
611
- /**
612
- * <p>The encryption algorithm options that are available to a code signing job.</p>
613
- */
614
- export interface EncryptionAlgorithmOptions {
615
- /**
616
- * <p>The set of accepted encryption algorithms that are allowed in a code signing job.</p>
617
- */
618
- allowedValues: (EncryptionAlgorithm | string)[] | undefined;
619
-
620
- /**
621
- * <p>The default encryption algorithm that is used by a code signing job.</p>
622
- */
623
- defaultValue: EncryptionAlgorithm | string | undefined;
624
- }
625
-
626
- export namespace EncryptionAlgorithmOptions {
627
- /**
628
- * @internal
629
- */
630
- export const filterSensitiveLog = (obj: EncryptionAlgorithmOptions): any => ({
631
- ...obj,
632
- });
633
- }
634
-
635
- export interface GetSigningPlatformRequest {
636
- /**
637
- * <p>The ID of the target signing platform.</p>
638
- */
639
- platformId: string | undefined;
640
- }
641
-
642
- export namespace GetSigningPlatformRequest {
643
- /**
644
- * @internal
645
- */
646
- export const filterSensitiveLog = (obj: GetSigningPlatformRequest): any => ({
647
- ...obj,
648
- });
649
- }
650
-
651
- /**
652
- * <p>The hash algorithms that are available to a code signing job.</p>
653
- */
654
- export interface HashAlgorithmOptions {
655
- /**
656
- * <p>The set of accepted hash algorithms allowed in a code signing job.</p>
657
- */
658
- allowedValues: (HashAlgorithm | string)[] | undefined;
659
-
660
- /**
661
- * <p>The default hash algorithm that is used in a code signing job.</p>
662
- */
663
- defaultValue: HashAlgorithm | string | undefined;
664
- }
665
-
666
- export namespace HashAlgorithmOptions {
667
- /**
668
- * @internal
669
- */
670
- export const filterSensitiveLog = (obj: HashAlgorithmOptions): any => ({
671
- ...obj,
672
- });
673
- }
674
-
675
- /**
676
- * <p>The configuration of a code signing operation.</p>
677
- */
678
- export interface SigningConfiguration {
679
- /**
680
- * <p>The encryption algorithm options that are available for a code signing job.</p>
681
- */
682
- encryptionAlgorithmOptions: EncryptionAlgorithmOptions | undefined;
683
-
684
- /**
685
- * <p>The hash algorithm options that are available for a code signing job.</p>
686
- */
687
- hashAlgorithmOptions: HashAlgorithmOptions | undefined;
688
- }
689
-
690
- export namespace SigningConfiguration {
691
- /**
692
- * @internal
693
- */
694
- export const filterSensitiveLog = (obj: SigningConfiguration): any => ({
695
- ...obj,
696
- });
697
- }
698
-
699
- /**
700
- * <p>The image format of a code signing platform or profile.</p>
701
- */
702
- export interface SigningImageFormat {
703
- /**
704
- * <p>The supported formats of a code signing image.</p>
705
- */
706
- supportedFormats: (ImageFormat | string)[] | undefined;
707
-
708
- /**
709
- * <p>The default format of a code signing image.</p>
710
- */
711
- defaultFormat: ImageFormat | string | undefined;
712
- }
713
-
714
- export namespace SigningImageFormat {
715
- /**
716
- * @internal
717
- */
718
- export const filterSensitiveLog = (obj: SigningImageFormat): any => ({
719
- ...obj,
720
- });
721
- }
722
-
723
- export interface GetSigningPlatformResponse {
724
- /**
725
- * <p>The ID of the target signing platform.</p>
726
- */
727
- platformId?: string;
728
-
729
- /**
730
- * <p>The display name of the target signing platform.</p>
731
- */
732
- displayName?: string;
733
-
734
- /**
735
- * <p>A list of partner entities that use the target signing platform.</p>
736
- */
737
- partner?: string;
738
-
739
- /**
740
- * <p>The validation template that is used by the target signing platform.</p>
741
- */
742
- target?: string;
743
-
744
- /**
745
- * <p>The category type of the target signing platform.</p>
746
- */
747
- category?: Category | string;
748
-
749
- /**
750
- * <p>A list of configurations applied to the target platform at signing.</p>
751
- */
752
- signingConfiguration?: SigningConfiguration;
753
-
754
- /**
755
- * <p>The format of the target platform's signing image.</p>
756
- */
757
- signingImageFormat?: SigningImageFormat;
758
-
759
- /**
760
- * <p>The maximum size (in MB) of the payload that can be signed by the target
761
- * platform.</p>
762
- */
763
- maxSizeInMB?: number;
764
-
765
- /**
766
- * <p>A flag indicating whether signatures generated for the signing platform can be
767
- * revoked.</p>
768
- */
769
- revocationSupported?: boolean;
770
- }
771
-
772
- export namespace GetSigningPlatformResponse {
773
- /**
774
- * @internal
775
- */
776
- export const filterSensitiveLog = (obj: GetSigningPlatformResponse): any => ({
777
- ...obj,
778
- });
779
- }
780
-
781
- export interface GetSigningProfileRequest {
782
- /**
783
- * <p>The name of the target signing profile.</p>
784
- */
785
- profileName: string | undefined;
786
-
787
- /**
788
- * <p>The AWS account ID of the profile owner.</p>
789
- */
790
- profileOwner?: string;
791
- }
792
-
793
- export namespace GetSigningProfileRequest {
794
- /**
795
- * @internal
796
- */
797
- export const filterSensitiveLog = (obj: GetSigningProfileRequest): any => ({
798
- ...obj,
799
- });
800
- }
801
-
802
- /**
803
- * <p>Revocation information for a signing profile.</p>
804
- */
805
- export interface SigningProfileRevocationRecord {
806
- /**
807
- * <p>The time when revocation becomes effective.</p>
808
- */
809
- revocationEffectiveFrom?: Date;
810
-
811
- /**
812
- * <p>The time when the signing profile was revoked.</p>
813
- */
814
- revokedAt?: Date;
815
-
816
- /**
817
- * <p>The identity of the revoker.</p>
818
- */
819
- revokedBy?: string;
820
- }
821
-
822
- export namespace SigningProfileRevocationRecord {
823
- /**
824
- * @internal
825
- */
826
- export const filterSensitiveLog = (obj: SigningProfileRevocationRecord): any => ({
827
- ...obj,
828
- });
829
- }
830
-
831
- export type ValidityType = "DAYS" | "MONTHS" | "YEARS";
832
-
833
- /**
834
- * <p>The validity period for a signing job.</p>
835
- */
836
- export interface SignatureValidityPeriod {
837
- /**
838
- * <p>The numerical value of the time unit for signature validity.</p>
839
- */
840
- value?: number;
841
-
842
- /**
843
- * <p>The time unit for signature
844
- * validity.</p>
845
- */
846
- type?: ValidityType | string;
847
- }
848
-
849
- export namespace SignatureValidityPeriod {
850
- /**
851
- * @internal
852
- */
853
- export const filterSensitiveLog = (obj: SignatureValidityPeriod): any => ({
854
- ...obj,
855
- });
856
- }
857
-
858
- export type SigningProfileStatus = "Active" | "Canceled" | "Revoked";
859
-
860
- export interface GetSigningProfileResponse {
861
- /**
862
- * <p>The name of the target signing profile.</p>
863
- */
864
- profileName?: string;
865
-
866
- /**
867
- * <p>The current version of the signing profile.</p>
868
- */
869
- profileVersion?: string;
870
-
871
- /**
872
- * <p>The signing profile ARN, including the profile version.</p>
873
- */
874
- profileVersionArn?: string;
875
-
876
- /**
877
- * <p>Revocation information for a signing profile.</p>
878
- */
879
- revocationRecord?: SigningProfileRevocationRecord;
880
-
881
- /**
882
- * <p>The ARN of the certificate that the target profile uses for signing operations.</p>
883
- */
884
- signingMaterial?: SigningMaterial;
885
-
886
- /**
887
- * <p>The ID of the platform that is used by the target signing profile.</p>
888
- */
889
- platformId?: string;
890
-
891
- /**
892
- * <p>A human-readable name for the signing platform associated with the signing
893
- * profile.</p>
894
- */
895
- platformDisplayName?: string;
896
-
897
- /**
898
- * <p>The validity period for a signing job.</p>
899
- */
900
- signatureValidityPeriod?: SignatureValidityPeriod;
901
-
902
- /**
903
- * <p>A list of overrides applied by the target signing profile for signing
904
- * operations.</p>
905
- */
906
- overrides?: SigningPlatformOverrides;
907
-
908
- /**
909
- * <p>A map of key-value pairs for signing operations that is attached to the target signing
910
- * profile.</p>
911
- */
912
- signingParameters?: { [key: string]: string };
913
-
914
- /**
915
- * <p>The status of the target signing profile.</p>
916
- */
917
- status?: SigningProfileStatus | string;
918
-
919
- /**
920
- * <p>Reason for the status of the target signing profile.</p>
921
- */
922
- statusReason?: string;
923
-
924
- /**
925
- * <p>The Amazon Resource Name (ARN) for the signing profile.</p>
926
- */
927
- arn?: string;
928
-
929
- /**
930
- * <p>A list of tags associated with the signing profile.</p>
931
- */
932
- tags?: { [key: string]: string };
933
- }
934
-
935
- export namespace GetSigningProfileResponse {
936
- /**
937
- * @internal
938
- */
939
- export const filterSensitiveLog = (obj: GetSigningProfileResponse): any => ({
940
- ...obj,
941
- });
942
- }
943
-
944
- export interface ListProfilePermissionsRequest {
945
- /**
946
- * <p>Name of the signing profile containing the cross-account permissions.</p>
947
- */
948
- profileName: string | undefined;
949
-
950
- /**
951
- * <p>String for specifying the next set of paginated results.</p>
952
- */
953
- nextToken?: string;
954
- }
955
-
956
- export namespace ListProfilePermissionsRequest {
957
- /**
958
- * @internal
959
- */
960
- export const filterSensitiveLog = (obj: ListProfilePermissionsRequest): any => ({
961
- ...obj,
962
- });
963
- }
964
-
965
- /**
966
- * <p>A cross-account permission for a signing profile.</p>
967
- */
968
- export interface Permission {
969
- /**
970
- * <p>An AWS Signer action permitted as part of cross-account permissions.</p>
971
- */
972
- action?: string;
973
-
974
- /**
975
- * <p>The AWS principal that has been granted a cross-account permission.</p>
976
- */
977
- principal?: string;
978
-
979
- /**
980
- * <p>A unique identifier for a cross-account permission statement.</p>
981
- */
982
- statementId?: string;
983
-
984
- /**
985
- * <p>The signing profile version that a permission applies to.</p>
986
- */
987
- profileVersion?: string;
988
- }
989
-
990
- export namespace Permission {
991
- /**
992
- * @internal
993
- */
994
- export const filterSensitiveLog = (obj: Permission): any => ({
995
- ...obj,
996
- });
997
- }
998
-
999
- export interface ListProfilePermissionsResponse {
1000
- /**
1001
- * <p>The identifier for the current revision of profile permissions.</p>
1002
- */
1003
- revisionId?: string;
1004
-
1005
- /**
1006
- * <p>Total size of the policy associated with the Signing Profile in bytes.</p>
1007
- */
1008
- policySizeBytes?: number;
1009
-
1010
- /**
1011
- * <p>List of permissions associated with the Signing Profile.</p>
1012
- */
1013
- permissions?: Permission[];
1014
-
1015
- /**
1016
- * <p>String for specifying the next set of paginated results.</p>
1017
- */
1018
- nextToken?: string;
1019
- }
1020
-
1021
- export namespace ListProfilePermissionsResponse {
1022
- /**
1023
- * @internal
1024
- */
1025
- export const filterSensitiveLog = (obj: ListProfilePermissionsResponse): any => ({
1026
- ...obj,
1027
- });
1028
- }
1029
-
1030
- export interface ListSigningJobsRequest {
1031
- /**
1032
- * <p>A status value with which to filter your results.</p>
1033
- */
1034
- status?: SigningStatus | string;
1035
-
1036
- /**
1037
- * <p>The ID of microcontroller platform that you specified for the distribution of your
1038
- * code image.</p>
1039
- */
1040
- platformId?: string;
1041
-
1042
- /**
1043
- * <p>The IAM principal that requested the signing job.</p>
1044
- */
1045
- requestedBy?: string;
1046
-
1047
- /**
1048
- * <p>Specifies the maximum number of items to return in the response. Use this parameter
1049
- * when paginating results. If additional items exist beyond the number you specify, the
1050
- * <code>nextToken</code> element is set in the response. Use the
1051
- * <code>nextToken</code> value in a subsequent request to retrieve additional items.
1052
- * </p>
1053
- */
1054
- maxResults?: number;
1055
-
1056
- /**
1057
- * <p>String for specifying the next set of paginated results to return. After you receive a
1058
- * response with truncated results, use this parameter in a subsequent request. Set it to
1059
- * the value of <code>nextToken</code> from the response that you just received.</p>
1060
- */
1061
- nextToken?: string;
1062
-
1063
- /**
1064
- * <p>Filters results to return only signing jobs with revoked signatures.</p>
1065
- */
1066
- isRevoked?: boolean;
1067
-
1068
- /**
1069
- * <p>Filters results to return only signing jobs with signatures expiring before a
1070
- * specified timestamp.</p>
1071
- */
1072
- signatureExpiresBefore?: Date;
1073
-
1074
- /**
1075
- * <p>Filters results to return only signing jobs with signatures expiring after a specified
1076
- * timestamp.</p>
1077
- */
1078
- signatureExpiresAfter?: Date;
1079
-
1080
- /**
1081
- * <p>Filters results to return only signing jobs initiated by a specified IAM
1082
- * entity.</p>
1083
- */
1084
- jobInvoker?: string;
1085
- }
1086
-
1087
- export namespace ListSigningJobsRequest {
1088
- /**
1089
- * @internal
1090
- */
1091
- export const filterSensitiveLog = (obj: ListSigningJobsRequest): any => ({
1092
- ...obj,
1093
- });
1094
- }
1095
-
1096
- /**
1097
- * <p>Contains information about a signing job.</p>
1098
- */
1099
- export interface SigningJob {
1100
- /**
1101
- * <p>The ID of the signing job.</p>
1102
- */
1103
- jobId?: string;
1104
-
1105
- /**
1106
- * <p>A <code>Source</code> that contains information about a signing job's code image
1107
- * source.</p>
1108
- */
1109
- source?: Source;
1110
-
1111
- /**
1112
- * <p>A <code>SignedObject</code> structure that contains information about a signing job's
1113
- * signed code image.</p>
1114
- */
1115
- signedObject?: SignedObject;
1116
-
1117
- /**
1118
- * <p>A <code>SigningMaterial</code> object that contains the Amazon Resource Name (ARN) of
1119
- * the certificate used for the signing job.</p>
1120
- */
1121
- signingMaterial?: SigningMaterial;
1122
-
1123
- /**
1124
- * <p>The date and time that the signing job was created.</p>
1125
- */
1126
- createdAt?: Date;
1127
-
1128
- /**
1129
- * <p>The status of the signing job.</p>
1130
- */
1131
- status?: SigningStatus | string;
1132
-
1133
- /**
1134
- * <p>Indicates whether the signing job is revoked.</p>
1135
- */
1136
- isRevoked?: boolean;
1137
-
1138
- /**
1139
- * <p>The name of the signing profile that created a signing job.</p>
1140
- */
1141
- profileName?: string;
1142
-
1143
- /**
1144
- * <p>The version of the signing profile that created a signing job.</p>
1145
- */
1146
- profileVersion?: string;
1147
-
1148
- /**
1149
- * <p>The unique identifier for a signing platform.</p>
1150
- */
1151
- platformId?: string;
1152
-
1153
- /**
1154
- * <p>The name of a signing platform.</p>
1155
- */
1156
- platformDisplayName?: string;
1157
-
1158
- /**
1159
- * <p>The time when the signature of a signing job expires.</p>
1160
- */
1161
- signatureExpiresAt?: Date;
1162
-
1163
- /**
1164
- * <p>The AWS account ID of the job owner.</p>
1165
- */
1166
- jobOwner?: string;
1167
-
1168
- /**
1169
- * <p>The AWS account ID of the job invoker.</p>
1170
- */
1171
- jobInvoker?: string;
1172
- }
1173
-
1174
- export namespace SigningJob {
1175
- /**
1176
- * @internal
1177
- */
1178
- export const filterSensitiveLog = (obj: SigningJob): any => ({
1179
- ...obj,
1180
- });
1181
- }
1182
-
1183
- export interface ListSigningJobsResponse {
1184
- /**
1185
- * <p>A list of your signing jobs.</p>
1186
- */
1187
- jobs?: SigningJob[];
1188
-
1189
- /**
1190
- * <p>String for specifying the next set of paginated results.</p>
1191
- */
1192
- nextToken?: string;
1193
- }
1194
-
1195
- export namespace ListSigningJobsResponse {
1196
- /**
1197
- * @internal
1198
- */
1199
- export const filterSensitiveLog = (obj: ListSigningJobsResponse): any => ({
1200
- ...obj,
1201
- });
1202
- }
1203
-
1204
- export interface ListSigningPlatformsRequest {
1205
- /**
1206
- * <p>The category type of a signing platform.</p>
1207
- */
1208
- category?: string;
1209
-
1210
- /**
1211
- * <p>Any partner entities connected to a signing platform.</p>
1212
- */
1213
- partner?: string;
1214
-
1215
- /**
1216
- * <p>The validation template that is used by the target signing platform.</p>
1217
- */
1218
- target?: string;
1219
-
1220
- /**
1221
- * <p>The maximum number of results to be returned by this operation.</p>
1222
- */
1223
- maxResults?: number;
1224
-
1225
- /**
1226
- * <p>Value for specifying the next set of paginated results to return. After you receive a
1227
- * response with truncated results, use this parameter in a subsequent request. Set it to
1228
- * the value of <code>nextToken</code> from the response that you just received.</p>
1229
- */
1230
- nextToken?: string;
1231
- }
1232
-
1233
- export namespace ListSigningPlatformsRequest {
1234
- /**
1235
- * @internal
1236
- */
1237
- export const filterSensitiveLog = (obj: ListSigningPlatformsRequest): any => ({
1238
- ...obj,
1239
- });
1240
- }
1241
-
1242
- /**
1243
- * <p>Contains information about the signing configurations and parameters that are used to
1244
- * perform a code signing job.</p>
1245
- */
1246
- export interface SigningPlatform {
1247
- /**
1248
- * <p>The ID of a code signing; platform.</p>
1249
- */
1250
- platformId?: string;
1251
-
1252
- /**
1253
- * <p>The display name of a code signing platform.</p>
1254
- */
1255
- displayName?: string;
1256
-
1257
- /**
1258
- * <p>Any partner entities linked to a code signing platform.</p>
1259
- */
1260
- partner?: string;
1261
-
1262
- /**
1263
- * <p>The types of targets that can be signed by a code signing platform.</p>
1264
- */
1265
- target?: string;
1266
-
1267
- /**
1268
- * <p>The category of a code signing platform.</p>
1269
- */
1270
- category?: Category | string;
1271
-
1272
- /**
1273
- * <p>The configuration of a code signing platform. This includes the designated hash algorithm
1274
- * and encryption algorithm of a signing platform.</p>
1275
- */
1276
- signingConfiguration?: SigningConfiguration;
1277
-
1278
- /**
1279
- * <p>The image format of a code signing platform or profile.</p>
1280
- */
1281
- signingImageFormat?: SigningImageFormat;
1282
-
1283
- /**
1284
- * <p>The maximum size (in MB) of code that can be signed by a code signing platform.</p>
1285
- */
1286
- maxSizeInMB?: number;
1287
-
1288
- /**
1289
- * <p>Indicates whether revocation is supported for the platform.</p>
1290
- */
1291
- revocationSupported?: boolean;
1292
- }
1293
-
1294
- export namespace SigningPlatform {
1295
- /**
1296
- * @internal
1297
- */
1298
- export const filterSensitiveLog = (obj: SigningPlatform): any => ({
1299
- ...obj,
1300
- });
1301
- }
1302
-
1303
- export interface ListSigningPlatformsResponse {
1304
- /**
1305
- * <p>A list of all platforms that match the request parameters.</p>
1306
- */
1307
- platforms?: SigningPlatform[];
1308
-
1309
- /**
1310
- * <p>Value for specifying the next set of paginated results to return.</p>
1311
- */
1312
- nextToken?: string;
1313
- }
1314
-
1315
- export namespace ListSigningPlatformsResponse {
1316
- /**
1317
- * @internal
1318
- */
1319
- export const filterSensitiveLog = (obj: ListSigningPlatformsResponse): any => ({
1320
- ...obj,
1321
- });
1322
- }
1323
-
1324
- export interface ListSigningProfilesRequest {
1325
- /**
1326
- * <p>Designates whether to include profiles with the status of
1327
- * <code>CANCELED</code>.</p>
1328
- */
1329
- includeCanceled?: boolean;
1330
-
1331
- /**
1332
- * <p>The maximum number of profiles to be returned.</p>
1333
- */
1334
- maxResults?: number;
1335
-
1336
- /**
1337
- * <p>Value for specifying the next set of paginated results to return. After you receive a
1338
- * response with truncated results, use this parameter in a subsequent request. Set it to
1339
- * the value of <code>nextToken</code> from the response that you just received.</p>
1340
- */
1341
- nextToken?: string;
1342
-
1343
- /**
1344
- * <p>Filters results to return only signing jobs initiated for a specified signing
1345
- * platform.</p>
1346
- */
1347
- platformId?: string;
1348
-
1349
- /**
1350
- * <p>Filters results to return only signing jobs with statuses in the specified
1351
- * list.</p>
1352
- */
1353
- statuses?: (SigningProfileStatus | string)[];
1354
- }
1355
-
1356
- export namespace ListSigningProfilesRequest {
1357
- /**
1358
- * @internal
1359
- */
1360
- export const filterSensitiveLog = (obj: ListSigningProfilesRequest): any => ({
1361
- ...obj,
1362
- });
1363
- }
1364
-
1365
- /**
1366
- * <p>Contains information about the ACM certificates and code signing configuration parameters
1367
- * that can be used by a given code signing user.</p>
1368
- */
1369
- export interface SigningProfile {
1370
- /**
1371
- * <p>The name of the signing profile.</p>
1372
- */
1373
- profileName?: string;
1374
-
1375
- /**
1376
- * <p>The version of a signing profile.</p>
1377
- */
1378
- profileVersion?: string;
1379
-
1380
- /**
1381
- * <p>The ARN of a signing profile, including the profile version.</p>
1382
- */
1383
- profileVersionArn?: string;
1384
-
1385
- /**
1386
- * <p>The ACM certificate that is available for use by a signing profile.</p>
1387
- */
1388
- signingMaterial?: SigningMaterial;
1389
-
1390
- /**
1391
- * <p>The validity period for a signing job created using this signing profile.</p>
1392
- */
1393
- signatureValidityPeriod?: SignatureValidityPeriod;
1394
-
1395
- /**
1396
- * <p>The ID of a platform that is available for use by a signing profile.</p>
1397
- */
1398
- platformId?: string;
1399
-
1400
- /**
1401
- * <p>The name of the signing platform.</p>
1402
- */
1403
- platformDisplayName?: string;
1404
-
1405
- /**
1406
- * <p>The parameters that are available for use by a code signing user.</p>
1407
- */
1408
- signingParameters?: { [key: string]: string };
1409
-
1410
- /**
1411
- * <p>The status of a code signing profile.</p>
1412
- */
1413
- status?: SigningProfileStatus | string;
1414
-
1415
- /**
1416
- * <p>The Amazon Resource Name (ARN) for the signing profile.</p>
1417
- */
1418
- arn?: string;
1419
-
1420
- /**
1421
- * <p>A list of tags associated with the signing profile.</p>
1422
- */
1423
- tags?: { [key: string]: string };
1424
- }
1425
-
1426
- export namespace SigningProfile {
1427
- /**
1428
- * @internal
1429
- */
1430
- export const filterSensitiveLog = (obj: SigningProfile): any => ({
1431
- ...obj,
1432
- });
1433
- }
1434
-
1435
- export interface ListSigningProfilesResponse {
1436
- /**
1437
- * <p>A list of profiles that are available in the AWS account. This includes profiles with
1438
- * the status of <code>CANCELED</code> if the <code>includeCanceled</code> parameter is set
1439
- * to <code>true</code>.</p>
1440
- */
1441
- profiles?: SigningProfile[];
1442
-
1443
- /**
1444
- * <p>Value for specifying the next set of paginated results to return.</p>
1445
- */
1446
- nextToken?: string;
1447
- }
1448
-
1449
- export namespace ListSigningProfilesResponse {
1450
- /**
1451
- * @internal
1452
- */
1453
- export const filterSensitiveLog = (obj: ListSigningProfilesResponse): any => ({
1454
- ...obj,
1455
- });
1456
- }
1457
-
1458
- export interface ListTagsForResourceRequest {
1459
- /**
1460
- * <p>The Amazon Resource Name (ARN) for the signing profile.</p>
1461
- */
1462
- resourceArn: string | undefined;
1463
- }
1464
-
1465
- export namespace ListTagsForResourceRequest {
1466
- /**
1467
- * @internal
1468
- */
1469
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
1470
- ...obj,
1471
- });
1472
- }
1473
-
1474
- export interface ListTagsForResourceResponse {
1475
- /**
1476
- * <p>A list of tags associated with the signing profile.</p>
1477
- */
1478
- tags?: { [key: string]: string };
1479
- }
1480
-
1481
- export namespace ListTagsForResourceResponse {
1482
- /**
1483
- * @internal
1484
- */
1485
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
1486
- ...obj,
1487
- });
1488
- }
1489
-
1490
- /**
1491
- * <p>The signing profile was not found.</p>
1492
- */
1493
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1494
- name: "NotFoundException";
1495
- $fault: "client";
1496
- message?: string;
1497
- code?: string;
1498
- }
1499
-
1500
- export namespace NotFoundException {
1501
- /**
1502
- * @internal
1503
- */
1504
- export const filterSensitiveLog = (obj: NotFoundException): any => ({
1505
- ...obj,
1506
- });
1507
- }
1508
-
1509
- export interface PutSigningProfileRequest {
1510
- /**
1511
- * <p>The name of the signing profile to be created.</p>
1512
- */
1513
- profileName: string | undefined;
1514
-
1515
- /**
1516
- * <p>The AWS Certificate Manager certificate that will be used to sign code with the new signing
1517
- * profile.</p>
1518
- */
1519
- signingMaterial?: SigningMaterial;
1520
-
1521
- /**
1522
- * <p>The default validity period override for any signature generated using this signing
1523
- * profile. If unspecified, the default is 135 months.</p>
1524
- */
1525
- signatureValidityPeriod?: SignatureValidityPeriod;
1526
-
1527
- /**
1528
- * <p>The ID of the signing platform to be created.</p>
1529
- */
1530
- platformId: string | undefined;
1531
-
1532
- /**
1533
- * <p>A subfield of <code>platform</code>. This specifies any different configuration
1534
- * options that you want to apply to the chosen platform (such as a different
1535
- * <code>hash-algorithm</code> or <code>signing-algorithm</code>).</p>
1536
- */
1537
- overrides?: SigningPlatformOverrides;
1538
-
1539
- /**
1540
- * <p>Map of key-value pairs for signing. These can include any information that you want to
1541
- * use during signing.</p>
1542
- */
1543
- signingParameters?: { [key: string]: string };
1544
-
1545
- /**
1546
- * <p>Tags to be associated with the signing profile that is being created.</p>
1547
- */
1548
- tags?: { [key: string]: string };
1549
- }
1550
-
1551
- export namespace PutSigningProfileRequest {
1552
- /**
1553
- * @internal
1554
- */
1555
- export const filterSensitiveLog = (obj: PutSigningProfileRequest): any => ({
1556
- ...obj,
1557
- });
1558
- }
1559
-
1560
- export interface PutSigningProfileResponse {
1561
- /**
1562
- * <p>The Amazon Resource Name (ARN) of the signing profile created.</p>
1563
- */
1564
- arn?: string;
1565
-
1566
- /**
1567
- * <p>The version of the signing profile being created.</p>
1568
- */
1569
- profileVersion?: string;
1570
-
1571
- /**
1572
- * <p>The signing profile ARN, including the profile version.</p>
1573
- */
1574
- profileVersionArn?: string;
1575
- }
1576
-
1577
- export namespace PutSigningProfileResponse {
1578
- /**
1579
- * @internal
1580
- */
1581
- export const filterSensitiveLog = (obj: PutSigningProfileResponse): any => ({
1582
- ...obj,
1583
- });
1584
- }
1585
-
1586
- export interface RemoveProfilePermissionRequest {
1587
- /**
1588
- * <p>A human-readable name for the signing profile with permissions to be removed.</p>
1589
- */
1590
- profileName: string | undefined;
1591
-
1592
- /**
1593
- * <p>An identifier for the current revision of the signing profile permissions.</p>
1594
- */
1595
- revisionId: string | undefined;
1596
-
1597
- /**
1598
- * <p>A unique identifier for the cross-account permissions statement.</p>
1599
- */
1600
- statementId: string | undefined;
1601
- }
1602
-
1603
- export namespace RemoveProfilePermissionRequest {
1604
- /**
1605
- * @internal
1606
- */
1607
- export const filterSensitiveLog = (obj: RemoveProfilePermissionRequest): any => ({
1608
- ...obj,
1609
- });
1610
- }
1611
-
1612
- export interface RemoveProfilePermissionResponse {
1613
- /**
1614
- * <p>An identifier for the current revision of the profile permissions.</p>
1615
- */
1616
- revisionId?: string;
1617
- }
1618
-
1619
- export namespace RemoveProfilePermissionResponse {
1620
- /**
1621
- * @internal
1622
- */
1623
- export const filterSensitiveLog = (obj: RemoveProfilePermissionResponse): any => ({
1624
- ...obj,
1625
- });
1626
- }
1627
-
1628
- export interface RevokeSignatureRequest {
1629
- /**
1630
- * <p>ID of the signing job to be revoked.</p>
1631
- */
1632
- jobId: string | undefined;
1633
-
1634
- /**
1635
- * <p>AWS account ID of the job owner.</p>
1636
- */
1637
- jobOwner?: string;
1638
-
1639
- /**
1640
- * <p>The reason for revoking the signing job.</p>
1641
- */
1642
- reason: string | undefined;
1643
- }
1644
-
1645
- export namespace RevokeSignatureRequest {
1646
- /**
1647
- * @internal
1648
- */
1649
- export const filterSensitiveLog = (obj: RevokeSignatureRequest): any => ({
1650
- ...obj,
1651
- });
1652
- }
1653
-
1654
- export interface RevokeSigningProfileRequest {
1655
- /**
1656
- * <p>The name of the signing profile to be revoked.</p>
1657
- */
1658
- profileName: string | undefined;
1659
-
1660
- /**
1661
- * <p>The version of the signing profile to be revoked.</p>
1662
- */
1663
- profileVersion: string | undefined;
1664
-
1665
- /**
1666
- * <p>The reason for revoking a signing profile.</p>
1667
- */
1668
- reason: string | undefined;
1669
-
1670
- /**
1671
- * <p>A timestamp for when revocation of a Signing Profile should become effective.
1672
- * Signatures generated using the signing profile after this timestamp are not
1673
- * trusted.</p>
1674
- */
1675
- effectiveTime: Date | undefined;
1676
- }
1677
-
1678
- export namespace RevokeSigningProfileRequest {
1679
- /**
1680
- * @internal
1681
- */
1682
- export const filterSensitiveLog = (obj: RevokeSigningProfileRequest): any => ({
1683
- ...obj,
1684
- });
1685
- }
1686
-
1687
- export interface StartSigningJobRequest {
1688
- /**
1689
- * <p>The S3 bucket that contains the object to sign or a BLOB that contains your raw
1690
- * code.</p>
1691
- */
1692
- source: Source | undefined;
1693
-
1694
- /**
1695
- * <p>The S3 bucket in which to save your signed object. The destination contains the name
1696
- * of your bucket and an optional prefix.</p>
1697
- */
1698
- destination: Destination | undefined;
1699
-
1700
- /**
1701
- * <p>The name of the signing profile.</p>
1702
- */
1703
- profileName: string | undefined;
1704
-
1705
- /**
1706
- * <p>String that identifies the signing request. All calls after the first that use this
1707
- * token return the same response as the first call.</p>
1708
- */
1709
- clientRequestToken?: string;
1710
-
1711
- /**
1712
- * <p>The AWS account ID of the signing profile owner.</p>
1713
- */
1714
- profileOwner?: string;
1715
- }
1716
-
1717
- export namespace StartSigningJobRequest {
1718
- /**
1719
- * @internal
1720
- */
1721
- export const filterSensitiveLog = (obj: StartSigningJobRequest): any => ({
1722
- ...obj,
1723
- });
1724
- }
1725
-
1726
- export interface StartSigningJobResponse {
1727
- /**
1728
- * <p>The ID of your signing job.</p>
1729
- */
1730
- jobId?: string;
1731
-
1732
- /**
1733
- * <p>The AWS account ID of the signing job owner.</p>
1734
- */
1735
- jobOwner?: string;
1736
- }
1737
-
1738
- export namespace StartSigningJobResponse {
1739
- /**
1740
- * @internal
1741
- */
1742
- export const filterSensitiveLog = (obj: StartSigningJobResponse): any => ({
1743
- ...obj,
1744
- });
1745
- }
1746
-
1747
- /**
1748
- * @deprecated
1749
- *
1750
- * <p>The request was denied due to request throttling.</p>
1751
- * <p>Instead of this error, <code>TooManyRequestsException</code> should be used.</p>
1752
- */
1753
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
1754
- name: "ThrottlingException";
1755
- $fault: "client";
1756
- message?: string;
1757
- code?: string;
1758
- }
1759
-
1760
- export namespace ThrottlingException {
1761
- /**
1762
- * @internal
1763
- */
1764
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
1765
- ...obj,
1766
- });
1767
- }
1768
-
1769
- export interface TagResourceRequest {
1770
- /**
1771
- * <p>The Amazon Resource Name (ARN) for the signing profile.</p>
1772
- */
1773
- resourceArn: string | undefined;
1774
-
1775
- /**
1776
- * <p>One or more tags to be associated with the signing profile.</p>
1777
- */
1778
- tags: { [key: string]: string } | undefined;
1779
- }
1780
-
1781
- export namespace TagResourceRequest {
1782
- /**
1783
- * @internal
1784
- */
1785
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
1786
- ...obj,
1787
- });
1788
- }
1789
-
1790
- export interface TagResourceResponse {}
1791
-
1792
- export namespace TagResourceResponse {
1793
- /**
1794
- * @internal
1795
- */
1796
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
1797
- ...obj,
1798
- });
1799
- }
1800
-
1801
- export interface UntagResourceRequest {
1802
- /**
1803
- * <p>The Amazon Resource Name (ARN) for the signing profile.</p>
1804
- */
1805
- resourceArn: string | undefined;
1806
-
1807
- /**
1808
- * <p>A list of tag keys to be removed from the signing profile.</p>
1809
- */
1810
- tagKeys: string[] | undefined;
1811
- }
1812
-
1813
- export namespace UntagResourceRequest {
1814
- /**
1815
- * @internal
1816
- */
1817
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
1818
- ...obj,
1819
- });
1820
- }
1821
-
1822
- export interface UntagResourceResponse {}
1823
-
1824
- export namespace UntagResourceResponse {
1825
- /**
1826
- * @internal
1827
- */
1828
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
1829
- ...obj,
1830
- });
1831
- }