@aws-sdk/client-signer 3.987.0 → 3.989.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 +38 -851
- package/dist-cjs/models/SignerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +154 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +610 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +68 -62
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SigningConfigurationOverrides$ = exports.SigningConfiguration$ = exports.SignedObject$ = exports.SignatureValidityPeriod$ = exports.S3Source$ = exports.S3SignedObject$ = exports.S3Destination$ = exports.RevokeSigningProfileRequest$ = exports.RevokeSignatureRequest$ = exports.RemoveProfilePermissionResponse$ = exports.RemoveProfilePermissionRequest$ = exports.PutSigningProfileResponse$ = exports.PutSigningProfileRequest$ = exports.Permission$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSigningProfilesResponse$ = exports.ListSigningProfilesRequest$ = exports.ListSigningPlatformsResponse$ = exports.ListSigningPlatformsRequest$ = exports.ListSigningJobsResponse$ = exports.ListSigningJobsRequest$ = exports.ListProfilePermissionsResponse$ = exports.ListProfilePermissionsRequest$ = exports.HashAlgorithmOptions$ = exports.GetSigningProfileResponse$ = exports.GetSigningProfileRequest$ = exports.GetSigningPlatformResponse$ = exports.GetSigningPlatformRequest$ = exports.GetRevocationStatusResponse$ = exports.GetRevocationStatusRequest$ = exports.EncryptionAlgorithmOptions$ = exports.Destination$ = exports.DescribeSigningJobResponse$ = exports.DescribeSigningJobRequest$ = exports.CancelSigningProfileRequest$ = exports.AddProfilePermissionResponse$ = exports.AddProfilePermissionRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsException$ = exports.ThrottlingException$ = exports.ServiceLimitExceededException$ = exports.ResourceNotFoundException$ = exports.NotFoundException$ = exports.InternalServiceErrorException$ = exports.ConflictException$ = exports.BadRequestException$ = exports.AccessDeniedException$ = exports.SignerServiceException$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.StartSigningJob$ = exports.SignPayload$ = exports.RevokeSigningProfile$ = exports.RevokeSignature$ = exports.RemoveProfilePermission$ = exports.PutSigningProfile$ = exports.ListTagsForResource$ = exports.ListSigningProfiles$ = exports.ListSigningPlatforms$ = exports.ListSigningJobs$ = exports.ListProfilePermissions$ = exports.GetSigningProfile$ = exports.GetSigningPlatform$ = exports.GetRevocationStatus$ = exports.DescribeSigningJob$ = exports.CancelSigningProfile$ = exports.AddProfilePermission$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StartSigningJobResponse$ = exports.StartSigningJobRequest$ = exports.Source$ = exports.SignPayloadResponse$ = exports.SignPayloadRequest$ = exports.SigningProfileRevocationRecord$ = exports.SigningProfile$ = exports.SigningPlatformOverrides$ = exports.SigningPlatform$ = exports.SigningMaterial$ = exports.SigningJobRevocationRecord$ = exports.SigningJob$ = exports.SigningImageFormat$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _APP = "AddProfilePermission";
|
|
7
|
+
const _APPR = "AddProfilePermissionRequest";
|
|
8
|
+
const _APPRd = "AddProfilePermissionResponse";
|
|
9
|
+
const _BRE = "BadRequestException";
|
|
10
|
+
const _CE = "ConflictException";
|
|
11
|
+
const _CSP = "CancelSigningProfile";
|
|
12
|
+
const _CSPR = "CancelSigningProfileRequest";
|
|
13
|
+
const _D = "Destination";
|
|
14
|
+
const _DSJ = "DescribeSigningJob";
|
|
15
|
+
const _DSJR = "DescribeSigningJobRequest";
|
|
16
|
+
const _DSJRe = "DescribeSigningJobResponse";
|
|
17
|
+
const _EAO = "EncryptionAlgorithmOptions";
|
|
18
|
+
const _GRS = "GetRevocationStatus";
|
|
19
|
+
const _GRSR = "GetRevocationStatusRequest";
|
|
20
|
+
const _GRSRe = "GetRevocationStatusResponse";
|
|
21
|
+
const _GSP = "GetSigningPlatform";
|
|
22
|
+
const _GSPR = "GetSigningPlatformRequest";
|
|
23
|
+
const _GSPRe = "GetSigningPlatformResponse";
|
|
24
|
+
const _GSPRet = "GetSigningProfileRequest";
|
|
25
|
+
const _GSPReti = "GetSigningProfileResponse";
|
|
26
|
+
const _GSPe = "GetSigningProfile";
|
|
27
|
+
const _HAO = "HashAlgorithmOptions";
|
|
28
|
+
const _ISEE = "InternalServiceErrorException";
|
|
29
|
+
const _LPP = "ListProfilePermissions";
|
|
30
|
+
const _LPPR = "ListProfilePermissionsRequest";
|
|
31
|
+
const _LPPRi = "ListProfilePermissionsResponse";
|
|
32
|
+
const _LSJ = "ListSigningJobs";
|
|
33
|
+
const _LSJR = "ListSigningJobsRequest";
|
|
34
|
+
const _LSJRi = "ListSigningJobsResponse";
|
|
35
|
+
const _LSP = "ListSigningPlatforms";
|
|
36
|
+
const _LSPR = "ListSigningPlatformsRequest";
|
|
37
|
+
const _LSPRi = "ListSigningPlatformsResponse";
|
|
38
|
+
const _LSPRis = "ListSigningProfilesRequest";
|
|
39
|
+
const _LSPRist = "ListSigningProfilesResponse";
|
|
40
|
+
const _LSPi = "ListSigningProfiles";
|
|
41
|
+
const _LTFR = "ListTagsForResource";
|
|
42
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
43
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
44
|
+
const _NFE = "NotFoundException";
|
|
45
|
+
const _P = "Permission";
|
|
46
|
+
const _PSP = "PutSigningProfile";
|
|
47
|
+
const _PSPR = "PutSigningProfileRequest";
|
|
48
|
+
const _PSPRu = "PutSigningProfileResponse";
|
|
49
|
+
const _Pe = "Permissions";
|
|
50
|
+
const _RNFE = "ResourceNotFoundException";
|
|
51
|
+
const _RPP = "RemoveProfilePermission";
|
|
52
|
+
const _RPPR = "RemoveProfilePermissionRequest";
|
|
53
|
+
const _RPPRe = "RemoveProfilePermissionResponse";
|
|
54
|
+
const _RS = "RevokeSignature";
|
|
55
|
+
const _RSP = "RevokeSigningProfile";
|
|
56
|
+
const _RSPR = "RevokeSigningProfileRequest";
|
|
57
|
+
const _RSR = "RevokeSignatureRequest";
|
|
58
|
+
const _S = "Source";
|
|
59
|
+
const _SC = "SigningConfiguration";
|
|
60
|
+
const _SCO = "SigningConfigurationOverrides";
|
|
61
|
+
const _SD = "S3Destination";
|
|
62
|
+
const _SIF = "SigningImageFormat";
|
|
63
|
+
const _SJ = "SigningJob";
|
|
64
|
+
const _SJRR = "SigningJobRevocationRecord";
|
|
65
|
+
const _SJi = "SigningJobs";
|
|
66
|
+
const _SLEE = "ServiceLimitExceededException";
|
|
67
|
+
const _SM = "SigningMaterial";
|
|
68
|
+
const _SO = "SignedObject";
|
|
69
|
+
const _SP = "SigningPlatform";
|
|
70
|
+
const _SPO = "SigningPlatformOverrides";
|
|
71
|
+
const _SPR = "SignPayloadRequest";
|
|
72
|
+
const _SPRR = "SigningProfileRevocationRecord";
|
|
73
|
+
const _SPRi = "SignPayloadResponse";
|
|
74
|
+
const _SPi = "SigningProfile";
|
|
75
|
+
const _SPig = "SigningPlatforms";
|
|
76
|
+
const _SPign = "SigningProfiles";
|
|
77
|
+
const _SPigna = "SignPayload";
|
|
78
|
+
const _SS = "S3Source";
|
|
79
|
+
const _SSJ = "StartSigningJob";
|
|
80
|
+
const _SSJR = "StartSigningJobRequest";
|
|
81
|
+
const _SSJRt = "StartSigningJobResponse";
|
|
82
|
+
const _SSO = "S3SignedObject";
|
|
83
|
+
const _SVP = "SignatureValidityPeriod";
|
|
84
|
+
const _TE = "ThrottlingException";
|
|
85
|
+
const _TMRE = "TooManyRequestsException";
|
|
86
|
+
const _TR = "TagResource";
|
|
87
|
+
const _TRR = "TagResourceRequest";
|
|
88
|
+
const _TRRa = "TagResourceResponse";
|
|
89
|
+
const _UR = "UntagResource";
|
|
90
|
+
const _URR = "UntagResourceRequest";
|
|
91
|
+
const _URRn = "UntagResourceResponse";
|
|
92
|
+
const _VE = "ValidationException";
|
|
93
|
+
const _a = "action";
|
|
94
|
+
const _aV = "allowedValues";
|
|
95
|
+
const _ar = "arn";
|
|
96
|
+
const _bN = "bucketName";
|
|
97
|
+
const _c = "client";
|
|
98
|
+
const _cA = "createdAt";
|
|
99
|
+
const _cAe = "certificateArn";
|
|
100
|
+
const _cAo = "completedAt";
|
|
101
|
+
const _cH = "certificateHashes";
|
|
102
|
+
const _cRT = "clientRequestToken";
|
|
103
|
+
const _ca = "category";
|
|
104
|
+
const _co = "code";
|
|
105
|
+
const _d = "destination";
|
|
106
|
+
const _dF = "defaultFormat";
|
|
107
|
+
const _dN = "displayName";
|
|
108
|
+
const _dV = "defaultValue";
|
|
109
|
+
const _e = "error";
|
|
110
|
+
const _eA = "encryptionAlgorithm";
|
|
111
|
+
const _eAO = "encryptionAlgorithmOptions";
|
|
112
|
+
const _eT = "effectiveTime";
|
|
113
|
+
const _en = "endpoint";
|
|
114
|
+
const _h = "http";
|
|
115
|
+
const _hA = "hashAlgorithm";
|
|
116
|
+
const _hAO = "hashAlgorithmOptions";
|
|
117
|
+
const _hE = "httpError";
|
|
118
|
+
const _hQ = "httpQuery";
|
|
119
|
+
const _iC = "includeCanceled";
|
|
120
|
+
const _iR = "isRevoked";
|
|
121
|
+
const _j = "jobs";
|
|
122
|
+
const _jA = "jobArn";
|
|
123
|
+
const _jI = "jobId";
|
|
124
|
+
const _jIo = "jobInvoker";
|
|
125
|
+
const _jO = "jobOwner";
|
|
126
|
+
const _k = "key";
|
|
127
|
+
const _m = "message";
|
|
128
|
+
const _mR = "maxResults";
|
|
129
|
+
const _mSIMB = "maxSizeInMB";
|
|
130
|
+
const _me = "metadata";
|
|
131
|
+
const _nT = "nextToken";
|
|
132
|
+
const _o = "overrides";
|
|
133
|
+
const _p = "principal";
|
|
134
|
+
const _pDN = "platformDisplayName";
|
|
135
|
+
const _pF = "payloadFormat";
|
|
136
|
+
const _pI = "platformId";
|
|
137
|
+
const _pN = "profileName";
|
|
138
|
+
const _pO = "profileOwner";
|
|
139
|
+
const _pSB = "policySizeBytes";
|
|
140
|
+
const _pV = "profileVersion";
|
|
141
|
+
const _pVA = "profileVersionArn";
|
|
142
|
+
const _pa = "partner";
|
|
143
|
+
const _pay = "payload";
|
|
144
|
+
const _pe = "permissions";
|
|
145
|
+
const _pl = "platforms";
|
|
146
|
+
const _pr = "profiles";
|
|
147
|
+
const _pre = "prefix";
|
|
148
|
+
const _r = "reason";
|
|
149
|
+
const _rA = "resourceArn";
|
|
150
|
+
const _rAe = "revokedAt";
|
|
151
|
+
const _rB = "requestedBy";
|
|
152
|
+
const _rBe = "revokedBy";
|
|
153
|
+
const _rE = "revokedEntities";
|
|
154
|
+
const _rEF = "revocationEffectiveFrom";
|
|
155
|
+
const _rI = "revisionId";
|
|
156
|
+
const _rR = "revocationRecord";
|
|
157
|
+
const _rS = "revocationSupported";
|
|
158
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signer";
|
|
159
|
+
const _sC = "signingConfiguration";
|
|
160
|
+
const _sEA = "signatureExpiresAt";
|
|
161
|
+
const _sEAi = "signatureExpiresAfter";
|
|
162
|
+
const _sEB = "signatureExpiresBefore";
|
|
163
|
+
const _sF = "supportedFormats";
|
|
164
|
+
const _sI = "statementId";
|
|
165
|
+
const _sIF = "signingImageFormat";
|
|
166
|
+
const _sM = "signingMaterial";
|
|
167
|
+
const _sO = "signedObject";
|
|
168
|
+
const _sP = "signingParameters";
|
|
169
|
+
const _sR = "statusReason";
|
|
170
|
+
const _sT = "signatureTimestamp";
|
|
171
|
+
const _sVP = "signatureValidityPeriod";
|
|
172
|
+
const _s_ = "s3";
|
|
173
|
+
const _se = "server";
|
|
174
|
+
const _si = "signature";
|
|
175
|
+
const _so = "source";
|
|
176
|
+
const _st = "status";
|
|
177
|
+
const _sta = "statuses";
|
|
178
|
+
const _t = "target";
|
|
179
|
+
const _tK = "tagKeys";
|
|
180
|
+
const _ta = "tags";
|
|
181
|
+
const _ty = "type";
|
|
182
|
+
const _v = "version";
|
|
183
|
+
const _va = "value";
|
|
184
|
+
const n0 = "com.amazonaws.signer";
|
|
185
|
+
const schema_1 = require("@smithy/core/schema");
|
|
186
|
+
const errors_1 = require("../models/errors");
|
|
187
|
+
const SignerServiceException_1 = require("../models/SignerServiceException");
|
|
188
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
189
|
+
exports.SignerServiceException$ = [-3, _s, "SignerServiceException", 0, [], []];
|
|
190
|
+
_s_registry.registerError(exports.SignerServiceException$, SignerServiceException_1.SignerServiceException);
|
|
191
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
192
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
193
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
194
|
+
[_m, _co],
|
|
195
|
+
[0, 0]
|
|
196
|
+
];
|
|
197
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
198
|
+
exports.BadRequestException$ = [-3, n0, _BRE,
|
|
199
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
200
|
+
[_m, _co],
|
|
201
|
+
[0, 0]
|
|
202
|
+
];
|
|
203
|
+
n0_registry.registerError(exports.BadRequestException$, errors_1.BadRequestException);
|
|
204
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
205
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
206
|
+
[_m, _co],
|
|
207
|
+
[0, 0]
|
|
208
|
+
];
|
|
209
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
210
|
+
exports.InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
211
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
212
|
+
[_m, _co],
|
|
213
|
+
[0, 0]
|
|
214
|
+
];
|
|
215
|
+
n0_registry.registerError(exports.InternalServiceErrorException$, errors_1.InternalServiceErrorException);
|
|
216
|
+
exports.NotFoundException$ = [-3, n0, _NFE,
|
|
217
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
218
|
+
[_m, _co],
|
|
219
|
+
[0, 0]
|
|
220
|
+
];
|
|
221
|
+
n0_registry.registerError(exports.NotFoundException$, errors_1.NotFoundException);
|
|
222
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
223
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
224
|
+
[_m, _co],
|
|
225
|
+
[0, 0]
|
|
226
|
+
];
|
|
227
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
228
|
+
exports.ServiceLimitExceededException$ = [-3, n0, _SLEE,
|
|
229
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
230
|
+
[_m, _co],
|
|
231
|
+
[0, 0]
|
|
232
|
+
];
|
|
233
|
+
n0_registry.registerError(exports.ServiceLimitExceededException$, errors_1.ServiceLimitExceededException);
|
|
234
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
235
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
236
|
+
[_m, _co],
|
|
237
|
+
[0, 0]
|
|
238
|
+
];
|
|
239
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
240
|
+
exports.TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
241
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
242
|
+
[_m, _co],
|
|
243
|
+
[0, 0]
|
|
244
|
+
];
|
|
245
|
+
n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
|
|
246
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
247
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
248
|
+
[_m, _co],
|
|
249
|
+
[0, 0]
|
|
250
|
+
];
|
|
251
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
252
|
+
exports.errorTypeRegistries = [
|
|
253
|
+
_s_registry,
|
|
254
|
+
n0_registry,
|
|
255
|
+
];
|
|
256
|
+
exports.AddProfilePermissionRequest$ = [3, n0, _APPR,
|
|
257
|
+
0,
|
|
258
|
+
[_pN, _a, _p, _sI, _pV, _rI],
|
|
259
|
+
[[0, 1], 0, 0, 0, 0, 0], 4
|
|
260
|
+
];
|
|
261
|
+
exports.AddProfilePermissionResponse$ = [3, n0, _APPRd,
|
|
262
|
+
0,
|
|
263
|
+
[_rI],
|
|
264
|
+
[0]
|
|
265
|
+
];
|
|
266
|
+
exports.CancelSigningProfileRequest$ = [3, n0, _CSPR,
|
|
267
|
+
0,
|
|
268
|
+
[_pN],
|
|
269
|
+
[[0, 1]], 1
|
|
270
|
+
];
|
|
271
|
+
exports.DescribeSigningJobRequest$ = [3, n0, _DSJR,
|
|
272
|
+
0,
|
|
273
|
+
[_jI],
|
|
274
|
+
[[0, 1]], 1
|
|
275
|
+
];
|
|
276
|
+
exports.DescribeSigningJobResponse$ = [3, n0, _DSJRe,
|
|
277
|
+
0,
|
|
278
|
+
[_jI, _so, _sM, _pI, _pDN, _pN, _pV, _o, _sP, _cA, _cAo, _sEA, _rB, _st, _sR, _rR, _sO, _jO, _jIo],
|
|
279
|
+
[0, () => exports.Source$, () => exports.SigningMaterial$, 0, 0, 0, 0, () => exports.SigningPlatformOverrides$, 128 | 0, 4, 4, 4, 0, 0, 0, () => exports.SigningJobRevocationRecord$, () => exports.SignedObject$, 0, 0]
|
|
280
|
+
];
|
|
281
|
+
exports.Destination$ = [3, n0, _D,
|
|
282
|
+
0,
|
|
283
|
+
[_s_],
|
|
284
|
+
[() => exports.S3Destination$]
|
|
285
|
+
];
|
|
286
|
+
exports.EncryptionAlgorithmOptions$ = [3, n0, _EAO,
|
|
287
|
+
0,
|
|
288
|
+
[_aV, _dV],
|
|
289
|
+
[64 | 0, 0], 2
|
|
290
|
+
];
|
|
291
|
+
exports.GetRevocationStatusRequest$ = [3, n0, _GRSR,
|
|
292
|
+
0,
|
|
293
|
+
[_sT, _pI, _pVA, _jA, _cH],
|
|
294
|
+
[[4, { [_hQ]: _sT }], [0, { [_hQ]: _pI }], [0, { [_hQ]: _pVA }], [0, { [_hQ]: _jA }], [64 | 0, { [_hQ]: _cH }]], 5
|
|
295
|
+
];
|
|
296
|
+
exports.GetRevocationStatusResponse$ = [3, n0, _GRSRe,
|
|
297
|
+
0,
|
|
298
|
+
[_rE],
|
|
299
|
+
[64 | 0]
|
|
300
|
+
];
|
|
301
|
+
exports.GetSigningPlatformRequest$ = [3, n0, _GSPR,
|
|
302
|
+
0,
|
|
303
|
+
[_pI],
|
|
304
|
+
[[0, 1]], 1
|
|
305
|
+
];
|
|
306
|
+
exports.GetSigningPlatformResponse$ = [3, n0, _GSPRe,
|
|
307
|
+
0,
|
|
308
|
+
[_pI, _dN, _pa, _t, _ca, _sC, _sIF, _mSIMB, _rS],
|
|
309
|
+
[0, 0, 0, 0, 0, () => exports.SigningConfiguration$, () => exports.SigningImageFormat$, 1, 2]
|
|
310
|
+
];
|
|
311
|
+
exports.GetSigningProfileRequest$ = [3, n0, _GSPRet,
|
|
312
|
+
0,
|
|
313
|
+
[_pN, _pO],
|
|
314
|
+
[[0, 1], [0, { [_hQ]: _pO }]], 1
|
|
315
|
+
];
|
|
316
|
+
exports.GetSigningProfileResponse$ = [3, n0, _GSPReti,
|
|
317
|
+
0,
|
|
318
|
+
[_pN, _pV, _pVA, _rR, _sM, _pI, _pDN, _sVP, _o, _sP, _st, _sR, _ar, _ta],
|
|
319
|
+
[0, 0, 0, () => exports.SigningProfileRevocationRecord$, () => exports.SigningMaterial$, 0, 0, () => exports.SignatureValidityPeriod$, () => exports.SigningPlatformOverrides$, 128 | 0, 0, 0, 0, 128 | 0]
|
|
320
|
+
];
|
|
321
|
+
exports.HashAlgorithmOptions$ = [3, n0, _HAO,
|
|
322
|
+
0,
|
|
323
|
+
[_aV, _dV],
|
|
324
|
+
[64 | 0, 0], 2
|
|
325
|
+
];
|
|
326
|
+
exports.ListProfilePermissionsRequest$ = [3, n0, _LPPR,
|
|
327
|
+
0,
|
|
328
|
+
[_pN, _nT],
|
|
329
|
+
[[0, 1], [0, { [_hQ]: _nT }]], 1
|
|
330
|
+
];
|
|
331
|
+
exports.ListProfilePermissionsResponse$ = [3, n0, _LPPRi,
|
|
332
|
+
0,
|
|
333
|
+
[_rI, _pSB, _pe, _nT],
|
|
334
|
+
[0, 1, () => Permissions, 0]
|
|
335
|
+
];
|
|
336
|
+
exports.ListSigningJobsRequest$ = [3, n0, _LSJR,
|
|
337
|
+
0,
|
|
338
|
+
[_st, _pI, _rB, _mR, _nT, _iR, _sEB, _sEAi, _jIo],
|
|
339
|
+
[[0, { [_hQ]: _st }], [0, { [_hQ]: _pI }], [0, { [_hQ]: _rB }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [2, { [_hQ]: _iR }], [4, { [_hQ]: _sEB }], [4, { [_hQ]: _sEAi }], [0, { [_hQ]: _jIo }]]
|
|
340
|
+
];
|
|
341
|
+
exports.ListSigningJobsResponse$ = [3, n0, _LSJRi,
|
|
342
|
+
0,
|
|
343
|
+
[_j, _nT],
|
|
344
|
+
[() => SigningJobs, 0]
|
|
345
|
+
];
|
|
346
|
+
exports.ListSigningPlatformsRequest$ = [3, n0, _LSPR,
|
|
347
|
+
0,
|
|
348
|
+
[_ca, _pa, _t, _mR, _nT],
|
|
349
|
+
[[0, { [_hQ]: _ca }], [0, { [_hQ]: _pa }], [0, { [_hQ]: _t }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
350
|
+
];
|
|
351
|
+
exports.ListSigningPlatformsResponse$ = [3, n0, _LSPRi,
|
|
352
|
+
0,
|
|
353
|
+
[_pl, _nT],
|
|
354
|
+
[() => SigningPlatforms, 0]
|
|
355
|
+
];
|
|
356
|
+
exports.ListSigningProfilesRequest$ = [3, n0, _LSPRis,
|
|
357
|
+
0,
|
|
358
|
+
[_iC, _mR, _nT, _pI, _sta],
|
|
359
|
+
[[2, { [_hQ]: _iC }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _pI }], [64 | 0, { [_hQ]: _sta }]]
|
|
360
|
+
];
|
|
361
|
+
exports.ListSigningProfilesResponse$ = [3, n0, _LSPRist,
|
|
362
|
+
0,
|
|
363
|
+
[_pr, _nT],
|
|
364
|
+
[() => SigningProfiles, 0]
|
|
365
|
+
];
|
|
366
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
367
|
+
0,
|
|
368
|
+
[_rA],
|
|
369
|
+
[[0, 1]], 1
|
|
370
|
+
];
|
|
371
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
372
|
+
0,
|
|
373
|
+
[_ta],
|
|
374
|
+
[128 | 0]
|
|
375
|
+
];
|
|
376
|
+
exports.Permission$ = [3, n0, _P,
|
|
377
|
+
0,
|
|
378
|
+
[_a, _p, _sI, _pV],
|
|
379
|
+
[0, 0, 0, 0]
|
|
380
|
+
];
|
|
381
|
+
exports.PutSigningProfileRequest$ = [3, n0, _PSPR,
|
|
382
|
+
0,
|
|
383
|
+
[_pN, _pI, _sM, _sVP, _o, _sP, _ta],
|
|
384
|
+
[[0, 1], 0, () => exports.SigningMaterial$, () => exports.SignatureValidityPeriod$, () => exports.SigningPlatformOverrides$, 128 | 0, 128 | 0], 2
|
|
385
|
+
];
|
|
386
|
+
exports.PutSigningProfileResponse$ = [3, n0, _PSPRu,
|
|
387
|
+
0,
|
|
388
|
+
[_ar, _pV, _pVA],
|
|
389
|
+
[0, 0, 0]
|
|
390
|
+
];
|
|
391
|
+
exports.RemoveProfilePermissionRequest$ = [3, n0, _RPPR,
|
|
392
|
+
0,
|
|
393
|
+
[_pN, _rI, _sI],
|
|
394
|
+
[[0, 1], [0, { [_hQ]: _rI }], [0, 1]], 3
|
|
395
|
+
];
|
|
396
|
+
exports.RemoveProfilePermissionResponse$ = [3, n0, _RPPRe,
|
|
397
|
+
0,
|
|
398
|
+
[_rI],
|
|
399
|
+
[0]
|
|
400
|
+
];
|
|
401
|
+
exports.RevokeSignatureRequest$ = [3, n0, _RSR,
|
|
402
|
+
0,
|
|
403
|
+
[_jI, _r, _jO],
|
|
404
|
+
[[0, 1], 0, 0], 2
|
|
405
|
+
];
|
|
406
|
+
exports.RevokeSigningProfileRequest$ = [3, n0, _RSPR,
|
|
407
|
+
0,
|
|
408
|
+
[_pN, _pV, _r, _eT],
|
|
409
|
+
[[0, 1], 0, 0, 4], 4
|
|
410
|
+
];
|
|
411
|
+
exports.S3Destination$ = [3, n0, _SD,
|
|
412
|
+
0,
|
|
413
|
+
[_bN, _pre],
|
|
414
|
+
[0, 0]
|
|
415
|
+
];
|
|
416
|
+
exports.S3SignedObject$ = [3, n0, _SSO,
|
|
417
|
+
0,
|
|
418
|
+
[_bN, _k],
|
|
419
|
+
[0, 0]
|
|
420
|
+
];
|
|
421
|
+
exports.S3Source$ = [3, n0, _SS,
|
|
422
|
+
0,
|
|
423
|
+
[_bN, _k, _v],
|
|
424
|
+
[0, 0, 0], 3
|
|
425
|
+
];
|
|
426
|
+
exports.SignatureValidityPeriod$ = [3, n0, _SVP,
|
|
427
|
+
0,
|
|
428
|
+
[_va, _ty],
|
|
429
|
+
[1, 0]
|
|
430
|
+
];
|
|
431
|
+
exports.SignedObject$ = [3, n0, _SO,
|
|
432
|
+
0,
|
|
433
|
+
[_s_],
|
|
434
|
+
[() => exports.S3SignedObject$]
|
|
435
|
+
];
|
|
436
|
+
exports.SigningConfiguration$ = [3, n0, _SC,
|
|
437
|
+
0,
|
|
438
|
+
[_eAO, _hAO],
|
|
439
|
+
[() => exports.EncryptionAlgorithmOptions$, () => exports.HashAlgorithmOptions$], 2
|
|
440
|
+
];
|
|
441
|
+
exports.SigningConfigurationOverrides$ = [3, n0, _SCO,
|
|
442
|
+
0,
|
|
443
|
+
[_eA, _hA],
|
|
444
|
+
[0, 0]
|
|
445
|
+
];
|
|
446
|
+
exports.SigningImageFormat$ = [3, n0, _SIF,
|
|
447
|
+
0,
|
|
448
|
+
[_sF, _dF],
|
|
449
|
+
[64 | 0, 0], 2
|
|
450
|
+
];
|
|
451
|
+
exports.SigningJob$ = [3, n0, _SJ,
|
|
452
|
+
0,
|
|
453
|
+
[_jI, _so, _sO, _sM, _cA, _st, _iR, _pN, _pV, _pI, _pDN, _sEA, _jO, _jIo],
|
|
454
|
+
[0, () => exports.Source$, () => exports.SignedObject$, () => exports.SigningMaterial$, 4, 0, 2, 0, 0, 0, 0, 4, 0, 0]
|
|
455
|
+
];
|
|
456
|
+
exports.SigningJobRevocationRecord$ = [3, n0, _SJRR,
|
|
457
|
+
0,
|
|
458
|
+
[_r, _rAe, _rBe],
|
|
459
|
+
[0, 4, 0]
|
|
460
|
+
];
|
|
461
|
+
exports.SigningMaterial$ = [3, n0, _SM,
|
|
462
|
+
0,
|
|
463
|
+
[_cAe],
|
|
464
|
+
[0], 1
|
|
465
|
+
];
|
|
466
|
+
exports.SigningPlatform$ = [3, n0, _SP,
|
|
467
|
+
0,
|
|
468
|
+
[_pI, _dN, _pa, _t, _ca, _sC, _sIF, _mSIMB, _rS],
|
|
469
|
+
[0, 0, 0, 0, 0, () => exports.SigningConfiguration$, () => exports.SigningImageFormat$, 1, 2]
|
|
470
|
+
];
|
|
471
|
+
exports.SigningPlatformOverrides$ = [3, n0, _SPO,
|
|
472
|
+
0,
|
|
473
|
+
[_sC, _sIF],
|
|
474
|
+
[() => exports.SigningConfigurationOverrides$, 0]
|
|
475
|
+
];
|
|
476
|
+
exports.SigningProfile$ = [3, n0, _SPi,
|
|
477
|
+
0,
|
|
478
|
+
[_pN, _pV, _pVA, _sM, _sVP, _pI, _pDN, _sP, _st, _ar, _ta],
|
|
479
|
+
[0, 0, 0, () => exports.SigningMaterial$, () => exports.SignatureValidityPeriod$, 0, 0, 128 | 0, 0, 0, 128 | 0]
|
|
480
|
+
];
|
|
481
|
+
exports.SigningProfileRevocationRecord$ = [3, n0, _SPRR,
|
|
482
|
+
0,
|
|
483
|
+
[_rEF, _rAe, _rBe],
|
|
484
|
+
[4, 4, 0]
|
|
485
|
+
];
|
|
486
|
+
exports.SignPayloadRequest$ = [3, n0, _SPR,
|
|
487
|
+
0,
|
|
488
|
+
[_pN, _pay, _pF, _pO],
|
|
489
|
+
[0, 21, 0, 0], 3
|
|
490
|
+
];
|
|
491
|
+
exports.SignPayloadResponse$ = [3, n0, _SPRi,
|
|
492
|
+
0,
|
|
493
|
+
[_jI, _jO, _me, _si],
|
|
494
|
+
[0, 0, 128 | 0, 21]
|
|
495
|
+
];
|
|
496
|
+
exports.Source$ = [3, n0, _S,
|
|
497
|
+
0,
|
|
498
|
+
[_s_],
|
|
499
|
+
[() => exports.S3Source$]
|
|
500
|
+
];
|
|
501
|
+
exports.StartSigningJobRequest$ = [3, n0, _SSJR,
|
|
502
|
+
0,
|
|
503
|
+
[_so, _d, _pN, _cRT, _pO],
|
|
504
|
+
[() => exports.Source$, () => exports.Destination$, 0, [0, 4], 0], 3
|
|
505
|
+
];
|
|
506
|
+
exports.StartSigningJobResponse$ = [3, n0, _SSJRt,
|
|
507
|
+
0,
|
|
508
|
+
[_jI, _jO],
|
|
509
|
+
[0, 0]
|
|
510
|
+
];
|
|
511
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
512
|
+
0,
|
|
513
|
+
[_rA, _ta],
|
|
514
|
+
[[0, 1], 128 | 0], 2
|
|
515
|
+
];
|
|
516
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
517
|
+
0,
|
|
518
|
+
[],
|
|
519
|
+
[]
|
|
520
|
+
];
|
|
521
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
522
|
+
0,
|
|
523
|
+
[_rA, _tK],
|
|
524
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
525
|
+
];
|
|
526
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
527
|
+
0,
|
|
528
|
+
[],
|
|
529
|
+
[]
|
|
530
|
+
];
|
|
531
|
+
var __Unit = "unit";
|
|
532
|
+
var CertificateHashes = 64 | 0;
|
|
533
|
+
var EncryptionAlgorithms = 64 | 0;
|
|
534
|
+
var HashAlgorithms = 64 | 0;
|
|
535
|
+
var ImageFormats = 64 | 0;
|
|
536
|
+
var Permissions = [1, n0, _Pe,
|
|
537
|
+
0, () => exports.Permission$
|
|
538
|
+
];
|
|
539
|
+
var RevokedEntities = 64 | 0;
|
|
540
|
+
var SigningJobs = [1, n0, _SJi,
|
|
541
|
+
0, () => exports.SigningJob$
|
|
542
|
+
];
|
|
543
|
+
var SigningPlatforms = [1, n0, _SPig,
|
|
544
|
+
0, () => exports.SigningPlatform$
|
|
545
|
+
];
|
|
546
|
+
var SigningProfiles = [1, n0, _SPign,
|
|
547
|
+
0, () => exports.SigningProfile$
|
|
548
|
+
];
|
|
549
|
+
var Statuses = 64 | 0;
|
|
550
|
+
var TagKeyList = 64 | 0;
|
|
551
|
+
var Metadata = 128 | 0;
|
|
552
|
+
var SigningParameters = 128 | 0;
|
|
553
|
+
var TagMap = 128 | 0;
|
|
554
|
+
exports.AddProfilePermission$ = [9, n0, _APP,
|
|
555
|
+
{ [_h]: ["POST", "/signing-profiles/{profileName}/permissions", 200] }, () => exports.AddProfilePermissionRequest$, () => exports.AddProfilePermissionResponse$
|
|
556
|
+
];
|
|
557
|
+
exports.CancelSigningProfile$ = [9, n0, _CSP,
|
|
558
|
+
{ [_h]: ["DELETE", "/signing-profiles/{profileName}", 200] }, () => exports.CancelSigningProfileRequest$, () => __Unit
|
|
559
|
+
];
|
|
560
|
+
exports.DescribeSigningJob$ = [9, n0, _DSJ,
|
|
561
|
+
{ [_h]: ["GET", "/signing-jobs/{jobId}", 200] }, () => exports.DescribeSigningJobRequest$, () => exports.DescribeSigningJobResponse$
|
|
562
|
+
];
|
|
563
|
+
exports.GetRevocationStatus$ = [9, n0, _GRS,
|
|
564
|
+
{ [_en]: ["data-"], [_h]: ["GET", "/revocations", 200] }, () => exports.GetRevocationStatusRequest$, () => exports.GetRevocationStatusResponse$
|
|
565
|
+
];
|
|
566
|
+
exports.GetSigningPlatform$ = [9, n0, _GSP,
|
|
567
|
+
{ [_h]: ["GET", "/signing-platforms/{platformId}", 200] }, () => exports.GetSigningPlatformRequest$, () => exports.GetSigningPlatformResponse$
|
|
568
|
+
];
|
|
569
|
+
exports.GetSigningProfile$ = [9, n0, _GSPe,
|
|
570
|
+
{ [_h]: ["GET", "/signing-profiles/{profileName}", 200] }, () => exports.GetSigningProfileRequest$, () => exports.GetSigningProfileResponse$
|
|
571
|
+
];
|
|
572
|
+
exports.ListProfilePermissions$ = [9, n0, _LPP,
|
|
573
|
+
{ [_h]: ["GET", "/signing-profiles/{profileName}/permissions", 200] }, () => exports.ListProfilePermissionsRequest$, () => exports.ListProfilePermissionsResponse$
|
|
574
|
+
];
|
|
575
|
+
exports.ListSigningJobs$ = [9, n0, _LSJ,
|
|
576
|
+
{ [_h]: ["GET", "/signing-jobs", 200] }, () => exports.ListSigningJobsRequest$, () => exports.ListSigningJobsResponse$
|
|
577
|
+
];
|
|
578
|
+
exports.ListSigningPlatforms$ = [9, n0, _LSP,
|
|
579
|
+
{ [_h]: ["GET", "/signing-platforms", 200] }, () => exports.ListSigningPlatformsRequest$, () => exports.ListSigningPlatformsResponse$
|
|
580
|
+
];
|
|
581
|
+
exports.ListSigningProfiles$ = [9, n0, _LSPi,
|
|
582
|
+
{ [_h]: ["GET", "/signing-profiles", 200] }, () => exports.ListSigningProfilesRequest$, () => exports.ListSigningProfilesResponse$
|
|
583
|
+
];
|
|
584
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
585
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
586
|
+
];
|
|
587
|
+
exports.PutSigningProfile$ = [9, n0, _PSP,
|
|
588
|
+
{ [_h]: ["PUT", "/signing-profiles/{profileName}", 200] }, () => exports.PutSigningProfileRequest$, () => exports.PutSigningProfileResponse$
|
|
589
|
+
];
|
|
590
|
+
exports.RemoveProfilePermission$ = [9, n0, _RPP,
|
|
591
|
+
{ [_h]: ["DELETE", "/signing-profiles/{profileName}/permissions/{statementId}", 200] }, () => exports.RemoveProfilePermissionRequest$, () => exports.RemoveProfilePermissionResponse$
|
|
592
|
+
];
|
|
593
|
+
exports.RevokeSignature$ = [9, n0, _RS,
|
|
594
|
+
{ [_h]: ["PUT", "/signing-jobs/{jobId}/revoke", 200] }, () => exports.RevokeSignatureRequest$, () => __Unit
|
|
595
|
+
];
|
|
596
|
+
exports.RevokeSigningProfile$ = [9, n0, _RSP,
|
|
597
|
+
{ [_h]: ["PUT", "/signing-profiles/{profileName}/revoke", 200] }, () => exports.RevokeSigningProfileRequest$, () => __Unit
|
|
598
|
+
];
|
|
599
|
+
exports.SignPayload$ = [9, n0, _SPigna,
|
|
600
|
+
{ [_h]: ["POST", "/signing-jobs/with-payload", 200] }, () => exports.SignPayloadRequest$, () => exports.SignPayloadResponse$
|
|
601
|
+
];
|
|
602
|
+
exports.StartSigningJob$ = [9, n0, _SSJ,
|
|
603
|
+
{ [_h]: ["POST", "/signing-jobs", 200] }, () => exports.StartSigningJobRequest$, () => exports.StartSigningJobResponse$
|
|
604
|
+
];
|
|
605
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
606
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
607
|
+
];
|
|
608
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
609
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
610
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultSignerHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2017-08-25",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.signer",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2017-08-25",
|
|
30
32
|
serviceTarget: "WallabyService",
|
|
31
33
|
},
|