@aws-sdk/client-artifact 3.1077.0 → 3.1078.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.
Files changed (82) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +366 -91
  3. package/dist-es/Artifact.js +20 -0
  4. package/dist-es/commandBuilder.js +6 -0
  5. package/dist-es/commands/CreateComplianceInquiryCommand.js +4 -0
  6. package/dist-es/commands/ExportComplianceInquiryCommand.js +4 -0
  7. package/dist-es/commands/GetAccountSettingsCommand.js +2 -14
  8. package/dist-es/commands/GetComplianceInquiryMetadataCommand.js +4 -0
  9. package/dist-es/commands/GetReportCommand.js +2 -14
  10. package/dist-es/commands/GetReportMetadataCommand.js +2 -14
  11. package/dist-es/commands/GetTermForReportCommand.js +2 -14
  12. package/dist-es/commands/ListComplianceInquiriesCommand.js +4 -0
  13. package/dist-es/commands/ListComplianceInquiryQueriesCommand.js +4 -0
  14. package/dist-es/commands/ListCustomerAgreementsCommand.js +2 -14
  15. package/dist-es/commands/ListReportVersionsCommand.js +2 -14
  16. package/dist-es/commands/ListReportsCommand.js +2 -14
  17. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  18. package/dist-es/commands/PutAccountSettingsCommand.js +2 -14
  19. package/dist-es/commands/TagResourceCommand.js +4 -0
  20. package/dist-es/commands/UntagResourceCommand.js +4 -0
  21. package/dist-es/commands/index.js +8 -0
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/models/enums.js +38 -0
  24. package/dist-es/pagination/ListComplianceInquiriesPaginator.js +4 -0
  25. package/dist-es/pagination/ListComplianceInquiryQueriesPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +230 -8
  28. package/dist-types/Artifact.d.ts +71 -0
  29. package/dist-types/ArtifactClient.d.ts +10 -2
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/CreateComplianceInquiryCommand.d.ts +139 -0
  32. package/dist-types/commands/ExportComplianceInquiryCommand.d.ts +113 -0
  33. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -8
  34. package/dist-types/commands/GetComplianceInquiryMetadataCommand.d.ts +124 -0
  35. package/dist-types/commands/GetReportCommand.d.ts +3 -8
  36. package/dist-types/commands/GetReportMetadataCommand.d.ts +3 -8
  37. package/dist-types/commands/GetTermForReportCommand.d.ts +3 -8
  38. package/dist-types/commands/ListComplianceInquiriesCommand.d.ts +123 -0
  39. package/dist-types/commands/ListComplianceInquiryQueriesCommand.d.ts +145 -0
  40. package/dist-types/commands/ListCustomerAgreementsCommand.d.ts +3 -8
  41. package/dist-types/commands/ListReportVersionsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListReportsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  44. package/dist-types/commands/PutAccountSettingsCommand.d.ts +3 -8
  45. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  46. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  47. package/dist-types/commands/index.d.ts +8 -0
  48. package/dist-types/index.d.ts +1 -0
  49. package/dist-types/models/enums.d.ts +94 -0
  50. package/dist-types/models/models_0.d.ts +472 -1
  51. package/dist-types/pagination/ListComplianceInquiriesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/ListComplianceInquiryQueriesPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +2 -0
  54. package/dist-types/schemas/schemas_0.d.ts +32 -1
  55. package/dist-types/ts3.4/Artifact.d.ts +151 -0
  56. package/dist-types/ts3.4/ArtifactClient.d.ts +50 -2
  57. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/CreateComplianceInquiryCommand.d.ts +44 -0
  59. package/dist-types/ts3.4/commands/ExportComplianceInquiryCommand.d.ts +44 -0
  60. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetComplianceInquiryMetadataCommand.d.ts +44 -0
  62. package/dist-types/ts3.4/commands/GetReportCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetReportMetadataCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetTermForReportCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListComplianceInquiriesCommand.d.ts +44 -0
  66. package/dist-types/ts3.4/commands/ListComplianceInquiryQueriesCommand.d.ts +44 -0
  67. package/dist-types/ts3.4/commands/ListCustomerAgreementsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListReportVersionsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
  71. package/dist-types/ts3.4/commands/PutAccountSettingsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +40 -0
  73. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +43 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  75. package/dist-types/ts3.4/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/enums.d.ts +48 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +137 -0
  78. package/dist-types/ts3.4/pagination/ListComplianceInquiriesPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/ListComplianceInquiryQueriesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  81. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  82. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -256,12 +257,23 @@ class ValidationException extends ArtifactServiceException {
256
257
 
257
258
  const _ADE = "AccessDeniedException";
258
259
  const _AS = "AccountSettings";
260
+ const _C = "Citation";
259
261
  const _CAL = "CustomerAgreementList";
260
262
  const _CAS = "CustomerAgreementSummary";
263
+ const _CCI = "CreateComplianceInquiry";
264
+ const _CCIR = "CreateComplianceInquiryRequest";
265
+ const _CCIRr = "CreateComplianceInquiryResponse";
261
266
  const _CE = "ConflictException";
267
+ const _CL = "CitationList";
268
+ const _ECI = "ExportComplianceInquiry";
269
+ const _ECIR = "ExportComplianceInquiryRequest";
270
+ const _ECIRx = "ExportComplianceInquiryResponse";
262
271
  const _GAS = "GetAccountSettings";
263
272
  const _GASR = "GetAccountSettingsRequest";
264
273
  const _GASRe = "GetAccountSettingsResponse";
274
+ const _GCIM = "GetComplianceInquiryMetadata";
275
+ const _GCIMR = "GetComplianceInquiryMetadataRequest";
276
+ const _GCIMRe = "GetComplianceInquiryMetadataResponse";
265
277
  const _GR = "GetReport";
266
278
  const _GRM = "GetReportMetadata";
267
279
  const _GRMR = "GetReportMetadataRequest";
@@ -271,26 +283,51 @@ const _GRRe = "GetReportResponse";
271
283
  const _GTFR = "GetTermForReport";
272
284
  const _GTFRR = "GetTermForReportRequest";
273
285
  const _GTFRRe = "GetTermForReportResponse";
286
+ const _IC = "InquiryContent";
287
+ const _ID = "InquiryDetail";
288
+ const _IFC = "InquiryFileContent";
289
+ const _IL = "InquiriesList";
290
+ const _IS = "InquirySummary";
274
291
  const _ISE = "InternalServerException";
275
292
  const _LCA = "ListCustomerAgreements";
276
293
  const _LCAR = "ListCustomerAgreementsRequest";
277
294
  const _LCARi = "ListCustomerAgreementsResponse";
295
+ const _LCI = "ListComplianceInquiries";
296
+ const _LCIQ = "ListComplianceInquiryQueries";
297
+ const _LCIQR = "ListComplianceInquiryQueriesRequest";
298
+ const _LCIQRi = "ListComplianceInquiryQueriesResponse";
299
+ const _LCIR = "ListComplianceInquiriesRequest";
300
+ const _LCIRi = "ListComplianceInquiriesResponse";
278
301
  const _LR = "ListReports";
279
302
  const _LRR = "ListReportsRequest";
280
303
  const _LRRi = "ListReportsResponse";
281
304
  const _LRV = "ListReportVersions";
282
305
  const _LRVR = "ListReportVersionsRequest";
283
306
  const _LRVRi = "ListReportVersionsResponse";
307
+ const _LTFR = "ListTagsForResource";
308
+ const _LTFRR = "ListTagsForResourceRequest";
309
+ const _LTFRRi = "ListTagsForResourceResponse";
284
310
  const _PAS = "PutAccountSettings";
285
311
  const _PASR = "PutAccountSettingsRequest";
286
312
  const _PASRu = "PutAccountSettingsResponse";
313
+ const _PU = "PresignedUrl";
314
+ const _QL = "QueriesList";
315
+ const _QS = "QuerySummary";
287
316
  const _RA = "Retry-After";
288
317
  const _RD = "ReportDetail";
289
318
  const _RL = "ReportsList";
290
319
  const _RNFE = "ResourceNotFoundException";
291
320
  const _RS = "ReportSummary";
321
+ const _RV = "ResponseVersion";
322
+ const _RVL = "ResponseVersionList";
292
323
  const _SQEE = "ServiceQuotaExceededException";
293
324
  const _TE = "ThrottlingException";
325
+ const _TR = "TagResource";
326
+ const _TRR = "TagResourceRequest";
327
+ const _TRRa = "TagResourceResponse";
328
+ const _UR = "UntagResource";
329
+ const _URR = "UntagResourceRequest";
330
+ const _URRn = "UntagResourceResponse";
294
331
  const _VE = "ValidationException";
295
332
  const _VEF = "ValidationExceptionField";
296
333
  const _VEFL = "ValidationExceptionFieldList";
@@ -301,22 +338,34 @@ const _aS = "accountSettings";
301
338
  const _aT = "acceptanceTerms";
302
339
  const _aTc = "acceptanceType";
303
340
  const _c = "client";
304
- const _cA = "customerAgreements";
305
- const _cAr = "createdAt";
341
+ const _cA = "createdAt";
342
+ const _cAu = "customerAgreements";
343
+ const _cI = "complianceInquiries";
344
+ const _cID = "complianceInquiryDetail";
345
+ const _cII = "complianceInquiryId";
346
+ const _cIS = "complianceInquirySummary";
306
347
  const _cN = "companyName";
348
+ const _cT = "clientToken";
307
349
  const _ca = "category";
350
+ const _ci = "citations";
351
+ const _co = "content";
308
352
  const _d = "description";
309
353
  const _dA = "deletedAt";
310
354
  const _dPU = "documentPresignedUrl";
311
355
  const _e = "error";
312
356
  const _eE = "effectiveEnd";
313
357
  const _eS = "effectiveStart";
358
+ const _fC = "fileContent";
314
359
  const _fL = "fieldList";
360
+ const _fS = "fileSections";
315
361
  const _h = "http";
316
362
  const _hE = "httpError";
317
363
  const _hH = "httpHeader";
318
364
  const _hQ = "httpQuery";
319
365
  const _i = "id";
366
+ const _iC = "inquiryContent";
367
+ const _iCn = "includeCitations";
368
+ const _iS = "inputSource";
320
369
  const _lMA = "lastModifiedAt";
321
370
  const _m = "message";
322
371
  const _mR = "maxResults";
@@ -327,26 +376,44 @@ const _oA = "organizationArn";
327
376
  const _pE = "periodEnd";
328
377
  const _pN = "productName";
329
378
  const _pS = "periodStart";
379
+ const _q = "queries";
330
380
  const _qC = "quotaCode";
381
+ const _qI = "queryIdentifiers";
382
+ const _qIu = "queryIdentifier";
383
+ const _qu = "query";
331
384
  const _r = "reason";
385
+ const _rA = "resourceArn";
332
386
  const _rAS = "retryAfterSeconds";
333
387
  const _rD = "reportDetails";
334
388
  const _rI = "resourceId";
335
389
  const _rIe = "reportId";
336
390
  const _rT = "resourceType";
391
+ const _rTe = "reviewType";
392
+ const _rTes = "responseText";
337
393
  const _rV = "reportVersion";
338
394
  const _re = "reports";
395
+ const _res = "response";
339
396
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.artifact";
340
397
  const _sC = "serviceCode";
341
- const _sM = "statusMessage";
398
+ const _sCo = "sourceContent";
399
+ const _sL = "sourceLabel";
400
+ const _sLo = "sourceLink";
401
+ const _sM = "supportMode";
402
+ const _sMt = "statusMessage";
342
403
  const _sN = "sequenceNumber";
343
404
  const _se = "server";
344
405
  const _ser = "series";
345
406
  const _st = "state";
346
- const _t = "type";
407
+ const _sta = "status";
408
+ const _t = "tags";
347
409
  const _tA = "termArn";
410
+ const _tK = "tagKeys";
348
411
  const _tT = "terminateTerms";
349
412
  const _tTe = "termToken";
413
+ const _ti = "timestamp";
414
+ const _ty = "type";
415
+ const _uA = "updatedAt";
416
+ const _uRV = "updatedResponseVersions";
350
417
  const _uS = "uploadState";
351
418
  const _v = "version";
352
419
  const n0 = "com.amazonaws.artifact";
@@ -400,16 +467,42 @@ const errorTypeRegistries = [
400
467
  _s_registry,
401
468
  n0_registry,
402
469
  ];
470
+ var PresignedUrl = [0, n0, _PU, 8, 0];
403
471
  var AccountSettings$ = [3, n0, _AS,
404
472
  0,
405
473
  [_nSS],
406
474
  [0]
407
475
  ];
476
+ var Citation$ = [3, n0, _C,
477
+ 0,
478
+ [_sL, _sCo, _sLo],
479
+ [0, 0, 0]
480
+ ];
481
+ var CreateComplianceInquiryRequest$ = [3, n0, _CCIR,
482
+ 0,
483
+ [_n, _iC, _cT, _sM, _t],
484
+ [0, [() => InquiryContent$, 0], [0, 4], 0, 128 | 0], 2
485
+ ];
486
+ var CreateComplianceInquiryResponse$ = [3, n0, _CCIRr,
487
+ 0,
488
+ [_cIS, _t],
489
+ [() => InquirySummary$, 128 | 0]
490
+ ];
408
491
  var CustomerAgreementSummary$ = [3, n0, _CAS,
409
492
  0,
410
- [_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _st, _d, _aT, _tT, _t],
493
+ [_n, _a, _i, _aA, _aAI, _oA, _eS, _eE, _st, _d, _aT, _tT, _ty],
411
494
  [0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 64 | 0, 64 | 0, 0]
412
495
  ];
496
+ var ExportComplianceInquiryRequest$ = [3, n0, _ECIR,
497
+ 0,
498
+ [_cII, _qI, _iCn],
499
+ [0, 64 | 1, 2], 1
500
+ ];
501
+ var ExportComplianceInquiryResponse$ = [3, n0, _ECIRx,
502
+ 0,
503
+ [_dPU, _t],
504
+ [[() => PresignedUrl, 0], 128 | 0]
505
+ ];
413
506
  var GetAccountSettingsRequest$ = [3, n0, _GASR,
414
507
  0,
415
508
  [],
@@ -420,6 +513,16 @@ var GetAccountSettingsResponse$ = [3, n0, _GASRe,
420
513
  [_aS],
421
514
  [() => AccountSettings$]
422
515
  ];
516
+ var GetComplianceInquiryMetadataRequest$ = [3, n0, _GCIMR,
517
+ 0,
518
+ [_cII],
519
+ [[0, { [_hQ]: _cII }]], 1
520
+ ];
521
+ var GetComplianceInquiryMetadataResponse$ = [3, n0, _GCIMRe,
522
+ 0,
523
+ [_cID, _t],
524
+ [() => InquiryDetail$, 128 | 0]
525
+ ];
423
526
  var GetReportMetadataRequest$ = [3, n0, _GRMR,
424
527
  0,
425
528
  [_rIe, _rV],
@@ -450,6 +553,41 @@ var GetTermForReportResponse$ = [3, n0, _GTFRRe,
450
553
  [_dPU, _tTe],
451
554
  [0, 0]
452
555
  ];
556
+ var InquiryDetail$ = [3, n0, _ID,
557
+ 0,
558
+ [_a, _n, _i, _sta, _sMt, _iS, _cA, _uA, _sM],
559
+ [0, 0, 0, 0, 0, 0, 5, 5, 0], 7
560
+ ];
561
+ var InquiryFileContent$ = [3, n0, _IFC,
562
+ 0,
563
+ [_co, _fS],
564
+ [21, 64 | 0], 1
565
+ ];
566
+ var InquirySummary$ = [3, n0, _IS,
567
+ 0,
568
+ [_a, _n, _i, _sta, _sMt, _iS, _cA],
569
+ [0, 0, 0, 0, 0, 0, 5], 7
570
+ ];
571
+ var ListComplianceInquiriesRequest$ = [3, n0, _LCIR,
572
+ 0,
573
+ [_mR, _nT],
574
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
575
+ ];
576
+ var ListComplianceInquiriesResponse$ = [3, n0, _LCIRi,
577
+ 0,
578
+ [_cI, _nT],
579
+ [() => InquiriesList, 0]
580
+ ];
581
+ var ListComplianceInquiryQueriesRequest$ = [3, n0, _LCIQR,
582
+ 0,
583
+ [_cII, _mR, _nT],
584
+ [[0, { [_hQ]: _cII }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
585
+ ];
586
+ var ListComplianceInquiryQueriesResponse$ = [3, n0, _LCIQRi,
587
+ 0,
588
+ [_q, _nT],
589
+ [() => QueriesList, 0]
590
+ ];
453
591
  var ListCustomerAgreementsRequest$ = [3, n0, _LCAR,
454
592
  0,
455
593
  [_mR, _nT],
@@ -457,7 +595,7 @@ var ListCustomerAgreementsRequest$ = [3, n0, _LCAR,
457
595
  ];
458
596
  var ListCustomerAgreementsResponse$ = [3, n0, _LCARi,
459
597
  0,
460
- [_cA, _nT],
598
+ [_cAu, _nT],
461
599
  [() => CustomerAgreementList, 0], 1
462
600
  ];
463
601
  var ListReportsRequest$ = [3, n0, _LRR,
@@ -480,6 +618,16 @@ var ListReportVersionsResponse$ = [3, n0, _LRVRi,
480
618
  [_re, _nT],
481
619
  [() => ReportsList, 0], 1
482
620
  ];
621
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
622
+ 0,
623
+ [_rA],
624
+ [[0, 1]], 1
625
+ ];
626
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
627
+ 0,
628
+ [_t],
629
+ [128 | 0]
630
+ ];
483
631
  var PutAccountSettingsRequest$ = [3, n0, _PASR,
484
632
  0,
485
633
  [_nSS],
@@ -490,33 +638,89 @@ var PutAccountSettingsResponse$ = [3, n0, _PASRu,
490
638
  [_aS],
491
639
  [() => AccountSettings$]
492
640
  ];
641
+ var QuerySummary$ = [3, n0, _QS,
642
+ 0,
643
+ [_qIu, _qu, _sta, _sMt, _cA, _res, _rTe, _ci, _uRV],
644
+ [1, 0, 0, 0, 5, 0, 0, () => CitationList, () => ResponseVersionList], 5
645
+ ];
493
646
  var ReportDetail$ = [3, n0, _RD,
494
647
  0,
495
- [_i, _n, _d, _pS, _pE, _cAr, _lMA, _dA, _st, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sM],
648
+ [_i, _n, _d, _pS, _pE, _cA, _lMA, _dA, _st, _a, _ser, _ca, _cN, _pN, _tA, _v, _aTc, _sN, _uS, _sMt],
496
649
  [0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0]
497
650
  ];
498
651
  var ReportSummary$ = [3, n0, _RS,
499
652
  0,
500
- [_i, _n, _st, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sM, _aTc],
653
+ [_i, _n, _st, _a, _v, _uS, _d, _pS, _pE, _ser, _ca, _cN, _pN, _sMt, _aTc],
501
654
  [0, 0, 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0]
502
655
  ];
656
+ var ResponseVersion$ = [3, n0, _RV,
657
+ 0,
658
+ [_rTes, _ti],
659
+ [0, 5], 2
660
+ ];
661
+ var TagResourceRequest$ = [3, n0, _TRR,
662
+ 0,
663
+ [_rA, _t],
664
+ [[0, 1], 128 | 0], 2
665
+ ];
666
+ var TagResourceResponse$ = [3, n0, _TRRa,
667
+ 0,
668
+ [],
669
+ []
670
+ ];
671
+ var UntagResourceRequest$ = [3, n0, _URR,
672
+ 0,
673
+ [_rA, _tK],
674
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
675
+ ];
676
+ var UntagResourceResponse$ = [3, n0, _URRn,
677
+ 0,
678
+ [],
679
+ []
680
+ ];
503
681
  var ValidationExceptionField$ = [3, n0, _VEF,
504
682
  0,
505
683
  [_n, _m],
506
684
  [0, 0], 2
507
685
  ];
686
+ var CitationList = [1, n0, _CL,
687
+ 0, () => Citation$
688
+ ];
508
689
  var CustomerAgreementList = [1, n0, _CAL,
509
690
  0, () => CustomerAgreementSummary$
510
691
  ];
692
+ var InquiriesList = [1, n0, _IL,
693
+ 0, () => InquirySummary$
694
+ ];
695
+ var QueriesList = [1, n0, _QL,
696
+ 0, () => QuerySummary$
697
+ ];
511
698
  var ReportsList = [1, n0, _RL,
512
699
  0, () => ReportSummary$
513
700
  ];
701
+ var ResponseVersionList = [1, n0, _RVL,
702
+ 0, () => ResponseVersion$
703
+ ];
514
704
  var ValidationExceptionFieldList = [1, n0, _VEFL,
515
705
  0, () => ValidationExceptionField$
516
706
  ];
707
+ var InquiryContent$ = [4, n0, _IC,
708
+ 8,
709
+ [_qu, _fC],
710
+ [0, () => InquiryFileContent$]
711
+ ];
712
+ var CreateComplianceInquiry$ = [9, n0, _CCI,
713
+ { [_h]: ["POST", "/v1/compliance-inquiry/create", 202] }, () => CreateComplianceInquiryRequest$, () => CreateComplianceInquiryResponse$
714
+ ];
715
+ var ExportComplianceInquiry$ = [9, n0, _ECI,
716
+ { [_h]: ["POST", "/v1/compliance-inquiry/export", 200] }, () => ExportComplianceInquiryRequest$, () => ExportComplianceInquiryResponse$
717
+ ];
517
718
  var GetAccountSettings$ = [9, n0, _GAS,
518
719
  { [_h]: ["GET", "/v1/account-settings/get", 200] }, () => GetAccountSettingsRequest$, () => GetAccountSettingsResponse$
519
720
  ];
721
+ var GetComplianceInquiryMetadata$ = [9, n0, _GCIM,
722
+ { [_h]: ["GET", "/v1/compliance-inquiry/getMetadata", 200] }, () => GetComplianceInquiryMetadataRequest$, () => GetComplianceInquiryMetadataResponse$
723
+ ];
520
724
  var GetReport$ = [9, n0, _GR,
521
725
  { [_h]: ["GET", "/v1/report/get", 200] }, () => GetReportRequest$, () => GetReportResponse$
522
726
  ];
@@ -526,6 +730,12 @@ var GetReportMetadata$ = [9, n0, _GRM,
526
730
  var GetTermForReport$ = [9, n0, _GTFR,
527
731
  { [_h]: ["GET", "/v1/report/getTermForReport", 200] }, () => GetTermForReportRequest$, () => GetTermForReportResponse$
528
732
  ];
733
+ var ListComplianceInquiries$ = [9, n0, _LCI,
734
+ { [_h]: ["GET", "/v1/compliance-inquiry/list", 200] }, () => ListComplianceInquiriesRequest$, () => ListComplianceInquiriesResponse$
735
+ ];
736
+ var ListComplianceInquiryQueries$ = [9, n0, _LCIQ,
737
+ { [_h]: ["GET", "/v1/compliance-inquiry/listQueries", 200] }, () => ListComplianceInquiryQueriesRequest$, () => ListComplianceInquiryQueriesResponse$
738
+ ];
529
739
  var ListCustomerAgreements$ = [9, n0, _LCA,
530
740
  { [_h]: ["GET", "/v1/customer-agreement/list", 200] }, () => ListCustomerAgreementsRequest$, () => ListCustomerAgreementsResponse$
531
741
  ];
@@ -535,9 +745,18 @@ var ListReports$ = [9, n0, _LR,
535
745
  var ListReportVersions$ = [9, n0, _LRV,
536
746
  { [_h]: ["GET", "/v1/report/listVersions", 200] }, () => ListReportVersionsRequest$, () => ListReportVersionsResponse$
537
747
  ];
748
+ var ListTagsForResource$ = [9, n0, _LTFR,
749
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
750
+ ];
538
751
  var PutAccountSettings$ = [9, n0, _PAS,
539
752
  { [_h]: ["PUT", "/v1/account-settings/put", 200] }, () => PutAccountSettingsRequest$, () => PutAccountSettingsResponse$
540
753
  ];
754
+ var TagResource$ = [9, n0, _TR,
755
+ { [_h]: ["POST", "/tags/{resourceArn}", 204] }, () => TagResourceRequest$, () => TagResourceResponse$
756
+ ];
757
+ var UntagResource$ = [9, n0, _UR,
758
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$
759
+ ];
541
760
 
542
761
  const getRuntimeConfig$1 = (config) => {
543
762
  return {
@@ -685,102 +904,62 @@ class ArtifactClient extends Client {
685
904
  }
686
905
  }
687
906
 
688
- class GetAccountSettingsCommand extends Command
689
- .classBuilder()
690
- .ep(commonParams)
691
- .m(function (Command, cs, config, o) {
692
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
693
- })
694
- .s("Artifact", "GetAccountSettings", {})
695
- .n("ArtifactClient", "GetAccountSettingsCommand")
696
- .sc(GetAccountSettings$)
697
- .build() {
907
+ const command = makeBuilder(commonParams, "Artifact", "ArtifactClient", getEndpointPlugin);
908
+ const _ep0 = {};
909
+ const _mw0 = (Command, cs, config, o) => [];
910
+
911
+ class CreateComplianceInquiryCommand extends command(_ep0, _mw0, "CreateComplianceInquiry", CreateComplianceInquiry$) {
912
+ }
913
+
914
+ class ExportComplianceInquiryCommand extends command(_ep0, _mw0, "ExportComplianceInquiry", ExportComplianceInquiry$) {
915
+ }
916
+
917
+ class GetAccountSettingsCommand extends command(_ep0, _mw0, "GetAccountSettings", GetAccountSettings$) {
918
+ }
919
+
920
+ class GetComplianceInquiryMetadataCommand extends command(_ep0, _mw0, "GetComplianceInquiryMetadata", GetComplianceInquiryMetadata$) {
698
921
  }
699
922
 
700
- class GetReportCommand extends Command
701
- .classBuilder()
702
- .ep(commonParams)
703
- .m(function (Command, cs, config, o) {
704
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
705
- })
706
- .s("Artifact", "GetReport", {})
707
- .n("ArtifactClient", "GetReportCommand")
708
- .sc(GetReport$)
709
- .build() {
923
+ class GetReportCommand extends command(_ep0, _mw0, "GetReport", GetReport$) {
710
924
  }
711
925
 
712
- class GetReportMetadataCommand extends Command
713
- .classBuilder()
714
- .ep(commonParams)
715
- .m(function (Command, cs, config, o) {
716
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
717
- })
718
- .s("Artifact", "GetReportMetadata", {})
719
- .n("ArtifactClient", "GetReportMetadataCommand")
720
- .sc(GetReportMetadata$)
721
- .build() {
926
+ class GetReportMetadataCommand extends command(_ep0, _mw0, "GetReportMetadata", GetReportMetadata$) {
722
927
  }
723
928
 
724
- class GetTermForReportCommand extends Command
725
- .classBuilder()
726
- .ep(commonParams)
727
- .m(function (Command, cs, config, o) {
728
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
729
- })
730
- .s("Artifact", "GetTermForReport", {})
731
- .n("ArtifactClient", "GetTermForReportCommand")
732
- .sc(GetTermForReport$)
733
- .build() {
929
+ class GetTermForReportCommand extends command(_ep0, _mw0, "GetTermForReport", GetTermForReport$) {
734
930
  }
735
931
 
736
- class ListCustomerAgreementsCommand extends Command
737
- .classBuilder()
738
- .ep(commonParams)
739
- .m(function (Command, cs, config, o) {
740
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
741
- })
742
- .s("Artifact", "ListCustomerAgreements", {})
743
- .n("ArtifactClient", "ListCustomerAgreementsCommand")
744
- .sc(ListCustomerAgreements$)
745
- .build() {
932
+ class ListComplianceInquiriesCommand extends command(_ep0, _mw0, "ListComplianceInquiries", ListComplianceInquiries$) {
746
933
  }
747
934
 
748
- class ListReportsCommand extends Command
749
- .classBuilder()
750
- .ep(commonParams)
751
- .m(function (Command, cs, config, o) {
752
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
753
- })
754
- .s("Artifact", "ListReports", {})
755
- .n("ArtifactClient", "ListReportsCommand")
756
- .sc(ListReports$)
757
- .build() {
935
+ class ListComplianceInquiryQueriesCommand extends command(_ep0, _mw0, "ListComplianceInquiryQueries", ListComplianceInquiryQueries$) {
758
936
  }
759
937
 
760
- class ListReportVersionsCommand extends Command
761
- .classBuilder()
762
- .ep(commonParams)
763
- .m(function (Command, cs, config, o) {
764
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
765
- })
766
- .s("Artifact", "ListReportVersions", {})
767
- .n("ArtifactClient", "ListReportVersionsCommand")
768
- .sc(ListReportVersions$)
769
- .build() {
938
+ class ListCustomerAgreementsCommand extends command(_ep0, _mw0, "ListCustomerAgreements", ListCustomerAgreements$) {
770
939
  }
771
940
 
772
- class PutAccountSettingsCommand extends Command
773
- .classBuilder()
774
- .ep(commonParams)
775
- .m(function (Command, cs, config, o) {
776
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
777
- })
778
- .s("Artifact", "PutAccountSettings", {})
779
- .n("ArtifactClient", "PutAccountSettingsCommand")
780
- .sc(PutAccountSettings$)
781
- .build() {
941
+ class ListReportsCommand extends command(_ep0, _mw0, "ListReports", ListReports$) {
782
942
  }
783
943
 
944
+ class ListReportVersionsCommand extends command(_ep0, _mw0, "ListReportVersions", ListReportVersions$) {
945
+ }
946
+
947
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
948
+ }
949
+
950
+ class PutAccountSettingsCommand extends command(_ep0, _mw0, "PutAccountSettings", PutAccountSettings$) {
951
+ }
952
+
953
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
954
+ }
955
+
956
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
957
+ }
958
+
959
+ const paginateListComplianceInquiries = createPaginator(ArtifactClient, ListComplianceInquiriesCommand, "nextToken", "nextToken", "maxResults");
960
+
961
+ const paginateListComplianceInquiryQueries = createPaginator(ArtifactClient, ListComplianceInquiryQueriesCommand, "nextToken", "nextToken", "maxResults");
962
+
784
963
  const paginateListCustomerAgreements = createPaginator(ArtifactClient, ListCustomerAgreementsCommand, "nextToken", "nextToken", "maxResults");
785
964
 
786
965
  const paginateListReports = createPaginator(ArtifactClient, ListReportsCommand, "nextToken", "nextToken", "maxResults");
@@ -788,16 +967,26 @@ const paginateListReports = createPaginator(ArtifactClient, ListReportsCommand,
788
967
  const paginateListReportVersions = createPaginator(ArtifactClient, ListReportVersionsCommand, "nextToken", "nextToken", "maxResults");
789
968
 
790
969
  const commands = {
970
+ CreateComplianceInquiryCommand,
971
+ ExportComplianceInquiryCommand,
791
972
  GetAccountSettingsCommand,
973
+ GetComplianceInquiryMetadataCommand,
792
974
  GetReportCommand,
793
975
  GetReportMetadataCommand,
794
976
  GetTermForReportCommand,
977
+ ListComplianceInquiriesCommand,
978
+ ListComplianceInquiryQueriesCommand,
795
979
  ListCustomerAgreementsCommand,
796
980
  ListReportsCommand,
797
981
  ListReportVersionsCommand,
982
+ ListTagsForResourceCommand,
798
983
  PutAccountSettingsCommand,
984
+ TagResourceCommand,
985
+ UntagResourceCommand,
799
986
  };
800
987
  const paginators = {
988
+ paginateListComplianceInquiries,
989
+ paginateListComplianceInquiryQueries,
801
990
  paginateListCustomerAgreements,
802
991
  paginateListReports,
803
992
  paginateListReportVersions,
@@ -826,6 +1015,44 @@ const AgreementType = {
826
1015
  DEFAULT: "DEFAULT",
827
1016
  MODIFIED: "MODIFIED",
828
1017
  };
1018
+ const InquirySupportMode = {
1019
+ AI_ONLY: "AI_ONLY",
1020
+ FULL_SUPPORT: "FULL_SUPPORT",
1021
+ };
1022
+ const InputSource = {
1023
+ FILE: "FILE",
1024
+ TEXT: "TEXT",
1025
+ };
1026
+ const InquiryStatus = {
1027
+ COMPLETED: "COMPLETED",
1028
+ FAILED: "FAILED",
1029
+ HUMAN_REVIEW: "HUMAN_REVIEW",
1030
+ PROCESSING: "PROCESSING",
1031
+ };
1032
+ const InquiryStatusMessage = {
1033
+ COMPLETED_WITH_ERRORS: "Compliance inquiry processing is complete. One or more queries encountered errors during processing.",
1034
+ HUMAN_REVIEW_IN_PROGRESS: "Human review is in progress.",
1035
+ INTERNAL_ERROR: "An internal error occurred while processing the inquiry. Try again at a later time.",
1036
+ IN_PROGRESS: "Compliance inquiry processing is in-progress.",
1037
+ MALWARE_DETECTED_ERROR: "Malware was detected on the file. Provide a new file and try again.",
1038
+ SUCCESS: "Compliance inquiry processing is complete.",
1039
+ };
1040
+ const ReviewType = {
1041
+ AI: "AI",
1042
+ HUMAN: "HUMAN",
1043
+ };
1044
+ const QueryStatus = {
1045
+ COMPLETED: "COMPLETED",
1046
+ FAILED: "FAILED",
1047
+ PROCESSING: "PROCESSING",
1048
+ };
1049
+ const QueryStatusMessage = {
1050
+ INTERNAL_ERROR: "An internal error occurred while processing the query. Try again at a later time.",
1051
+ IN_PROGRESS: "Query processing is in-progress.",
1052
+ PENDING_HUMAN_REVIEW: "Query is pending human review.",
1053
+ RESTRICTED: "Query contains restricted or unsupported content.",
1054
+ SUCCESS: "Query processing is complete.",
1055
+ };
829
1056
  const CustomerAgreementState = {
830
1057
  ACTIVE: "ACTIVE",
831
1058
  AWS_TERMINATED: "AWS_TERMINATED",
@@ -851,14 +1078,27 @@ exports.Artifact = Artifact;
851
1078
  exports.ArtifactClient = ArtifactClient;
852
1079
  exports.ArtifactServiceException = ArtifactServiceException;
853
1080
  exports.ArtifactServiceException$ = ArtifactServiceException$;
1081
+ exports.Citation$ = Citation$;
854
1082
  exports.ConflictException = ConflictException;
855
1083
  exports.ConflictException$ = ConflictException$;
1084
+ exports.CreateComplianceInquiry$ = CreateComplianceInquiry$;
1085
+ exports.CreateComplianceInquiryCommand = CreateComplianceInquiryCommand;
1086
+ exports.CreateComplianceInquiryRequest$ = CreateComplianceInquiryRequest$;
1087
+ exports.CreateComplianceInquiryResponse$ = CreateComplianceInquiryResponse$;
856
1088
  exports.CustomerAgreementState = CustomerAgreementState;
857
1089
  exports.CustomerAgreementSummary$ = CustomerAgreementSummary$;
1090
+ exports.ExportComplianceInquiry$ = ExportComplianceInquiry$;
1091
+ exports.ExportComplianceInquiryCommand = ExportComplianceInquiryCommand;
1092
+ exports.ExportComplianceInquiryRequest$ = ExportComplianceInquiryRequest$;
1093
+ exports.ExportComplianceInquiryResponse$ = ExportComplianceInquiryResponse$;
858
1094
  exports.GetAccountSettings$ = GetAccountSettings$;
859
1095
  exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
860
1096
  exports.GetAccountSettingsRequest$ = GetAccountSettingsRequest$;
861
1097
  exports.GetAccountSettingsResponse$ = GetAccountSettingsResponse$;
1098
+ exports.GetComplianceInquiryMetadata$ = GetComplianceInquiryMetadata$;
1099
+ exports.GetComplianceInquiryMetadataCommand = GetComplianceInquiryMetadataCommand;
1100
+ exports.GetComplianceInquiryMetadataRequest$ = GetComplianceInquiryMetadataRequest$;
1101
+ exports.GetComplianceInquiryMetadataResponse$ = GetComplianceInquiryMetadataResponse$;
862
1102
  exports.GetReport$ = GetReport$;
863
1103
  exports.GetReportCommand = GetReportCommand;
864
1104
  exports.GetReportMetadata$ = GetReportMetadata$;
@@ -871,8 +1111,24 @@ exports.GetTermForReport$ = GetTermForReport$;
871
1111
  exports.GetTermForReportCommand = GetTermForReportCommand;
872
1112
  exports.GetTermForReportRequest$ = GetTermForReportRequest$;
873
1113
  exports.GetTermForReportResponse$ = GetTermForReportResponse$;
1114
+ exports.InputSource = InputSource;
1115
+ exports.InquiryContent$ = InquiryContent$;
1116
+ exports.InquiryDetail$ = InquiryDetail$;
1117
+ exports.InquiryFileContent$ = InquiryFileContent$;
1118
+ exports.InquiryStatus = InquiryStatus;
1119
+ exports.InquiryStatusMessage = InquiryStatusMessage;
1120
+ exports.InquirySummary$ = InquirySummary$;
1121
+ exports.InquirySupportMode = InquirySupportMode;
874
1122
  exports.InternalServerException = InternalServerException;
875
1123
  exports.InternalServerException$ = InternalServerException$;
1124
+ exports.ListComplianceInquiries$ = ListComplianceInquiries$;
1125
+ exports.ListComplianceInquiriesCommand = ListComplianceInquiriesCommand;
1126
+ exports.ListComplianceInquiriesRequest$ = ListComplianceInquiriesRequest$;
1127
+ exports.ListComplianceInquiriesResponse$ = ListComplianceInquiriesResponse$;
1128
+ exports.ListComplianceInquiryQueries$ = ListComplianceInquiryQueries$;
1129
+ exports.ListComplianceInquiryQueriesCommand = ListComplianceInquiryQueriesCommand;
1130
+ exports.ListComplianceInquiryQueriesRequest$ = ListComplianceInquiryQueriesRequest$;
1131
+ exports.ListComplianceInquiryQueriesResponse$ = ListComplianceInquiryQueriesResponse$;
876
1132
  exports.ListCustomerAgreements$ = ListCustomerAgreements$;
877
1133
  exports.ListCustomerAgreementsCommand = ListCustomerAgreementsCommand;
878
1134
  exports.ListCustomerAgreementsRequest$ = ListCustomerAgreementsRequest$;
@@ -885,26 +1141,45 @@ exports.ListReports$ = ListReports$;
885
1141
  exports.ListReportsCommand = ListReportsCommand;
886
1142
  exports.ListReportsRequest$ = ListReportsRequest$;
887
1143
  exports.ListReportsResponse$ = ListReportsResponse$;
1144
+ exports.ListTagsForResource$ = ListTagsForResource$;
1145
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1146
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1147
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
888
1148
  exports.NotificationSubscriptionStatus = NotificationSubscriptionStatus;
889
1149
  exports.PublishedState = PublishedState;
890
1150
  exports.PutAccountSettings$ = PutAccountSettings$;
891
1151
  exports.PutAccountSettingsCommand = PutAccountSettingsCommand;
892
1152
  exports.PutAccountSettingsRequest$ = PutAccountSettingsRequest$;
893
1153
  exports.PutAccountSettingsResponse$ = PutAccountSettingsResponse$;
1154
+ exports.QueryStatus = QueryStatus;
1155
+ exports.QueryStatusMessage = QueryStatusMessage;
1156
+ exports.QuerySummary$ = QuerySummary$;
894
1157
  exports.ReportDetail$ = ReportDetail$;
895
1158
  exports.ReportSummary$ = ReportSummary$;
896
1159
  exports.ResourceNotFoundException = ResourceNotFoundException;
897
1160
  exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1161
+ exports.ResponseVersion$ = ResponseVersion$;
1162
+ exports.ReviewType = ReviewType;
898
1163
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
899
1164
  exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1165
+ exports.TagResource$ = TagResource$;
1166
+ exports.TagResourceCommand = TagResourceCommand;
1167
+ exports.TagResourceRequest$ = TagResourceRequest$;
1168
+ exports.TagResourceResponse$ = TagResourceResponse$;
900
1169
  exports.ThrottlingException = ThrottlingException;
901
1170
  exports.ThrottlingException$ = ThrottlingException$;
1171
+ exports.UntagResource$ = UntagResource$;
1172
+ exports.UntagResourceCommand = UntagResourceCommand;
1173
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1174
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
902
1175
  exports.UploadState = UploadState;
903
1176
  exports.ValidationException = ValidationException;
904
1177
  exports.ValidationException$ = ValidationException$;
905
1178
  exports.ValidationExceptionField$ = ValidationExceptionField$;
906
1179
  exports.ValidationExceptionReason = ValidationExceptionReason;
907
1180
  exports.errorTypeRegistries = errorTypeRegistries;
1181
+ exports.paginateListComplianceInquiries = paginateListComplianceInquiries;
1182
+ exports.paginateListComplianceInquiryQueries = paginateListComplianceInquiryQueries;
908
1183
  exports.paginateListCustomerAgreements = paginateListCustomerAgreements;
909
1184
  exports.paginateListReportVersions = paginateListReportVersions;
910
1185
  exports.paginateListReports = paginateListReports;