@aws-sdk/client-signer 3.934.0 → 3.935.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-cjs/index.js +32 -31
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +31 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -172
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +87 -0
- package/dist-types/models/errors.d.ts +137 -0
- package/dist-types/models/models_0.d.ts +1 -224
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +40 -0
- package/dist-types/ts3.4/models/errors.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -118
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -230,37 +230,6 @@ let BadRequestException$1 = class BadRequestException extends SignerServiceExcep
|
|
|
230
230
|
this.code = opts.code;
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
|
-
const Category = {
|
|
234
|
-
AWSIoT: "AWSIoT",
|
|
235
|
-
};
|
|
236
|
-
const EncryptionAlgorithm = {
|
|
237
|
-
ECDSA: "ECDSA",
|
|
238
|
-
RSA: "RSA",
|
|
239
|
-
};
|
|
240
|
-
const HashAlgorithm = {
|
|
241
|
-
SHA1: "SHA1",
|
|
242
|
-
SHA256: "SHA256",
|
|
243
|
-
};
|
|
244
|
-
const ImageFormat = {
|
|
245
|
-
JSON: "JSON",
|
|
246
|
-
JSONDetached: "JSONDetached",
|
|
247
|
-
JSONEmbedded: "JSONEmbedded",
|
|
248
|
-
};
|
|
249
|
-
const SigningStatus = {
|
|
250
|
-
Failed: "Failed",
|
|
251
|
-
InProgress: "InProgress",
|
|
252
|
-
Succeeded: "Succeeded",
|
|
253
|
-
};
|
|
254
|
-
const ValidityType = {
|
|
255
|
-
DAYS: "DAYS",
|
|
256
|
-
MONTHS: "MONTHS",
|
|
257
|
-
YEARS: "YEARS",
|
|
258
|
-
};
|
|
259
|
-
const SigningProfileStatus = {
|
|
260
|
-
Active: "Active",
|
|
261
|
-
Canceled: "Canceled",
|
|
262
|
-
Revoked: "Revoked",
|
|
263
|
-
};
|
|
264
233
|
let NotFoundException$1 = class NotFoundException extends SignerServiceException$1 {
|
|
265
234
|
name = "NotFoundException";
|
|
266
235
|
$fault = "client";
|
|
@@ -1522,6 +1491,38 @@ const waitUntilSuccessfulSigningJob = async (params, input) => {
|
|
|
1522
1491
|
return utilWaiter.checkExceptions(result);
|
|
1523
1492
|
};
|
|
1524
1493
|
|
|
1494
|
+
const Category = {
|
|
1495
|
+
AWSIoT: "AWSIoT",
|
|
1496
|
+
};
|
|
1497
|
+
const EncryptionAlgorithm = {
|
|
1498
|
+
ECDSA: "ECDSA",
|
|
1499
|
+
RSA: "RSA",
|
|
1500
|
+
};
|
|
1501
|
+
const HashAlgorithm = {
|
|
1502
|
+
SHA1: "SHA1",
|
|
1503
|
+
SHA256: "SHA256",
|
|
1504
|
+
};
|
|
1505
|
+
const ImageFormat = {
|
|
1506
|
+
JSON: "JSON",
|
|
1507
|
+
JSONDetached: "JSONDetached",
|
|
1508
|
+
JSONEmbedded: "JSONEmbedded",
|
|
1509
|
+
};
|
|
1510
|
+
const SigningStatus = {
|
|
1511
|
+
Failed: "Failed",
|
|
1512
|
+
InProgress: "InProgress",
|
|
1513
|
+
Succeeded: "Succeeded",
|
|
1514
|
+
};
|
|
1515
|
+
const ValidityType = {
|
|
1516
|
+
DAYS: "DAYS",
|
|
1517
|
+
MONTHS: "MONTHS",
|
|
1518
|
+
YEARS: "YEARS",
|
|
1519
|
+
};
|
|
1520
|
+
const SigningProfileStatus = {
|
|
1521
|
+
Active: "Active",
|
|
1522
|
+
Canceled: "Canceled",
|
|
1523
|
+
Revoked: "Revoked",
|
|
1524
|
+
};
|
|
1525
|
+
|
|
1525
1526
|
Object.defineProperty(exports, "$Command", {
|
|
1526
1527
|
enumerable: true,
|
|
1527
1528
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./Signer";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { SignerServiceException } from "./models/SignerServiceException";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const Category = {
|
|
2
|
+
AWSIoT: "AWSIoT",
|
|
3
|
+
};
|
|
4
|
+
export const EncryptionAlgorithm = {
|
|
5
|
+
ECDSA: "ECDSA",
|
|
6
|
+
RSA: "RSA",
|
|
7
|
+
};
|
|
8
|
+
export const HashAlgorithm = {
|
|
9
|
+
SHA1: "SHA1",
|
|
10
|
+
SHA256: "SHA256",
|
|
11
|
+
};
|
|
12
|
+
export const ImageFormat = {
|
|
13
|
+
JSON: "JSON",
|
|
14
|
+
JSONDetached: "JSONDetached",
|
|
15
|
+
JSONEmbedded: "JSONEmbedded",
|
|
16
|
+
};
|
|
17
|
+
export const SigningStatus = {
|
|
18
|
+
Failed: "Failed",
|
|
19
|
+
InProgress: "InProgress",
|
|
20
|
+
Succeeded: "Succeeded",
|
|
21
|
+
};
|
|
22
|
+
export const ValidityType = {
|
|
23
|
+
DAYS: "DAYS",
|
|
24
|
+
MONTHS: "MONTHS",
|
|
25
|
+
YEARS: "YEARS",
|
|
26
|
+
};
|
|
27
|
+
export const SigningProfileStatus = {
|
|
28
|
+
Active: "Active",
|
|
29
|
+
Canceled: "Canceled",
|
|
30
|
+
Revoked: "Revoked",
|
|
31
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
code;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.code = opts.code;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
code;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.code = opts.code;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServiceErrorException extends __BaseException {
|
|
31
|
+
name = "InternalServiceErrorException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
code;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServiceErrorException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
41
|
+
this.code = opts.code;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
45
|
+
name = "ResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
code;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ResourceNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
+
this.code = opts.code;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ServiceLimitExceededException extends __BaseException {
|
|
59
|
+
name = "ServiceLimitExceededException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
code;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ServiceLimitExceededException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
69
|
+
this.code = opts.code;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class TooManyRequestsException extends __BaseException {
|
|
73
|
+
name = "TooManyRequestsException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
code;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "TooManyRequestsException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
83
|
+
this.code = opts.code;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ValidationException extends __BaseException {
|
|
87
|
+
name = "ValidationException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
code;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ValidationException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
+
this.code = opts.code;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class BadRequestException extends __BaseException {
|
|
101
|
+
name = "BadRequestException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
code;
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "BadRequestException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
111
|
+
this.code = opts.code;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class NotFoundException extends __BaseException {
|
|
115
|
+
name = "NotFoundException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
code;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "NotFoundException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
125
|
+
this.code = opts.code;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class ThrottlingException extends __BaseException {
|
|
129
|
+
name = "ThrottlingException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
code;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "ThrottlingException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
139
|
+
this.code = opts.code;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1,172 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
code;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.code = opts.code;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class ConflictException extends __BaseException {
|
|
17
|
-
name = "ConflictException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
code;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ConflictException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
-
this.code = opts.code;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InternalServiceErrorException extends __BaseException {
|
|
31
|
-
name = "InternalServiceErrorException";
|
|
32
|
-
$fault = "server";
|
|
33
|
-
code;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "InternalServiceErrorException",
|
|
37
|
-
$fault: "server",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
41
|
-
this.code = opts.code;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
45
|
-
name = "ResourceNotFoundException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
code;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ResourceNotFoundException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
-
this.code = opts.code;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export class ServiceLimitExceededException extends __BaseException {
|
|
59
|
-
name = "ServiceLimitExceededException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
code;
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "ServiceLimitExceededException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
69
|
-
this.code = opts.code;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export class TooManyRequestsException extends __BaseException {
|
|
73
|
-
name = "TooManyRequestsException";
|
|
74
|
-
$fault = "client";
|
|
75
|
-
code;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "TooManyRequestsException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
83
|
-
this.code = opts.code;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class ValidationException extends __BaseException {
|
|
87
|
-
name = "ValidationException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
code;
|
|
90
|
-
constructor(opts) {
|
|
91
|
-
super({
|
|
92
|
-
name: "ValidationException",
|
|
93
|
-
$fault: "client",
|
|
94
|
-
...opts,
|
|
95
|
-
});
|
|
96
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
-
this.code = opts.code;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export class BadRequestException extends __BaseException {
|
|
101
|
-
name = "BadRequestException";
|
|
102
|
-
$fault = "client";
|
|
103
|
-
code;
|
|
104
|
-
constructor(opts) {
|
|
105
|
-
super({
|
|
106
|
-
name: "BadRequestException",
|
|
107
|
-
$fault: "client",
|
|
108
|
-
...opts,
|
|
109
|
-
});
|
|
110
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
111
|
-
this.code = opts.code;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
export const Category = {
|
|
115
|
-
AWSIoT: "AWSIoT",
|
|
116
|
-
};
|
|
117
|
-
export const EncryptionAlgorithm = {
|
|
118
|
-
ECDSA: "ECDSA",
|
|
119
|
-
RSA: "RSA",
|
|
120
|
-
};
|
|
121
|
-
export const HashAlgorithm = {
|
|
122
|
-
SHA1: "SHA1",
|
|
123
|
-
SHA256: "SHA256",
|
|
124
|
-
};
|
|
125
|
-
export const ImageFormat = {
|
|
126
|
-
JSON: "JSON",
|
|
127
|
-
JSONDetached: "JSONDetached",
|
|
128
|
-
JSONEmbedded: "JSONEmbedded",
|
|
129
|
-
};
|
|
130
|
-
export const SigningStatus = {
|
|
131
|
-
Failed: "Failed",
|
|
132
|
-
InProgress: "InProgress",
|
|
133
|
-
Succeeded: "Succeeded",
|
|
134
|
-
};
|
|
135
|
-
export const ValidityType = {
|
|
136
|
-
DAYS: "DAYS",
|
|
137
|
-
MONTHS: "MONTHS",
|
|
138
|
-
YEARS: "YEARS",
|
|
139
|
-
};
|
|
140
|
-
export const SigningProfileStatus = {
|
|
141
|
-
Active: "Active",
|
|
142
|
-
Canceled: "Canceled",
|
|
143
|
-
Revoked: "Revoked",
|
|
144
|
-
};
|
|
145
|
-
export class NotFoundException extends __BaseException {
|
|
146
|
-
name = "NotFoundException";
|
|
147
|
-
$fault = "client";
|
|
148
|
-
code;
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "NotFoundException",
|
|
152
|
-
$fault: "client",
|
|
153
|
-
...opts,
|
|
154
|
-
});
|
|
155
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
156
|
-
this.code = opts.code;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
export class ThrottlingException extends __BaseException {
|
|
160
|
-
name = "ThrottlingException";
|
|
161
|
-
$fault = "client";
|
|
162
|
-
code;
|
|
163
|
-
constructor(opts) {
|
|
164
|
-
super({
|
|
165
|
-
name: "ThrottlingException",
|
|
166
|
-
$fault: "client",
|
|
167
|
-
...opts,
|
|
168
|
-
});
|
|
169
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
170
|
-
this.code = opts.code;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
1
|
+
export {};
|
|
@@ -179,7 +179,7 @@ const _v = "version";
|
|
|
179
179
|
const _va = "value";
|
|
180
180
|
const n0 = "com.amazonaws.signer";
|
|
181
181
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
182
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServiceErrorException as __InternalServiceErrorException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/
|
|
182
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServiceErrorException as __InternalServiceErrorException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/errors";
|
|
183
183
|
import { SignerServiceException as __SignerServiceException } from "../models/SignerServiceException";
|
|
184
184
|
export var AccessDeniedException = [
|
|
185
185
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -28,5 +28,7 @@ export type { SignerExtensionConfiguration } from "./extensionConfiguration";
|
|
|
28
28
|
export * from "./commands";
|
|
29
29
|
export * from "./pagination";
|
|
30
30
|
export * from "./waiters";
|
|
31
|
-
export * from "./models";
|
|
31
|
+
export * from "./models/enums";
|
|
32
|
+
export * from "./models/errors";
|
|
33
|
+
export type * from "./models/models_0";
|
|
32
34
|
export { SignerServiceException } from "./models/SignerServiceException";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const Category: {
|
|
6
|
+
readonly AWSIoT: "AWSIoT";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type Category = (typeof Category)[keyof typeof Category];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const EncryptionAlgorithm: {
|
|
17
|
+
readonly ECDSA: "ECDSA";
|
|
18
|
+
readonly RSA: "RSA";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type EncryptionAlgorithm = (typeof EncryptionAlgorithm)[keyof typeof EncryptionAlgorithm];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const HashAlgorithm: {
|
|
29
|
+
readonly SHA1: "SHA1";
|
|
30
|
+
readonly SHA256: "SHA256";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const ImageFormat: {
|
|
41
|
+
readonly JSON: "JSON";
|
|
42
|
+
readonly JSONDetached: "JSONDetached";
|
|
43
|
+
readonly JSONEmbedded: "JSONEmbedded";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const SigningStatus: {
|
|
54
|
+
readonly Failed: "Failed";
|
|
55
|
+
readonly InProgress: "InProgress";
|
|
56
|
+
readonly Succeeded: "Succeeded";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const ValidityType: {
|
|
67
|
+
readonly DAYS: "DAYS";
|
|
68
|
+
readonly MONTHS: "MONTHS";
|
|
69
|
+
readonly YEARS: "YEARS";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const SigningProfileStatus: {
|
|
80
|
+
readonly Active: "Active";
|
|
81
|
+
readonly Canceled: "Canceled";
|
|
82
|
+
readonly Revoked: "Revoked";
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export type SigningProfileStatus = (typeof SigningProfileStatus)[keyof typeof SigningProfileStatus];
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
code?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The resource encountered a conflicting state.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
code?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>An internal error occurred.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class InternalServiceErrorException extends __BaseException {
|
|
34
|
+
readonly name: "InternalServiceErrorException";
|
|
35
|
+
readonly $fault: "server";
|
|
36
|
+
code?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>A specified resource could not be found.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
readonly name: "ResourceNotFoundException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
code?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The client is making a request that exceeds service limits.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
60
|
+
readonly name: "ServiceLimitExceededException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
code?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>The allowed number of job-signing requests has been exceeded.</p>
|
|
70
|
+
* <p>This error supersedes the error <code>ThrottlingException</code>.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
74
|
+
readonly name: "TooManyRequestsException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
code?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>You signing certificate could not be validated.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ValidationException extends __BaseException {
|
|
87
|
+
readonly name: "ValidationException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
code?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* <p>The request contains invalid parameters for the ARN or tags. This exception also
|
|
97
|
+
* occurs when you call a tagging API on a cancelled signing profile.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class BadRequestException extends __BaseException {
|
|
101
|
+
readonly name: "BadRequestException";
|
|
102
|
+
readonly $fault: "client";
|
|
103
|
+
code?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>The signing profile was not found.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class NotFoundException extends __BaseException {
|
|
114
|
+
readonly name: "NotFoundException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
code?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* <p>The request was denied due to request throttling.</p>
|
|
124
|
+
* <p>Instead of this error, <code>TooManyRequestsException</code> should be used.</p>
|
|
125
|
+
*
|
|
126
|
+
* @deprecated Instead of this error, TooManyRequestsException should be used.
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class ThrottlingException extends __BaseException {
|
|
130
|
+
readonly name: "ThrottlingException";
|
|
131
|
+
readonly $fault: "client";
|
|
132
|
+
code?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
137
|
+
}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
code?: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
1
|
+
import { Category, EncryptionAlgorithm, HashAlgorithm, ImageFormat, SigningProfileStatus, SigningStatus, ValidityType } from "./enums";
|
|
16
2
|
/**
|
|
17
3
|
* @public
|
|
18
4
|
*/
|
|
@@ -79,99 +65,6 @@ export interface AddProfilePermissionResponse {
|
|
|
79
65
|
*/
|
|
80
66
|
revisionId?: string | undefined;
|
|
81
67
|
}
|
|
82
|
-
/**
|
|
83
|
-
* <p>The resource encountered a conflicting state.</p>
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
export declare class ConflictException extends __BaseException {
|
|
87
|
-
readonly name: "ConflictException";
|
|
88
|
-
readonly $fault: "client";
|
|
89
|
-
code?: string | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* <p>An internal error occurred.</p>
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
export declare class InternalServiceErrorException extends __BaseException {
|
|
100
|
-
readonly name: "InternalServiceErrorException";
|
|
101
|
-
readonly $fault: "server";
|
|
102
|
-
code?: string | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* <p>A specified resource could not be found.</p>
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
113
|
-
readonly name: "ResourceNotFoundException";
|
|
114
|
-
readonly $fault: "client";
|
|
115
|
-
code?: string | undefined;
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* <p>The client is making a request that exceeds service limits.</p>
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
export declare class ServiceLimitExceededException extends __BaseException {
|
|
126
|
-
readonly name: "ServiceLimitExceededException";
|
|
127
|
-
readonly $fault: "client";
|
|
128
|
-
code?: string | undefined;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* <p>The allowed number of job-signing requests has been exceeded.</p>
|
|
136
|
-
* <p>This error supersedes the error <code>ThrottlingException</code>.</p>
|
|
137
|
-
* @public
|
|
138
|
-
*/
|
|
139
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
140
|
-
readonly name: "TooManyRequestsException";
|
|
141
|
-
readonly $fault: "client";
|
|
142
|
-
code?: string | undefined;
|
|
143
|
-
/**
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* <p>You signing certificate could not be validated.</p>
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
export declare class ValidationException extends __BaseException {
|
|
153
|
-
readonly name: "ValidationException";
|
|
154
|
-
readonly $fault: "client";
|
|
155
|
-
code?: string | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* <p>The request contains invalid parameters for the ARN or tags. This exception also
|
|
163
|
-
* occurs when you call a tagging API on a cancelled signing profile.</p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
export declare class BadRequestException extends __BaseException {
|
|
167
|
-
readonly name: "BadRequestException";
|
|
168
|
-
readonly $fault: "client";
|
|
169
|
-
code?: string | undefined;
|
|
170
|
-
/**
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
174
|
-
}
|
|
175
68
|
/**
|
|
176
69
|
* @public
|
|
177
70
|
*/
|
|
@@ -182,17 +75,6 @@ export interface CancelSigningProfileRequest {
|
|
|
182
75
|
*/
|
|
183
76
|
profileName: string | undefined;
|
|
184
77
|
}
|
|
185
|
-
/**
|
|
186
|
-
* @public
|
|
187
|
-
* @enum
|
|
188
|
-
*/
|
|
189
|
-
export declare const Category: {
|
|
190
|
-
readonly AWSIoT: "AWSIoT";
|
|
191
|
-
};
|
|
192
|
-
/**
|
|
193
|
-
* @public
|
|
194
|
-
*/
|
|
195
|
-
export type Category = (typeof Category)[keyof typeof Category];
|
|
196
78
|
/**
|
|
197
79
|
* @public
|
|
198
80
|
*/
|
|
@@ -203,30 +85,6 @@ export interface DescribeSigningJobRequest {
|
|
|
203
85
|
*/
|
|
204
86
|
jobId: string | undefined;
|
|
205
87
|
}
|
|
206
|
-
/**
|
|
207
|
-
* @public
|
|
208
|
-
* @enum
|
|
209
|
-
*/
|
|
210
|
-
export declare const EncryptionAlgorithm: {
|
|
211
|
-
readonly ECDSA: "ECDSA";
|
|
212
|
-
readonly RSA: "RSA";
|
|
213
|
-
};
|
|
214
|
-
/**
|
|
215
|
-
* @public
|
|
216
|
-
*/
|
|
217
|
-
export type EncryptionAlgorithm = (typeof EncryptionAlgorithm)[keyof typeof EncryptionAlgorithm];
|
|
218
|
-
/**
|
|
219
|
-
* @public
|
|
220
|
-
* @enum
|
|
221
|
-
*/
|
|
222
|
-
export declare const HashAlgorithm: {
|
|
223
|
-
readonly SHA1: "SHA1";
|
|
224
|
-
readonly SHA256: "SHA256";
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* @public
|
|
228
|
-
*/
|
|
229
|
-
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
230
88
|
/**
|
|
231
89
|
* <p>A signing configuration that overrides the default encryption or hash algorithm of a
|
|
232
90
|
* signing job.</p>
|
|
@@ -246,19 +104,6 @@ export interface SigningConfigurationOverrides {
|
|
|
246
104
|
*/
|
|
247
105
|
hashAlgorithm?: HashAlgorithm | undefined;
|
|
248
106
|
}
|
|
249
|
-
/**
|
|
250
|
-
* @public
|
|
251
|
-
* @enum
|
|
252
|
-
*/
|
|
253
|
-
export declare const ImageFormat: {
|
|
254
|
-
readonly JSON: "JSON";
|
|
255
|
-
readonly JSONDetached: "JSONDetached";
|
|
256
|
-
readonly JSONEmbedded: "JSONEmbedded";
|
|
257
|
-
};
|
|
258
|
-
/**
|
|
259
|
-
* @public
|
|
260
|
-
*/
|
|
261
|
-
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
262
107
|
/**
|
|
263
108
|
* <p>Any overrides that are applied to the signing configuration of a signing platform.</p>
|
|
264
109
|
* @public
|
|
@@ -375,19 +220,6 @@ export interface Source {
|
|
|
375
220
|
*/
|
|
376
221
|
s3?: S3Source | undefined;
|
|
377
222
|
}
|
|
378
|
-
/**
|
|
379
|
-
* @public
|
|
380
|
-
* @enum
|
|
381
|
-
*/
|
|
382
|
-
export declare const SigningStatus: {
|
|
383
|
-
readonly Failed: "Failed";
|
|
384
|
-
readonly InProgress: "InProgress";
|
|
385
|
-
readonly Succeeded: "Succeeded";
|
|
386
|
-
};
|
|
387
|
-
/**
|
|
388
|
-
* @public
|
|
389
|
-
*/
|
|
390
|
-
export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
|
|
391
223
|
/**
|
|
392
224
|
* @public
|
|
393
225
|
*/
|
|
@@ -746,19 +578,6 @@ export interface SigningProfileRevocationRecord {
|
|
|
746
578
|
*/
|
|
747
579
|
revokedBy?: string | undefined;
|
|
748
580
|
}
|
|
749
|
-
/**
|
|
750
|
-
* @public
|
|
751
|
-
* @enum
|
|
752
|
-
*/
|
|
753
|
-
export declare const ValidityType: {
|
|
754
|
-
readonly DAYS: "DAYS";
|
|
755
|
-
readonly MONTHS: "MONTHS";
|
|
756
|
-
readonly YEARS: "YEARS";
|
|
757
|
-
};
|
|
758
|
-
/**
|
|
759
|
-
* @public
|
|
760
|
-
*/
|
|
761
|
-
export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
|
|
762
581
|
/**
|
|
763
582
|
* <p>The validity period for a signing job.</p>
|
|
764
583
|
* @public
|
|
@@ -775,19 +594,6 @@ export interface SignatureValidityPeriod {
|
|
|
775
594
|
*/
|
|
776
595
|
type?: ValidityType | undefined;
|
|
777
596
|
}
|
|
778
|
-
/**
|
|
779
|
-
* @public
|
|
780
|
-
* @enum
|
|
781
|
-
*/
|
|
782
|
-
export declare const SigningProfileStatus: {
|
|
783
|
-
readonly Active: "Active";
|
|
784
|
-
readonly Canceled: "Canceled";
|
|
785
|
-
readonly Revoked: "Revoked";
|
|
786
|
-
};
|
|
787
|
-
/**
|
|
788
|
-
* @public
|
|
789
|
-
*/
|
|
790
|
-
export type SigningProfileStatus = (typeof SigningProfileStatus)[keyof typeof SigningProfileStatus];
|
|
791
597
|
/**
|
|
792
598
|
* @public
|
|
793
599
|
*/
|
|
@@ -1320,19 +1126,6 @@ export interface ListTagsForResourceResponse {
|
|
|
1320
1126
|
*/
|
|
1321
1127
|
tags?: Record<string, string> | undefined;
|
|
1322
1128
|
}
|
|
1323
|
-
/**
|
|
1324
|
-
* <p>The signing profile was not found.</p>
|
|
1325
|
-
* @public
|
|
1326
|
-
*/
|
|
1327
|
-
export declare class NotFoundException extends __BaseException {
|
|
1328
|
-
readonly name: "NotFoundException";
|
|
1329
|
-
readonly $fault: "client";
|
|
1330
|
-
code?: string | undefined;
|
|
1331
|
-
/**
|
|
1332
|
-
* @internal
|
|
1333
|
-
*/
|
|
1334
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1335
|
-
}
|
|
1336
1129
|
/**
|
|
1337
1130
|
* @public
|
|
1338
1131
|
*/
|
|
@@ -1574,22 +1367,6 @@ export interface StartSigningJobResponse {
|
|
|
1574
1367
|
*/
|
|
1575
1368
|
jobOwner?: string | undefined;
|
|
1576
1369
|
}
|
|
1577
|
-
/**
|
|
1578
|
-
* <p>The request was denied due to request throttling.</p>
|
|
1579
|
-
* <p>Instead of this error, <code>TooManyRequestsException</code> should be used.</p>
|
|
1580
|
-
*
|
|
1581
|
-
* @deprecated Instead of this error, TooManyRequestsException should be used.
|
|
1582
|
-
* @public
|
|
1583
|
-
*/
|
|
1584
|
-
export declare class ThrottlingException extends __BaseException {
|
|
1585
|
-
readonly name: "ThrottlingException";
|
|
1586
|
-
readonly $fault: "client";
|
|
1587
|
-
code?: string | undefined;
|
|
1588
|
-
/**
|
|
1589
|
-
* @internal
|
|
1590
|
-
*/
|
|
1591
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1592
|
-
}
|
|
1593
1370
|
/**
|
|
1594
1371
|
* @public
|
|
1595
1372
|
*/
|
|
@@ -6,5 +6,7 @@ export { SignerExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { SignerServiceException } from "./models/SignerServiceException";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const Category: {
|
|
2
|
+
readonly AWSIoT: "AWSIoT";
|
|
3
|
+
};
|
|
4
|
+
export type Category = (typeof Category)[keyof typeof Category];
|
|
5
|
+
export declare const EncryptionAlgorithm: {
|
|
6
|
+
readonly ECDSA: "ECDSA";
|
|
7
|
+
readonly RSA: "RSA";
|
|
8
|
+
};
|
|
9
|
+
export type EncryptionAlgorithm =
|
|
10
|
+
(typeof EncryptionAlgorithm)[keyof typeof EncryptionAlgorithm];
|
|
11
|
+
export declare const HashAlgorithm: {
|
|
12
|
+
readonly SHA1: "SHA1";
|
|
13
|
+
readonly SHA256: "SHA256";
|
|
14
|
+
};
|
|
15
|
+
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
16
|
+
export declare const ImageFormat: {
|
|
17
|
+
readonly JSON: "JSON";
|
|
18
|
+
readonly JSONDetached: "JSONDetached";
|
|
19
|
+
readonly JSONEmbedded: "JSONEmbedded";
|
|
20
|
+
};
|
|
21
|
+
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
22
|
+
export declare const SigningStatus: {
|
|
23
|
+
readonly Failed: "Failed";
|
|
24
|
+
readonly InProgress: "InProgress";
|
|
25
|
+
readonly Succeeded: "Succeeded";
|
|
26
|
+
};
|
|
27
|
+
export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
|
|
28
|
+
export declare const ValidityType: {
|
|
29
|
+
readonly DAYS: "DAYS";
|
|
30
|
+
readonly MONTHS: "MONTHS";
|
|
31
|
+
readonly YEARS: "YEARS";
|
|
32
|
+
};
|
|
33
|
+
export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
|
|
34
|
+
export declare const SigningProfileStatus: {
|
|
35
|
+
readonly Active: "Active";
|
|
36
|
+
readonly Canceled: "Canceled";
|
|
37
|
+
readonly Revoked: "Revoked";
|
|
38
|
+
};
|
|
39
|
+
export type SigningProfileStatus =
|
|
40
|
+
(typeof SigningProfileStatus)[keyof typeof SigningProfileStatus];
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
code?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
code?: string | undefined;
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
export declare class InternalServiceErrorException extends __BaseException {
|
|
18
|
+
readonly name: "InternalServiceErrorException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
code?: string | undefined;
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
26
|
+
readonly name: "ResourceNotFoundException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
code?: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
34
|
+
readonly name: "ServiceLimitExceededException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
code?: string | undefined;
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
42
|
+
readonly name: "TooManyRequestsException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
code?: string | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
code?: string | undefined;
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class BadRequestException extends __BaseException {
|
|
58
|
+
readonly name: "BadRequestException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
code?: string | undefined;
|
|
61
|
+
constructor(
|
|
62
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export declare class NotFoundException extends __BaseException {
|
|
66
|
+
readonly name: "NotFoundException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
code?: string | undefined;
|
|
69
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
export declare class ThrottlingException extends __BaseException {
|
|
72
|
+
readonly name: "ThrottlingException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
code?: string | undefined;
|
|
75
|
+
constructor(
|
|
76
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
Category,
|
|
3
|
+
EncryptionAlgorithm,
|
|
4
|
+
HashAlgorithm,
|
|
5
|
+
ImageFormat,
|
|
6
|
+
SigningProfileStatus,
|
|
7
|
+
SigningStatus,
|
|
8
|
+
ValidityType,
|
|
9
|
+
} from "./enums";
|
|
11
10
|
export interface AddProfilePermissionRequest {
|
|
12
11
|
profileName: string | undefined;
|
|
13
12
|
profileVersion?: string | undefined;
|
|
@@ -19,91 +18,16 @@ export interface AddProfilePermissionRequest {
|
|
|
19
18
|
export interface AddProfilePermissionResponse {
|
|
20
19
|
revisionId?: string | undefined;
|
|
21
20
|
}
|
|
22
|
-
export declare class ConflictException extends __BaseException {
|
|
23
|
-
readonly name: "ConflictException";
|
|
24
|
-
readonly $fault: "client";
|
|
25
|
-
code?: string | undefined;
|
|
26
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
-
}
|
|
28
|
-
export declare class InternalServiceErrorException extends __BaseException {
|
|
29
|
-
readonly name: "InternalServiceErrorException";
|
|
30
|
-
readonly $fault: "server";
|
|
31
|
-
code?: string | undefined;
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
-
readonly name: "ResourceNotFoundException";
|
|
38
|
-
readonly $fault: "client";
|
|
39
|
-
code?: string | undefined;
|
|
40
|
-
constructor(
|
|
41
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
export declare class ServiceLimitExceededException extends __BaseException {
|
|
45
|
-
readonly name: "ServiceLimitExceededException";
|
|
46
|
-
readonly $fault: "client";
|
|
47
|
-
code?: string | undefined;
|
|
48
|
-
constructor(
|
|
49
|
-
opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
53
|
-
readonly name: "TooManyRequestsException";
|
|
54
|
-
readonly $fault: "client";
|
|
55
|
-
code?: string | undefined;
|
|
56
|
-
constructor(
|
|
57
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
export declare class ValidationException extends __BaseException {
|
|
61
|
-
readonly name: "ValidationException";
|
|
62
|
-
readonly $fault: "client";
|
|
63
|
-
code?: string | undefined;
|
|
64
|
-
constructor(
|
|
65
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
export declare class BadRequestException extends __BaseException {
|
|
69
|
-
readonly name: "BadRequestException";
|
|
70
|
-
readonly $fault: "client";
|
|
71
|
-
code?: string | undefined;
|
|
72
|
-
constructor(
|
|
73
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
21
|
export interface CancelSigningProfileRequest {
|
|
77
22
|
profileName: string | undefined;
|
|
78
23
|
}
|
|
79
|
-
export declare const Category: {
|
|
80
|
-
readonly AWSIoT: "AWSIoT";
|
|
81
|
-
};
|
|
82
|
-
export type Category = (typeof Category)[keyof typeof Category];
|
|
83
24
|
export interface DescribeSigningJobRequest {
|
|
84
25
|
jobId: string | undefined;
|
|
85
26
|
}
|
|
86
|
-
export declare const EncryptionAlgorithm: {
|
|
87
|
-
readonly ECDSA: "ECDSA";
|
|
88
|
-
readonly RSA: "RSA";
|
|
89
|
-
};
|
|
90
|
-
export type EncryptionAlgorithm =
|
|
91
|
-
(typeof EncryptionAlgorithm)[keyof typeof EncryptionAlgorithm];
|
|
92
|
-
export declare const HashAlgorithm: {
|
|
93
|
-
readonly SHA1: "SHA1";
|
|
94
|
-
readonly SHA256: "SHA256";
|
|
95
|
-
};
|
|
96
|
-
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
97
27
|
export interface SigningConfigurationOverrides {
|
|
98
28
|
encryptionAlgorithm?: EncryptionAlgorithm | undefined;
|
|
99
29
|
hashAlgorithm?: HashAlgorithm | undefined;
|
|
100
30
|
}
|
|
101
|
-
export declare const ImageFormat: {
|
|
102
|
-
readonly JSON: "JSON";
|
|
103
|
-
readonly JSONDetached: "JSONDetached";
|
|
104
|
-
readonly JSONEmbedded: "JSONEmbedded";
|
|
105
|
-
};
|
|
106
|
-
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
107
31
|
export interface SigningPlatformOverrides {
|
|
108
32
|
signingConfiguration?: SigningConfigurationOverrides | undefined;
|
|
109
33
|
signingImageFormat?: ImageFormat | undefined;
|
|
@@ -131,12 +55,6 @@ export interface S3Source {
|
|
|
131
55
|
export interface Source {
|
|
132
56
|
s3?: S3Source | undefined;
|
|
133
57
|
}
|
|
134
|
-
export declare const SigningStatus: {
|
|
135
|
-
readonly Failed: "Failed";
|
|
136
|
-
readonly InProgress: "InProgress";
|
|
137
|
-
readonly Succeeded: "Succeeded";
|
|
138
|
-
};
|
|
139
|
-
export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
|
|
140
58
|
export interface DescribeSigningJobResponse {
|
|
141
59
|
jobId?: string | undefined;
|
|
142
60
|
source?: Source | undefined;
|
|
@@ -214,23 +132,10 @@ export interface SigningProfileRevocationRecord {
|
|
|
214
132
|
revokedAt?: Date | undefined;
|
|
215
133
|
revokedBy?: string | undefined;
|
|
216
134
|
}
|
|
217
|
-
export declare const ValidityType: {
|
|
218
|
-
readonly DAYS: "DAYS";
|
|
219
|
-
readonly MONTHS: "MONTHS";
|
|
220
|
-
readonly YEARS: "YEARS";
|
|
221
|
-
};
|
|
222
|
-
export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
|
|
223
135
|
export interface SignatureValidityPeriod {
|
|
224
136
|
value?: number | undefined;
|
|
225
137
|
type?: ValidityType | undefined;
|
|
226
138
|
}
|
|
227
|
-
export declare const SigningProfileStatus: {
|
|
228
|
-
readonly Active: "Active";
|
|
229
|
-
readonly Canceled: "Canceled";
|
|
230
|
-
readonly Revoked: "Revoked";
|
|
231
|
-
};
|
|
232
|
-
export type SigningProfileStatus =
|
|
233
|
-
(typeof SigningProfileStatus)[keyof typeof SigningProfileStatus];
|
|
234
139
|
export interface GetSigningProfileResponse {
|
|
235
140
|
profileName?: string | undefined;
|
|
236
141
|
profileVersion?: string | undefined;
|
|
@@ -346,12 +251,6 @@ export interface ListTagsForResourceRequest {
|
|
|
346
251
|
export interface ListTagsForResourceResponse {
|
|
347
252
|
tags?: Record<string, string> | undefined;
|
|
348
253
|
}
|
|
349
|
-
export declare class NotFoundException extends __BaseException {
|
|
350
|
-
readonly name: "NotFoundException";
|
|
351
|
-
readonly $fault: "client";
|
|
352
|
-
code?: string | undefined;
|
|
353
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
354
|
-
}
|
|
355
254
|
export interface PutSigningProfileRequest {
|
|
356
255
|
profileName: string | undefined;
|
|
357
256
|
signingMaterial?: SigningMaterial | undefined;
|
|
@@ -408,14 +307,6 @@ export interface StartSigningJobResponse {
|
|
|
408
307
|
jobId?: string | undefined;
|
|
409
308
|
jobOwner?: string | undefined;
|
|
410
309
|
}
|
|
411
|
-
export declare class ThrottlingException extends __BaseException {
|
|
412
|
-
readonly name: "ThrottlingException";
|
|
413
|
-
readonly $fault: "client";
|
|
414
|
-
code?: string | undefined;
|
|
415
|
-
constructor(
|
|
416
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
417
|
-
);
|
|
418
|
-
}
|
|
419
310
|
export interface TagResourceRequest {
|
|
420
311
|
resourceArn: string | undefined;
|
|
421
312
|
tags: Record<string, string> | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-signer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Signer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-signer",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|