@aws-sdk/client-artifact 3.952.0 → 3.954.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 CHANGED
@@ -110,14 +110,14 @@ class ArtifactClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let ArtifactServiceException$1 = class ArtifactServiceException extends smithyClient.ServiceException {
113
+ class ArtifactServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ArtifactServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends ArtifactServiceException$1 {
120
+ class AccessDeniedException extends ArtifactServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends ArtifactServic
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- };
132
- let ConflictException$1 = class ConflictException extends ArtifactServiceException$1 {
131
+ }
132
+ class ConflictException extends ArtifactServiceException {
133
133
  name = "ConflictException";
134
134
  $fault = "client";
135
135
  resourceId;
@@ -144,8 +144,8 @@ let ConflictException$1 = class ConflictException extends ArtifactServiceExcepti
144
144
  this.resourceId = opts.resourceId;
145
145
  this.resourceType = opts.resourceType;
146
146
  }
147
- };
148
- let InternalServerException$1 = class InternalServerException extends ArtifactServiceException$1 {
147
+ }
148
+ class InternalServerException extends ArtifactServiceException {
149
149
  name = "InternalServerException";
150
150
  $fault = "server";
151
151
  $retryable = {};
@@ -159,8 +159,8 @@ let InternalServerException$1 = class InternalServerException extends ArtifactSe
159
159
  Object.setPrototypeOf(this, InternalServerException.prototype);
160
160
  this.retryAfterSeconds = opts.retryAfterSeconds;
161
161
  }
162
- };
163
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends ArtifactServiceException$1 {
162
+ }
163
+ class ResourceNotFoundException extends ArtifactServiceException {
164
164
  name = "ResourceNotFoundException";
165
165
  $fault = "client";
166
166
  resourceId;
@@ -175,8 +175,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Artifa
175
175
  this.resourceId = opts.resourceId;
176
176
  this.resourceType = opts.resourceType;
177
177
  }
178
- };
179
- let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ArtifactServiceException$1 {
178
+ }
179
+ class ServiceQuotaExceededException extends ArtifactServiceException {
180
180
  name = "ServiceQuotaExceededException";
181
181
  $fault = "client";
182
182
  resourceId;
@@ -195,8 +195,8 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
195
195
  this.serviceCode = opts.serviceCode;
196
196
  this.quotaCode = opts.quotaCode;
197
197
  }
198
- };
199
- let ThrottlingException$1 = class ThrottlingException extends ArtifactServiceException$1 {
198
+ }
199
+ class ThrottlingException extends ArtifactServiceException {
200
200
  name = "ThrottlingException";
201
201
  $fault = "client";
202
202
  $retryable = {
@@ -216,8 +216,8 @@ let ThrottlingException$1 = class ThrottlingException extends ArtifactServiceExc
216
216
  this.quotaCode = opts.quotaCode;
217
217
  this.retryAfterSeconds = opts.retryAfterSeconds;
218
218
  }
219
- };
220
- let ValidationException$1 = class ValidationException extends ArtifactServiceException$1 {
219
+ }
220
+ class ValidationException extends ArtifactServiceException {
221
221
  name = "ValidationException";
222
222
  $fault = "client";
223
223
  reason;
@@ -232,7 +232,7 @@ let ValidationException$1 = class ValidationException extends ArtifactServiceExc
232
232
  this.reason = opts.reason;
233
233
  this.fieldList = opts.fieldList;
234
234
  }
235
- };
235
+ }
236
236
 
237
237
  const _ADE = "AccessDeniedException";
238
238
  const _AS = "AccountSettings";
@@ -327,12 +327,12 @@ const _tTe = "termToken";
327
327
  const _uS = "uploadState";
328
328
  const _v = "version";
329
329
  const n0 = "com.amazonaws.artifact";
