@aws-sdk/client-signer 3.533.0 → 3.536.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.
- package/dist-types/Signer.d.ts +4 -1
- package/dist-types/SignerClient.d.ts +1 -1
- package/dist-types/commands/AddProfilePermissionCommand.d.ts +2 -1
- package/dist-types/commands/CancelSigningProfileCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSigningJobCommand.d.ts +2 -1
- package/dist-types/commands/GetRevocationStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetSigningPlatformCommand.d.ts +2 -1
- package/dist-types/commands/GetSigningProfileCommand.d.ts +2 -1
- package/dist-types/commands/ListProfilePermissionsCommand.d.ts +2 -1
- package/dist-types/commands/ListSigningJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListSigningPlatformsCommand.d.ts +2 -1
- package/dist-types/commands/ListSigningProfilesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutSigningProfileCommand.d.ts +2 -1
- package/dist-types/commands/RemoveProfilePermissionCommand.d.ts +2 -1
- package/dist-types/commands/RevokeSignatureCommand.d.ts +2 -1
- package/dist-types/commands/RevokeSigningProfileCommand.d.ts +2 -1
- package/dist-types/commands/SignPayloadCommand.d.ts +2 -1
- package/dist-types/commands/StartSigningJobCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +234 -234
- package/dist-types/ts3.4/Signer.d.ts +3 -0
- package/dist-types/ts3.4/commands/AddProfilePermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CancelSigningProfileCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeSigningJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRevocationStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSigningPlatformCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSigningProfileCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListProfilePermissionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSigningJobsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSigningPlatformsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSigningProfilesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutSigningProfileCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RemoveProfilePermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RevokeSignatureCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RevokeSigningProfileCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SignPayloadCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartSigningJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/package.json +41 -41
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -18,34 +18,34 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
18
|
*/
|
|
19
19
|
export interface AddProfilePermissionRequest {
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>The human-readable name of the signing profile.</p>
|
|
22
|
+
* @public
|
|
23
23
|
*/
|
|
24
24
|
profileName: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* @public
|
|
27
26
|
* <p>The version of the signing profile.</p>
|
|
27
|
+
* @public
|
|
28
28
|
*/
|
|
29
29
|
profileVersion?: string;
|
|
30
30
|
/**
|
|
31
|
-
* @public
|
|
32
31
|
* <p>The AWS Signer action permitted as part of cross-account permissions.</p>
|
|
32
|
+
* @public
|
|
33
33
|
*/
|
|
34
34
|
action: string | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* @public
|
|
37
36
|
* <p>The AWS principal receiving cross-account permissions. This may be an IAM role or another
|
|
38
37
|
* AWS account ID.</p>
|
|
38
|
+
* @public
|
|
39
39
|
*/
|
|
40
40
|
principal: string | undefined;
|
|
41
41
|
/**
|
|
42
|
-
* @public
|
|
43
42
|
* <p>A unique identifier for the current profile revision.</p>
|
|
43
|
+
* @public
|
|
44
44
|
*/
|
|
45
45
|
revisionId?: string;
|
|
46
46
|
/**
|
|
47
|
-
* @public
|
|
48
47
|
* <p>A unique identifier for the cross-account permission statement.</p>
|
|
48
|
+
* @public
|
|
49
49
|
*/
|
|
50
50
|
statementId: string | undefined;
|
|
51
51
|
}
|
|
@@ -54,14 +54,14 @@ export interface AddProfilePermissionRequest {
|
|
|
54
54
|
*/
|
|
55
55
|
export interface AddProfilePermissionResponse {
|
|
56
56
|
/**
|
|
57
|
-
* @public
|
|
58
57
|
* <p>A unique identifier for the current profile revision.</p>
|
|
58
|
+
* @public
|
|
59
59
|
*/
|
|
60
60
|
revisionId?: string;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* @public
|
|
64
63
|
* <p>The resource encountered a conflicting state.</p>
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class ConflictException extends __BaseException {
|
|
67
67
|
readonly name: "ConflictException";
|
|
@@ -73,8 +73,8 @@ export declare class ConflictException extends __BaseException {
|
|
|
73
73
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
|
-
* @public
|
|
77
76
|
* <p>An internal error occurred.</p>
|
|
77
|
+
* @public
|
|
78
78
|
*/
|
|
79
79
|
export declare class InternalServiceErrorException extends __BaseException {
|
|
80
80
|
readonly name: "InternalServiceErrorException";
|
|
@@ -86,8 +86,8 @@ export declare class InternalServiceErrorException extends __BaseException {
|
|
|
86
86
|
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* @public
|
|
90
89
|
* <p>A specified resource could not be found.</p>
|
|
90
|
+
* @public
|
|
91
91
|
*/
|
|
92
92
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
93
93
|
readonly name: "ResourceNotFoundException";
|
|
@@ -99,8 +99,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
99
99
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* @public
|
|
103
102
|
* <p>The client is making a request that exceeds service limits.</p>
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class ServiceLimitExceededException extends __BaseException {
|
|
106
106
|
readonly name: "ServiceLimitExceededException";
|
|
@@ -112,9 +112,9 @@ export declare class ServiceLimitExceededException extends __BaseException {
|
|
|
112
112
|
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
* @public
|
|
116
115
|
* <p>The allowed number of job-signing requests has been exceeded.</p>
|
|
117
116
|
* <p>This error supersedes the error <code>ThrottlingException</code>.</p>
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
export declare class TooManyRequestsException extends __BaseException {
|
|
120
120
|
readonly name: "TooManyRequestsException";
|
|
@@ -126,8 +126,8 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
126
126
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
|
-
* @public
|
|
130
129
|
* <p>You signing certificate could not be validated.</p>
|
|
130
|
+
* @public
|
|
131
131
|
*/
|
|
132
132
|
export declare class ValidationException extends __BaseException {
|
|
133
133
|
readonly name: "ValidationException";
|
|
@@ -139,9 +139,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
139
139
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
* @public
|
|
143
142
|
* <p>The request contains invalid parameters for the ARN or tags. This exception also
|
|
144
143
|
* occurs when you call a tagging API on a cancelled signing profile.</p>
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class BadRequestException extends __BaseException {
|
|
147
147
|
readonly name: "BadRequestException";
|
|
@@ -157,8 +157,8 @@ export declare class BadRequestException extends __BaseException {
|
|
|
157
157
|
*/
|
|
158
158
|
export interface CancelSigningProfileRequest {
|
|
159
159
|
/**
|
|
160
|
-
* @public
|
|
161
160
|
* <p>The name of the signing profile to be canceled.</p>
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
profileName: string | undefined;
|
|
164
164
|
}
|
|
@@ -178,8 +178,8 @@ export type Category = (typeof Category)[keyof typeof Category];
|
|
|
178
178
|
*/
|
|
179
179
|
export interface DescribeSigningJobRequest {
|
|
180
180
|
/**
|
|
181
|
-
* @public
|
|
182
181
|
* <p>The ID of the signing job on input.</p>
|
|
182
|
+
* @public
|
|
183
183
|
*/
|
|
184
184
|
jobId: string | undefined;
|
|
185
185
|
}
|
|
@@ -208,21 +208,21 @@ export declare const HashAlgorithm: {
|
|
|
208
208
|
*/
|
|
209
209
|
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
210
210
|
/**
|
|
211
|
-
* @public
|
|
212
211
|
* <p>A signing configuration that overrides the default encryption or hash algorithm of a
|
|
213
212
|
* signing job.</p>
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
export interface SigningConfigurationOverrides {
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>A specified override of the default encryption algorithm that is used in a code-signing
|
|
219
218
|
* job.</p>
|
|
219
|
+
* @public
|
|
220
220
|
*/
|
|
221
221
|
encryptionAlgorithm?: EncryptionAlgorithm;
|
|
222
222
|
/**
|
|
223
|
-
* @public
|
|
224
223
|
* <p>A specified override of the default hash algorithm that is used in a code-signing
|
|
225
224
|
* job.</p>
|
|
225
|
+
* @public
|
|
226
226
|
*/
|
|
227
227
|
hashAlgorithm?: HashAlgorithm;
|
|
228
228
|
}
|
|
@@ -240,118 +240,118 @@ export declare const ImageFormat: {
|
|
|
240
240
|
*/
|
|
241
241
|
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
242
242
|
/**
|
|
243
|
-
* @public
|
|
244
243
|
* <p>Any overrides that are applied to the signing configuration of a signing platform.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
export interface SigningPlatformOverrides {
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>A signing configuration that overrides the default encryption or hash algorithm of a
|
|
250
249
|
* signing job.</p>
|
|
250
|
+
* @public
|
|
251
251
|
*/
|
|
252
252
|
signingConfiguration?: SigningConfigurationOverrides;
|
|
253
253
|
/**
|
|
254
|
-
* @public
|
|
255
254
|
* <p>A signed image is a JSON object. When overriding the default signing platform
|
|
256
255
|
* configuration, a customer can select either of two signing formats,
|
|
257
256
|
* <code>JSONEmbedded</code> or <code>JSONDetached</code>. (A third format value,
|
|
258
257
|
* <code>JSON</code>, is reserved for future use.) With <code>JSONEmbedded</code>, the
|
|
259
258
|
* signing image has the payload embedded in it. With <code>JSONDetached</code>, the
|
|
260
259
|
* payload is not be embedded in the signing image.</p>
|
|
260
|
+
* @public
|
|
261
261
|
*/
|
|
262
262
|
signingImageFormat?: ImageFormat;
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
* @public
|
|
266
265
|
* <p>Revocation information for a signing job.</p>
|
|
266
|
+
* @public
|
|
267
267
|
*/
|
|
268
268
|
export interface SigningJobRevocationRecord {
|
|
269
269
|
/**
|
|
270
|
-
* @public
|
|
271
270
|
* <p>A caller-supplied reason for revocation.</p>
|
|
271
|
+
* @public
|
|
272
272
|
*/
|
|
273
273
|
reason?: string;
|
|
274
274
|
/**
|
|
275
|
-
* @public
|
|
276
275
|
* <p>The time of revocation.</p>
|
|
276
|
+
* @public
|
|
277
277
|
*/
|
|
278
278
|
revokedAt?: Date;
|
|
279
279
|
/**
|
|
280
|
-
* @public
|
|
281
280
|
* <p>The identity of the revoker.</p>
|
|
281
|
+
* @public
|
|
282
282
|
*/
|
|
283
283
|
revokedBy?: string;
|
|
284
284
|
}
|
|
285
285
|
/**
|
|
286
|
-
* @public
|
|
287
286
|
* <p>The Amazon S3 bucket name and key where Signer saved your signed code image.</p>
|
|
287
|
+
* @public
|
|
288
288
|
*/
|
|
289
289
|
export interface S3SignedObject {
|
|
290
290
|
/**
|
|
291
|
-
* @public
|
|
292
291
|
* <p>Name of the S3 bucket.</p>
|
|
292
|
+
* @public
|
|
293
293
|
*/
|
|
294
294
|
bucketName?: string;
|
|
295
295
|
/**
|
|
296
|
-
* @public
|
|
297
296
|
* <p>Key name that uniquely identifies a signed code image in your bucket.</p>
|
|
297
|
+
* @public
|
|
298
298
|
*/
|
|
299
299
|
key?: string;
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
|
-
* @public
|
|
303
302
|
* <p>Points to an <code>S3SignedObject</code> object that contains information about your
|
|
304
303
|
* signed code image.</p>
|
|
304
|
+
* @public
|
|
305
305
|
*/
|
|
306
306
|
export interface SignedObject {
|
|
307
307
|
/**
|
|
308
|
-
* @public
|
|
309
308
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
309
|
+
* @public
|
|
310
310
|
*/
|
|
311
311
|
s3?: S3SignedObject;
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
314
|
-
* @public
|
|
315
314
|
* <p>The ACM certificate that is used to sign your code.</p>
|
|
315
|
+
* @public
|
|
316
316
|
*/
|
|
317
317
|
export interface SigningMaterial {
|
|
318
318
|
/**
|
|
319
|
-
* @public
|
|
320
319
|
* <p>The Amazon Resource Name (ARN) of the certificates that is used to sign your
|
|
321
320
|
* code.</p>
|
|
321
|
+
* @public
|
|
322
322
|
*/
|
|
323
323
|
certificateArn: string | undefined;
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
|
-
* @public
|
|
327
326
|
* <p>Information about the Amazon S3 bucket where you saved your unsigned code.</p>
|
|
327
|
+
* @public
|
|
328
328
|
*/
|
|
329
329
|
export interface S3Source {
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>Name of the S3 bucket.</p>
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
bucketName: string | undefined;
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p>Key name of the bucket object that contains your unsigned code.</p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
key: string | undefined;
|
|
340
340
|
/**
|
|
341
|
-
* @public
|
|
342
341
|
* <p>Version of your source image in your version enabled S3 bucket.</p>
|
|
342
|
+
* @public
|
|
343
343
|
*/
|
|
344
344
|
version: string | undefined;
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* <p>An <code>S3Source</code> object that contains information about the S3 bucket where
|
|
349
348
|
* you saved your unsigned code.</p>
|
|
349
|
+
* @public
|
|
350
350
|
*/
|
|
351
351
|
export interface Source {
|
|
352
352
|
/**
|
|
353
|
-
* @public
|
|
354
353
|
* <p>The <code>S3Source</code> object.</p>
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
s3?: S3Source;
|
|
357
357
|
}
|
|
@@ -373,146 +373,146 @@ export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
|
|
|
373
373
|
*/
|
|
374
374
|
export interface DescribeSigningJobResponse {
|
|
375
375
|
/**
|
|
376
|
-
* @public
|
|
377
376
|
* <p>The ID of the signing job on output.</p>
|
|
377
|
+
* @public
|
|
378
378
|
*/
|
|
379
379
|
jobId?: string;
|
|
380
380
|
/**
|
|
381
|
-
* @public
|
|
382
381
|
* <p>The object that contains the name of your S3 bucket or your raw code.</p>
|
|
382
|
+
* @public
|
|
383
383
|
*/
|
|
384
384
|
source?: Source;
|
|
385
385
|
/**
|
|
386
|
-
* @public
|
|
387
386
|
* <p>The Amazon Resource Name (ARN) of your code signing certificate.</p>
|
|
387
|
+
* @public
|
|
388
388
|
*/
|
|
389
389
|
signingMaterial?: SigningMaterial;
|
|
390
390
|
/**
|
|
391
|
-
* @public
|
|
392
391
|
* <p>The microcontroller platform to which your signed code image will be
|
|
393
392
|
* distributed.</p>
|
|
393
|
+
* @public
|
|
394
394
|
*/
|
|
395
395
|
platformId?: string;
|
|
396
396
|
/**
|
|
397
|
-
* @public
|
|
398
397
|
* <p>A human-readable name for the signing platform associated with the signing job.</p>
|
|
398
|
+
* @public
|
|
399
399
|
*/
|
|
400
400
|
platformDisplayName?: string;
|
|
401
401
|
/**
|
|
402
|
-
* @public
|
|
403
402
|
* <p>The name of the profile that initiated the signing operation.</p>
|
|
403
|
+
* @public
|
|
404
404
|
*/
|
|
405
405
|
profileName?: string;
|
|
406
406
|
/**
|
|
407
|
-
* @public
|
|
408
407
|
* <p>The version of the signing profile used to initiate the signing job.</p>
|
|
408
|
+
* @public
|
|
409
409
|
*/
|
|
410
410
|
profileVersion?: string;
|
|
411
411
|
/**
|
|
412
|
-
* @public
|
|
413
412
|
* <p>A list of any overrides that were applied to the signing operation.</p>
|
|
413
|
+
* @public
|
|
414
414
|
*/
|
|
415
415
|
overrides?: SigningPlatformOverrides;
|
|
416
416
|
/**
|
|
417
|
-
* @public
|
|
418
417
|
* <p>Map of user-assigned key-value pairs used during signing. These values contain any
|
|
419
418
|
* information that you specified for use in your signing job. </p>
|
|
419
|
+
* @public
|
|
420
420
|
*/
|
|
421
421
|
signingParameters?: Record<string, string>;
|
|
422
422
|
/**
|
|
423
|
-
* @public
|
|
424
423
|
* <p>Date and time that the signing job was created.</p>
|
|
424
|
+
* @public
|
|
425
425
|
*/
|
|
426
426
|
createdAt?: Date;
|
|
427
427
|
/**
|
|
428
|
-
* @public
|
|
429
428
|
* <p>Date and time that the signing job was completed.</p>
|
|
429
|
+
* @public
|
|
430
430
|
*/
|
|
431
431
|
completedAt?: Date;
|
|
432
432
|
/**
|
|
433
|
-
* @public
|
|
434
433
|
* <p>Thr expiration timestamp for the signature generated by the signing job.</p>
|
|
434
|
+
* @public
|
|
435
435
|
*/
|
|
436
436
|
signatureExpiresAt?: Date;
|
|
437
437
|
/**
|
|
438
|
-
* @public
|
|
439
438
|
* <p>The IAM principal that requested the signing job.</p>
|
|
439
|
+
* @public
|
|
440
440
|
*/
|
|
441
441
|
requestedBy?: string;
|
|
442
442
|
/**
|
|
443
|
-
* @public
|
|
444
443
|
* <p>Status of the signing job.</p>
|
|
444
|
+
* @public
|
|
445
445
|
*/
|
|
446
446
|
status?: SigningStatus;
|
|
447
447
|
/**
|
|
448
|
-
* @public
|
|
449
448
|
* <p>String value that contains the status reason.</p>
|
|
449
|
+
* @public
|
|
450
450
|
*/
|
|
451
451
|
statusReason?: string;
|
|
452
452
|
/**
|
|
453
|
-
* @public
|
|
454
453
|
* <p>A revocation record if the signature generated by the signing job has been revoked.
|
|
455
454
|
* Contains a timestamp and the ID of the IAM entity that revoked the signature.</p>
|
|
455
|
+
* @public
|
|
456
456
|
*/
|
|
457
457
|
revocationRecord?: SigningJobRevocationRecord;
|
|
458
458
|
/**
|
|
459
|
-
* @public
|
|
460
459
|
* <p>Name of the S3 bucket where the signed code image is saved by AWS Signer.</p>
|
|
460
|
+
* @public
|
|
461
461
|
*/
|
|
462
462
|
signedObject?: SignedObject;
|
|
463
463
|
/**
|
|
464
|
-
* @public
|
|
465
464
|
* <p>The AWS account ID of the job owner.</p>
|
|
465
|
+
* @public
|
|
466
466
|
*/
|
|
467
467
|
jobOwner?: string;
|
|
468
468
|
/**
|
|
469
|
-
* @public
|
|
470
469
|
* <p>The IAM entity that initiated the signing job.</p>
|
|
470
|
+
* @public
|
|
471
471
|
*/
|
|
472
472
|
jobInvoker?: string;
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
|
-
* @public
|
|
476
475
|
* <p>The name and prefix of the Amazon S3 bucket where AWS Signer saves your signed objects.</p>
|
|
476
|
+
* @public
|
|
477
477
|
*/
|
|
478
478
|
export interface S3Destination {
|
|
479
479
|
/**
|
|
480
|
-
* @public
|
|
481
480
|
* <p>Name of the S3 bucket.</p>
|
|
481
|
+
* @public
|
|
482
482
|
*/
|
|
483
483
|
bucketName?: string;
|
|
484
484
|
/**
|
|
485
|
-
* @public
|
|
486
485
|
* <p>An S3 prefix that you can use to limit responses to those that begin with the specified
|
|
487
486
|
* prefix.</p>
|
|
487
|
+
* @public
|
|
488
488
|
*/
|
|
489
489
|
prefix?: string;
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
|
-
* @public
|
|
493
492
|
* <p>Points to an <code>S3Destination</code> object that contains information about your S3
|
|
494
493
|
* bucket.</p>
|
|
494
|
+
* @public
|
|
495
495
|
*/
|
|
496
496
|
export interface Destination {
|
|
497
497
|
/**
|
|
498
|
-
* @public
|
|
499
498
|
* <p>The <code>S3Destination</code> object.</p>
|
|
499
|
+
* @public
|
|
500
500
|
*/
|
|
501
501
|
s3?: S3Destination;
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
|
-
* @public
|
|
505
504
|
* <p>The encryption algorithm options that are available to a code-signing job.</p>
|
|
505
|
+
* @public
|
|
506
506
|
*/
|
|
507
507
|
export interface EncryptionAlgorithmOptions {
|
|
508
508
|
/**
|
|
509
|
-
* @public
|
|
510
509
|
* <p>The set of accepted encryption algorithms that are allowed in a code-signing job.</p>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
allowedValues: EncryptionAlgorithm[] | undefined;
|
|
513
513
|
/**
|
|
514
|
-
* @public
|
|
515
514
|
* <p>The default encryption algorithm that is used by a code-signing job.</p>
|
|
515
|
+
* @public
|
|
516
516
|
*/
|
|
517
517
|
defaultValue: EncryptionAlgorithm | undefined;
|
|
518
518
|
}
|
|
@@ -521,27 +521,26 @@ export interface EncryptionAlgorithmOptions {
|
|
|
521
521
|
*/
|
|
522
522
|
export interface GetRevocationStatusRequest {
|
|
523
523
|
/**
|
|
524
|
-
* @public
|
|
525
524
|
* <p>The timestamp of the signature that validates the profile or job.</p>
|
|
525
|
+
* @public
|
|
526
526
|
*/
|
|
527
527
|
signatureTimestamp: Date | undefined;
|
|
528
528
|
/**
|
|
529
|
-
* @public
|
|
530
529
|
* <p>The ID of a signing platform. </p>
|
|
530
|
+
* @public
|
|
531
531
|
*/
|
|
532
532
|
platformId: string | undefined;
|
|
533
533
|
/**
|
|
534
|
-
* @public
|
|
535
534
|
* <p>The version of a signing profile.</p>
|
|
535
|
+
* @public
|
|
536
536
|
*/
|
|
537
537
|
profileVersionArn: string | undefined;
|
|
538
538
|
/**
|
|
539
|
-
* @public
|
|
540
539
|
* <p>The ARN of a signing job.</p>
|
|
540
|
+
* @public
|
|
541
541
|
*/
|
|
542
542
|
jobArn: string | undefined;
|
|
543
543
|
/**
|
|
544
|
-
* @public
|
|
545
544
|
* <p>A list of composite signed hashes that identify certificates.</p>
|
|
546
545
|
* <p>A certificate identifier consists of a subject certificate TBS hash (signed by the
|
|
547
546
|
* parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root
|
|
@@ -566,6 +565,7 @@ export interface GetRevocationStatusRequest {
|
|
|
566
565
|
* <p>
|
|
567
566
|
* <code>cat certificateHash.hex | tr -d '\n'</code>
|
|
568
567
|
* </p>
|
|
568
|
+
* @public
|
|
569
569
|
*/
|
|
570
570
|
certificateHashes: string[] | undefined;
|
|
571
571
|
}
|
|
@@ -574,9 +574,9 @@ export interface GetRevocationStatusRequest {
|
|
|
574
574
|
*/
|
|
575
575
|
export interface GetRevocationStatusResponse {
|
|
576
576
|
/**
|
|
577
|
-
* @public
|
|
578
577
|
* <p>A list of revoked entities (including zero or more of the signing profile ARN, signing job
|
|
579
578
|
* ARN, and certificate hashes) supplied as input to the API.</p>
|
|
579
|
+
* @public
|
|
580
580
|
*/
|
|
581
581
|
revokedEntities?: string[];
|
|
582
582
|
}
|
|
@@ -585,56 +585,56 @@ export interface GetRevocationStatusResponse {
|
|
|
585
585
|
*/
|
|
586
586
|
export interface GetSigningPlatformRequest {
|
|
587
587
|
/**
|
|
588
|
-
* @public
|
|
589
588
|
* <p>The ID of the target signing platform.</p>
|
|
589
|
+
* @public
|
|
590
590
|
*/
|
|
591
591
|
platformId: string | undefined;
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
594
|
-
* @public
|
|
595
594
|
* <p>The hash algorithms that are available to a code-signing job.</p>
|
|
595
|
+
* @public
|
|
596
596
|
*/
|
|
597
597
|
export interface HashAlgorithmOptions {
|
|
598
598
|
/**
|
|
599
|
-
* @public
|
|
600
599
|
* <p>The set of accepted hash algorithms allowed in a code-signing job.</p>
|
|
600
|
+
* @public
|
|
601
601
|
*/
|
|
602
602
|
allowedValues: HashAlgorithm[] | undefined;
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>The default hash algorithm that is used in a code-signing job.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
defaultValue: HashAlgorithm | undefined;
|
|
608
608
|
}
|
|
609
609
|
/**
|
|
610
|
-
* @public
|
|
611
610
|
* <p>The configuration of a signing operation.</p>
|
|
611
|
+
* @public
|
|
612
612
|
*/
|
|
613
613
|
export interface SigningConfiguration {
|
|
614
614
|
/**
|
|
615
|
-
* @public
|
|
616
615
|
* <p>The encryption algorithm options that are available for a code-signing job.</p>
|
|
616
|
+
* @public
|
|
617
617
|
*/
|
|
618
618
|
encryptionAlgorithmOptions: EncryptionAlgorithmOptions | undefined;
|
|
619
619
|
/**
|
|
620
|
-
* @public
|
|
621
620
|
* <p>The hash algorithm options that are available for a code-signing job.</p>
|
|
621
|
+
* @public
|
|
622
622
|
*/
|
|
623
623
|
hashAlgorithmOptions: HashAlgorithmOptions | undefined;
|
|
624
624
|
}
|
|
625
625
|
/**
|
|
626
|
-
* @public
|
|
627
626
|
* <p>The image format of a AWS Signer platform or profile.</p>
|
|
627
|
+
* @public
|
|
628
628
|
*/
|
|
629
629
|
export interface SigningImageFormat {
|
|
630
630
|
/**
|
|
631
|
-
* @public
|
|
632
631
|
* <p>The supported formats of a signing image.</p>
|
|
632
|
+
* @public
|
|
633
633
|
*/
|
|
634
634
|
supportedFormats: ImageFormat[] | undefined;
|
|
635
635
|
/**
|
|
636
|
-
* @public
|
|
637
636
|
* <p>The default format of a signing image.</p>
|
|
637
|
+
* @public
|
|
638
638
|
*/
|
|
639
639
|
defaultFormat: ImageFormat | undefined;
|
|
640
640
|
}
|
|
@@ -643,50 +643,50 @@ export interface SigningImageFormat {
|
|
|
643
643
|
*/
|
|
644
644
|
export interface GetSigningPlatformResponse {
|
|
645
645
|
/**
|
|
646
|
-
* @public
|
|
647
646
|
* <p>The ID of the target signing platform.</p>
|
|
647
|
+
* @public
|
|
648
648
|
*/
|
|
649
649
|
platformId?: string;
|
|
650
650
|
/**
|
|
651
|
-
* @public
|
|
652
651
|
* <p>The display name of the target signing platform.</p>
|
|
652
|
+
* @public
|
|
653
653
|
*/
|
|
654
654
|
displayName?: string;
|
|
655
655
|
/**
|
|
656
|
-
* @public
|
|
657
656
|
* <p>A list of partner entities that use the target signing platform.</p>
|
|
657
|
+
* @public
|
|
658
658
|
*/
|
|
659
659
|
partner?: string;
|
|
660
660
|
/**
|
|
661
|
-
* @public
|
|
662
661
|
* <p>The validation template that is used by the target signing platform.</p>
|
|
662
|
+
* @public
|
|
663
663
|
*/
|
|
664
664
|
target?: string;
|
|
665
665
|
/**
|
|
666
|
-
* @public
|
|
667
666
|
* <p>The category type of the target signing platform.</p>
|
|
667
|
+
* @public
|
|
668
668
|
*/
|
|
669
669
|
category?: Category;
|
|
670
670
|
/**
|
|
671
|
-
* @public
|
|
672
671
|
* <p>A list of configurations applied to the target platform at signing.</p>
|
|
672
|
+
* @public
|
|
673
673
|
*/
|
|
674
674
|
signingConfiguration?: SigningConfiguration;
|
|
675
675
|
/**
|
|
676
|
-
* @public
|
|
677
676
|
* <p>The format of the target platform's signing image.</p>
|
|
677
|
+
* @public
|
|
678
678
|
*/
|
|
679
679
|
signingImageFormat?: SigningImageFormat;
|
|
680
680
|
/**
|
|
681
|
-
* @public
|
|
682
681
|
* <p>The maximum size (in MB) of the payload that can be signed by the target
|
|
683
682
|
* platform.</p>
|
|
683
|
+
* @public
|
|
684
684
|
*/
|
|
685
685
|
maxSizeInMB?: number;
|
|
686
686
|
/**
|
|
687
|
-
* @public
|
|
688
687
|
* <p>A flag indicating whether signatures generated for the signing platform can be
|
|
689
688
|
* revoked.</p>
|
|
689
|
+
* @public
|
|
690
690
|
*/
|
|
691
691
|
revocationSupported?: boolean;
|
|
692
692
|
}
|
|
@@ -695,34 +695,34 @@ export interface GetSigningPlatformResponse {
|
|
|
695
695
|
*/
|
|
696
696
|
export interface GetSigningProfileRequest {
|
|
697
697
|
/**
|
|
698
|
-
* @public
|
|
699
698
|
* <p>The name of the target signing profile.</p>
|
|
699
|
+
* @public
|
|
700
700
|
*/
|
|
701
701
|
profileName: string | undefined;
|
|
702
702
|
/**
|
|
703
|
-
* @public
|
|
704
703
|
* <p>The AWS account ID of the profile owner.</p>
|
|
704
|
+
* @public
|
|
705
705
|
*/
|
|
706
706
|
profileOwner?: string;
|
|
707
707
|
}
|
|
708
708
|
/**
|
|
709
|
-
* @public
|
|
710
709
|
* <p>Revocation information for a signing profile.</p>
|
|
710
|
+
* @public
|
|
711
711
|
*/
|
|
712
712
|
export interface SigningProfileRevocationRecord {
|
|
713
713
|
/**
|
|
714
|
-
* @public
|
|
715
714
|
* <p>The time when revocation becomes effective.</p>
|
|
715
|
+
* @public
|
|
716
716
|
*/
|
|
717
717
|
revocationEffectiveFrom?: Date;
|
|
718
718
|
/**
|
|
719
|
-
* @public
|
|
720
719
|
* <p>The time when the signing profile was revoked.</p>
|
|
720
|
+
* @public
|
|
721
721
|
*/
|
|
722
722
|
revokedAt?: Date;
|
|
723
723
|
/**
|
|
724
|
-
* @public
|
|
725
724
|
* <p>The identity of the revoker.</p>
|
|
725
|
+
* @public
|
|
726
726
|
*/
|
|
727
727
|
revokedBy?: string;
|
|
728
728
|
}
|
|
@@ -740,18 +740,18 @@ export declare const ValidityType: {
|
|
|
740
740
|
*/
|
|
741
741
|
export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
|
|
742
742
|
/**
|
|
743
|
-
* @public
|
|
744
743
|
* <p>The validity period for a signing job.</p>
|
|
744
|
+
* @public
|
|
745
745
|
*/
|
|
746
746
|
export interface SignatureValidityPeriod {
|
|
747
747
|
/**
|
|
748
|
-
* @public
|
|
749
748
|
* <p>The numerical value of the time unit for signature validity.</p>
|
|
749
|
+
* @public
|
|
750
750
|
*/
|
|
751
751
|
value?: number;
|
|
752
752
|
/**
|
|
753
|
-
* @public
|
|
754
753
|
* <p>The time unit for signature validity.</p>
|
|
754
|
+
* @public
|
|
755
755
|
*/
|
|
756
756
|
type?: ValidityType;
|
|
757
757
|
}
|
|
@@ -773,76 +773,76 @@ export type SigningProfileStatus = (typeof SigningProfileStatus)[keyof typeof Si
|
|
|
773
773
|
*/
|
|
774
774
|
export interface GetSigningProfileResponse {
|
|
775
775
|
/**
|
|
776
|
-
* @public
|
|
777
776
|
* <p>The name of the target signing profile.</p>
|
|
777
|
+
* @public
|
|
778
778
|
*/
|
|
779
779
|
profileName?: string;
|
|
780
780
|
/**
|
|
781
|
-
* @public
|
|
782
781
|
* <p>The current version of the signing profile.</p>
|
|
782
|
+
* @public
|
|
783
783
|
*/
|
|
784
784
|
profileVersion?: string;
|
|
785
785
|
/**
|
|
786
|
-
* @public
|
|
787
786
|
* <p>The signing profile ARN, including the profile version.</p>
|
|
787
|
+
* @public
|
|
788
788
|
*/
|
|
789
789
|
profileVersionArn?: string;
|
|
790
790
|
/**
|
|
791
|
-
* @public
|
|
792
791
|
* <p>Revocation information for a signing profile.</p>
|
|
792
|
+
* @public
|
|
793
793
|
*/
|
|
794
794
|
revocationRecord?: SigningProfileRevocationRecord;
|
|
795
795
|
/**
|
|
796
|
-
* @public
|
|
797
796
|
* <p>The ARN of the certificate that the target profile uses for signing operations.</p>
|
|
797
|
+
* @public
|
|
798
798
|
*/
|
|
799
799
|
signingMaterial?: SigningMaterial;
|
|
800
800
|
/**
|
|
801
|
-
* @public
|
|
802
801
|
* <p>The ID of the platform that is used by the target signing profile.</p>
|
|
802
|
+
* @public
|
|
803
803
|
*/
|
|
804
804
|
platformId?: string;
|
|
805
805
|
/**
|
|
806
|
-
* @public
|
|
807
806
|
* <p>A human-readable name for the signing platform associated with the signing
|
|
808
807
|
* profile.</p>
|
|
808
|
+
* @public
|
|
809
809
|
*/
|
|
810
810
|
platformDisplayName?: string;
|
|
811
811
|
/**
|
|
812
|
-
* @public
|
|
813
812
|
* <p>The validity period for a signing job.</p>
|
|
813
|
+
* @public
|
|
814
814
|
*/
|
|
815
815
|
signatureValidityPeriod?: SignatureValidityPeriod;
|
|
816
816
|
/**
|
|
817
|
-
* @public
|
|
818
817
|
* <p>A list of overrides applied by the target signing profile for signing
|
|
819
818
|
* operations.</p>
|
|
819
|
+
* @public
|
|
820
820
|
*/
|
|
821
821
|
overrides?: SigningPlatformOverrides;
|
|
822
822
|
/**
|
|
823
|
-
* @public
|
|
824
823
|
* <p>A map of key-value pairs for signing operations that is attached to the target signing
|
|
825
824
|
* profile.</p>
|
|
825
|
+
* @public
|
|
826
826
|
*/
|
|
827
827
|
signingParameters?: Record<string, string>;
|
|
828
828
|
/**
|
|
829
|
-
* @public
|
|
830
829
|
* <p>The status of the target signing profile.</p>
|
|
830
|
+
* @public
|
|
831
831
|
*/
|
|
832
832
|
status?: SigningProfileStatus;
|
|
833
833
|
/**
|
|
834
|
-
* @public
|
|
835
834
|
* <p>Reason for the status of the target signing profile.</p>
|
|
835
|
+
* @public
|
|
836
836
|
*/
|
|
837
837
|
statusReason?: string;
|
|
838
838
|
/**
|
|
839
|
-
* @public
|
|
840
839
|
* <p>The Amazon Resource Name (ARN) for the signing profile.</p>
|
|
840
|
+
* @public
|
|
841
841
|
*/
|
|
842
842
|
arn?: string;
|
|
843
843
|
/**
|
|
844
|
-
* @public
|
|
845
844
|
* <p>A list of tags associated with the signing profile.</p>
|
|
845
|
+
* @public
|
|
846
846
|
*/
|
|
847
847
|
tags?: Record<string, string>;
|
|
848
848
|
}
|
|
@@ -851,39 +851,39 @@ export interface GetSigningProfileResponse {
|
|
|
851
851
|
*/
|
|
852
852
|
export interface ListProfilePermissionsRequest {
|
|
853
853
|
/**
|
|
854
|
-
* @public
|
|
855
854
|
* <p>Name of the signing profile containing the cross-account permissions.</p>
|
|
855
|
+
* @public
|
|
856
856
|
*/
|
|
857
857
|
profileName: string | undefined;
|
|
858
858
|
/**
|
|
859
|
-
* @public
|
|
860
859
|
* <p>String for specifying the next set of paginated results.</p>
|
|
860
|
+
* @public
|
|
861
861
|
*/
|
|
862
862
|
nextToken?: string;
|
|
863
863
|
}
|
|
864
864
|
/**
|
|
865
|
-
* @public
|
|
866
865
|
* <p>A cross-account permission for a signing profile.</p>
|
|
866
|
+
* @public
|
|
867
867
|
*/
|
|
868
868
|
export interface Permission {
|
|
869
869
|
/**
|
|
870
|
-
* @public
|
|
871
870
|
* <p>An AWS Signer action permitted as part of cross-account permissions.</p>
|
|
871
|
+
* @public
|
|
872
872
|
*/
|
|
873
873
|
action?: string;
|
|
874
874
|
/**
|
|
875
|
-
* @public
|
|
876
875
|
* <p>The AWS principal that has been granted a cross-account permission.</p>
|
|
876
|
+
* @public
|
|
877
877
|
*/
|
|
878
878
|
principal?: string;
|
|
879
879
|
/**
|
|
880
|
-
* @public
|
|
881
880
|
* <p>A unique identifier for a cross-account permission statement.</p>
|
|
881
|
+
* @public
|
|
882
882
|
*/
|
|
883
883
|
statementId?: string;
|
|
884
884
|
/**
|
|
885
|
-
* @public
|
|
886
885
|
* <p>The signing profile version that a permission applies to.</p>
|
|
886
|
+
* @public
|
|
887
887
|
*/
|
|
888
888
|
profileVersion?: string;
|
|
889
889
|
}
|
|
@@ -892,23 +892,23 @@ export interface Permission {
|
|
|
892
892
|
*/
|
|
893
893
|
export interface ListProfilePermissionsResponse {
|
|
894
894
|
/**
|
|
895
|
-
* @public
|
|
896
895
|
* <p>The identifier for the current revision of profile permissions.</p>
|
|
896
|
+
* @public
|
|
897
897
|
*/
|
|
898
898
|
revisionId?: string;
|
|
899
899
|
/**
|
|
900
|
-
* @public
|
|
901
900
|
* <p>Total size of the policy associated with the Signing Profile in bytes.</p>
|
|
901
|
+
* @public
|
|
902
902
|
*/
|
|
903
903
|
policySizeBytes?: number;
|
|
904
904
|
/**
|
|
905
|
-
* @public
|
|
906
905
|
* <p>List of permissions associated with the Signing Profile.</p>
|
|
906
|
+
* @public
|
|
907
907
|
*/
|
|
908
908
|
permissions?: Permission[];
|
|
909
909
|
/**
|
|
910
|
-
* @public
|
|
911
910
|
* <p>String for specifying the next set of paginated results.</p>
|
|
911
|
+
* @public
|
|
912
912
|
*/
|
|
913
913
|
nextToken?: string;
|
|
914
914
|
}
|
|
@@ -917,137 +917,137 @@ export interface ListProfilePermissionsResponse {
|
|
|
917
917
|
*/
|
|
918
918
|
export interface ListSigningJobsRequest {
|
|
919
919
|
/**
|
|
920
|
-
* @public
|
|
921
920
|
* <p>A status value with which to filter your results.</p>
|
|
921
|
+
* @public
|
|
922
922
|
*/
|
|
923
923
|
status?: SigningStatus;
|
|
924
924
|
/**
|
|
925
|
-
* @public
|
|
926
925
|
* <p>The ID of microcontroller platform that you specified for the distribution of your
|
|
927
926
|
* code image.</p>
|
|
927
|
+
* @public
|
|
928
928
|
*/
|
|
929
929
|
platformId?: string;
|
|
930
930
|
/**
|
|
931
|
-
* @public
|
|
932
931
|
* <p>The IAM principal that requested the signing job.</p>
|
|
932
|
+
* @public
|
|
933
933
|
*/
|
|
934
934
|
requestedBy?: string;
|
|
935
935
|
/**
|
|
936
|
-
* @public
|
|
937
936
|
* <p>Specifies the maximum number of items to return in the response. Use this parameter
|
|
938
937
|
* when paginating results. If additional items exist beyond the number you specify, the
|
|
939
938
|
* <code>nextToken</code> element is set in the response. Use the
|
|
940
939
|
* <code>nextToken</code> value in a subsequent request to retrieve additional items.
|
|
941
940
|
* </p>
|
|
941
|
+
* @public
|
|
942
942
|
*/
|
|
943
943
|
maxResults?: number;
|
|
944
944
|
/**
|
|
945
|
-
* @public
|
|
946
945
|
* <p>String for specifying the next set of paginated results to return. After you receive a
|
|
947
946
|
* response with truncated results, use this parameter in a subsequent request. Set it to
|
|
948
947
|
* the value of <code>nextToken</code> from the response that you just received.</p>
|
|
948
|
+
* @public
|
|
949
949
|
*/
|
|
950
950
|
nextToken?: string;
|
|
951
951
|
/**
|
|
952
|
-
* @public
|
|
953
952
|
* <p>Filters results to return only signing jobs with revoked signatures.</p>
|
|
953
|
+
* @public
|
|
954
954
|
*/
|
|
955
955
|
isRevoked?: boolean;
|
|
956
956
|
/**
|
|
957
|
-
* @public
|
|
958
957
|
* <p>Filters results to return only signing jobs with signatures expiring before a
|
|
959
958
|
* specified timestamp.</p>
|
|
959
|
+
* @public
|
|
960
960
|
*/
|
|
961
961
|
signatureExpiresBefore?: Date;
|
|
962
962
|
/**
|
|
963
|
-
* @public
|
|
964
963
|
* <p>Filters results to return only signing jobs with signatures expiring after a specified
|
|
965
964
|
* timestamp.</p>
|
|
965
|
+
* @public
|
|
966
966
|
*/
|
|
967
967
|
signatureExpiresAfter?: Date;
|
|
968
968
|
/**
|
|
969
|
-
* @public
|
|
970
969
|
* <p>Filters results to return only signing jobs initiated by a specified IAM
|
|
971
970
|
* entity.</p>
|
|
971
|
+
* @public
|
|
972
972
|
*/
|
|
973
973
|
jobInvoker?: string;
|
|
974
974
|
}
|
|
975
975
|
/**
|
|
976
|
-
* @public
|
|
977
976
|
* <p>Contains information about a signing job.</p>
|
|
977
|
+
* @public
|
|
978
978
|
*/
|
|
979
979
|
export interface SigningJob {
|
|
980
980
|
/**
|
|
981
|
-
* @public
|
|
982
981
|
* <p>The ID of the signing job.</p>
|
|
982
|
+
* @public
|
|
983
983
|
*/
|
|
984
984
|
jobId?: string;
|
|
985
985
|
/**
|
|
986
|
-
* @public
|
|
987
986
|
* <p>A <code>Source</code> that contains information about a signing job's code image
|
|
988
987
|
* source.</p>
|
|
988
|
+
* @public
|
|
989
989
|
*/
|
|
990
990
|
source?: Source;
|
|
991
991
|
/**
|
|
992
|
-
* @public
|
|
993
992
|
* <p>A <code>SignedObject</code> structure that contains information about a signing job's
|
|
994
993
|
* signed code image.</p>
|
|
994
|
+
* @public
|
|
995
995
|
*/
|
|
996
996
|
signedObject?: SignedObject;
|
|
997
997
|
/**
|
|
998
|
-
* @public
|
|
999
998
|
* <p>A <code>SigningMaterial</code> object that contains the Amazon Resource Name (ARN) of
|
|
1000
999
|
* the certificate used for the signing job.</p>
|
|
1000
|
+
* @public
|
|
1001
1001
|
*/
|
|
1002
1002
|
signingMaterial?: SigningMaterial;
|
|
1003
1003
|
/**
|
|
1004
|
-
* @public
|
|
1005
1004
|
* <p>The date and time that the signing job was created.</p>
|
|
1005
|
+
* @public
|
|
1006
1006
|
*/
|
|
1007
1007
|
createdAt?: Date;
|
|
1008
1008
|
/**
|
|
1009
|
-
* @public
|
|
1010
1009
|
* <p>The status of the signing job.</p>
|
|
1010
|
+
* @public
|
|
1011
1011
|
*/
|
|
1012
1012
|
status?: SigningStatus;
|
|
1013
1013
|
/**
|
|
1014
|
-
* @public
|
|
1015
1014
|
* <p>Indicates whether the signing job is revoked.</p>
|
|
1015
|
+
* @public
|
|
1016
1016
|
*/
|
|
1017
1017
|
isRevoked?: boolean;
|
|
1018
1018
|
/**
|
|
1019
|
-
* @public
|
|
1020
1019
|
* <p>The name of the signing profile that created a signing job.</p>
|
|
1020
|
+
* @public
|
|
1021
1021
|
*/
|
|
1022
1022
|
profileName?: string;
|
|
1023
1023
|
/**
|
|
1024
|
-
* @public
|
|
1025
1024
|
* <p>The version of the signing profile that created a signing job.</p>
|
|
1025
|
+
* @public
|
|
1026
1026
|
*/
|
|
1027
1027
|
profileVersion?: string;
|
|
1028
1028
|
/**
|
|
1029
|
-
* @public
|
|
1030
1029
|
* <p>The unique identifier for a signing platform.</p>
|
|
1030
|
+
* @public
|
|
1031
1031
|
*/
|
|
1032
1032
|
platformId?: string;
|
|
1033
1033
|
/**
|
|
1034
|
-
* @public
|
|
1035
1034
|
* <p>The name of a signing platform.</p>
|
|
1035
|
+
* @public
|
|
1036
1036
|
*/
|
|
1037
1037
|
platformDisplayName?: string;
|
|
1038
1038
|
/**
|
|
1039
|
-
* @public
|
|
1040
1039
|
* <p>The time when the signature of a signing job expires.</p>
|
|
1040
|
+
* @public
|
|
1041
1041
|
*/
|
|
1042
1042
|
signatureExpiresAt?: Date;
|
|
1043
1043
|
/**
|
|
1044
|
-
* @public
|
|
1045
1044
|
* <p>The AWS account ID of the job owner.</p>
|
|
1045
|
+
* @public
|
|
1046
1046
|
*/
|
|
1047
1047
|
jobOwner?: string;
|
|
1048
1048
|
/**
|
|
1049
|
-
* @public
|
|
1050
1049
|
* <p>The AWS account ID of the job invoker.</p>
|
|
1050
|
+
* @public
|
|
1051
1051
|
*/
|
|
1052
1052
|
jobInvoker?: string;
|
|
1053
1053
|
}
|
|
@@ -1056,13 +1056,13 @@ export interface SigningJob {
|
|
|
1056
1056
|
*/
|
|
1057
1057
|
export interface ListSigningJobsResponse {
|
|
1058
1058
|
/**
|
|
1059
|
-
* @public
|
|
1060
1059
|
* <p>A list of your signing jobs.</p>
|
|
1060
|
+
* @public
|
|
1061
1061
|
*/
|
|
1062
1062
|
jobs?: SigningJob[];
|
|
1063
1063
|
/**
|
|
1064
|
-
* @public
|
|
1065
1064
|
* <p>String for specifying the next set of paginated results.</p>
|
|
1065
|
+
* @public
|
|
1066
1066
|
*/
|
|
1067
1067
|
nextToken?: string;
|
|
1068
1068
|
}
|
|
@@ -1071,83 +1071,83 @@ export interface ListSigningJobsResponse {
|
|
|
1071
1071
|
*/
|
|
1072
1072
|
export interface ListSigningPlatformsRequest {
|
|
1073
1073
|
/**
|
|
1074
|
-
* @public
|
|
1075
1074
|
* <p>The category type of a signing platform.</p>
|
|
1075
|
+
* @public
|
|
1076
1076
|
*/
|
|
1077
1077
|
category?: string;
|
|
1078
1078
|
/**
|
|
1079
|
-
* @public
|
|
1080
1079
|
* <p>Any partner entities connected to a signing platform.</p>
|
|
1080
|
+
* @public
|
|
1081
1081
|
*/
|
|
1082
1082
|
partner?: string;
|
|
1083
1083
|
/**
|
|
1084
|
-
* @public
|
|
1085
1084
|
* <p>The validation template that is used by the target signing platform.</p>
|
|
1085
|
+
* @public
|
|
1086
1086
|
*/
|
|
1087
1087
|
target?: string;
|
|
1088
1088
|
/**
|
|
1089
|
-
* @public
|
|
1090
1089
|
* <p>The maximum number of results to be returned by this operation.</p>
|
|
1090
|
+
* @public
|
|
1091
1091
|
*/
|
|
1092
1092
|
maxResults?: number;
|
|
1093
1093
|
/**
|
|
1094
|
-
* @public
|
|
1095
1094
|
* <p>Value for specifying the next set of paginated results to return. After you receive a
|
|
1096
1095
|
* response with truncated results, use this parameter in a subsequent request. Set it to
|
|
1097
1096
|
* the value of <code>nextToken</code> from the response that you just received.</p>
|
|
1097
|
+
* @public
|
|
1098
1098
|
*/
|
|
1099
1099
|
nextToken?: string;
|
|
1100
1100
|
}
|
|
1101
1101
|
/**
|
|
1102
|
-
* @public
|
|
1103
1102
|
* <p>Contains information about the signing configurations and parameters that are used to
|
|
1104
1103
|
* perform a code-signing job.</p>
|
|
1104
|
+
* @public
|
|
1105
1105
|
*/
|
|
1106
1106
|
export interface SigningPlatform {
|
|
1107
1107
|
/**
|
|
1108
|
-
* @public
|
|
1109
1108
|
* <p>The ID of a signing platform.</p>
|
|
1109
|
+
* @public
|
|
1110
1110
|
*/
|
|
1111
1111
|
platformId?: string;
|
|
1112
1112
|
/**
|
|
1113
|
-
* @public
|
|
1114
1113
|
* <p>The display name of a signing platform.</p>
|
|
1114
|
+
* @public
|
|
1115
1115
|
*/
|
|
1116
1116
|
displayName?: string;
|
|
1117
1117
|
/**
|
|
1118
|
-
* @public
|
|
1119
1118
|
* <p>Any partner entities linked to a signing platform.</p>
|
|
1119
|
+
* @public
|
|
1120
1120
|
*/
|
|
1121
1121
|
partner?: string;
|
|
1122
1122
|
/**
|
|
1123
|
-
* @public
|
|
1124
1123
|
* <p>The types of targets that can be signed by a signing platform.</p>
|
|
1124
|
+
* @public
|
|
1125
1125
|
*/
|
|
1126
1126
|
target?: string;
|
|
1127
1127
|
/**
|
|
1128
|
-
* @public
|
|
1129
1128
|
* <p>The category of a signing platform.</p>
|
|
1129
|
+
* @public
|
|
1130
1130
|
*/
|
|
1131
1131
|
category?: Category;
|
|
1132
1132
|
/**
|
|
1133
|
-
* @public
|
|
1134
1133
|
* <p>The configuration of a signing platform. This includes the designated hash algorithm and
|
|
1135
1134
|
* encryption algorithm of a signing platform.</p>
|
|
1135
|
+
* @public
|
|
1136
1136
|
*/
|
|
1137
1137
|
signingConfiguration?: SigningConfiguration;
|
|
1138
1138
|
/**
|
|
1139
|
-
* @public
|
|
1140
1139
|
* <p>The image format of a AWS Signer platform or profile.</p>
|
|
1140
|
+
* @public
|
|
1141
1141
|
*/
|
|
1142
1142
|
signingImageFormat?: SigningImageFormat;
|
|
1143
1143
|
/**
|
|
1144
|
-
* @public
|
|
1145
1144
|
* <p>The maximum size (in MB) of code that can be signed by a signing platform.</p>
|
|
1145
|
+
* @public
|
|
1146
1146
|
*/
|
|
1147
1147
|
maxSizeInMB?: number;
|
|
1148
1148
|
/**
|
|
1149
|
-
* @public
|
|
1150
1149
|
* <p>Indicates whether revocation is supported for the platform.</p>
|
|
1150
|
+
* @public
|
|
1151
1151
|
*/
|
|
1152
1152
|
revocationSupported?: boolean;
|
|
1153
1153
|
}
|
|
@@ -1156,13 +1156,13 @@ export interface SigningPlatform {
|
|
|
1156
1156
|
*/
|
|
1157
1157
|
export interface ListSigningPlatformsResponse {
|
|
1158
1158
|
/**
|
|
1159
|
-
* @public
|
|
1160
1159
|
* <p>A list of all platforms that match the request parameters.</p>
|
|
1160
|
+
* @public
|
|
1161
1161
|
*/
|
|
1162
1162
|
platforms?: SigningPlatform[];
|
|
1163
1163
|
/**
|
|
1164
|
-
* @public
|
|
1165
1164
|
* <p>Value for specifying the next set of paginated results to return.</p>
|
|
1165
|
+
* @public
|
|
1166
1166
|
*/
|
|
1167
1167
|
nextToken?: string;
|
|
1168
1168
|
}
|
|
@@ -1171,95 +1171,95 @@ export interface ListSigningPlatformsResponse {
|
|
|
1171
1171
|
*/
|
|
1172
1172
|
export interface ListSigningProfilesRequest {
|
|
1173
1173
|
/**
|
|
1174
|
-
* @public
|
|
1175
1174
|
* <p>Designates whether to include profiles with the status of
|
|
1176
1175
|
* <code>CANCELED</code>.</p>
|
|
1176
|
+
* @public
|
|
1177
1177
|
*/
|
|
1178
1178
|
includeCanceled?: boolean;
|
|
1179
1179
|
/**
|
|
1180
|
-
* @public
|
|
1181
1180
|
* <p>The maximum number of profiles to be returned.</p>
|
|
1181
|
+
* @public
|
|
1182
1182
|
*/
|
|
1183
1183
|
maxResults?: number;
|
|
1184
1184
|
/**
|
|
1185
|
-
* @public
|
|
1186
1185
|
* <p>Value for specifying the next set of paginated results to return. After you receive a
|
|
1187
1186
|
* response with truncated results, use this parameter in a subsequent request. Set it to
|
|
1188
1187
|
* the value of <code>nextToken</code> from the response that you just received.</p>
|
|
1188
|
+
* @public
|
|
1189
1189
|
*/
|
|
1190
1190
|
nextToken?: string;
|
|
1191
1191
|
/**
|
|
1192
|
-
* @public
|
|
1193
1192
|
* <p>Filters results to return only signing jobs initiated for a specified signing
|
|
1194
1193
|
* platform.</p>
|
|
1194
|
+
* @public
|
|
1195
1195
|
*/
|
|
1196
1196
|
platformId?: string;
|
|
1197
1197
|
/**
|
|
1198
|
-
* @public
|
|
1199
1198
|
* <p>Filters results to return only signing jobs with statuses in the specified
|
|
1200
1199
|
* list.</p>
|
|
1200
|
+
* @public
|
|
1201
1201
|
*/
|
|
1202
1202
|
statuses?: SigningProfileStatus[];
|
|
1203
1203
|
}
|
|
1204
1204
|
/**
|
|
1205
|
-
* @public
|
|
1206
1205
|
* <p>Contains information about the ACM certificates and signing configuration parameters that
|
|
1207
1206
|
* can be used by a given code signing user.</p>
|
|
1207
|
+
* @public
|
|
1208
1208
|
*/
|
|
1209
1209
|
export interface SigningProfile {
|
|
1210
1210
|
/**
|
|
1211
|
-
* @public
|
|
1212
1211
|
* <p>The name of the signing profile.</p>
|
|
1212
|
+
* @public
|
|
1213
1213
|
*/
|
|
1214
1214
|
profileName?: string;
|
|
1215
1215
|
/**
|
|
1216
|
-
* @public
|
|
1217
1216
|
* <p>The version of a signing profile.</p>
|
|
1217
|
+
* @public
|
|
1218
1218
|
*/
|
|
1219
1219
|
profileVersion?: string;
|
|
1220
1220
|
/**
|
|
1221
|
-
* @public
|
|
1222
1221
|
* <p>The ARN of a signing profile, including the profile version.</p>
|
|
1222
|
+
* @public
|
|
1223
1223
|
*/
|
|
1224
1224
|
profileVersionArn?: string;
|
|
1225
1225
|
/**
|
|
1226
|
-
* @public
|
|
1227
1226
|
* <p>The ACM certificate that is available for use by a signing profile.</p>
|
|
1227
|
+
* @public
|
|
1228
1228
|
*/
|
|
1229
1229
|
signingMaterial?: SigningMaterial;
|
|
1230
1230
|
/**
|
|
1231
|
-
* @public
|
|
1232
1231
|
* <p>The validity period for a signing job created using this signing profile.</p>
|
|
1232
|
+
* @public
|
|
1233
1233
|
*/
|
|
1234
1234
|
signatureValidityPeriod?: SignatureValidityPeriod;
|
|
1235
1235
|
/**
|
|
1236
|
-
* @public
|
|
1237
1236
|
* <p>The ID of a platform that is available for use by a signing profile.</p>
|
|
1237
|
+
* @public
|
|
1238
1238
|
*/
|
|
1239
1239
|
platformId?: string;
|
|
1240
1240
|
/**
|
|
1241
|
-
* @public
|
|
1242
1241
|
* <p>The name of the signing platform.</p>
|
|
1242
|
+
* @public
|
|
1243
1243
|
*/
|
|
1244
1244
|
platformDisplayName?: string;
|
|
1245
1245
|
/**
|
|
1246
|
-
* @public
|
|
1247
1246
|
* <p>The parameters that are available for use by a Signer user.</p>
|
|
1247
|
+
* @public
|
|
1248
1248
|
*/
|
|
1249
1249
|
signingParameters?: Record<string, string>;
|
|
1250
1250
|
/**
|
|
1251
|
-
* @public
|
|
1252
1251
|
* <p>The status of a signing profile.</p>
|
|
1252
|
+
* @public
|
|
1253
1253
|
*/
|
|
1254
1254
|
status?: SigningProfileStatus;
|
|
1255
1255
|
/**
|
|
1256
|
-
* @public
|
|
1257
1256
|
* <p>The Amazon Resource Name (ARN) for the signing profile.</p>
|
|
1257
|
+
* @public
|
|
1258
1258
|
*/
|
|
1259
1259
|
arn?: string;
|
|
1260
1260
|
/**
|
|
1261
|
-
* @public
|
|
1262
1261
|
* <p>A list of tags associated with the signing profile.</p>
|
|
1262
|
+
* @public
|
|
1263
1263
|
*/
|
|
1264
1264
|
tags?: Record<string, string>;
|
|
1265
1265
|
}
|
|
@@ -1268,15 +1268,15 @@ export interface SigningProfile {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
export interface ListSigningProfilesResponse {
|
|
1270
1270
|
/**
|
|
1271
|
-
* @public
|
|
1272
1271
|
* <p>A list of profiles that are available in the AWS account. This includes profiles with
|
|
1273
1272
|
* the status of <code>CANCELED</code> if the <code>includeCanceled</code> parameter is set
|
|
1274
1273
|
* to <code>true</code>.</p>
|
|
1274
|
+
* @public
|
|
1275
1275
|
*/
|
|
1276
1276
|
profiles?: SigningProfile[];
|
|
1277
1277
|
/**
|
|
1278
|
-
* @public
|
|
1279
1278
|
* <p>Value for specifying the next set of paginated results to return.</p>
|
|
1279
|
+
* @public
|
|
1280
1280
|
*/
|
|
1281
1281
|
nextToken?: string;
|
|
1282
1282
|
}
|
|
@@ -1285,8 +1285,8 @@ export interface ListSigningProfilesResponse {
|
|
|
1285
1285
|
*/
|
|
1286
1286
|
export interface ListTagsForResourceRequest {
|
|
1287
1287
|
/**
|
|
1288
|
-
* @public
|
|
1289
1288
|
* <p>The Amazon Resource Name (ARN) for the signing profile.</p>
|
|
1289
|
+
* @public
|
|
1290
1290
|
*/
|
|
1291
1291
|
resourceArn: string | undefined;
|
|
1292
1292
|
}
|
|
@@ -1295,14 +1295,14 @@ export interface ListTagsForResourceRequest {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
export interface ListTagsForResourceResponse {
|
|
1297
1297
|
/**
|
|
1298
|
-
* @public
|
|
1299
1298
|
* <p>A list of tags associated with the signing profile.</p>
|
|
1299
|
+
* @public
|
|
1300
1300
|
*/
|
|
1301
1301
|
tags?: Record<string, string>;
|
|
1302
1302
|
}
|
|
1303
1303
|
/**
|
|
1304
|
-
* @public
|
|
1305
1304
|
* <p>The signing profile was not found.</p>
|
|
1305
|
+
* @public
|
|
1306
1306
|
*/
|
|
1307
1307
|
export declare class NotFoundException extends __BaseException {
|
|
1308
1308
|
readonly name: "NotFoundException";
|
|
@@ -1318,43 +1318,43 @@ export declare class NotFoundException extends __BaseException {
|
|
|
1318
1318
|
*/
|
|
1319
1319
|
export interface PutSigningProfileRequest {
|
|
1320
1320
|
/**
|
|
1321
|
-
* @public
|
|
1322
1321
|
* <p>The name of the signing profile to be created.</p>
|
|
1322
|
+
* @public
|
|
1323
1323
|
*/
|
|
1324
1324
|
profileName: string | undefined;
|
|
1325
1325
|
/**
|
|
1326
|
-
* @public
|
|
1327
1326
|
* <p>The AWS Certificate Manager certificate that will be used to sign code with the new signing
|
|
1328
1327
|
* profile.</p>
|
|
1328
|
+
* @public
|
|
1329
1329
|
*/
|
|
1330
1330
|
signingMaterial?: SigningMaterial;
|
|
1331
1331
|
/**
|
|
1332
|
-
* @public
|
|
1333
1332
|
* <p>The default validity period override for any signature generated using this signing
|
|
1334
1333
|
* profile. If unspecified, the default is 135 months.</p>
|
|
1334
|
+
* @public
|
|
1335
1335
|
*/
|
|
1336
1336
|
signatureValidityPeriod?: SignatureValidityPeriod;
|
|
1337
1337
|
/**
|
|
1338
|
-
* @public
|
|
1339
1338
|
* <p>The ID of the signing platform to be created.</p>
|
|
1339
|
+
* @public
|
|
1340
1340
|
*/
|
|
1341
1341
|
platformId: string | undefined;
|
|
1342
1342
|
/**
|
|
1343
|
-
* @public
|
|
1344
1343
|
* <p>A subfield of <code>platform</code>. This specifies any different configuration
|
|
1345
1344
|
* options that you want to apply to the chosen platform (such as a different
|
|
1346
1345
|
* <code>hash-algorithm</code> or <code>signing-algorithm</code>).</p>
|
|
1346
|
+
* @public
|
|
1347
1347
|
*/
|
|
1348
1348
|
overrides?: SigningPlatformOverrides;
|
|
1349
1349
|
/**
|
|
1350
|
-
* @public
|
|
1351
1350
|
* <p>Map of key-value pairs for signing. These can include any information that you want to
|
|
1352
1351
|
* use during signing.</p>
|
|
1352
|
+
* @public
|
|
1353
1353
|
*/
|
|
1354
1354
|
signingParameters?: Record<string, string>;
|
|
1355
1355
|
/**
|
|
1356
|
-
* @public
|
|
1357
1356
|
* <p>Tags to be associated with the signing profile that is being created.</p>
|
|
1357
|
+
* @public
|
|
1358
1358
|
*/
|
|
1359
1359
|
tags?: Record<string, string>;
|
|
1360
1360
|
}
|
|
@@ -1363,18 +1363,18 @@ export interface PutSigningProfileRequest {
|
|
|
1363
1363
|
*/
|
|
1364
1364
|
export interface PutSigningProfileResponse {
|
|
1365
1365
|
/**
|
|
1366
|
-
* @public
|
|
1367
1366
|
* <p>The Amazon Resource Name (ARN) of the signing profile created.</p>
|
|
1367
|
+
* @public
|
|
1368
1368
|
*/
|
|
1369
1369
|
arn?: string;
|
|
1370
1370
|
/**
|
|
1371
|
-
* @public
|
|
1372
1371
|
* <p>The version of the signing profile being created.</p>
|
|
1372
|
+
* @public
|
|
1373
1373
|
*/
|
|
1374
1374
|
profileVersion?: string;
|
|
1375
1375
|
/**
|
|
1376
|
-
* @public
|
|
1377
1376
|
* <p>The signing profile ARN, including the profile version.</p>
|
|
1377
|
+
* @public
|
|
1378
1378
|
*/
|
|
1379
1379
|
profileVersionArn?: string;
|
|
1380
1380
|
}
|
|
@@ -1383,18 +1383,18 @@ export interface PutSigningProfileResponse {
|
|
|
1383
1383
|
*/
|
|
1384
1384
|
export interface RemoveProfilePermissionRequest {
|
|
1385
1385
|
/**
|
|
1386
|
-
* @public
|
|
1387
1386
|
* <p>A human-readable name for the signing profile with permissions to be removed.</p>
|
|
1387
|
+
* @public
|
|
1388
1388
|
*/
|
|
1389
1389
|
profileName: string | undefined;
|
|
1390
1390
|
/**
|
|
1391
|
-
* @public
|
|
1392
1391
|
* <p>An identifier for the current revision of the signing profile permissions.</p>
|
|
1392
|
+
* @public
|
|
1393
1393
|
*/
|
|
1394
1394
|
revisionId: string | undefined;
|
|
1395
1395
|
/**
|
|
1396
|
-
* @public
|
|
1397
1396
|
* <p>A unique identifier for the cross-account permissions statement.</p>
|
|
1397
|
+
* @public
|
|
1398
1398
|
*/
|
|
1399
1399
|
statementId: string | undefined;
|
|
1400
1400
|
}
|
|
@@ -1403,8 +1403,8 @@ export interface RemoveProfilePermissionRequest {
|
|
|
1403
1403
|
*/
|
|
1404
1404
|
export interface RemoveProfilePermissionResponse {
|
|
1405
1405
|
/**
|
|
1406
|
-
* @public
|
|
1407
1406
|
* <p>An identifier for the current revision of the profile permissions.</p>
|
|
1407
|
+
* @public
|
|
1408
1408
|
*/
|
|
1409
1409
|
revisionId?: string;
|
|
1410
1410
|
}
|
|
@@ -1413,18 +1413,18 @@ export interface RemoveProfilePermissionResponse {
|
|
|
1413
1413
|
*/
|
|
1414
1414
|
export interface RevokeSignatureRequest {
|
|
1415
1415
|
/**
|
|
1416
|
-
* @public
|
|
1417
1416
|
* <p>ID of the signing job to be revoked.</p>
|
|
1417
|
+
* @public
|
|
1418
1418
|
*/
|
|
1419
1419
|
jobId: string | undefined;
|
|
1420
1420
|
/**
|
|
1421
|
-
* @public
|
|
1422
1421
|
* <p>AWS account ID of the job owner.</p>
|
|
1422
|
+
* @public
|
|
1423
1423
|
*/
|
|
1424
1424
|
jobOwner?: string;
|
|
1425
1425
|
/**
|
|
1426
|
-
* @public
|
|
1427
1426
|
* <p>The reason for revoking the signing job.</p>
|
|
1427
|
+
* @public
|
|
1428
1428
|
*/
|
|
1429
1429
|
reason: string | undefined;
|
|
1430
1430
|
}
|
|
@@ -1433,25 +1433,25 @@ export interface RevokeSignatureRequest {
|
|
|
1433
1433
|
*/
|
|
1434
1434
|
export interface RevokeSigningProfileRequest {
|
|
1435
1435
|
/**
|
|
1436
|
-
* @public
|
|
1437
1436
|
* <p>The name of the signing profile to be revoked.</p>
|
|
1437
|
+
* @public
|
|
1438
1438
|
*/
|
|
1439
1439
|
profileName: string | undefined;
|
|
1440
1440
|
/**
|
|
1441
|
-
* @public
|
|
1442
1441
|
* <p>The version of the signing profile to be revoked.</p>
|
|
1442
|
+
* @public
|
|
1443
1443
|
*/
|
|
1444
1444
|
profileVersion: string | undefined;
|
|
1445
1445
|
/**
|
|
1446
|
-
* @public
|
|
1447
1446
|
* <p>The reason for revoking a signing profile.</p>
|
|
1447
|
+
* @public
|
|
1448
1448
|
*/
|
|
1449
1449
|
reason: string | undefined;
|
|
1450
1450
|
/**
|
|
1451
|
-
* @public
|
|
1452
1451
|
* <p>A timestamp for when revocation of a Signing Profile should become effective.
|
|
1453
1452
|
* Signatures generated using the signing profile after this timestamp are not
|
|
1454
1453
|
* trusted.</p>
|
|
1454
|
+
* @public
|
|
1455
1455
|
*/
|
|
1456
1456
|
effectiveTime: Date | undefined;
|
|
1457
1457
|
}
|
|
@@ -1460,24 +1460,24 @@ export interface RevokeSigningProfileRequest {
|
|
|
1460
1460
|
*/
|
|
1461
1461
|
export interface SignPayloadRequest {
|
|
1462
1462
|
/**
|
|
1463
|
-
* @public
|
|
1464
1463
|
* <p>The name of the signing profile.</p>
|
|
1464
|
+
* @public
|
|
1465
1465
|
*/
|
|
1466
1466
|
profileName: string | undefined;
|
|
1467
1467
|
/**
|
|
1468
|
-
* @public
|
|
1469
1468
|
* <p>The AWS account ID of the profile owner.</p>
|
|
1469
|
+
* @public
|
|
1470
1470
|
*/
|
|
1471
1471
|
profileOwner?: string;
|
|
1472
1472
|
/**
|
|
1473
|
-
* @public
|
|
1474
1473
|
* <p>Specifies the object digest (hash) to sign.</p>
|
|
1474
|
+
* @public
|
|
1475
1475
|
*/
|
|
1476
1476
|
payload: Uint8Array | undefined;
|
|
1477
1477
|
/**
|
|
1478
|
-
* @public
|
|
1479
1478
|
* <p>Payload content type. The single valid type is
|
|
1480
1479
|
* <code>application/vnd.cncf.notary.payload.v1+json</code>.</p>
|
|
1480
|
+
* @public
|
|
1481
1481
|
*/
|
|
1482
1482
|
payloadFormat: string | undefined;
|
|
1483
1483
|
}
|
|
@@ -1486,23 +1486,23 @@ export interface SignPayloadRequest {
|
|
|
1486
1486
|
*/
|
|
1487
1487
|
export interface SignPayloadResponse {
|
|
1488
1488
|
/**
|
|
1489
|
-
* @public
|
|
1490
1489
|
* <p>Unique identifier of the signing job.</p>
|
|
1490
|
+
* @public
|
|
1491
1491
|
*/
|
|
1492
1492
|
jobId?: string;
|
|
1493
1493
|
/**
|
|
1494
|
-
* @public
|
|
1495
1494
|
* <p>The AWS account ID of the job owner.</p>
|
|
1495
|
+
* @public
|
|
1496
1496
|
*/
|
|
1497
1497
|
jobOwner?: string;
|
|
1498
1498
|
/**
|
|
1499
|
-
* @public
|
|
1500
1499
|
* <p>Information including the signing profile ARN and the signing job ID.</p>
|
|
1500
|
+
* @public
|
|
1501
1501
|
*/
|
|
1502
1502
|
metadata?: Record<string, string>;
|
|
1503
1503
|
/**
|
|
1504
|
-
* @public
|
|
1505
1504
|
* <p>A cryptographic signature.</p>
|
|
1505
|
+
* @public
|
|
1506
1506
|
*/
|
|
1507
1507
|
signature?: Uint8Array;
|
|
1508
1508
|
}
|
|
@@ -1511,31 +1511,31 @@ export interface SignPayloadResponse {
|
|
|
1511
1511
|
*/
|
|
1512
1512
|
export interface StartSigningJobRequest {
|
|
1513
1513
|
/**
|
|
1514
|
-
* @public
|
|
1515
1514
|
* <p>The S3 bucket that contains the object to sign or a BLOB that contains your raw
|
|
1516
1515
|
* code.</p>
|
|
1516
|
+
* @public
|
|
1517
1517
|
*/
|
|
1518
1518
|
source: Source | undefined;
|
|
1519
1519
|
/**
|
|
1520
|
-
* @public
|
|
1521
1520
|
* <p>The S3 bucket in which to save your signed object. The destination contains the name
|
|
1522
1521
|
* of your bucket and an optional prefix.</p>
|
|
1522
|
+
* @public
|
|
1523
1523
|
*/
|
|
1524
1524
|
destination: Destination | undefined;
|
|
1525
1525
|
/**
|
|
1526
|
-
* @public
|
|
1527
1526
|
* <p>The name of the signing profile.</p>
|
|
1527
|
+
* @public
|
|
1528
1528
|
*/
|
|
1529
1529
|
profileName: string | undefined;
|
|
1530
1530
|
/**
|
|
1531
|
-
* @public
|
|
1532
1531
|
* <p>String that identifies the signing request. All calls after the first that use this
|
|
1533
1532
|
* token return the same response as the first call.</p>
|
|
1533
|
+
* @public
|
|
1534
1534
|
*/
|
|
1535
1535
|
clientRequestToken?: string;
|
|
1536
1536
|
/**
|
|
1537
|
-
* @public
|
|
1538
1537
|
* <p>The AWS account ID of the signing profile owner.</p>
|
|
1538
|
+
* @public
|
|
1539
1539
|
*/
|
|
1540
1540
|
profileOwner?: string;
|
|
1541
1541
|
}
|
|
@@ -1544,22 +1544,22 @@ export interface StartSigningJobRequest {
|
|
|
1544
1544
|
*/
|
|
1545
1545
|
export interface StartSigningJobResponse {
|
|
1546
1546
|
/**
|
|
1547
|
-
* @public
|
|
1548
1547
|
* <p>The ID of your signing job.</p>
|
|
1548
|
+
* @public
|
|
1549
1549
|
*/
|
|
1550
1550
|
jobId?: string;
|
|
1551
1551
|
/**
|
|
1552
|
-
* @public
|
|
1553
1552
|
* <p>The AWS account ID of the signing job owner.</p>
|
|
1553
|
+
* @public
|
|
1554
1554
|
*/
|
|
1555
1555
|
jobOwner?: string;
|
|
1556
1556
|
}
|
|
1557
1557
|
/**
|
|
1558
|
-
* @public
|
|
1559
|
-
* @deprecated
|
|
1560
|
-
*
|
|
1561
1558
|
* <p>The request was denied due to request throttling.</p>
|
|
1562
1559
|
* <p>Instead of this error, <code>TooManyRequestsException</code> should be used.</p>
|
|
1560
|
+
*
|
|
1561
|
+
* @deprecated Instead of this error, TooManyRequestsException should be used.
|
|
1562
|
+
* @public
|
|
1563
1563
|
*/
|
|
1564
1564
|
export declare class ThrottlingException extends __BaseException {
|
|
1565
1565
|
readonly name: "ThrottlingException";
|
|
@@ -1575,13 +1575,13 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
1575
1575
|
*/
|
|
1576
1576
|
export interface TagResourceRequest {
|
|
1577
1577
|
/**
|
|
1578
|
-
* @public
|
|
1579
1578
|
* <p>The Amazon Resource Name (ARN) for the signing profile.</p>
|
|
1579
|
+
* @public
|
|
1580
1580
|
*/
|
|
1581
1581
|
resourceArn: string | undefined;
|
|
1582
1582
|
/**
|
|
1583
|
-
* @public
|
|
1584
1583
|
* <p>One or more tags to be associated with the signing profile.</p>
|
|
1584
|
+
* @public
|
|
1585
1585
|
*/
|
|
1586
1586
|
tags: Record<string, string> | undefined;
|
|
1587
1587
|
}
|
|
@@ -1595,13 +1595,13 @@ export interface TagResourceResponse {
|
|
|
1595
1595
|
*/
|
|
1596
1596
|
export interface UntagResourceRequest {
|
|
1597
1597
|
/**
|
|
1598
|
-
* @public
|
|
1599
1598
|
* <p>The Amazon Resource Name (ARN) for the signing profile.</p>
|
|
1599
|
+
* @public
|
|
1600
1600
|
*/
|
|
1601
1601
|
resourceArn: string | undefined;
|
|
1602
1602
|
/**
|
|
1603
|
-
* @public
|
|
1604
1603
|
* <p>A list of tag keys to be removed from the signing profile.</p>
|
|
1604
|
+
* @public
|
|
1605
1605
|
*/
|
|
1606
1606
|
tagKeys: string[] | undefined;
|
|
1607
1607
|
}
|