@aws-sdk/client-artifact 3.986.0 → 3.988.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 +27 -456
- package/dist-cjs/models/ArtifactServiceException.js +12 -0
- package/dist-cjs/models/errors.js +127 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +291 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +54 -48
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var ArtifactServiceException = require('./models/ArtifactServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,409 +113,6 @@ class ArtifactClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class ArtifactServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, ArtifactServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends ArtifactServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ConflictException extends ArtifactServiceException {
|
|
133
|
-
name = "ConflictException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
resourceId;
|
|
136
|
-
resourceType;
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "ConflictException",
|
|
140
|
-
$fault: "client",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
144
|
-
this.resourceId = opts.resourceId;
|
|
145
|
-
this.resourceType = opts.resourceType;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
class InternalServerException extends ArtifactServiceException {
|
|
149
|
-
name = "InternalServerException";
|
|
150
|
-
$fault = "server";
|
|
151
|
-
$retryable = {};
|
|
152
|
-
retryAfterSeconds;
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "InternalServerException",
|
|
156
|
-
$fault: "server",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
160
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
class ResourceNotFoundException extends ArtifactServiceException {
|
|
164
|
-
name = "ResourceNotFoundException";
|
|
165
|
-
$fault = "client";
|
|
166
|
-
resourceId;
|
|
167
|
-
resourceType;
|
|
168
|
-
constructor(opts) {
|
|
169
|
-
super({
|
|
170
|
-
name: "ResourceNotFoundException",
|
|
171
|
-
$fault: "client",
|
|
172
|
-
...opts,
|
|
173
|
-
});
|
|
174
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
175
|
-
this.resourceId = opts.resourceId;
|
|
176
|
-
this.resourceType = opts.resourceType;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
class ServiceQuotaExceededException extends ArtifactServiceException {
|
|
180
|
-
name = "ServiceQuotaExceededException";
|
|
181
|
-
$fault = "client";
|
|
182
|
-
resourceId;
|
|
183
|
-
resourceType;
|
|
184
|
-
serviceCode;
|
|
185
|
-
quotaCode;
|
|
186
|
-
constructor(opts) {
|
|
187
|
-
super({
|
|
188
|
-
name: "ServiceQuotaExceededException",
|
|
189
|
-
$fault: "client",
|
|
190
|
-
...opts,
|
|
191
|
-
});
|
|
192
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
193
|
-
this.resourceId = opts.resourceId;
|
|
194
|
-
this.resourceType = opts.resourceType;
|
|
195
|
-
this.serviceCode = opts.serviceCode;
|
|
196
|
-
this.quotaCode = opts.quotaCode;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
class ThrottlingException extends ArtifactServiceException {
|
|
200
|
-
name = "ThrottlingException";
|
|
201
|
-
$fault = "client";
|
|
202
|
-
$retryable = {
|
|
203
|
-
throttling: true,
|
|
204
|
-
};
|
|
205
|
-
serviceCode;
|
|
206
|
-
quotaCode;
|
|
207
|
-
retryAfterSeconds;
|
|
208
|
-
constructor(opts) {
|
|
209
|
-
super({
|
|
210
|
-
name: "ThrottlingException",
|
|
211
|
-
$fault: "client",
|
|
212
|
-
...opts,
|
|
213
|
-
});
|
|
214
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
215
|
-
this.serviceCode = opts.serviceCode;
|
|
216
|
-
this.quotaCode = opts.quotaCode;
|
|
217
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
class ValidationException extends ArtifactServiceException {
|
|
221
|
-
name = "ValidationException";
|
|
222
|
-
$fault = "client";
|
|
223
|
-
reason;
|
|
224
|
-
fieldList;
|
|
225
|
-
constructor(opts) {
|
|
226
|
-
super({
|
|
227
|
-
name: "ValidationException",
|
|
228
|
-
$fault: "client",
|
|
229
|
-
...opts,
|
|
230
|
-
});
|
|
231
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
232
|
-
this.reason = opts.reason;
|
|
233
|
-
this.fieldList = opts.fieldList;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
const _ADE = "AccessDeniedException";
|
|
238
|
-
const _AS = "AccountSettings";
|
|
239
|
-
const _CAL = "CustomerAgreementList";
|
|
240
|
-
const _CAS = "CustomerAgreementSummary";
|
|
241
|
-
const _CE = "ConflictException";
|
|
242
|
-
const _GAS = "GetAccountSettings";
|
|
243
|
-
const _GASR = "GetAccountSettingsRequest";
|
|
244
|
-
const _GASRe = "GetAccountSettingsResponse";
|
|
245
|
-
const _GR = "GetReport";
|
|
246
|
-
const _GRM = "GetReportMetadata";
|
|
247
|
-
const _GRMR = "GetReportMetadataRequest";
|
|
248
|
-
const _GRMRe = "GetReportMetadataResponse";
|
|
249
|
-
const _GRR = "GetReportRequest";
|
|
250
|
-
const _GRRe = "GetReportResponse";
|
|
251
|
-
const _GTFR = "GetTermForReport";
|
|
252
|
-
const _GTFRR = "GetTermForReportRequest";
|
|
253
|
-
const _GTFRRe = "GetTermForReportResponse";
|
|
254
|
-
const _ISE = "InternalServerException";
|
|
255
|
-
const _LCA = "ListCustomerAgreements";
|
|
256
|
-
const _LCAR = "ListCustomerAgreementsRequest";
|
|
257
|
-
const _LCARi = "ListCustomerAgreementsResponse";
|
|
258
|
-
const _LR = "ListReports";
|
|
259
|
-
const _LRR = "ListReportsRequest";
|
|
260
|
-
const _LRRi = "ListReportsResponse";
|
|
261
|
-
const _LRV = "ListReportVersions";
|
|
262
|
-
const _LRVR = "ListReportVersionsRequest";
|
|
263
|
-
const _LRVRi = "ListReportVersionsResponse";
|
|
264
|
-
const _PAS = "PutAccountSettings";
|
|
265
|
-
const _PASR = "PutAccountSettingsRequest";
|
|
266
|
-
const _PASRu = "PutAccountSettingsResponse";
|
|
267
|
-
const _RA = "Retry-After";
|
|
268
|
-
const _RD = "ReportDetail";
|
|
269
|
-
const _RL = "ReportsList";
|
|
270
|
-
const _RNFE = "ResourceNotFoundException";
|
|
271
|
-
const _RS = "ReportSummary";
|
|
272
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
273
|
-
const _TE = "ThrottlingException";
|
|
274
|
-
const _VE = "ValidationException";
|
|
275
|
-
const _VEF = "ValidationExceptionField";
|
|
276
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
277
|
-
const _a = "arn";
|
|
278
|
-
const _aA = "agreementArn";
|
|
279
|
-
const _aAI = "awsAccountId";
|
|
280
|
-
const _aS = "accountSettings";
|
|
281
|
-
const _aT = "acceptanceTerms";
|
|
282
|
-
const _aTc = "acceptanceType";
|
|
283
|
-
const _c = "client";
|
|
284
|
-
const _cA = "customerAgreements";
|
|
285
|
-
const _cAr = "createdAt";
|
|
286
|
-
const _cN = "companyName";
|
|
287
|
-
const _ca = "category";
|
|
288
|
-
const _d = "description";
|
|
289
|
-
const _dA = "deletedAt";
|
|
290
|
-
const _dPU = "documentPresignedUrl";
|
|
291
|
-
const _e = "error";
|
|
292
|
-
const _eE = "effectiveEnd";
|
|
293
|
-
const _eS = "effectiveStart";
|
|
294
|
-
const _fL = "fieldList";
|
|
295
|
-
const _h = "http";
|
|
296
|
-
const _hE = "httpError";
|
|
297
|
-
const _hH = "httpHeader";
|
|
298
|
-
const _hQ = "httpQuery";
|
|
299
|
-
const _i = "id";
|
|
300
|
-
const _lMA = "lastModifiedAt";
|
|
301
|
-
const _m = "message";
|
|
302
|
-
const _mR = "maxResults";
|
|
303
|
-
const _n = "name";
|
|
304
|
-
const _nSS = "notificationSubscriptionStatus";
|
|
305
|
-
const _nT = "nextToken";
|
|
306
|
-
const _oA = "organizationArn";
|
|
307
|
-
const _pE = "periodEnd";
|
|
308
|
-
const _pN = "productName";
|
|
309
|
-
const _pS = "periodStart";
|
|
310
|
-
const _qC = "quotaCode";
|
|
311
|
-
const _r = "reports";
|
|
312
|
-
const _rAS = "retryAfterSeconds";
|
|
313
|
-
const _rD = "reportDetails";
|
|
314
|
-
const _rI = "resourceId";
|
|
315
|
-
const _rIe = "reportId";
|
|
316
|
-
const _rT = "resourceType";
|
|
317
|
-
const _rV = "reportVersion";
|
|
318
|
-
const _re = "reason";
|
|
319
|
-
const _s = "state";
|
|
320
|
-
const _sC = "serviceCode";
|
|
321
|
-
const _sM = "statusMessage";
|
|
322
|
-
const _sN = "sequenceNumber";
|
|
323
|
-
const _se = "server";
|
|
324
|
-
const _ser = "series";
|
|
325
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.artifact";
|
|
326
|
-
const _t = "type";
|
|
327
|
-
const _tA = "termArn";
|
|
328
|
-
const _tT = "terminateTerms";
|
|
329
|
-
const _tTe = "termToken";
|
|
330
|
-
const _uS = "uploadState";
|
|
331
|
-
const _v = "version";
|
|
332
|
-
const n0 = "com.amazonaws.artifact";
|
|
333
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
334
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
335
|
-
[_m],
|
|
336
|
-
[0], 1
|
|
337
|
-
];
|
|
338
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
339
|
-
var AccountSettings$ = [3, n0, _AS,
|
|
340
|
-
0,
|
|
341
|
-
[_nSS],
|
|
342
|
-
[0]
|
|
343
|
-
];
|
|
344
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
345
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
346
|
-
[_m, _rI, _rT],
|
|
347
|
-
[0, 0, 0], 3
|
|
348
|
-
];
|
|
349
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
350
|
-
var CustomerAgreementSummary$ = [3, n0, _CAS,
|
|
351
|
-
0,
|
|
352
|
-
[_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _s, _d, _aT, _tT, _t],
|
|
353
|
-
[0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0]
|
|
354
|
-
];
|
|
355
|
-
var GetAccountSettingsRequest$ = [3, n0, _GASR,
|
|
356
|
-
0,
|
|
357
|
-
[],
|
|
358
|
-
[]
|
|
359
|
-
];
|
|
360
|
-
var GetAccountSettingsResponse$ = [3, n0, _GASRe,
|
|
361
|
-
0,
|
|
362
|
-
[_aS],
|
|
363
|
-
[() => AccountSettings$]
|
|
364
|
-
];
|
|
365
|
-
var GetReportMetadataRequest$ = [3, n0, _GRMR,
|
|
366
|
-
0,
|
|
367
|
-
[_rIe, _rV],
|
|
368
|
-
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _rV }]], 1
|
|
369
|
-
];
|
|
370
|
-
var GetReportMetadataResponse$ = [3, n0, _GRMRe,
|
|
371
|
-
0,
|
|
372
|
-
[_rD],
|
|
373
|
-
[() => ReportDetail$]
|
|
374
|
-
];
|
|
375
|
-
var GetReportRequest$ = [3, n0, _GRR,
|
|
376
|
-
0,
|
|
377
|
-
[_rIe, _tTe, _rV],
|
|
378
|
-
[[0, { [_hQ]: _rIe }], [0, { [_hQ]: _tTe }], [1, { [_hQ]: _rV }]], 2
|
|
379
|
-
];
|
|
380
|
-
var GetReportResponse$ = [3, n0, _GRRe,
|
|
381
|
-
0,
|
|
382
|
-
[_dPU],
|
|
383
|
-
[0]
|
|
384
|
-
];
|
|
385
|
-
var GetTermForReportRequest$ = [3, n0, _GTFRR,
|
|
386
|
-
0,
|
|
387
|
-
[_rIe, _rV],
|
|
388
|
-
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _rV }]], 1
|
|
389
|
-
];
|
|
390
|
-
var GetTermForReportResponse$ = [3, n0, _GTFRRe,
|
|
391
|
-
0,
|
|
392
|
-
[_dPU, _tTe],
|
|
393
|
-
[0, 0]
|
|
394
|
-
];
|
|
395
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
396
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
397
|
-
[_m, _rAS],
|
|
398
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
399
|
-
];
|
|
400
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
401
|
-
var ListCustomerAgreementsRequest$ = [3, n0, _LCAR,
|
|
402
|
-
0,
|
|
403
|
-
[_mR, _nT],
|
|
404
|
-
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
405
|
-
];
|
|
406
|
-
var ListCustomerAgreementsResponse$ = [3, n0, _LCARi,
|
|
407
|
-
0,
|
|
408
|
-
[_cA, _nT],
|
|
409
|
-
[() => CustomerAgreementList, 0], 1
|
|
410
|
-
];
|
|
411
|
-
var ListReportsRequest$ = [3, n0, _LRR,
|
|
412
|
-
0,
|
|
413
|
-
[_mR, _nT],
|
|
414
|
-
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
415
|
-
];
|
|
416
|
-
var ListReportsResponse$ = [3, n0, _LRRi,
|
|
417
|
-
0,
|
|
418
|
-
[_r, _nT],
|
|
419
|
-
[() => ReportsList, 0]
|
|
420
|
-
];
|
|
421
|
-
var ListReportVersionsRequest$ = [3, n0, _LRVR,
|
|
422
|
-
0,
|
|
423
|
-
[_rIe, _mR, _nT],
|
|
424
|
-
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
425
|
-
];
|
|
426
|
-
var ListReportVersionsResponse$ = [3, n0, _LRVRi,
|
|
427
|
-
0,
|
|
428
|
-
[_r, _nT],
|
|
429
|
-
[() => ReportsList, 0], 1
|
|
430
|
-
];
|
|
431
|
-
var PutAccountSettingsRequest$ = [3, n0, _PASR,
|
|
432
|
-
0,
|
|
433
|
-
[_nSS],
|
|
434
|
-
[0]
|
|
435
|
-
];
|
|
436
|
-
var PutAccountSettingsResponse$ = [3, n0, _PASRu,
|
|
437
|
-
0,
|
|
438
|
-
[_aS],
|
|
439
|
-
[() => AccountSettings$]
|
|
440
|
-
];
|
|
441
|
-
var ReportDetail$ = [3, n0, _RD,
|
|
442
|
-
0,
|
|
443
|
-
[_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _s, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
|
|
444
|
-
[0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0]
|
|
445
|
-
];
|
|
446
|
-
var ReportSummary$ = [3, n0, _RS,
|
|
447
|
-
0,
|
|
448
|
-
[_i, _n, _s, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
|
|
449
|
-
[0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0]
|
|
450
|
-
];
|
|
451
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
452
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
453
|
-
[_m, _rI, _rT],
|
|
454
|
-
[0, 0, 0], 3
|
|
455
|
-
];
|
|
456
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
457
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
458
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
459
|
-
[_m, _rI, _rT, _sC, _qC],
|
|
460
|
-
[0, 0, 0, 0, 0], 5
|
|
461
|
-
];
|
|
462
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
463
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
464
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
465
|
-
[_m, _sC, _qC, _rAS],
|
|
466
|
-
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
467
|
-
];
|
|
468
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
469
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
470
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
471
|
-
[_m, _re, _fL],
|
|
472
|
-
[0, 0, () => ValidationExceptionFieldList], 2
|
|
473
|
-
];
|
|
474
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
475
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
476
|
-
0,
|
|
477
|
-
[_n, _m],
|
|
478
|
-
[0, 0], 2
|
|
479
|
-
];
|
|
480
|
-
var ArtifactServiceException$ = [-3, _sm, "ArtifactServiceException", 0, [], []];
|
|
481
|
-
schema.TypeRegistry.for(_sm).registerError(ArtifactServiceException$, ArtifactServiceException);
|
|
482
|
-
var CustomerAgreementList = [1, n0, _CAL,
|
|
483
|
-
0, () => CustomerAgreementSummary$
|
|
484
|
-
];
|
|
485
|
-
var ReportsList = [1, n0, _RL,
|
|
486
|
-
0, () => ReportSummary$
|
|
487
|
-
];
|
|
488
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
489
|
-
0, () => ValidationExceptionField$
|
|
490
|
-
];
|
|
491
|
-
var GetAccountSettings$ = [9, n0, _GAS,
|
|
492
|
-
{ [_h]: ["GET", "/v1/account-settings/get", 200] }, () => GetAccountSettingsRequest$, () => GetAccountSettingsResponse$
|
|
493
|
-
];
|
|
494
|
-
var GetReport$ = [9, n0, _GR,
|
|
495
|
-
{ [_h]: ["GET", "/v1/report/get", 200] }, () => GetReportRequest$, () => GetReportResponse$
|
|
496
|
-
];
|
|
497
|
-
var GetReportMetadata$ = [9, n0, _GRM,
|
|
498
|
-
{ [_h]: ["GET", "/v1/report/getMetadata", 200] }, () => GetReportMetadataRequest$, () => GetReportMetadataResponse$
|
|
499
|
-
];
|
|
500
|
-
var GetTermForReport$ = [9, n0, _GTFR,
|
|
501
|
-
{ [_h]: ["GET", "/v1/report/getTermForReport", 200] }, () => GetTermForReportRequest$, () => GetTermForReportResponse$
|
|
502
|
-
];
|
|
503
|
-
var ListCustomerAgreements$ = [9, n0, _LCA,
|
|
504
|
-
{ [_h]: ["GET", "/v1/customer-agreement/list", 200] }, () => ListCustomerAgreementsRequest$, () => ListCustomerAgreementsResponse$
|
|
505
|
-
];
|
|
506
|
-
var ListReports$ = [9, n0, _LR,
|
|
507
|
-
{ [_h]: ["GET", "/v1/report/list", 200] }, () => ListReportsRequest$, () => ListReportsResponse$
|
|
508
|
-
];
|
|
509
|
-
var ListReportVersions$ = [9, n0, _LRV,
|
|
510
|
-
{ [_h]: ["GET", "/v1/report/listVersions", 200] }, () => ListReportVersionsRequest$, () => ListReportVersionsResponse$
|
|
511
|
-
];
|
|
512
|
-
var PutAccountSettings$ = [9, n0, _PAS,
|
|
513
|
-
{ [_h]: ["PUT", "/v1/account-settings/put", 200] }, () => PutAccountSettingsRequest$, () => PutAccountSettingsResponse$
|
|
514
|
-
];
|
|
515
|
-
|
|
516
116
|
class GetAccountSettingsCommand extends smithyClient.Command
|
|
517
117
|
.classBuilder()
|
|
518
118
|
.ep(commonParams)
|
|
@@ -521,7 +121,7 @@ class GetAccountSettingsCommand extends smithyClient.Command
|
|
|
521
121
|
})
|
|
522
122
|
.s("Artifact", "GetAccountSettings", {})
|
|
523
123
|
.n("ArtifactClient", "GetAccountSettingsCommand")
|
|
524
|
-
.sc(GetAccountSettings$)
|
|
124
|
+
.sc(schemas_0.GetAccountSettings$)
|
|
525
125
|
.build() {
|
|
526
126
|
}
|
|
527
127
|
|
|
@@ -533,7 +133,7 @@ class GetReportCommand extends smithyClient.Command
|
|
|
533
133
|
})
|
|
534
134
|
.s("Artifact", "GetReport", {})
|
|
535
135
|
.n("ArtifactClient", "GetReportCommand")
|
|
536
|
-
.sc(GetReport$)
|
|
136
|
+
.sc(schemas_0.GetReport$)
|
|
537
137
|
.build() {
|
|
538
138
|
}
|
|
539
139
|
|
|
@@ -545,7 +145,7 @@ class GetReportMetadataCommand extends smithyClient.Command
|
|
|
545
145
|
})
|
|
546
146
|
.s("Artifact", "GetReportMetadata", {})
|
|
547
147
|
.n("ArtifactClient", "GetReportMetadataCommand")
|
|
548
|
-
.sc(GetReportMetadata$)
|
|
148
|
+
.sc(schemas_0.GetReportMetadata$)
|
|
549
149
|
.build() {
|
|
550
150
|
}
|
|
551
151
|
|
|
@@ -557,7 +157,7 @@ class GetTermForReportCommand extends smithyClient.Command
|
|
|
557
157
|
})
|
|
558
158
|
.s("Artifact", "GetTermForReport", {})
|
|
559
159
|
.n("ArtifactClient", "GetTermForReportCommand")
|
|
560
|
-
.sc(GetTermForReport$)
|
|
160
|
+
.sc(schemas_0.GetTermForReport$)
|
|
561
161
|
.build() {
|
|
562
162
|
}
|
|
563
163
|
|
|
@@ -569,7 +169,7 @@ class ListCustomerAgreementsCommand extends smithyClient.Command
|
|
|
569
169
|
})
|
|
570
170
|
.s("Artifact", "ListCustomerAgreements", {})
|
|
571
171
|
.n("ArtifactClient", "ListCustomerAgreementsCommand")
|
|
572
|
-
.sc(ListCustomerAgreements$)
|
|
172
|
+
.sc(schemas_0.ListCustomerAgreements$)
|
|
573
173
|
.build() {
|
|
574
174
|
}
|
|
575
175
|
|
|
@@ -581,7 +181,7 @@ class ListReportsCommand extends smithyClient.Command
|
|
|
581
181
|
})
|
|
582
182
|
.s("Artifact", "ListReports", {})
|
|
583
183
|
.n("ArtifactClient", "ListReportsCommand")
|
|
584
|
-
.sc(ListReports$)
|
|
184
|
+
.sc(schemas_0.ListReports$)
|
|
585
185
|
.build() {
|
|
586
186
|
}
|
|
587
187
|
|
|
@@ -593,7 +193,7 @@ class ListReportVersionsCommand extends smithyClient.Command
|
|
|
593
193
|
})
|
|
594
194
|
.s("Artifact", "ListReportVersions", {})
|
|
595
195
|
.n("ArtifactClient", "ListReportVersionsCommand")
|
|
596
|
-
.sc(ListReportVersions$)
|
|
196
|
+
.sc(schemas_0.ListReportVersions$)
|
|
597
197
|
.build() {
|
|
598
198
|
}
|
|
599
199
|
|
|
@@ -605,7 +205,7 @@ class PutAccountSettingsCommand extends smithyClient.Command
|
|
|
605
205
|
})
|
|
606
206
|
.s("Artifact", "PutAccountSettings", {})
|
|
607
207
|
.n("ArtifactClient", "PutAccountSettingsCommand")
|
|
608
|
-
.sc(PutAccountSettings$)
|
|
208
|
+
.sc(schemas_0.PutAccountSettings$)
|
|
609
209
|
.build() {
|
|
610
210
|
}
|
|
611
211
|
|
|
@@ -678,68 +278,39 @@ Object.defineProperty(exports, "__Client", {
|
|
|
678
278
|
enumerable: true,
|
|
679
279
|
get: function () { return smithyClient.Client; }
|
|
680
280
|
});
|
|
281
|
+
Object.defineProperty(exports, "ArtifactServiceException", {
|
|
282
|
+
enumerable: true,
|
|
283
|
+
get: function () { return ArtifactServiceException.ArtifactServiceException; }
|
|
284
|
+
});
|
|
681
285
|
exports.AcceptanceType = AcceptanceType;
|
|
682
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
683
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
684
|
-
exports.AccountSettings$ = AccountSettings$;
|
|
685
286
|
exports.AgreementType = AgreementType;
|
|
686
287
|
exports.Artifact = Artifact;
|
|
687
288
|
exports.ArtifactClient = ArtifactClient;
|
|
688
|
-
exports.ArtifactServiceException = ArtifactServiceException;
|
|
689
|
-
exports.ArtifactServiceException$ = ArtifactServiceException$;
|
|
690
|
-
exports.ConflictException = ConflictException;
|
|
691
|
-
exports.ConflictException$ = ConflictException$;
|
|
692
289
|
exports.CustomerAgreementState = CustomerAgreementState;
|
|
693
|
-
exports.CustomerAgreementSummary$ = CustomerAgreementSummary$;
|
|
694
|
-
exports.GetAccountSettings$ = GetAccountSettings$;
|
|
695
290
|
exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
|
|
696
|
-
exports.GetAccountSettingsRequest$ = GetAccountSettingsRequest$;
|
|
697
|
-
exports.GetAccountSettingsResponse$ = GetAccountSettingsResponse$;
|
|
698
|
-
exports.GetReport$ = GetReport$;
|
|
699
291
|
exports.GetReportCommand = GetReportCommand;
|
|
700
|
-
exports.GetReportMetadata$ = GetReportMetadata$;
|
|
701
292
|
exports.GetReportMetadataCommand = GetReportMetadataCommand;
|
|
702
|
-
exports.GetReportMetadataRequest$ = GetReportMetadataRequest$;
|
|
703
|
-
exports.GetReportMetadataResponse$ = GetReportMetadataResponse$;
|
|
704
|
-
exports.GetReportRequest$ = GetReportRequest$;
|
|
705
|
-
exports.GetReportResponse$ = GetReportResponse$;
|
|
706
|
-
exports.GetTermForReport$ = GetTermForReport$;
|
|
707
293
|
exports.GetTermForReportCommand = GetTermForReportCommand;
|
|
708
|
-
exports.GetTermForReportRequest$ = GetTermForReportRequest$;
|
|
709
|
-
exports.GetTermForReportResponse$ = GetTermForReportResponse$;
|
|
710
|
-
exports.InternalServerException = InternalServerException;
|
|
711
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
712
|
-
exports.ListCustomerAgreements$ = ListCustomerAgreements$;
|
|
713
294
|
exports.ListCustomerAgreementsCommand = ListCustomerAgreementsCommand;
|
|
714
|
-
exports.ListCustomerAgreementsRequest$ = ListCustomerAgreementsRequest$;
|
|
715
|
-
exports.ListCustomerAgreementsResponse$ = ListCustomerAgreementsResponse$;
|
|
716
|
-
exports.ListReportVersions$ = ListReportVersions$;
|
|
717
295
|
exports.ListReportVersionsCommand = ListReportVersionsCommand;
|
|
718
|
-
exports.ListReportVersionsRequest$ = ListReportVersionsRequest$;
|
|
719
|
-
exports.ListReportVersionsResponse$ = ListReportVersionsResponse$;
|
|
720
|
-
exports.ListReports$ = ListReports$;
|
|
721
296
|
exports.ListReportsCommand = ListReportsCommand;
|
|
722
|
-
exports.ListReportsRequest$ = ListReportsRequest$;
|
|
723
|
-
exports.ListReportsResponse$ = ListReportsResponse$;
|
|
724
297
|
exports.NotificationSubscriptionStatus = NotificationSubscriptionStatus;
|
|
725
298
|
exports.PublishedState = PublishedState;
|
|
726
|
-
exports.PutAccountSettings$ = PutAccountSettings$;
|
|
727
299
|
exports.PutAccountSettingsCommand = PutAccountSettingsCommand;
|
|
728
|
-
exports.PutAccountSettingsRequest$ = PutAccountSettingsRequest$;
|
|
729
|
-
exports.PutAccountSettingsResponse$ = PutAccountSettingsResponse$;
|
|
730
|
-
exports.ReportDetail$ = ReportDetail$;
|
|
731
|
-
exports.ReportSummary$ = ReportSummary$;
|
|
732
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
733
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
734
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
735
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
736
|
-
exports.ThrottlingException = ThrottlingException;
|
|
737
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
738
300
|
exports.UploadState = UploadState;
|
|
739
|
-
exports.ValidationException = ValidationException;
|
|
740
|
-
exports.ValidationException$ = ValidationException$;
|
|
741
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
742
301
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
743
302
|
exports.paginateListCustomerAgreements = paginateListCustomerAgreements;
|
|
744
303
|
exports.paginateListReportVersions = paginateListReportVersions;
|
|
745
304
|
exports.paginateListReports = paginateListReports;
|
|
305
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
306
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
307
|
+
enumerable: true,
|
|
308
|
+
get: function () { return schemas_0[k]; }
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
Object.keys(errors).forEach(function (k) {
|
|
312
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
313
|
+
enumerable: true,
|
|
314
|
+
get: function () { return errors[k]; }
|
|
315
|
+
});
|
|
316
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArtifactServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class ArtifactServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ArtifactServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ArtifactServiceException = ArtifactServiceException;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const ArtifactServiceException_1 = require("./ArtifactServiceException");
|
|
5
|
+
class AccessDeniedException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
resourceType;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServerException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
$retryable = {};
|
|
39
|
+
retryAfterSeconds;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "InternalServerException",
|
|
43
|
+
$fault: "server",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
47
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.InternalServerException = InternalServerException;
|
|
51
|
+
class ResourceNotFoundException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
52
|
+
name = "ResourceNotFoundException";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
resourceId;
|
|
55
|
+
resourceType;
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "ResourceNotFoundException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
63
|
+
this.resourceId = opts.resourceId;
|
|
64
|
+
this.resourceType = opts.resourceType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
68
|
+
class ServiceQuotaExceededException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
69
|
+
name = "ServiceQuotaExceededException";
|
|
70
|
+
$fault = "client";
|
|
71
|
+
resourceId;
|
|
72
|
+
resourceType;
|
|
73
|
+
serviceCode;
|
|
74
|
+
quotaCode;
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ServiceQuotaExceededException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
82
|
+
this.resourceId = opts.resourceId;
|
|
83
|
+
this.resourceType = opts.resourceType;
|
|
84
|
+
this.serviceCode = opts.serviceCode;
|
|
85
|
+
this.quotaCode = opts.quotaCode;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
89
|
+
class ThrottlingException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
90
|
+
name = "ThrottlingException";
|
|
91
|
+
$fault = "client";
|
|
92
|
+
$retryable = {
|
|
93
|
+
throttling: true,
|
|
94
|
+
};
|
|
95
|
+
serviceCode;
|
|
96
|
+
quotaCode;
|
|
97
|
+
retryAfterSeconds;
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "ThrottlingException",
|
|
101
|
+
$fault: "client",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
105
|
+
this.serviceCode = opts.serviceCode;
|
|
106
|
+
this.quotaCode = opts.quotaCode;
|
|
107
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ThrottlingException = ThrottlingException;
|
|
111
|
+
class ValidationException extends ArtifactServiceException_1.ArtifactServiceException {
|
|
112
|
+
name = "ValidationException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
reason;
|
|
115
|
+
fieldList;
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "ValidationException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
123
|
+
this.reason = opts.reason;
|
|
124
|
+
this.fieldList = opts.fieldList;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.ValidationException = ValidationException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-05-10",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.artifact",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-05-10",
|
|
33
35
|
serviceTarget: "Artifact",
|
|
34
36
|
},
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutAccountSettings$ = exports.ListReportVersions$ = exports.ListReports$ = exports.ListCustomerAgreements$ = exports.GetTermForReport$ = exports.GetReportMetadata$ = exports.GetReport$ = exports.GetAccountSettings$ = exports.ValidationExceptionField$ = exports.ReportSummary$ = exports.ReportDetail$ = exports.PutAccountSettingsResponse$ = exports.PutAccountSettingsRequest$ = exports.ListReportVersionsResponse$ = exports.ListReportVersionsRequest$ = exports.ListReportsResponse$ = exports.ListReportsRequest$ = exports.ListCustomerAgreementsResponse$ = exports.ListCustomerAgreementsRequest$ = exports.GetTermForReportResponse$ = exports.GetTermForReportRequest$ = exports.GetReportResponse$ = exports.GetReportRequest$ = exports.GetReportMetadataResponse$ = exports.GetReportMetadataRequest$ = exports.GetAccountSettingsResponse$ = exports.GetAccountSettingsRequest$ = exports.CustomerAgreementSummary$ = exports.AccountSettings$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ArtifactServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _AS = "AccountSettings";
|
|
6
|
+
const _CAL = "CustomerAgreementList";
|
|
7
|
+
const _CAS = "CustomerAgreementSummary";
|
|
8
|
+
const _CE = "ConflictException";
|
|
9
|
+
const _GAS = "GetAccountSettings";
|
|
10
|
+
const _GASR = "GetAccountSettingsRequest";
|
|
11
|
+
const _GASRe = "GetAccountSettingsResponse";
|
|
12
|
+
const _GR = "GetReport";
|
|
13
|
+
const _GRM = "GetReportMetadata";
|
|
14
|
+
const _GRMR = "GetReportMetadataRequest";
|
|
15
|
+
const _GRMRe = "GetReportMetadataResponse";
|
|
16
|
+
const _GRR = "GetReportRequest";
|
|
17
|
+
const _GRRe = "GetReportResponse";
|
|
18
|
+
const _GTFR = "GetTermForReport";
|
|
19
|
+
const _GTFRR = "GetTermForReportRequest";
|
|
20
|
+
const _GTFRRe = "GetTermForReportResponse";
|
|
21
|
+
const _ISE = "InternalServerException";
|
|
22
|
+
const _LCA = "ListCustomerAgreements";
|
|
23
|
+
const _LCAR = "ListCustomerAgreementsRequest";
|
|
24
|
+
const _LCARi = "ListCustomerAgreementsResponse";
|
|
25
|
+
const _LR = "ListReports";
|
|
26
|
+
const _LRR = "ListReportsRequest";
|
|
27
|
+
const _LRRi = "ListReportsResponse";
|
|
28
|
+
const _LRV = "ListReportVersions";
|
|
29
|
+
const _LRVR = "ListReportVersionsRequest";
|
|
30
|
+
const _LRVRi = "ListReportVersionsResponse";
|
|
31
|
+
const _PAS = "PutAccountSettings";
|
|
32
|
+
const _PASR = "PutAccountSettingsRequest";
|
|
33
|
+
const _PASRu = "PutAccountSettingsResponse";
|
|
34
|
+
const _RA = "Retry-After";
|
|
35
|
+
const _RD = "ReportDetail";
|
|
36
|
+
const _RL = "ReportsList";
|
|
37
|
+
const _RNFE = "ResourceNotFoundException";
|
|
38
|
+
const _RS = "ReportSummary";
|
|
39
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
40
|
+
const _TE = "ThrottlingException";
|
|
41
|
+
const _VE = "ValidationException";
|
|
42
|
+
const _VEF = "ValidationExceptionField";
|
|
43
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
44
|
+
const _a = "arn";
|
|
45
|
+
const _aA = "agreementArn";
|
|
46
|
+
const _aAI = "awsAccountId";
|
|
47
|
+
const _aS = "accountSettings";
|
|
48
|
+
const _aT = "acceptanceTerms";
|
|
49
|
+
const _aTc = "acceptanceType";
|
|
50
|
+
const _c = "client";
|
|
51
|
+
const _cA = "customerAgreements";
|
|
52
|
+
const _cAr = "createdAt";
|
|
53
|
+
const _cN = "companyName";
|
|
54
|
+
const _ca = "category";
|
|
55
|
+
const _d = "description";
|
|
56
|
+
const _dA = "deletedAt";
|
|
57
|
+
const _dPU = "documentPresignedUrl";
|
|
58
|
+
const _e = "error";
|
|
59
|
+
const _eE = "effectiveEnd";
|
|
60
|
+
const _eS = "effectiveStart";
|
|
61
|
+
const _fL = "fieldList";
|
|
62
|
+
const _h = "http";
|
|
63
|
+
const _hE = "httpError";
|
|
64
|
+
const _hH = "httpHeader";
|
|
65
|
+
const _hQ = "httpQuery";
|
|
66
|
+
const _i = "id";
|
|
67
|
+
const _lMA = "lastModifiedAt";
|
|
68
|
+
const _m = "message";
|
|
69
|
+
const _mR = "maxResults";
|
|
70
|
+
const _n = "name";
|
|
71
|
+
const _nSS = "notificationSubscriptionStatus";
|
|
72
|
+
const _nT = "nextToken";
|
|
73
|
+
const _oA = "organizationArn";
|
|
74
|
+
const _pE = "periodEnd";
|
|
75
|
+
const _pN = "productName";
|
|
76
|
+
const _pS = "periodStart";
|
|
77
|
+
const _qC = "quotaCode";
|
|
78
|
+
const _r = "reason";
|
|
79
|
+
const _rAS = "retryAfterSeconds";
|
|
80
|
+
const _rD = "reportDetails";
|
|
81
|
+
const _rI = "resourceId";
|
|
82
|
+
const _rIe = "reportId";
|
|
83
|
+
const _rT = "resourceType";
|
|
84
|
+
const _rV = "reportVersion";
|
|
85
|
+
const _re = "reports";
|
|
86
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.artifact";
|
|
87
|
+
const _sC = "serviceCode";
|
|
88
|
+
const _sM = "statusMessage";
|
|
89
|
+
const _sN = "sequenceNumber";
|
|
90
|
+
const _se = "server";
|
|
91
|
+
const _ser = "series";
|
|
92
|
+
const _st = "state";
|
|
93
|
+
const _t = "type";
|
|
94
|
+
const _tA = "termArn";
|
|
95
|
+
const _tT = "terminateTerms";
|
|
96
|
+
const _tTe = "termToken";
|
|
97
|
+
const _uS = "uploadState";
|
|
98
|
+
const _v = "version";
|
|
99
|
+
const n0 = "com.amazonaws.artifact";
|
|
100
|
+
const schema_1 = require("@smithy/core/schema");
|
|
101
|
+
const ArtifactServiceException_1 = require("../models/ArtifactServiceException");
|
|
102
|
+
const errors_1 = require("../models/errors");
|
|
103
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
104
|
+
exports.ArtifactServiceException$ = [-3, _s, "ArtifactServiceException", 0, [], []];
|
|
105
|
+
_s_registry.registerError(exports.ArtifactServiceException$, ArtifactServiceException_1.ArtifactServiceException);
|
|
106
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
107
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
108
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
109
|
+
[_m],
|
|
110
|
+
[0], 1
|
|
111
|
+
];
|
|
112
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
113
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
114
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
115
|
+
[_m, _rI, _rT],
|
|
116
|
+
[0, 0, 0], 3
|
|
117
|
+
];
|
|
118
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
119
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
120
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
121
|
+
[_m, _rAS],
|
|
122
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
123
|
+
];
|
|
124
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
125
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
126
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
127
|
+
[_m, _rI, _rT],
|
|
128
|
+
[0, 0, 0], 3
|
|
129
|
+
];
|
|
130
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
131
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
132
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
133
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
134
|
+
[0, 0, 0, 0, 0], 5
|
|
135
|
+
];
|
|
136
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
137
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
138
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
139
|
+
[_m, _sC, _qC, _rAS],
|
|
140
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
141
|
+
];
|
|
142
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
143
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
144
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
145
|
+
[_m, _r, _fL],
|
|
146
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
147
|
+
];
|
|
148
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
149
|
+
exports.errorTypeRegistries = [
|
|
150
|
+
_s_registry,
|
|
151
|
+
n0_registry,
|
|
152
|
+
];
|
|
153
|
+
exports.AccountSettings$ = [3, n0, _AS,
|
|
154
|
+
0,
|
|
155
|
+
[_nSS],
|
|
156
|
+
[0]
|
|
157
|
+
];
|
|
158
|
+
exports.CustomerAgreementSummary$ = [3, n0, _CAS,
|
|
159
|
+
0,
|
|
160
|
+
[_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _st, _d, _aT, _tT, _t],
|
|
161
|
+
[0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0]
|
|
162
|
+
];
|
|
163
|
+
exports.GetAccountSettingsRequest$ = [3, n0, _GASR,
|
|
164
|
+
0,
|
|
165
|
+
[],
|
|
166
|
+
[]
|
|
167
|
+
];
|
|
168
|
+
exports.GetAccountSettingsResponse$ = [3, n0, _GASRe,
|
|
169
|
+
0,
|
|
170
|
+
[_aS],
|
|
171
|
+
[() => exports.AccountSettings$]
|
|
172
|
+
];
|
|
173
|
+
exports.GetReportMetadataRequest$ = [3, n0, _GRMR,
|
|
174
|
+
0,
|
|
175
|
+
[_rIe, _rV],
|
|
176
|
+
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _rV }]], 1
|
|
177
|
+
];
|
|
178
|
+
exports.GetReportMetadataResponse$ = [3, n0, _GRMRe,
|
|
179
|
+
0,
|
|
180
|
+
[_rD],
|
|
181
|
+
[() => exports.ReportDetail$]
|
|
182
|
+
];
|
|
183
|
+
exports.GetReportRequest$ = [3, n0, _GRR,
|
|
184
|
+
0,
|
|
185
|
+
[_rIe, _tTe, _rV],
|
|
186
|
+
[[0, { [_hQ]: _rIe }], [0, { [_hQ]: _tTe }], [1, { [_hQ]: _rV }]], 2
|
|
187
|
+
];
|
|
188
|
+
exports.GetReportResponse$ = [3, n0, _GRRe,
|
|
189
|
+
0,
|
|
190
|
+
[_dPU],
|
|
191
|
+
[0]
|
|
192
|
+
];
|
|
193
|
+
exports.GetTermForReportRequest$ = [3, n0, _GTFRR,
|
|
194
|
+
0,
|
|
195
|
+
[_rIe, _rV],
|
|
196
|
+
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _rV }]], 1
|
|
197
|
+
];
|
|
198
|
+
exports.GetTermForReportResponse$ = [3, n0, _GTFRRe,
|
|
199
|
+
0,
|
|
200
|
+
[_dPU, _tTe],
|
|
201
|
+
[0, 0]
|
|
202
|
+
];
|
|
203
|
+
exports.ListCustomerAgreementsRequest$ = [3, n0, _LCAR,
|
|
204
|
+
0,
|
|
205
|
+
[_mR, _nT],
|
|
206
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
207
|
+
];
|
|
208
|
+
exports.ListCustomerAgreementsResponse$ = [3, n0, _LCARi,
|
|
209
|
+
0,
|
|
210
|
+
[_cA, _nT],
|
|
211
|
+
[() => CustomerAgreementList, 0], 1
|
|
212
|
+
];
|
|
213
|
+
exports.ListReportsRequest$ = [3, n0, _LRR,
|
|
214
|
+
0,
|
|
215
|
+
[_mR, _nT],
|
|
216
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
217
|
+
];
|
|
218
|
+
exports.ListReportsResponse$ = [3, n0, _LRRi,
|
|
219
|
+
0,
|
|
220
|
+
[_re, _nT],
|
|
221
|
+
[() => ReportsList, 0]
|
|
222
|
+
];
|
|
223
|
+
exports.ListReportVersionsRequest$ = [3, n0, _LRVR,
|
|
224
|
+
0,
|
|
225
|
+
[_rIe, _mR, _nT],
|
|
226
|
+
[[0, { [_hQ]: _rIe }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
227
|
+
];
|
|
228
|
+
exports.ListReportVersionsResponse$ = [3, n0, _LRVRi,
|
|
229
|
+
0,
|
|
230
|
+
[_re, _nT],
|
|
231
|
+
[() => ReportsList, 0], 1
|
|
232
|
+
];
|
|
233
|
+
exports.PutAccountSettingsRequest$ = [3, n0, _PASR,
|
|
234
|
+
0,
|
|
235
|
+
[_nSS],
|
|
236
|
+
[0]
|
|
237
|
+
];
|
|
238
|
+
exports.PutAccountSettingsResponse$ = [3, n0, _PASRu,
|
|
239
|
+
0,
|
|
240
|
+
[_aS],
|
|
241
|
+
[() => exports.AccountSettings$]
|
|
242
|
+
];
|
|
243
|
+
exports.ReportDetail$ = [3, n0, _RD,
|
|
244
|
+
0,
|
|
245
|
+
[_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _st, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
|
|
246
|
+
[0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0]
|
|
247
|
+
];
|
|
248
|
+
exports.ReportSummary$ = [3, n0, _RS,
|
|
249
|
+
0,
|
|
250
|
+
[_i, _n, _st, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
|
|
251
|
+
[0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0]
|
|
252
|
+
];
|
|
253
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
254
|
+
0,
|
|
255
|
+
[_n, _m],
|
|
256
|
+
[0, 0], 2
|
|
257
|
+
];
|
|
258
|
+
var AgreementTerms = 64 | 0;
|
|
259
|
+
var CustomerAgreementList = [1, n0, _CAL,
|
|
260
|
+
0, () => exports.CustomerAgreementSummary$
|
|
261
|
+
];
|
|
262
|
+
var ReportsList = [1, n0, _RL,
|
|
263
|
+
0, () => exports.ReportSummary$
|
|
264
|
+
];
|
|
265
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
266
|
+
0, () => exports.ValidationExceptionField$
|
|
267
|
+
];
|
|
268
|
+
exports.GetAccountSettings$ = [9, n0, _GAS,
|
|
269
|
+
{ [_h]: ["GET", "/v1/account-settings/get", 200] }, () => exports.GetAccountSettingsRequest$, () => exports.GetAccountSettingsResponse$
|
|
270
|
+
];
|
|
271
|
+
exports.GetReport$ = [9, n0, _GR,
|
|
272
|
+
{ [_h]: ["GET", "/v1/report/get", 200] }, () => exports.GetReportRequest$, () => exports.GetReportResponse$
|
|
273
|
+
];
|
|
274
|
+
exports.GetReportMetadata$ = [9, n0, _GRM,
|
|
275
|
+
{ [_h]: ["GET", "/v1/report/getMetadata", 200] }, () => exports.GetReportMetadataRequest$, () => exports.GetReportMetadataResponse$
|
|
276
|
+
];
|
|
277
|
+
exports.GetTermForReport$ = [9, n0, _GTFR,
|
|
278
|
+
{ [_h]: ["GET", "/v1/report/getTermForReport", 200] }, () => exports.GetTermForReportRequest$, () => exports.GetTermForReportResponse$
|
|
279
|
+
];
|
|
280
|
+
exports.ListCustomerAgreements$ = [9, n0, _LCA,
|
|
281
|
+
{ [_h]: ["GET", "/v1/customer-agreement/list", 200] }, () => exports.ListCustomerAgreementsRequest$, () => exports.ListCustomerAgreementsResponse$
|
|
282
|
+
];
|
|
283
|
+
exports.ListReports$ = [9, n0, _LR,
|
|
284
|
+
{ [_h]: ["GET", "/v1/report/list", 200] }, () => exports.ListReportsRequest$, () => exports.ListReportsResponse$
|
|
285
|
+
];
|
|
286
|
+
exports.ListReportVersions$ = [9, n0, _LRV,
|
|
287
|
+
{ [_h]: ["GET", "/v1/report/listVersions", 200] }, () => exports.ListReportVersionsRequest$, () => exports.ListReportVersionsResponse$
|
|
288
|
+
];
|
|
289
|
+
exports.PutAccountSettings$ = [9, n0, _PAS,
|
|
290
|
+
{ [_h]: ["PUT", "/v1/account-settings/put", 200] }, () => exports.PutAccountSettingsRequest$, () => exports.PutAccountSettingsResponse$
|
|
291
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultArtifactHttpAuthSchemeProvider } 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: "2018-05-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.artifact",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-05-10",
|
|
30
32
|
serviceTarget: "Artifact",
|
|
31
33
|
},
|
|
@@ -72,21 +72,21 @@ const _pE = "periodEnd";
|
|
|
72
72
|
const _pN = "productName";
|
|
73
73
|
const _pS = "periodStart";
|
|
74
74
|
const _qC = "quotaCode";
|
|
75
|
-
const _r = "
|
|
75
|
+
const _r = "reason";
|
|
76
76
|
const _rAS = "retryAfterSeconds";
|
|
77
77
|
const _rD = "reportDetails";
|
|
78
78
|
const _rI = "resourceId";
|
|
79
79
|
const _rIe = "reportId";
|
|
80
80
|
const _rT = "resourceType";
|
|
81
81
|
const _rV = "reportVersion";
|
|
82
|
-
const _re = "
|
|
83
|
-
const _s = "
|
|
82
|
+
const _re = "reports";
|
|
83
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.artifact";
|
|
84
84
|
const _sC = "serviceCode";
|
|
85
85
|
const _sM = "statusMessage";
|
|
86
86
|
const _sN = "sequenceNumber";
|
|
87
87
|
const _se = "server";
|
|
88
88
|
const _ser = "series";
|
|
89
|
-
const
|
|
89
|
+
const _st = "state";
|
|
90
90
|
const _t = "type";
|
|
91
91
|
const _tA = "termArn";
|
|
92
92
|
const _tT = "terminateTerms";
|
|
@@ -97,26 +97,64 @@ const n0 = "com.amazonaws.artifact";
|
|
|
97
97
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
98
98
|
import { ArtifactServiceException } from "../models/ArtifactServiceException";
|
|
99
99
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
100
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
101
|
+
export var ArtifactServiceException$ = [-3, _s, "ArtifactServiceException", 0, [], []];
|
|
102
|
+
_s_registry.registerError(ArtifactServiceException$, ArtifactServiceException);
|
|
103
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
100
104
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
101
105
|
{ [_e]: _c, [_hE]: 403 },
|
|
102
106
|
[_m],
|
|
103
107
|
[0], 1
|
|
104
108
|
];
|
|
105
|
-
|
|
106
|
-
export var AccountSettings$ = [3, n0, _AS,
|
|
107
|
-
0,
|
|
108
|
-
[_nSS],
|
|
109
|
-
[0]
|
|
110
|
-
];
|
|
109
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
111
110
|
export var ConflictException$ = [-3, n0, _CE,
|
|
112
111
|
{ [_e]: _c, [_hE]: 409 },
|
|
113
112
|
[_m, _rI, _rT],
|
|
114
113
|
[0, 0, 0], 3
|
|
115
114
|
];
|
|
116
|
-
|
|
115
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
116
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
117
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
118
|
+
[_m, _rAS],
|
|
119
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
120
|
+
];
|
|
121
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
122
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
123
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
124
|
+
[_m, _rI, _rT],
|
|
125
|
+
[0, 0, 0], 3
|
|
126
|
+
];
|
|
127
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
128
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
129
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
130
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
131
|
+
[0, 0, 0, 0, 0], 5
|
|
132
|
+
];
|
|
133
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
134
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
135
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
136
|
+
[_m, _sC, _qC, _rAS],
|
|
137
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
138
|
+
];
|
|
139
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
140
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
141
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
142
|
+
[_m, _r, _fL],
|
|
143
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
144
|
+
];
|
|
145
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
146
|
+
export const errorTypeRegistries = [
|
|
147
|
+
_s_registry,
|
|
148
|
+
n0_registry,
|
|
149
|
+
];
|
|
150
|
+
export var AccountSettings$ = [3, n0, _AS,
|
|
151
|
+
0,
|
|
152
|
+
[_nSS],
|
|
153
|
+
[0]
|
|
154
|
+
];
|
|
117
155
|
export var CustomerAgreementSummary$ = [3, n0, _CAS,
|
|
118
156
|
0,
|
|
119
|
-
[_n, _a, _i, _aA, _aAI, _oA, _eS, _eE,
|
|
157
|
+
[_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _st, _d, _aT, _tT, _t],
|
|
120
158
|
[0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0]
|
|
121
159
|
];
|
|
122
160
|
export var GetAccountSettingsRequest$ = [3, n0, _GASR,
|
|
@@ -159,12 +197,6 @@ export var GetTermForReportResponse$ = [3, n0, _GTFRRe,
|
|
|
159
197
|
[_dPU, _tTe],
|
|
160
198
|
[0, 0]
|
|
161
199
|
];
|
|
162
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
163
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
164
|
-
[_m, _rAS],
|
|
165
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
166
|
-
];
|
|
167
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
168
200
|
export var ListCustomerAgreementsRequest$ = [3, n0, _LCAR,
|
|
169
201
|
0,
|
|
170
202
|
[_mR, _nT],
|
|
@@ -182,7 +214,7 @@ export var ListReportsRequest$ = [3, n0, _LRR,
|
|
|
182
214
|
];
|
|
183
215
|
export var ListReportsResponse$ = [3, n0, _LRRi,
|
|
184
216
|
0,
|
|
185
|
-
[
|
|
217
|
+
[_re, _nT],
|
|
186
218
|
[() => ReportsList, 0]
|
|
187
219
|
];
|
|
188
220
|
export var ListReportVersionsRequest$ = [3, n0, _LRVR,
|
|
@@ -192,7 +224,7 @@ export var ListReportVersionsRequest$ = [3, n0, _LRVR,
|
|
|
192
224
|
];
|
|
193
225
|
export var ListReportVersionsResponse$ = [3, n0, _LRVRi,
|
|
194
226
|
0,
|
|
195
|
-
[
|
|
227
|
+
[_re, _nT],
|
|
196
228
|
[() => ReportsList, 0], 1
|
|
197
229
|
];
|
|
198
230
|
export var PutAccountSettingsRequest$ = [3, n0, _PASR,
|
|
@@ -207,45 +239,19 @@ export var PutAccountSettingsResponse$ = [3, n0, _PASRu,
|
|
|
207
239
|
];
|
|
208
240
|
export var ReportDetail$ = [3, n0, _RD,
|
|
209
241
|
0,
|
|
210
|
-
[_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA,
|
|
242
|
+
[_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _st, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
|
|
211
243
|
[0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0]
|
|
212
244
|
];
|
|
213
245
|
export var ReportSummary$ = [3, n0, _RS,
|
|
214
246
|
0,
|
|
215
|
-
[_i, _n,
|
|
247
|
+
[_i, _n, _st, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
|
|
216
248
|
[0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0]
|
|
217
249
|
];
|
|
218
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
219
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
220
|
-
[_m, _rI, _rT],
|
|
221
|
-
[0, 0, 0], 3
|
|
222
|
-
];
|
|
223
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
224
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
225
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
226
|
-
[_m, _rI, _rT, _sC, _qC],
|
|
227
|
-
[0, 0, 0, 0, 0], 5
|
|
228
|
-
];
|
|
229
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
230
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
231
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
232
|
-
[_m, _sC, _qC, _rAS],
|
|
233
|
-
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
234
|
-
];
|
|
235
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
236
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
237
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
238
|
-
[_m, _re, _fL],
|
|
239
|
-
[0, 0, () => ValidationExceptionFieldList], 2
|
|
240
|
-
];
|
|
241
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
242
250
|
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
243
251
|
0,
|
|
244
252
|
[_n, _m],
|
|
245
253
|
[0, 0], 2
|
|
246
254
|
];
|
|
247
|
-
export var ArtifactServiceException$ = [-3, _sm, "ArtifactServiceException", 0, [], []];
|
|
248
|
-
TypeRegistry.for(_sm).registerError(ArtifactServiceException$, ArtifactServiceException);
|
|
249
255
|
var AgreementTerms = 64 | 0;
|
|
250
256
|
var CustomerAgreementList = [1, n0, _CAL,
|
|
251
257
|
0, () => CustomerAgreementSummary$
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ArtifactServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
|
-
export declare var AccountSettings$: StaticStructureSchema;
|
|
4
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
10
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
11
|
+
/**
|
|
12
|
+
* TypeRegistry instances containing modeled errors.
|
|
13
|
+
* @internal
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
17
|
+
export declare var AccountSettings$: StaticStructureSchema;
|
|
5
18
|
export declare var CustomerAgreementSummary$: StaticStructureSchema;
|
|
6
19
|
export declare var GetAccountSettingsRequest$: StaticStructureSchema;
|
|
7
20
|
export declare var GetAccountSettingsResponse$: StaticStructureSchema;
|
|
@@ -11,7 +24,6 @@ export declare var GetReportRequest$: StaticStructureSchema;
|
|
|
11
24
|
export declare var GetReportResponse$: StaticStructureSchema;
|
|
12
25
|
export declare var GetTermForReportRequest$: StaticStructureSchema;
|
|
13
26
|
export declare var GetTermForReportResponse$: StaticStructureSchema;
|
|
14
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
15
27
|
export declare var ListCustomerAgreementsRequest$: StaticStructureSchema;
|
|
16
28
|
export declare var ListCustomerAgreementsResponse$: StaticStructureSchema;
|
|
17
29
|
export declare var ListReportsRequest$: StaticStructureSchema;
|
|
@@ -22,12 +34,7 @@ export declare var PutAccountSettingsRequest$: StaticStructureSchema;
|
|
|
22
34
|
export declare var PutAccountSettingsResponse$: StaticStructureSchema;
|
|
23
35
|
export declare var ReportDetail$: StaticStructureSchema;
|
|
24
36
|
export declare var ReportSummary$: StaticStructureSchema;
|
|
25
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
26
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
27
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
28
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
29
37
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
30
|
-
export declare var ArtifactServiceException$: StaticErrorSchema;
|
|
31
38
|
export declare var GetAccountSettings$: StaticOperationSchema;
|
|
32
39
|
export declare var GetReport$: StaticOperationSchema;
|
|
33
40
|
export declare var GetReportMetadata$: StaticOperationSchema;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ArtifactServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
7
|
-
export declare var AccountSettings$: StaticStructureSchema;
|
|
8
9
|
export declare var ConflictException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
14
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
16
|
+
export declare var AccountSettings$: StaticStructureSchema;
|
|
9
17
|
export declare var CustomerAgreementSummary$: StaticStructureSchema;
|
|
10
18
|
export declare var GetAccountSettingsRequest$: StaticStructureSchema;
|
|
11
19
|
export declare var GetAccountSettingsResponse$: StaticStructureSchema;
|
|
@@ -15,7 +23,6 @@ export declare var GetReportRequest$: StaticStructureSchema;
|
|
|
15
23
|
export declare var GetReportResponse$: StaticStructureSchema;
|
|
16
24
|
export declare var GetTermForReportRequest$: StaticStructureSchema;
|
|
17
25
|
export declare var GetTermForReportResponse$: StaticStructureSchema;
|
|
18
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
19
26
|
export declare var ListCustomerAgreementsRequest$: StaticStructureSchema;
|
|
20
27
|
export declare var ListCustomerAgreementsResponse$: StaticStructureSchema;
|
|
21
28
|
export declare var ListReportsRequest$: StaticStructureSchema;
|
|
@@ -26,12 +33,7 @@ export declare var PutAccountSettingsRequest$: StaticStructureSchema;
|
|
|
26
33
|
export declare var PutAccountSettingsResponse$: StaticStructureSchema;
|
|
27
34
|
export declare var ReportDetail$: StaticStructureSchema;
|
|
28
35
|
export declare var ReportSummary$: StaticStructureSchema;
|
|
29
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
30
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
31
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
32
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
33
36
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
34
|
-
export declare var ArtifactServiceException$: StaticErrorSchema;
|
|
35
37
|
export declare var GetAccountSettings$: StaticOperationSchema;
|
|
36
38
|
export declare var GetReport$: StaticOperationSchema;
|
|
37
39
|
export declare var GetReportMetadata$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-artifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Artifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-artifact",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|