330
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
331
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
332
- var AccountSettings = [3, n0, _AS, 0, [_nSS], [0]];
333
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
334
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
335
- var CustomerAgreementSummary = [
330
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
331
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
332
+ var AccountSettings$ = [3, n0, _AS, 0, [_nSS], [0]];
333
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
334
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
335
+ var CustomerAgreementSummary$ = [
336
336
  3,
337
337
  n0,
338
338
  _CAS,
@@ -340,9 +340,9 @@ var CustomerAgreementSummary = [
340
340
  [_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _s, _d, _aT, _tT, _t],
341
341
  [0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0],
342
342
  ];
343
- var GetAccountSettingsRequest = [3, n0, _GASR, 0, [], []];
344
- var GetAccountSettingsResponse = [3, n0, _GASRe, 0, [_aS], [() => AccountSettings]];
345
- var GetReportMetadataRequest = [
343
+ var GetAccountSettingsRequest$ = [3, n0, _GASR, 0, [], []];
344
+ var GetAccountSettingsResponse$ = [3, n0, _GASRe, 0, [_aS], [() => AccountSettings$]];
345
+ var GetReportMetadataRequest$ = [
346
346
  3,
347
347
  n0,
348
348
  _GRMR,
@@ -353,8 +353,8 @@ var GetReportMetadataRequest = [
353
353
  [1, { [_hQ]: _rV }],
354
354
  ],
355
355
  ];
356
- var GetReportMetadataResponse = [3, n0, _GRMRe, 0, [_rD], [() => ReportDetail]];
357
- var GetReportRequest = [
356
+ var GetReportMetadataResponse$ = [3, n0, _GRMRe, 0, [_rD], [() => ReportDetail$]];
357
+ var GetReportRequest$ = [
358
358
  3,
359
359
  n0,
360
360
  _GRR,
@@ -366,8 +366,8 @@ var GetReportRequest = [
366
366
  [0, { [_hQ]: _tTe }],
367
367
  ],
368
368
  ];
369
- var GetReportResponse = [3, n0, _GRRe, 0, [_dPU], [0]];
370
- var GetTermForReportRequest = [
369
+ var GetReportResponse$ = [3, n0, _GRRe, 0, [_dPU], [0]];
370
+ var GetTermForReportRequest$ = [
371
371
  3,
372
372
  n0,
373
373
  _GTFRR,
@@ -378,8 +378,8 @@ var GetTermForReportRequest = [
378
378
  [1, { [_hQ]: _rV }],
379
379
  ],
380
380
  ];
381
- var GetTermForReportResponse = [3, n0, _GTFRRe, 0, [_dPU, _tTe], [0, 0]];
382
- var InternalServerException = [
381
+ var GetTermForReportResponse$ = [3, n0, _GTFRRe, 0, [_dPU, _tTe], [0, 0]];
382
+ var InternalServerException$ = [
383
383
  -3,
384
384
  n0,
385
385
  _ISE,
@@ -387,8 +387,8 @@ var InternalServerException = [
387
387
  [_m, _rAS],
388
388
  [0, [1, { [_hH]: _RA }]],
389
389
  ];
390
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
391
- var ListCustomerAgreementsRequest = [
390
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
391
+ var ListCustomerAgreementsRequest$ = [
392
392
  3,
393
393
  n0,
394
394
  _LCAR,
@@ -399,7 +399,7 @@ var ListCustomerAgreementsRequest = [
399
399
  [0, { [_hQ]: _nT }],
400
400
  ],
401
401
  ];
402
- var ListCustomerAgreementsResponse = [
402
+ var ListCustomerAgreementsResponse$ = [
403
403
  3,
404
404
  n0,
405
405
  _LCARi,
@@ -407,7 +407,7 @@ var ListCustomerAgreementsResponse = [
407
407
  [_cA, _nT],
408
408
  [() => CustomerAgreementList, 0],
409
409
  ];
410
- var ListReportsRequest = [
410
+ var ListReportsRequest$ = [
411
411
  3,
412
412
  n0,
413
413
  _LRR,
@@ -418,10 +418,10 @@ var ListReportsRequest = [
418
418
  [0, { [_hQ]: _nT }],
419
419
  ],
420
420
  ];
421
- var ListReportsResponse = [3, n0, _LRRi, 0, [_r, _nT], [() => ReportsList, 0]];
422
- var PutAccountSettingsRequest = [3, n0, _PASR, 0, [_nSS], [0]];
423
- var PutAccountSettingsResponse = [3, n0, _PASRu, 0, [_aS], [() => AccountSettings]];
424
- var ReportDetail = [
421
+ var ListReportsResponse$ = [3, n0, _LRRi, 0, [_r, _nT], [() => ReportsList, 0]];
422
+ var PutAccountSettingsRequest$ = [3, n0, _PASR, 0, [_nSS], [0]];
423
+ var PutAccountSettingsResponse$ = [3, n0, _PASRu, 0, [_aS], [() => AccountSettings$]];
424
+ var ReportDetail$ = [
425
425
  3,
426
426
  n0,
427
427
  _RD,
@@ -429,7 +429,7 @@ var ReportDetail = [
429
429
  [_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _s, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
430
430
  [0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0],
431
431
  ];
432
- var ReportSummary = [
432
+ var ReportSummary$ = [
433
433
  3,
434
434
  n0,
435
435
  _RS,
@@ -437,7 +437,7 @@ var ReportSummary = [
437
437
  [_i, _n, _s, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
438
438
  [0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0],
439
439
  ];
440
- var ResourceNotFoundException = [
440
+ var ResourceNotFoundException$ = [
441
441
  -3,
442
442
  n0,
443
443
  _RNFE,
@@ -445,8 +445,8 @@ var ResourceNotFoundException = [
445
445
  [_m, _rI, _rT],
446
446
  [0, 0, 0],
447
447
  ];
448
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
449
- var ServiceQuotaExceededException = [
448
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
449
+ var ServiceQuotaExceededException$ = [
450
450
  -3,
451
451
  n0,
452
452
  _SQEE,
@@ -454,8 +454,8 @@ var ServiceQuotaExceededException = [
454
454
  [_m, _rI, _rT, _sC, _qC],
455
455
  [0, 0, 0, 0, 0],
456
456
  ];
457
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
458
- var ThrottlingException = [
457
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
458
+ var ThrottlingException$ = [
459
459
  -3,
460
460
  n0,
461
461
  _TE,
@@ -463,8 +463,8 @@ var ThrottlingException = [
463
463
  [_m, _sC, _qC, _rAS],
464
464
  [0, 0, 0, [1, { [_hH]: _RA }]],
465
465
  ];
466
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
467
- var ValidationException = [
466
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
467
+ var ValidationException$ = [
468
468
  -3,
469
469
  n0,
470
470
  _VE,
@@ -472,68 +472,68 @@ var ValidationException = [
472
472
  [_m, _re, _fL],
473
473
  [0, 0, () => ValidationExceptionFieldList],
474
474
  ];
475
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
476
- var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
477
- var ArtifactServiceException = [-3, _sm, "ArtifactServiceException", 0, [], []];
478
- schema.TypeRegistry.for(_sm).registerError(ArtifactServiceException, ArtifactServiceException$1);
479
- var CustomerAgreementList = [1, n0, _CAL, 0, () => CustomerAgreementSummary];
480
- var ReportsList = [1, n0, _RL, 0, () => ReportSummary];
481
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
482
- var GetAccountSettings = [
475
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
476
+ var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
477
+ var ArtifactServiceException$ = [-3, _sm, "ArtifactServiceException", 0, [], []];
478
+ schema.TypeRegistry.for(_sm).registerError(ArtifactServiceException$, ArtifactServiceException);
479
+ var CustomerAgreementList = [1, n0, _CAL, 0, () => CustomerAgreementSummary$];
480
+ var ReportsList = [1, n0, _RL, 0, () => ReportSummary$];
481
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
482
+ var GetAccountSettings$ = [
483
483
  9,
484
484
  n0,
485
485
  _GAS,
486
486
  { [_h]: ["GET", "/v1/account-settings/get", 200] },
487
- () => GetAccountSettingsRequest,
488
- () => GetAccountSettingsResponse,
487
+ () => GetAccountSettingsRequest$,
488
+ () => GetAccountSettingsResponse$,
489
489
  ];
490
- var GetReport = [
490
+ var GetReport$ = [
491
491
  9,
492
492
  n0,
493
493
  _GR,
494
494
  { [_h]: ["GET", "/v1/report/get", 200] },
495
- () => GetReportRequest,
496
- () => GetReportResponse,
495
+ () => GetReportRequest$,
496
+ () => GetReportResponse$,
497
497
  ];
498
- var GetReportMetadata = [
498
+ var GetReportMetadata$ = [
499
499
  9,
500
500
  n0,
501
501
  _GRM,
502
502
  { [_h]: ["GET", "/v1/report/getMetadata", 200] },
503
- () => GetReportMetadataRequest,
504
- () => GetReportMetadataResponse,
503
+ () => GetReportMetadataRequest$,
504
+ () => GetReportMetadataResponse$,
505
505
  ];
506
- var GetTermForReport = [
506
+ var GetTermForReport$ = [
507
507
  9,
508
508
  n0,
509
509
  _GTFR,
510
510
  { [_h]: ["GET", "/v1/report/getTermForReport", 200] },
511
- () => GetTermForReportRequest,
512
- () => GetTermForReportResponse,
511
+ () => GetTermForReportRequest$,
512
+ () => GetTermForReportResponse$,
513
513
  ];
514
- var ListCustomerAgreements = [
514
+ var ListCustomerAgreements$ = [
515
515
  9,
516
516
  n0,
517
517
  _LCA,
518
518
  { [_h]: ["GET", "/v1/customer-agreement/list", 200] },
519
- () => ListCustomerAgreementsRequest,
520
- () => ListCustomerAgreementsResponse,
519
+ () => ListCustomerAgreementsRequest$,
520
+ () => ListCustomerAgreementsResponse$,
521
521
  ];
522
- var ListReports = [
522
+ var ListReports$ = [
523
523
  9,
524
524
  n0,
525
525
  _LR,
526
526
  { [_h]: ["GET", "/v1/report/list", 200] },
527
- () => ListReportsRequest,
528
- () => ListReportsResponse,
527
+ () => ListReportsRequest$,
528
+ () => ListReportsResponse$,
529
529
  ];
530
- var PutAccountSettings = [
530
+ var PutAccountSettings$ = [
531
531
  9,
532
532
  n0,
533
533
  _PAS,
534
534
  { [_h]: ["PUT", "/v1/account-settings/put", 200] },
535
- () => PutAccountSettingsRequest,
536
- () => PutAccountSettingsResponse,
535
+ () => PutAccountSettingsRequest$,
536
+ () => PutAccountSettingsResponse$,
537
537
  ];
538
538
 
539
539
  class GetAccountSettingsCommand extends smithyClient.Command
@@ -544,7 +544,7 @@ class GetAccountSettingsCommand extends smithyClient.Command
544
544
  })
545
545
  .s("Artifact", "GetAccountSettings", {})
546
546
  .n("ArtifactClient", "GetAccountSettingsCommand")
547
- .sc(GetAccountSettings)
547
+ .sc(GetAccountSettings$)
548
548
  .build() {
549
549
  }
550
550
 
@@ -556,7 +556,7 @@ class GetReportCommand extends smithyClient.Command
556
556
  })
557
557
  .s("Artifact", "GetReport", {})
558
558
  .n("ArtifactClient", "GetReportCommand")
559
- .sc(GetReport)
559
+ .sc(GetReport$)
560
560
  .build() {
561
561
  }
562
562
 
@@ -568,7 +568,7 @@ class GetReportMetadataCommand extends smithyClient.Command
568
568
  })
569
569
  .s("Artifact", "GetReportMetadata", {})
570
570
  .n("ArtifactClient", "GetReportMetadataCommand")
571
- .sc(GetReportMetadata)
571
+ .sc(GetReportMetadata$)
572
572
  .build() {
573
573
  }
574
574
 
@@ -580,7 +580,7 @@ class GetTermForReportCommand extends smithyClient.Command
580
580
  })
581
581
  .s("Artifact", "GetTermForReport", {})
582
582
  .n("ArtifactClient", "GetTermForReportCommand")
583
- .sc(GetTermForReport)
583
+ .sc(GetTermForReport$)
584
584
  .build() {
585
585
  }
586
586
 
@@ -592,7 +592,7 @@ class ListCustomerAgreementsCommand extends smithyClient.Command
592
592
  })
593
593
  .s("Artifact", "ListCustomerAgreements", {})
594
594
  .n("ArtifactClient", "ListCustomerAgreementsCommand")
595
- .sc(ListCustomerAgreements)
595
+ .sc(ListCustomerAgreements$)
596
596
  .build() {
597
597
  }
598
598
 
@@ -604,7 +604,7 @@ class ListReportsCommand extends smithyClient.Command
604
604
  })
605
605
  .s("Artifact", "ListReports", {})
606
606
  .n("ArtifactClient", "ListReportsCommand")
607
- .sc(ListReports)
607
+ .sc(ListReports$)
608
608
  .build() {
609
609
  }
610
610
 
@@ -616,7 +616,7 @@ class PutAccountSettingsCommand extends smithyClient.Command
616
616
  })
617
617
  .s("Artifact", "PutAccountSettings", {})
618
618
  .n("ArtifactClient", "PutAccountSettingsCommand")
619
- .sc(PutAccountSettings)
619
+ .sc(PutAccountSettings$)
620
620
  .build() {
621
621
  }
622
622
 
@@ -682,28 +682,62 @@ Object.defineProperty(exports, "__Client", {
682
682
  get: function () { return smithyClient.Client; }
683
683
  });
684
684
  exports.AcceptanceType = AcceptanceType;
685
- exports.AccessDeniedException = AccessDeniedException$1;
685
+ exports.AccessDeniedException = AccessDeniedException;
686
+ exports.AccessDeniedException$ = AccessDeniedException$;
687
+ exports.AccountSettings$ = AccountSettings$;
686
688
  exports.AgreementType = AgreementType;
687
689
  exports.Artifact = Artifact;
688
690
  exports.ArtifactClient = ArtifactClient;
689
- exports.ArtifactServiceException = ArtifactServiceException$1;
690
- exports.ConflictException = ConflictException$1;
691
+ exports.ArtifactServiceException = ArtifactServiceException;
692
+ exports.ArtifactServiceException$ = ArtifactServiceException$;
693
+ exports.ConflictException = ConflictException;
694
+ exports.ConflictException$ = ConflictException$;
691
695
  exports.CustomerAgreementState = CustomerAgreementState;
696
+ exports.CustomerAgreementSummary$ = CustomerAgreementSummary$;
697
+ exports.GetAccountSettings$ = GetAccountSettings$;
692
698
  exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
699
+ exports.GetAccountSettingsRequest$ = GetAccountSettingsRequest$;
700
+ exports.GetAccountSettingsResponse$ = GetAccountSettingsResponse$;
701
+ exports.GetReport$ = GetReport$;
693
702
  exports.GetReportCommand = GetReportCommand;
703
+ exports.GetReportMetadata$ = GetReportMetadata$;
694
704
  exports.GetReportMetadataCommand = GetReportMetadataCommand;
705
+ exports.GetReportMetadataRequest$ = GetReportMetadataRequest$;
706
+ exports.GetReportMetadataResponse$ = GetReportMetadataResponse$;
707
+ exports.GetReportRequest$ = GetReportRequest$;
708
+ exports.GetReportResponse$ = GetReportResponse$;
709
+ exports.GetTermForReport$ = GetTermForReport$;
695
710
  exports.GetTermForReportCommand = GetTermForReportCommand;
696
- exports.InternalServerException = InternalServerException$1;
711
+ exports.GetTermForReportRequest$ = GetTermForReportRequest$;
712
+ exports.GetTermForReportResponse$ = GetTermForReportResponse$;
713
+ exports.InternalServerException = InternalServerException;
714
+ exports.InternalServerException$ = InternalServerException$;
715
+ exports.ListCustomerAgreements$ = ListCustomerAgreements$;
697
716
  exports.ListCustomerAgreementsCommand = ListCustomerAgreementsCommand;
717
+ exports.ListCustomerAgreementsRequest$ = ListCustomerAgreementsRequest$;
718
+ exports.ListCustomerAgreementsResponse$ = ListCustomerAgreementsResponse$;
719
+ exports.ListReports$ = ListReports$;
698
720
  exports.ListReportsCommand = ListReportsCommand;
721
+ exports.ListReportsRequest$ = ListReportsRequest$;
722
+ exports.ListReportsResponse$ = ListReportsResponse$;
699
723
  exports.NotificationSubscriptionStatus = NotificationSubscriptionStatus;
700
724
  exports.PublishedState = PublishedState;
725
+ exports.PutAccountSettings$ = PutAccountSettings$;
701
726
  exports.PutAccountSettingsCommand = PutAccountSettingsCommand;
702
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
703
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
704
- exports.ThrottlingException = ThrottlingException$1;
727
+ exports.PutAccountSettingsRequest$ = PutAccountSettingsRequest$;
728
+ exports.PutAccountSettingsResponse$ = PutAccountSettingsResponse$;
729
+ exports.ReportDetail$ = ReportDetail$;
730
+ exports.ReportSummary$ = ReportSummary$;
731
+ exports.ResourceNotFoundException = ResourceNotFoundException;
732
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
733
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
734
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
735
+ exports.ThrottlingException = ThrottlingException;
736
+ exports.ThrottlingException$ = ThrottlingException$;
705
737
  exports.UploadState = UploadState;
706
- exports.ValidationException = ValidationException$1;
738
+ exports.ValidationException = ValidationException;
739
+ exports.ValidationException$ = ValidationException$;
740
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
707
741
  exports.ValidationExceptionReason = ValidationExceptionReason;
708
742
  exports.paginateListCustomerAgreements = paginateListCustomerAgreements;
709
743
  exports.paginateListReports = paginateListReports;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.artifact" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.artifact",
32
+ version: "2018-05-10",
33
+ serviceTarget: "Artifact",
34
+ },
30
35
  serviceId: config?.serviceId ?? "Artifact",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetAccountSettings } from "../schemas/schemas_0";
4
+ import { GetAccountSettings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetAccountSettingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetAccountSettingsCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "GetAccountSettings", {})
13
13
  .n("ArtifactClient", "GetAccountSettingsCommand")
14
- .sc(GetAccountSettings)
14
+ .sc(GetAccountSettings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetReport } from "../schemas/schemas_0";
4
+ import { GetReport$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetReportCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetReportCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "GetReport", {})
13
13
  .n("ArtifactClient", "GetReportCommand")
14
- .sc(GetReport)
14
+ .sc(GetReport$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetReportMetadata } from "../schemas/schemas_0";
4
+ import { GetReportMetadata$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetReportMetadataCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetReportMetadataCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "GetReportMetadata", {})
13
13
  .n("ArtifactClient", "GetReportMetadataCommand")
14
- .sc(GetReportMetadata)
14
+ .sc(GetReportMetadata$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTermForReport } from "../schemas/schemas_0";
4
+ import { GetTermForReport$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTermForReportCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTermForReportCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "GetTermForReport", {})
13
13
  .n("ArtifactClient", "GetTermForReportCommand")
14
- .sc(GetTermForReport)
14
+ .sc(GetTermForReport$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCustomerAgreements } from "../schemas/schemas_0";
4
+ import { ListCustomerAgreements$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCustomerAgreementsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCustomerAgreementsCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "ListCustomerAgreements", {})
13
13
  .n("ArtifactClient", "ListCustomerAgreementsCommand")
14
- .sc(ListCustomerAgreements)
14
+ .sc(ListCustomerAgreements$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListReports } from "../schemas/schemas_0";
4
+ import { ListReports$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListReportsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListReportsCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "ListReports", {})
13
13
  .n("ArtifactClient", "ListReportsCommand")
14
- .sc(ListReports)
14
+ .sc(ListReports$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutAccountSettings } from "../schemas/schemas_0";
4
+ import { PutAccountSettings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutAccountSettingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutAccountSettingsCommand extends $Command
11
11
  })
12
12
  .s("Artifact", "PutAccountSettings", {})
13
13
  .n("ArtifactClient", "PutAccountSettingsCommand")
14
- .sc(PutAccountSettings)
14
+ .sc(PutAccountSettings$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ArtifactClient";
2
2
  export * from "./Artifact";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.artifact" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.artifact",
29
+ version: "2018-05-10",
30
+ serviceTarget: "Artifact",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Artifact",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,