@aws-sdk/client-artifact 3.943.0 → 3.946.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 -149
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/ArtifactClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +27 -149
- package/dist-types/Artifact.d.ts +1 -1
- package/dist-types/ArtifactClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -3
- package/dist-types/commands/GetReportCommand.d.ts +3 -3
- package/dist-types/commands/GetReportMetadataCommand.d.ts +3 -3
- package/dist-types/commands/GetTermForReportCommand.d.ts +3 -3
- package/dist-types/commands/ListCustomerAgreementsCommand.d.ts +3 -3
- package/dist-types/commands/ListReportsCommand.d.ts +3 -3
- package/dist-types/commands/PutAccountSettingsCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/ArtifactServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListCustomerAgreementsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReportsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/ArtifactClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ArtifactServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -327,30 +327,10 @@ const _tTe = "termToken";
|
|
|
327
327
|
const _uS = "uploadState";
|
|
328
328
|
const _v = "version";
|
|
329
329
|
const n0 = "com.amazonaws.artifact";
|
|
330
|
-
var AccessDeniedException = [
|
|
331
|
-
-3,
|
|
332
|
-
n0,
|
|
333
|
-
_ADE,
|
|
334
|
-
{
|
|
335
|
-
[_e]: _c,
|
|
336
|
-
[_hE]: 403,
|
|
337
|
-
},
|
|
338
|
-
[_m],
|
|
339
|
-
[0],
|
|
340
|
-
];
|
|
330
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
341
331
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
342
332
|
var AccountSettings = [3, n0, _AS, 0, [_nSS], [0]];
|
|
343
|
-
var ConflictException = [
|
|
344
|
-
-3,
|
|
345
|
-
n0,
|
|
346
|
-
_CE,
|
|
347
|
-
{
|
|
348
|
-
[_e]: _c,
|
|
349
|
-
[_hE]: 409,
|
|
350
|
-
},
|
|
351
|
-
[_m, _rI, _rT],
|
|
352
|
-
[0, 0, 0],
|
|
353
|
-
];
|
|
333
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
354
334
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
355
335
|
var CustomerAgreementSummary = [
|
|
356
336
|
3,
|
|
@@ -369,18 +349,8 @@ var GetReportMetadataRequest = [
|
|
|
369
349
|
0,
|
|
370
350
|
[_rIe, _rV],
|
|
371
351
|
[
|
|
372
|
-
[
|
|
373
|
-
|
|
374
|
-
{
|
|
375
|
-
[_hQ]: _rIe,
|
|
376
|
-
},
|
|
377
|
-
],
|
|
378
|
-
[
|
|
379
|
-
1,
|
|
380
|
-
{
|
|
381
|
-
[_hQ]: _rV,
|
|
382
|
-
},
|
|
383
|
-
],
|
|
352
|
+
[0, { [_hQ]: _rIe }],
|
|
353
|
+
[1, { [_hQ]: _rV }],
|
|
384
354
|
],
|
|
385
355
|
];
|
|
386
356
|
var GetReportMetadataResponse = [3, n0, _GRMRe, 0, [_rD], [() => ReportDetail]];
|
|
@@ -391,24 +361,9 @@ var GetReportRequest = [
|
|
|
391
361
|
0,
|
|
392
362
|
[_rIe, _rV, _tTe],
|
|
393
363
|
[
|
|
394
|
-
[
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
[_hQ]: _rIe,
|
|
398
|
-
},
|
|
399
|
-
],
|
|
400
|
-
[
|
|
401
|
-
1,
|
|
402
|
-
{
|
|
403
|
-
[_hQ]: _rV,
|
|
404
|
-
},
|
|
405
|
-
],
|
|
406
|
-
[
|
|
407
|
-
0,
|
|
408
|
-
{
|
|
409
|
-
[_hQ]: _tTe,
|
|
410
|
-
},
|
|
411
|
-
],
|
|
364
|
+
[0, { [_hQ]: _rIe }],
|
|
365
|
+
[1, { [_hQ]: _rV }],
|
|
366
|
+
[0, { [_hQ]: _tTe }],
|
|
412
367
|
],
|
|
413
368
|
];
|
|
414
369
|
var GetReportResponse = [3, n0, _GRRe, 0, [_dPU], [0]];
|
|
@@ -419,18 +374,8 @@ var GetTermForReportRequest = [
|
|
|
419
374
|
0,
|
|
420
375
|
[_rIe, _rV],
|
|
421
376
|
[
|
|
422
|
-
[
|
|
423
|
-
|
|
424
|
-
{
|
|
425
|
-
[_hQ]: _rIe,
|
|
426
|
-
},
|
|
427
|
-
],
|
|
428
|
-
[
|
|
429
|
-
1,
|
|
430
|
-
{
|
|
431
|
-
[_hQ]: _rV,
|
|
432
|
-
},
|
|
433
|
-
],
|
|
377
|
+
[0, { [_hQ]: _rIe }],
|
|
378
|
+
[1, { [_hQ]: _rV }],
|
|
434
379
|
],
|
|
435
380
|
];
|
|
436
381
|
var GetTermForReportResponse = [3, n0, _GTFRRe, 0, [_dPU, _tTe], [0, 0]];
|
|
@@ -438,20 +383,9 @@ var InternalServerException = [
|
|
|
438
383
|
-3,
|
|
439
384
|
n0,
|
|
440
385
|
_ISE,
|
|
441
|
-
{
|
|
442
|
-
[_e]: _se,
|
|
443
|
-
[_hE]: 500,
|
|
444
|
-
},
|
|
386
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
445
387
|
[_m, _rAS],
|
|
446
|
-
[
|
|
447
|
-
0,
|
|
448
|
-
[
|
|
449
|
-
1,
|
|
450
|
-
{
|
|
451
|
-
[_hH]: _RA,
|
|
452
|
-
},
|
|
453
|
-
],
|
|
454
|
-
],
|
|
388
|
+
[0, [1, { [_hH]: _RA }]],
|
|
455
389
|
];
|
|
456
390
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
457
391
|
var ListCustomerAgreementsRequest = [
|
|
@@ -461,18 +395,8 @@ var ListCustomerAgreementsRequest = [
|
|
|
461
395
|
0,
|
|
462
396
|
[_mR, _nT],
|
|
463
397
|
[
|
|
464
|
-
[
|
|
465
|
-
|
|
466
|
-
{
|
|
467
|
-
[_hQ]: _mR,
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
[
|
|
471
|
-
0,
|
|
472
|
-
{
|
|
473
|
-
[_hQ]: _nT,
|
|
474
|
-
},
|
|
475
|
-
],
|
|
398
|
+
[1, { [_hQ]: _mR }],
|
|
399
|
+
[0, { [_hQ]: _nT }],
|
|
476
400
|
],
|
|
477
401
|
];
|
|
478
402
|
var ListCustomerAgreementsResponse = [
|
|
@@ -490,18 +414,8 @@ var ListReportsRequest = [
|
|
|
490
414
|
0,
|
|
491
415
|
[_mR, _nT],
|
|
492
416
|
[
|
|
493
|
-
[
|
|
494
|
-
|
|
495
|
-
{
|
|
496
|
-
[_hQ]: _mR,
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
[
|
|
500
|
-
0,
|
|
501
|
-
{
|
|
502
|
-
[_hQ]: _nT,
|
|
503
|
-
},
|
|
504
|
-
],
|
|
417
|
+
[1, { [_hQ]: _mR }],
|
|
418
|
+
[0, { [_hQ]: _nT }],
|
|
505
419
|
],
|
|
506
420
|
];
|
|
507
421
|
var ListReportsResponse = [3, n0, _LRRi, 0, [_r, _nT], [() => ReportsList, 0]];
|
|
@@ -527,10 +441,7 @@ var ResourceNotFoundException = [
|
|
|
527
441
|
-3,
|
|
528
442
|
n0,
|
|
529
443
|
_RNFE,
|
|
530
|
-
{
|
|
531
|
-
[_e]: _c,
|
|
532
|
-
[_hE]: 404,
|
|
533
|
-
},
|
|
444
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
534
445
|
[_m, _rI, _rT],
|
|
535
446
|
[0, 0, 0],
|
|
536
447
|
];
|
|
@@ -539,10 +450,7 @@ var ServiceQuotaExceededException = [
|
|
|
539
450
|
-3,
|
|
540
451
|
n0,
|
|
541
452
|
_SQEE,
|
|
542
|
-
{
|
|
543
|
-
[_e]: _c,
|
|
544
|
-
[_hE]: 402,
|
|
545
|
-
},
|
|
453
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
546
454
|
[_m, _rI, _rT, _sC, _qC],
|
|
547
455
|
[0, 0, 0, 0, 0],
|
|
548
456
|
];
|
|
@@ -551,32 +459,16 @@ var ThrottlingException = [
|
|
|
551
459
|
-3,
|
|
552
460
|
n0,
|
|
553
461
|
_TE,
|
|
554
|
-
{
|
|
555
|
-
[_e]: _c,
|
|
556
|
-
[_hE]: 429,
|
|
557
|
-
},
|
|
462
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
558
463
|
[_m, _sC, _qC, _rAS],
|
|
559
|
-
[
|
|
560
|
-
0,
|
|
561
|
-
0,
|
|
562
|
-
0,
|
|
563
|
-
[
|
|
564
|
-
1,
|
|
565
|
-
{
|
|
566
|
-
[_hH]: _RA,
|
|
567
|
-
},
|
|
568
|
-
],
|
|
569
|
-
],
|
|
464
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
570
465
|
];
|
|
571
466
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
572
467
|
var ValidationException = [
|
|
573
468
|
-3,
|
|
574
469
|
n0,
|
|
575
470
|
_VE,
|
|
576
|
-
{
|
|
577
|
-
[_e]: _c,
|
|
578
|
-
[_hE]: 400,
|
|
579
|
-
},
|
|
471
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
580
472
|
[_m, _re, _fL],
|
|
581
473
|
[0, 0, () => ValidationExceptionFieldList],
|
|
582
474
|
];
|
|
@@ -591,9 +483,7 @@ var GetAccountSettings = [
|
|
|
591
483
|
9,
|
|
592
484
|
n0,
|
|
593
485
|
_GAS,
|
|
594
|
-
{
|
|
595
|
-
[_h]: ["GET", "/v1/account-settings/get", 200],
|
|
596
|
-
},
|
|
486
|
+
{ [_h]: ["GET", "/v1/account-settings/get", 200] },
|
|
597
487
|
() => GetAccountSettingsRequest,
|
|
598
488
|
() => GetAccountSettingsResponse,
|
|
599
489
|
];
|
|
@@ -601,9 +491,7 @@ var GetReport = [
|
|
|
601
491
|
9,
|
|
602
492
|
n0,
|
|
603
493
|
_GR,
|
|
604
|
-
{
|
|
605
|
-
[_h]: ["GET", "/v1/report/get", 200],
|
|
606
|
-
},
|
|
494
|
+
{ [_h]: ["GET", "/v1/report/get", 200] },
|
|
607
495
|
() => GetReportRequest,
|
|
608
496
|
() => GetReportResponse,
|
|
609
497
|
];
|
|
@@ -611,9 +499,7 @@ var GetReportMetadata = [
|
|
|
611
499
|
9,
|
|
612
500
|
n0,
|
|
613
501
|
_GRM,
|
|
614
|
-
{
|
|
615
|
-
[_h]: ["GET", "/v1/report/getMetadata", 200],
|
|
616
|
-
},
|
|
502
|
+
{ [_h]: ["GET", "/v1/report/getMetadata", 200] },
|
|
617
503
|
() => GetReportMetadataRequest,
|
|
618
504
|
() => GetReportMetadataResponse,
|
|
619
505
|
];
|
|
@@ -621,9 +507,7 @@ var GetTermForReport = [
|
|
|
621
507
|
9,
|
|
622
508
|
n0,
|
|
623
509
|
_GTFR,
|
|
624
|
-
{
|
|
625
|
-
[_h]: ["GET", "/v1/report/getTermForReport", 200],
|
|
626
|
-
},
|
|
510
|
+
{ [_h]: ["GET", "/v1/report/getTermForReport", 200] },
|
|
627
511
|
() => GetTermForReportRequest,
|
|
628
512
|
() => GetTermForReportResponse,
|
|
629
513
|
];
|
|
@@ -631,9 +515,7 @@ var ListCustomerAgreements = [
|
|
|
631
515
|
9,
|
|
632
516
|
n0,
|
|
633
517
|
_LCA,
|
|
634
|
-
{
|
|
635
|
-
[_h]: ["GET", "/v1/customer-agreement/list", 200],
|
|
636
|
-
},
|
|
518
|
+
{ [_h]: ["GET", "/v1/customer-agreement/list", 200] },
|
|
637
519
|
() => ListCustomerAgreementsRequest,
|
|
638
520
|
() => ListCustomerAgreementsResponse,
|
|
639
521
|
];
|
|
@@ -641,9 +523,7 @@ var ListReports = [
|
|
|
641
523
|
9,
|
|
642
524
|
n0,
|
|
643
525
|
_LR,
|
|
644
|
-
{
|
|
645
|
-
[_h]: ["GET", "/v1/report/list", 200],
|
|
646
|
-
},
|
|
526
|
+
{ [_h]: ["GET", "/v1/report/list", 200] },
|
|
647
527
|
() => ListReportsRequest,
|
|
648
528
|
() => ListReportsResponse,
|
|
649
529
|
];
|
|
@@ -651,9 +531,7 @@ var PutAccountSettings = [
|
|
|
651
531
|
9,
|
|
652
532
|
n0,
|
|
653
533
|
_PAS,
|
|
654
|
-
{
|
|
655
|
-
[_h]: ["PUT", "/v1/account-settings/put", 200],
|
|
656
|
-
},
|
|
534
|
+
{ [_h]: ["PUT", "/v1/account-settings/put", 200] },
|
|
657
535
|
() => PutAccountSettingsRequest,
|
|
658
536
|
() => PutAccountSettingsResponse,
|
|
659
537
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultArtifactHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -94,30 +94,10 @@ const n0 = "com.amazonaws.artifact";
|
|
|
94
94
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
95
95
|
import { ArtifactServiceException as __ArtifactServiceException } from "../models/ArtifactServiceException";
|
|
96
96
|
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
97
|
-
export var AccessDeniedException = [
|
|
98
|
-
-3,
|
|
99
|
-
n0,
|
|
100
|
-
_ADE,
|
|
101
|
-
{
|
|
102
|
-
[_e]: _c,
|
|
103
|
-
[_hE]: 403,
|
|
104
|
-
},
|
|
105
|
-
[_m],
|
|
106
|
-
[0],
|
|
107
|
-
];
|
|
97
|
+
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
108
98
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
109
99
|
export var AccountSettings = [3, n0, _AS, 0, [_nSS], [0]];
|
|
110
|
-
export var ConflictException = [
|
|
111
|
-
-3,
|
|
112
|
-
n0,
|
|
113
|
-
_CE,
|
|
114
|
-
{
|
|
115
|
-
[_e]: _c,
|
|
116
|
-
[_hE]: 409,
|
|
117
|
-
},
|
|
118
|
-
[_m, _rI, _rT],
|
|
119
|
-
[0, 0, 0],
|
|
120
|
-
];
|
|
100
|
+
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
121
101
|
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
122
102
|
export var CustomerAgreementSummary = [
|
|
123
103
|
3,
|
|
@@ -136,18 +116,8 @@ export var GetReportMetadataRequest = [
|
|
|
136
116
|
0,
|
|
137
117
|
[_rIe, _rV],
|
|
138
118
|
[
|
|
139
|
-
[
|
|
140
|
-
|
|
141
|
-
{
|
|
142
|
-
[_hQ]: _rIe,
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
[
|
|
146
|
-
1,
|
|
147
|
-
{
|
|
148
|
-
[_hQ]: _rV,
|
|
149
|
-
},
|
|
150
|
-
],
|
|
119
|
+
[0, { [_hQ]: _rIe }],
|
|
120
|
+
[1, { [_hQ]: _rV }],
|
|
151
121
|
],
|
|
152
122
|
];
|
|
153
123
|
export var GetReportMetadataResponse = [3, n0, _GRMRe, 0, [_rD], [() => ReportDetail]];
|
|
@@ -158,24 +128,9 @@ export var GetReportRequest = [
|
|
|
158
128
|
0,
|
|
159
129
|
[_rIe, _rV, _tTe],
|
|
160
130
|
[
|
|
161
|
-
[
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
[_hQ]: _rIe,
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
[
|
|
168
|
-
1,
|
|
169
|
-
{
|
|
170
|
-
[_hQ]: _rV,
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
[
|
|
174
|
-
0,
|
|
175
|
-
{
|
|
176
|
-
[_hQ]: _tTe,
|
|
177
|
-
},
|
|
178
|
-
],
|
|
131
|
+
[0, { [_hQ]: _rIe }],
|
|
132
|
+
[1, { [_hQ]: _rV }],
|
|
133
|
+
[0, { [_hQ]: _tTe }],
|
|
179
134
|
],
|
|
180
135
|
];
|
|
181
136
|
export var GetReportResponse = [3, n0, _GRRe, 0, [_dPU], [0]];
|
|
@@ -186,18 +141,8 @@ export var GetTermForReportRequest = [
|
|
|
186
141
|
0,
|
|
187
142
|
[_rIe, _rV],
|
|
188
143
|
[
|
|
189
|
-
[
|
|
190
|
-
|
|
191
|
-
{
|
|
192
|
-
[_hQ]: _rIe,
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
[
|
|
196
|
-
1,
|
|
197
|
-
{
|
|
198
|
-
[_hQ]: _rV,
|
|
199
|
-
},
|
|
200
|
-
],
|
|
144
|
+
[0, { [_hQ]: _rIe }],
|
|
145
|
+
[1, { [_hQ]: _rV }],
|
|
201
146
|
],
|
|
202
147
|
];
|
|
203
148
|
export var GetTermForReportResponse = [3, n0, _GTFRRe, 0, [_dPU, _tTe], [0, 0]];
|
|
@@ -205,20 +150,9 @@ export var InternalServerException = [
|
|
|
205
150
|
-3,
|
|
206
151
|
n0,
|
|
207
152
|
_ISE,
|
|
208
|
-
{
|
|
209
|
-
[_e]: _se,
|
|
210
|
-
[_hE]: 500,
|
|
211
|
-
},
|
|
153
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
212
154
|
[_m, _rAS],
|
|
213
|
-
[
|
|
214
|
-
0,
|
|
215
|
-
[
|
|
216
|
-
1,
|
|
217
|
-
{
|
|
218
|
-
[_hH]: _RA,
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
],
|
|
155
|
+
[0, [1, { [_hH]: _RA }]],
|
|
222
156
|
];
|
|
223
157
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
224
158
|
export var ListCustomerAgreementsRequest = [
|
|
@@ -228,18 +162,8 @@ export var ListCustomerAgreementsRequest = [
|
|
|
228
162
|
0,
|
|
229
163
|
[_mR, _nT],
|
|
230
164
|
[
|
|
231
|
-
[
|
|
232
|
-
|
|
233
|
-
{
|
|
234
|
-
[_hQ]: _mR,
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
[
|
|
238
|
-
0,
|
|
239
|
-
{
|
|
240
|
-
[_hQ]: _nT,
|
|
241
|
-
},
|
|
242
|
-
],
|
|
165
|
+
[1, { [_hQ]: _mR }],
|
|
166
|
+
[0, { [_hQ]: _nT }],
|
|
243
167
|
],
|
|
244
168
|
];
|
|
245
169
|
export var ListCustomerAgreementsResponse = [
|
|
@@ -257,18 +181,8 @@ export var ListReportsRequest = [
|
|
|
257
181
|
0,
|
|
258
182
|
[_mR, _nT],
|
|
259
183
|
[
|
|
260
|
-
[
|
|
261
|
-
|
|
262
|
-
{
|
|
263
|
-
[_hQ]: _mR,
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
[
|
|
267
|
-
0,
|
|
268
|
-
{
|
|
269
|
-
[_hQ]: _nT,
|
|
270
|
-
},
|
|
271
|
-
],
|
|
184
|
+
[1, { [_hQ]: _mR }],
|
|
185
|
+
[0, { [_hQ]: _nT }],
|
|
272
186
|
],
|
|
273
187
|
];
|
|
274
188
|
export var ListReportsResponse = [3, n0, _LRRi, 0, [_r, _nT], [() => ReportsList, 0]];
|
|
@@ -294,10 +208,7 @@ export var ResourceNotFoundException = [
|
|
|
294
208
|
-3,
|
|
295
209
|
n0,
|
|
296
210
|
_RNFE,
|
|
297
|
-
{
|
|
298
|
-
[_e]: _c,
|
|
299
|
-
[_hE]: 404,
|
|
300
|
-
},
|
|
211
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
301
212
|
[_m, _rI, _rT],
|
|
302
213
|
[0, 0, 0],
|
|
303
214
|
];
|
|
@@ -306,10 +217,7 @@ export var ServiceQuotaExceededException = [
|
|
|
306
217
|
-3,
|
|
307
218
|
n0,
|
|
308
219
|
_SQEE,
|
|
309
|
-
{
|
|
310
|
-
[_e]: _c,
|
|
311
|
-
[_hE]: 402,
|
|
312
|
-
},
|
|
220
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
313
221
|
[_m, _rI, _rT, _sC, _qC],
|
|
314
222
|
[0, 0, 0, 0, 0],
|
|
315
223
|
];
|
|
@@ -318,32 +226,16 @@ export var ThrottlingException = [
|
|
|
318
226
|
-3,
|
|
319
227
|
n0,
|
|
320
228
|
_TE,
|
|
321
|
-
{
|
|
322
|
-
[_e]: _c,
|
|
323
|
-
[_hE]: 429,
|
|
324
|
-
},
|
|
229
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
325
230
|
[_m, _sC, _qC, _rAS],
|
|
326
|
-
[
|
|
327
|
-
0,
|
|
328
|
-
0,
|
|
329
|
-
0,
|
|
330
|
-
[
|
|
331
|
-
1,
|
|
332
|
-
{
|
|
333
|
-
[_hH]: _RA,
|
|
334
|
-
},
|
|
335
|
-
],
|
|
336
|
-
],
|
|
231
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
337
232
|
];
|
|
338
233
|
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
339
234
|
export var ValidationException = [
|
|
340
235
|
-3,
|
|
341
236
|
n0,
|
|
342
237
|
_VE,
|
|
343
|
-
{
|
|
344
|
-
[_e]: _c,
|
|
345
|
-
[_hE]: 400,
|
|
346
|
-
},
|
|
238
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
347
239
|
[_m, _re, _fL],
|
|
348
240
|
[0, 0, () => ValidationExceptionFieldList],
|
|
349
241
|
];
|
|
@@ -360,9 +252,7 @@ export var GetAccountSettings = [
|
|
|
360
252
|
9,
|
|
361
253
|
n0,
|
|
362
254
|
_GAS,
|
|
363
|
-
{
|
|
364
|
-
[_h]: ["GET", "/v1/account-settings/get", 200],
|
|
365
|
-
},
|
|
255
|
+
{ [_h]: ["GET", "/v1/account-settings/get", 200] },
|
|
366
256
|
() => GetAccountSettingsRequest,
|
|
367
257
|
() => GetAccountSettingsResponse,
|
|
368
258
|
];
|
|
@@ -370,9 +260,7 @@ export var GetReport = [
|
|
|
370
260
|
9,
|
|
371
261
|
n0,
|
|
372
262
|
_GR,
|
|
373
|
-
{
|
|
374
|
-
[_h]: ["GET", "/v1/report/get", 200],
|
|
375
|
-
},
|
|
263
|
+
{ [_h]: ["GET", "/v1/report/get", 200] },
|
|
376
264
|
() => GetReportRequest,
|
|
377
265
|
() => GetReportResponse,
|
|
378
266
|
];
|
|
@@ -380,9 +268,7 @@ export var GetReportMetadata = [
|
|
|
380
268
|
9,
|
|
381
269
|
n0,
|
|
382
270
|
_GRM,
|
|
383
|
-
{
|
|
384
|
-
[_h]: ["GET", "/v1/report/getMetadata", 200],
|
|
385
|
-
},
|
|
271
|
+
{ [_h]: ["GET", "/v1/report/getMetadata", 200] },
|
|
386
272
|
() => GetReportMetadataRequest,
|
|
387
273
|
() => GetReportMetadataResponse,
|
|
388
274
|
];
|
|
@@ -390,9 +276,7 @@ export var GetTermForReport = [
|
|
|
390
276
|
9,
|
|
391
277
|
n0,
|
|
392
278
|
_GTFR,
|
|
393
|
-
{
|
|
394
|
-
[_h]: ["GET", "/v1/report/getTermForReport", 200],
|
|
395
|
-
},
|
|
279
|
+
{ [_h]: ["GET", "/v1/report/getTermForReport", 200] },
|
|
396
280
|
() => GetTermForReportRequest,
|
|
397
281
|
() => GetTermForReportResponse,
|
|
398
282
|
];
|
|
@@ -400,9 +284,7 @@ export var ListCustomerAgreements = [
|
|
|
400
284
|
9,
|
|
401
285
|
n0,
|
|
402
286
|
_LCA,
|
|
403
|
-
{
|
|
404
|
-
[_h]: ["GET", "/v1/customer-agreement/list", 200],
|
|
405
|
-
},
|
|
287
|
+
{ [_h]: ["GET", "/v1/customer-agreement/list", 200] },
|
|
406
288
|
() => ListCustomerAgreementsRequest,
|
|
407
289
|
() => ListCustomerAgreementsResponse,
|
|
408
290
|
];
|
|
@@ -410,9 +292,7 @@ export var ListReports = [
|
|
|
410
292
|
9,
|
|
411
293
|
n0,
|
|
412
294
|
_LR,
|
|
413
|
-
{
|
|
414
|
-
[_h]: ["GET", "/v1/report/list", 200],
|
|
415
|
-
},
|
|
295
|
+
{ [_h]: ["GET", "/v1/report/list", 200] },
|
|
416
296
|
() => ListReportsRequest,
|
|
417
297
|
() => ListReportsResponse,
|
|
418
298
|
];
|
|
@@ -420,9 +300,7 @@ export var PutAccountSettings = [
|
|
|
420
300
|
9,
|
|
421
301
|
n0,
|
|
422
302
|
_PAS,
|
|
423
|
-
{
|
|
424
|
-
[_h]: ["PUT", "/v1/account-settings/put", 200],
|
|
425
|
-
},
|
|
303
|
+
{ [_h]: ["PUT", "/v1/account-settings/put", 200] },
|
|
426
304
|
() => PutAccountSettingsRequest,
|
|
427
305
|
() => PutAccountSettingsResponse,
|
|
428
306
|
];
|
package/dist-types/Artifact.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { ArtifactClient } from "./ArtifactClient";
|
|
3
3
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
4
4
|
import { GetReportCommandInput, GetReportCommandOutput } from "./commands/GetReportCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
11
11
|
import { GetReportCommandInput, GetReportCommandOutput } from "./commands/GetReportCommand";
|
|
12
12
|
import { GetReportMetadataCommandInput, GetReportMetadataCommandOutput } from "./commands/GetReportMetadataCommand";
|
|
@@ -15,7 +15,7 @@ import { ListCustomerAgreementsCommandInput, ListCustomerAgreementsCommandOutput
|
|
|
15
15
|
import { ListReportsCommandInput, ListReportsCommandOutput } from "./commands/ListReportsCommand";
|
|
16
16
|
import { PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput } from "./commands/PutAccountSettingsCommand";
|
|
17
17
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
18
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
18
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
19
19
|
export { __Client };
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { ArtifactHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { ArtifactHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig } from "../ArtifactClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type ArtifactClientResolvedConfig } from "../ArtifactClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { GetAccountSettingsRequest, GetAccountSettingsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { GetAccountSettingsRequest, GetAccountSettingsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { GetReportRequest, GetReportResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { GetReportRequest, GetReportResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { GetReportMetadataRequest, GetReportMetadataResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { GetReportMetadataRequest, GetReportMetadataResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { GetTermForReportRequest, GetTermForReportResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { GetTermForReportRequest, GetTermForReportResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { ListCustomerAgreementsRequest, ListCustomerAgreementsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { ListCustomerAgreementsRequest, ListCustomerAgreementsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { ListReportsRequest, ListReportsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { ListReportsRequest, ListReportsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
-
import { PutAccountSettingsRequest, PutAccountSettingsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import type { PutAccountSettingsRequest, PutAccountSettingsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
9
|
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
UseDualStack?: boolean | undefined;
|
|
35
47
|
UseFIPS?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
3
|
import { ValidationExceptionReason } from "./enums";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListCustomerAgreementsCommandInput, ListCustomerAgreementsCommandOutput } from "../commands/ListCustomerAgreementsCommand";
|
|
3
3
|
import { ArtifactPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
3
3
|
export declare var AccountSettings: StaticStructureSchema;
|
|
4
4
|
export declare var ConflictException: StaticErrorSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
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.946.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-artifact",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo artifact"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo artifact",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.946.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|