@aws-sdk/client-codeartifact 3.127.0 → 3.131.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/CHANGELOG.md +32 -0
- package/README.md +10 -0
- package/dist-cjs/Codeartifact.js +30 -0
- package/dist-cjs/commands/DescribePackageCommand.js +36 -0
- package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +73 -3
- package/dist-cjs/protocols/Aws_restJson1.js +213 -2
- package/dist-es/Codeartifact.js +30 -0
- package/dist-es/commands/DescribePackageCommand.js +39 -0
- package/dist-es/commands/PutPackageOriginConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/protocols/Aws_restJson1.js +247 -2
- package/dist-types/Codeartifact.d.ts +37 -1
- package/dist-types/CodeartifactClient.d.ts +14 -2
- package/dist-types/commands/DescribePackageCommand.d.ts +37 -0
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +3 -1
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +43 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +466 -177
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +10 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +136 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +7 -7
|
@@ -15,6 +15,14 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
15
15
|
*/
|
|
16
16
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
17
|
}
|
|
18
|
+
export declare enum AllowPublish {
|
|
19
|
+
ALLOW = "ALLOW",
|
|
20
|
+
BLOCK = "BLOCK"
|
|
21
|
+
}
|
|
22
|
+
export declare enum AllowUpstream {
|
|
23
|
+
ALLOW = "ALLOW",
|
|
24
|
+
BLOCK = "BLOCK"
|
|
25
|
+
}
|
|
18
26
|
export declare enum HashAlgorithm {
|
|
19
27
|
MD5 = "MD5",
|
|
20
28
|
SHA1 = "SHA-1",
|
|
@@ -82,11 +90,6 @@ export interface AssociateExternalConnectionRequest {
|
|
|
82
90
|
* </li>
|
|
83
91
|
* <li>
|
|
84
92
|
* <p>
|
|
85
|
-
* <code>public:nuget-org</code> - for the NuGet Gallery.
|
|
86
|
-
* </p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>
|
|
90
93
|
* <code>public:pypi</code> - for the Python Package Index.
|
|
91
94
|
* </p>
|
|
92
95
|
* </li>
|
|
@@ -426,7 +429,7 @@ export interface CopyPackageVersionsRequest {
|
|
|
426
429
|
domainOwner?: string;
|
|
427
430
|
/**
|
|
428
431
|
* <p>
|
|
429
|
-
* The name of the repository that contains the package versions to
|
|
432
|
+
* The name of the repository that contains the package versions to be copied.
|
|
430
433
|
* </p>
|
|
431
434
|
*/
|
|
432
435
|
sourceRepository: string | undefined;
|
|
@@ -438,30 +441,29 @@ export interface CopyPackageVersionsRequest {
|
|
|
438
441
|
destinationRepository: string | undefined;
|
|
439
442
|
/**
|
|
440
443
|
* <p>
|
|
441
|
-
* The format of the package
|
|
444
|
+
* The format of the package versions to be copied.
|
|
442
445
|
* </p>
|
|
443
446
|
*/
|
|
444
447
|
format: PackageFormat | string | undefined;
|
|
445
448
|
/**
|
|
446
|
-
* <p>
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
* </p>
|
|
449
|
+
* <p>The namespace of the package versions to be copied. The package version component that specifies its
|
|
450
|
+
* namespace depends on its type. For example:</p>
|
|
451
|
+
*
|
|
450
452
|
* <ul>
|
|
451
453
|
* <li>
|
|
452
454
|
* <p>
|
|
453
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
455
|
+
* The namespace of a Maven package version is its <code>groupId</code>. The namespace is required when copying Maven package versions.
|
|
454
456
|
* </p>
|
|
455
457
|
* </li>
|
|
456
458
|
* <li>
|
|
457
459
|
* <p>
|
|
458
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
460
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
459
461
|
* </p>
|
|
460
462
|
* </li>
|
|
461
463
|
* <li>
|
|
462
464
|
* <p>
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
466
|
+
* of those formats do not have a namespace.
|
|
465
467
|
* </p>
|
|
466
468
|
* </li>
|
|
467
469
|
* </ul>
|
|
@@ -469,13 +471,13 @@ export interface CopyPackageVersionsRequest {
|
|
|
469
471
|
namespace?: string;
|
|
470
472
|
/**
|
|
471
473
|
* <p>
|
|
472
|
-
* The name of the package that
|
|
474
|
+
* The name of the package that contains the versions to be copied.
|
|
473
475
|
* </p>
|
|
474
476
|
*/
|
|
475
477
|
package: string | undefined;
|
|
476
478
|
/**
|
|
477
479
|
* <p>
|
|
478
|
-
* The versions of the package to
|
|
480
|
+
* The versions of the package to be copied.
|
|
479
481
|
* </p>
|
|
480
482
|
* <note>
|
|
481
483
|
* <p>
|
|
@@ -528,7 +530,7 @@ export declare enum PackageVersionErrorCode {
|
|
|
528
530
|
SKIPPED = "SKIPPED"
|
|
529
531
|
}
|
|
530
532
|
/**
|
|
531
|
-
* <p>
|
|
533
|
+
* <p>l
|
|
532
534
|
* An error associated with package.
|
|
533
535
|
* </p>
|
|
534
536
|
*/
|
|
@@ -1007,26 +1009,25 @@ export interface DeletePackageVersionsRequest {
|
|
|
1007
1009
|
*/
|
|
1008
1010
|
format: PackageFormat | string | undefined;
|
|
1009
1011
|
/**
|
|
1010
|
-
* <p>
|
|
1011
|
-
*
|
|
1012
|
-
*
|
|
1013
|
-
* </p>
|
|
1012
|
+
* <p>The namespace of the package versions to be deleted. The package version component that specifies its
|
|
1013
|
+
* namespace depends on its type. For example:</p>
|
|
1014
|
+
*
|
|
1014
1015
|
* <ul>
|
|
1015
1016
|
* <li>
|
|
1016
1017
|
* <p>
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1018
|
+
* The namespace of a Maven package version is its <code>groupId</code>. The namespace is required when deleting Maven package versions.
|
|
1019
|
+
* </p>
|
|
1019
1020
|
* </li>
|
|
1020
1021
|
* <li>
|
|
1021
1022
|
* <p>
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
1023
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1024
|
+
* </p>
|
|
1024
1025
|
* </li>
|
|
1025
1026
|
* <li>
|
|
1026
1027
|
* <p>
|
|
1027
|
-
*
|
|
1028
|
-
*
|
|
1029
|
-
*
|
|
1028
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
1029
|
+
* of those formats do not have a namespace.
|
|
1030
|
+
* </p>
|
|
1030
1031
|
* </li>
|
|
1031
1032
|
* </ul>
|
|
1032
1033
|
*/
|
|
@@ -1233,6 +1234,158 @@ export declare namespace DescribeDomainResult {
|
|
|
1233
1234
|
*/
|
|
1234
1235
|
const filterSensitiveLog: (obj: DescribeDomainResult) => any;
|
|
1235
1236
|
}
|
|
1237
|
+
export interface DescribePackageRequest {
|
|
1238
|
+
/**
|
|
1239
|
+
* <p>The name of the domain that contains the repository that contains the package.</p>
|
|
1240
|
+
*/
|
|
1241
|
+
domain: string | undefined;
|
|
1242
|
+
/**
|
|
1243
|
+
* <p>
|
|
1244
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1245
|
+
* dashes or spaces.
|
|
1246
|
+
* </p>
|
|
1247
|
+
*/
|
|
1248
|
+
domainOwner?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* <p>The name of the repository that contains the requested package. </p>
|
|
1251
|
+
*/
|
|
1252
|
+
repository: string | undefined;
|
|
1253
|
+
/**
|
|
1254
|
+
* <p>A format that specifies the type of the requested package.</p>
|
|
1255
|
+
*/
|
|
1256
|
+
format: PackageFormat | string | undefined;
|
|
1257
|
+
/**
|
|
1258
|
+
* <p>The namespace of the requested package. The package component that specifies its
|
|
1259
|
+
* namespace depends on its type. For example:</p>
|
|
1260
|
+
*
|
|
1261
|
+
* <ul>
|
|
1262
|
+
* <li>
|
|
1263
|
+
* <p>
|
|
1264
|
+
* The namespace of a Maven package is its <code>groupId</code>. The namespace is required when requesting Maven packages.
|
|
1265
|
+
* </p>
|
|
1266
|
+
* </li>
|
|
1267
|
+
* <li>
|
|
1268
|
+
* <p>
|
|
1269
|
+
* The namespace of an npm package is its <code>scope</code>.
|
|
1270
|
+
* </p>
|
|
1271
|
+
* </li>
|
|
1272
|
+
* <li>
|
|
1273
|
+
* <p>
|
|
1274
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
1275
|
+
* of those formats do not have a namespace.
|
|
1276
|
+
* </p>
|
|
1277
|
+
* </li>
|
|
1278
|
+
* </ul>
|
|
1279
|
+
*/
|
|
1280
|
+
namespace?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* <p>The name of the requested package.</p>
|
|
1283
|
+
*/
|
|
1284
|
+
package: string | undefined;
|
|
1285
|
+
}
|
|
1286
|
+
export declare namespace DescribePackageRequest {
|
|
1287
|
+
/**
|
|
1288
|
+
* @internal
|
|
1289
|
+
*/
|
|
1290
|
+
const filterSensitiveLog: (obj: DescribePackageRequest) => any;
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>Details about the origin restrictions set on the package.
|
|
1294
|
+
* The package origin restrictions determine how new versions of a package
|
|
1295
|
+
* can be added to a specific repository.</p>
|
|
1296
|
+
*/
|
|
1297
|
+
export interface PackageOriginRestrictions {
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>The package origin configuration that determines if new versions of the package can be published directly to the repository.</p>
|
|
1300
|
+
*/
|
|
1301
|
+
publish: AllowPublish | string | undefined;
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.</p>
|
|
1304
|
+
*/
|
|
1305
|
+
upstream: AllowUpstream | string | undefined;
|
|
1306
|
+
}
|
|
1307
|
+
export declare namespace PackageOriginRestrictions {
|
|
1308
|
+
/**
|
|
1309
|
+
* @internal
|
|
1310
|
+
*/
|
|
1311
|
+
const filterSensitiveLog: (obj: PackageOriginRestrictions) => any;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>Details about the package origin configuration of a package.</p>
|
|
1315
|
+
*/
|
|
1316
|
+
export interface PackageOriginConfiguration {
|
|
1317
|
+
/**
|
|
1318
|
+
* <p>A <code>PackageOriginRestrictions</code> object that contains information
|
|
1319
|
+
* about the upstream and publish package origin configuration for the package.</p>
|
|
1320
|
+
*/
|
|
1321
|
+
restrictions?: PackageOriginRestrictions;
|
|
1322
|
+
}
|
|
1323
|
+
export declare namespace PackageOriginConfiguration {
|
|
1324
|
+
/**
|
|
1325
|
+
* @internal
|
|
1326
|
+
*/
|
|
1327
|
+
const filterSensitiveLog: (obj: PackageOriginConfiguration) => any;
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* <p>Details about a package.</p>
|
|
1331
|
+
*/
|
|
1332
|
+
export interface PackageDescription {
|
|
1333
|
+
/**
|
|
1334
|
+
* <p>A format that specifies the type of the package.</p>
|
|
1335
|
+
*/
|
|
1336
|
+
format?: PackageFormat | string;
|
|
1337
|
+
/**
|
|
1338
|
+
* <p>The namespace of the package. The package component that specifies its
|
|
1339
|
+
* namespace depends on its type. For example:</p>
|
|
1340
|
+
*
|
|
1341
|
+
* <ul>
|
|
1342
|
+
* <li>
|
|
1343
|
+
* <p>
|
|
1344
|
+
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1345
|
+
* </p>
|
|
1346
|
+
* </li>
|
|
1347
|
+
* <li>
|
|
1348
|
+
* <p>
|
|
1349
|
+
* The namespace of an npm package is its <code>scope</code>.
|
|
1350
|
+
* </p>
|
|
1351
|
+
* </li>
|
|
1352
|
+
* <li>
|
|
1353
|
+
* <p>
|
|
1354
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
1355
|
+
* of those formats do not have a namespace.
|
|
1356
|
+
* </p>
|
|
1357
|
+
* </li>
|
|
1358
|
+
* </ul>
|
|
1359
|
+
*/
|
|
1360
|
+
namespace?: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* <p>The name of the package.</p>
|
|
1363
|
+
*/
|
|
1364
|
+
name?: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* <p>The package origin configuration for the package.</p>
|
|
1367
|
+
*/
|
|
1368
|
+
originConfiguration?: PackageOriginConfiguration;
|
|
1369
|
+
}
|
|
1370
|
+
export declare namespace PackageDescription {
|
|
1371
|
+
/**
|
|
1372
|
+
* @internal
|
|
1373
|
+
*/
|
|
1374
|
+
const filterSensitiveLog: (obj: PackageDescription) => any;
|
|
1375
|
+
}
|
|
1376
|
+
export interface DescribePackageResult {
|
|
1377
|
+
/**
|
|
1378
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
|
|
1379
|
+
* object that contains information about the requested package.</p>
|
|
1380
|
+
*/
|
|
1381
|
+
package: PackageDescription | undefined;
|
|
1382
|
+
}
|
|
1383
|
+
export declare namespace DescribePackageResult {
|
|
1384
|
+
/**
|
|
1385
|
+
* @internal
|
|
1386
|
+
*/
|
|
1387
|
+
const filterSensitiveLog: (obj: DescribePackageResult) => any;
|
|
1388
|
+
}
|
|
1236
1389
|
export interface DescribePackageVersionRequest {
|
|
1237
1390
|
/**
|
|
1238
1391
|
* <p>
|
|
@@ -1258,25 +1411,24 @@ export interface DescribePackageVersionRequest {
|
|
|
1258
1411
|
*/
|
|
1259
1412
|
format: PackageFormat | string | undefined;
|
|
1260
1413
|
/**
|
|
1261
|
-
* <p>
|
|
1262
|
-
*
|
|
1263
|
-
*
|
|
1264
|
-
* </p>
|
|
1414
|
+
* <p>The namespace of the requested package version. The package version component that specifies its
|
|
1415
|
+
* namespace depends on its type. For example:</p>
|
|
1416
|
+
*
|
|
1265
1417
|
* <ul>
|
|
1266
1418
|
* <li>
|
|
1267
1419
|
* <p>
|
|
1268
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1420
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
1269
1421
|
* </p>
|
|
1270
1422
|
* </li>
|
|
1271
1423
|
* <li>
|
|
1272
1424
|
* <p>
|
|
1273
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1425
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1274
1426
|
* </p>
|
|
1275
1427
|
* </li>
|
|
1276
1428
|
* <li>
|
|
1277
1429
|
* <p>
|
|
1278
|
-
*
|
|
1279
|
-
*
|
|
1430
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
1431
|
+
* of those formats do not have a namespace.
|
|
1280
1432
|
* </p>
|
|
1281
1433
|
* </li>
|
|
1282
1434
|
* </ul>
|
|
@@ -1324,6 +1476,53 @@ export declare namespace LicenseInfo {
|
|
|
1324
1476
|
*/
|
|
1325
1477
|
const filterSensitiveLog: (obj: LicenseInfo) => any;
|
|
1326
1478
|
}
|
|
1479
|
+
/**
|
|
1480
|
+
* <p>Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to.
|
|
1481
|
+
* For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external
|
|
1482
|
+
* connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.</p>
|
|
1483
|
+
*/
|
|
1484
|
+
export interface DomainEntryPoint {
|
|
1485
|
+
/**
|
|
1486
|
+
* <p>The name of the repository that a package was originally published to.</p>
|
|
1487
|
+
*/
|
|
1488
|
+
repositoryName?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* <p>The name of the external connection that a package was ingested from.</p>
|
|
1491
|
+
*/
|
|
1492
|
+
externalConnectionName?: string;
|
|
1493
|
+
}
|
|
1494
|
+
export declare namespace DomainEntryPoint {
|
|
1495
|
+
/**
|
|
1496
|
+
* @internal
|
|
1497
|
+
*/
|
|
1498
|
+
const filterSensitiveLog: (obj: DomainEntryPoint) => any;
|
|
1499
|
+
}
|
|
1500
|
+
export declare enum PackageVersionOriginType {
|
|
1501
|
+
EXTERNAL = "EXTERNAL",
|
|
1502
|
+
INTERNAL = "INTERNAL",
|
|
1503
|
+
UNKNOWN = "UNKNOWN"
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* <p>Information about how a package version was added to a repository.</p>
|
|
1507
|
+
*/
|
|
1508
|
+
export interface PackageVersionOrigin {
|
|
1509
|
+
/**
|
|
1510
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html">DomainEntryPoint</a> object that contains
|
|
1511
|
+
* information about from which repository or external connection the package version was added to the domain.</p>
|
|
1512
|
+
*/
|
|
1513
|
+
domainEntryPoint?: DomainEntryPoint;
|
|
1514
|
+
/**
|
|
1515
|
+
* <p>Describes how the package version was originally added to the domain. An <code>INTERNAL</code> origin type means the package version was published
|
|
1516
|
+
* directly to a repository in the domain. An <code>EXTERNAL</code> origin type means the package version was ingested from an external connection.</p>
|
|
1517
|
+
*/
|
|
1518
|
+
originType?: PackageVersionOriginType | string;
|
|
1519
|
+
}
|
|
1520
|
+
export declare namespace PackageVersionOrigin {
|
|
1521
|
+
/**
|
|
1522
|
+
* @internal
|
|
1523
|
+
*/
|
|
1524
|
+
const filterSensitiveLog: (obj: PackageVersionOrigin) => any;
|
|
1525
|
+
}
|
|
1327
1526
|
/**
|
|
1328
1527
|
* <p>
|
|
1329
1528
|
* Details about a package version.
|
|
@@ -1337,25 +1536,24 @@ export interface PackageVersionDescription {
|
|
|
1337
1536
|
*/
|
|
1338
1537
|
format?: PackageFormat | string;
|
|
1339
1538
|
/**
|
|
1340
|
-
* <p>
|
|
1341
|
-
*
|
|
1342
|
-
*
|
|
1343
|
-
* </p>
|
|
1539
|
+
* <p>The namespace of the package version. The package version component that specifies its
|
|
1540
|
+
* namespace depends on its type. For example:</p>
|
|
1541
|
+
*
|
|
1344
1542
|
* <ul>
|
|
1345
1543
|
* <li>
|
|
1346
1544
|
* <p>
|
|
1347
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1545
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
1348
1546
|
* </p>
|
|
1349
1547
|
* </li>
|
|
1350
1548
|
* <li>
|
|
1351
1549
|
* <p>
|
|
1352
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1550
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1353
1551
|
* </p>
|
|
1354
1552
|
* </li>
|
|
1355
1553
|
* <li>
|
|
1356
1554
|
* <p>
|
|
1357
|
-
*
|
|
1358
|
-
*
|
|
1555
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
1556
|
+
* of those formats do not have a namespace.
|
|
1359
1557
|
* </p>
|
|
1360
1558
|
* </li>
|
|
1361
1559
|
* </ul>
|
|
@@ -1425,6 +1623,11 @@ export interface PackageVersionDescription {
|
|
|
1425
1623
|
* </p>
|
|
1426
1624
|
*/
|
|
1427
1625
|
status?: PackageVersionStatus | string;
|
|
1626
|
+
/**
|
|
1627
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains
|
|
1628
|
+
* information about how the package version was added to the repository.</p>
|
|
1629
|
+
*/
|
|
1630
|
+
origin?: PackageVersionOrigin;
|
|
1428
1631
|
}
|
|
1429
1632
|
export declare namespace PackageVersionDescription {
|
|
1430
1633
|
/**
|
|
@@ -1557,25 +1760,24 @@ export interface DisposePackageVersionsRequest {
|
|
|
1557
1760
|
*/
|
|
1558
1761
|
format: PackageFormat | string | undefined;
|
|
1559
1762
|
/**
|
|
1560
|
-
* <p>
|
|
1561
|
-
*
|
|
1562
|
-
*
|
|
1563
|
-
* </p>
|
|
1763
|
+
* <p>The namespace of the package versions to be disposed. The package version component that specifies its
|
|
1764
|
+
* namespace depends on its type. For example:</p>
|
|
1765
|
+
*
|
|
1564
1766
|
* <ul>
|
|
1565
1767
|
* <li>
|
|
1566
1768
|
* <p>
|
|
1567
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1769
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
1568
1770
|
* </p>
|
|
1569
1771
|
* </li>
|
|
1570
1772
|
* <li>
|
|
1571
1773
|
* <p>
|
|
1572
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1774
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1573
1775
|
* </p>
|
|
1574
1776
|
* </li>
|
|
1575
1777
|
* <li>
|
|
1576
1778
|
* <p>
|
|
1577
|
-
*
|
|
1578
|
-
*
|
|
1779
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
1780
|
+
* of those formats do not have a namespace.
|
|
1579
1781
|
* </p>
|
|
1580
1782
|
* </li>
|
|
1581
1783
|
* </ul>
|
|
@@ -1775,25 +1977,24 @@ export interface GetPackageVersionAssetRequest {
|
|
|
1775
1977
|
*/
|
|
1776
1978
|
format: PackageFormat | string | undefined;
|
|
1777
1979
|
/**
|
|
1778
|
-
* <p>
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1781
|
-
* </p>
|
|
1980
|
+
* <p>The namespace of the package version with the requested asset file. The package version component that specifies its
|
|
1981
|
+
* namespace depends on its type. For example:</p>
|
|
1982
|
+
*
|
|
1782
1983
|
* <ul>
|
|
1783
1984
|
* <li>
|
|
1784
1985
|
* <p>
|
|
1785
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
1986
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
1786
1987
|
* </p>
|
|
1787
1988
|
* </li>
|
|
1788
1989
|
* <li>
|
|
1789
1990
|
* <p>
|
|
1790
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
1991
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1791
1992
|
* </p>
|
|
1792
1993
|
* </li>
|
|
1793
1994
|
* <li>
|
|
1794
1995
|
* <p>
|
|
1795
|
-
*
|
|
1796
|
-
*
|
|
1996
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
1997
|
+
* of those formats do not have a namespace.
|
|
1797
1998
|
* </p>
|
|
1798
1999
|
* </li>
|
|
1799
2000
|
* </ul>
|
|
@@ -1884,32 +2085,27 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
1884
2085
|
* <p>
|
|
1885
2086
|
* A format that specifies the type of the package version with the requested readme file.
|
|
1886
2087
|
* </p>
|
|
1887
|
-
* <note>
|
|
1888
|
-
* <p>Although <code>maven</code> is
|
|
1889
|
-
* listed as a valid value, CodeArtifact does not support displaying readme files for Maven packages.</p>
|
|
1890
|
-
* </note>
|
|
1891
2088
|
*/
|
|
1892
2089
|
format: PackageFormat | string | undefined;
|
|
1893
2090
|
/**
|
|
1894
|
-
* <p>
|
|
1895
|
-
*
|
|
1896
|
-
*
|
|
1897
|
-
* </p>
|
|
2091
|
+
* <p>The namespace of the package version with the requested readme file. The package version component that specifies its
|
|
2092
|
+
* namespace depends on its type. For example:</p>
|
|
2093
|
+
*
|
|
1898
2094
|
* <ul>
|
|
1899
2095
|
* <li>
|
|
1900
2096
|
* <p>
|
|
1901
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2097
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
1902
2098
|
* </p>
|
|
1903
2099
|
* </li>
|
|
1904
2100
|
* <li>
|
|
1905
2101
|
* <p>
|
|
1906
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2102
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1907
2103
|
* </p>
|
|
1908
2104
|
* </li>
|
|
1909
2105
|
* <li>
|
|
1910
2106
|
* <p>
|
|
1911
|
-
*
|
|
1912
|
-
*
|
|
2107
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
2108
|
+
* of those formats do not have a namespace.
|
|
1913
2109
|
* </p>
|
|
1914
2110
|
* </li>
|
|
1915
2111
|
* </ul>
|
|
@@ -1942,25 +2138,24 @@ export interface GetPackageVersionReadmeResult {
|
|
|
1942
2138
|
*/
|
|
1943
2139
|
format?: PackageFormat | string;
|
|
1944
2140
|
/**
|
|
1945
|
-
* <p>
|
|
1946
|
-
*
|
|
1947
|
-
*
|
|
1948
|
-
* </p>
|
|
2141
|
+
* <p>The namespace of the package version with the requested readme file. The package version component that specifies its
|
|
2142
|
+
* namespace depends on its type. For example:</p>
|
|
2143
|
+
*
|
|
1949
2144
|
* <ul>
|
|
1950
2145
|
* <li>
|
|
1951
2146
|
* <p>
|
|
1952
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2147
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
1953
2148
|
* </p>
|
|
1954
2149
|
* </li>
|
|
1955
2150
|
* <li>
|
|
1956
2151
|
* <p>
|
|
1957
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2152
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
1958
2153
|
* </p>
|
|
1959
2154
|
* </li>
|
|
1960
2155
|
* <li>
|
|
1961
2156
|
* <p>
|
|
1962
|
-
*
|
|
1963
|
-
*
|
|
2157
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
2158
|
+
* of those formats do not have a namespace.
|
|
1964
2159
|
* </p>
|
|
1965
2160
|
* </li>
|
|
1966
2161
|
* </ul>
|
|
@@ -2179,7 +2374,7 @@ export declare namespace ListDomainsResult {
|
|
|
2179
2374
|
export interface ListPackagesRequest {
|
|
2180
2375
|
/**
|
|
2181
2376
|
* <p>
|
|
2182
|
-
* The name of the domain that contains the repository that contains the requested
|
|
2377
|
+
* The name of the domain that contains the repository that contains the requested packages.
|
|
2183
2378
|
* </p>
|
|
2184
2379
|
*/
|
|
2185
2380
|
domain: string | undefined;
|
|
@@ -2192,21 +2387,18 @@ export interface ListPackagesRequest {
|
|
|
2192
2387
|
domainOwner?: string;
|
|
2193
2388
|
/**
|
|
2194
2389
|
* <p>
|
|
2195
|
-
* The name of the repository
|
|
2390
|
+
* The name of the repository that contains the requested packages.
|
|
2196
2391
|
* </p>
|
|
2197
2392
|
*/
|
|
2198
2393
|
repository: string | undefined;
|
|
2199
2394
|
/**
|
|
2200
|
-
* <p>
|
|
2201
|
-
* The format of the packages.
|
|
2202
|
-
* </p>
|
|
2395
|
+
* <p>The format used to filter requested packages. Only packages from the provided format will be returned.</p>
|
|
2203
2396
|
*/
|
|
2204
2397
|
format?: PackageFormat | string;
|
|
2205
2398
|
/**
|
|
2206
|
-
* <p>
|
|
2207
|
-
* The
|
|
2208
|
-
*
|
|
2209
|
-
* </p>
|
|
2399
|
+
* <p>The namespace used to filter requested packages. Only packages with the provided namespace will be returned.
|
|
2400
|
+
* The package component that specifies its namespace depends on its type. For example:</p>
|
|
2401
|
+
*
|
|
2210
2402
|
* <ul>
|
|
2211
2403
|
* <li>
|
|
2212
2404
|
* <p>
|
|
@@ -2220,8 +2412,8 @@ export interface ListPackagesRequest {
|
|
|
2220
2412
|
* </li>
|
|
2221
2413
|
* <li>
|
|
2222
2414
|
* <p>
|
|
2223
|
-
*
|
|
2224
|
-
*
|
|
2415
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
2416
|
+
* of those formats do not have a namespace.
|
|
2225
2417
|
* </p>
|
|
2226
2418
|
* </li>
|
|
2227
2419
|
* </ul>
|
|
@@ -2229,7 +2421,7 @@ export interface ListPackagesRequest {
|
|
|
2229
2421
|
namespace?: string;
|
|
2230
2422
|
/**
|
|
2231
2423
|
* <p>
|
|
2232
|
-
* A prefix used to filter
|
|
2424
|
+
* A prefix used to filter requested packages. Only packages with names that start with
|
|
2233
2425
|
* <code>packagePrefix</code> are returned.
|
|
2234
2426
|
* </p>
|
|
2235
2427
|
*/
|
|
@@ -2246,6 +2438,17 @@ export interface ListPackagesRequest {
|
|
|
2246
2438
|
* </p>
|
|
2247
2439
|
*/
|
|
2248
2440
|
nextToken?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* <p>The value of the <code>Publish</code> package origin control restriction used to filter requested packages.
|
|
2443
|
+
* Only packages with the provided restriction are returned.
|
|
2444
|
+
* For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>.</p>
|
|
2445
|
+
*/
|
|
2446
|
+
publish?: AllowPublish | string;
|
|
2447
|
+
/**
|
|
2448
|
+
* <p>The value of the <code>Upstream</code> package origin control restriction used to filter requested packages.
|
|
2449
|
+
* Only packages with the provided restriction are returned. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>.</p>
|
|
2450
|
+
*/
|
|
2451
|
+
upstream?: AllowUpstream | string;
|
|
2249
2452
|
}
|
|
2250
2453
|
export declare namespace ListPackagesRequest {
|
|
2251
2454
|
/**
|
|
@@ -2268,10 +2471,9 @@ export interface PackageSummary {
|
|
|
2268
2471
|
*/
|
|
2269
2472
|
format?: PackageFormat | string;
|
|
2270
2473
|
/**
|
|
2271
|
-
* <p>
|
|
2272
|
-
*
|
|
2273
|
-
*
|
|
2274
|
-
* </p>
|
|
2474
|
+
* <p>The namespace of the package. The package component that specifies its
|
|
2475
|
+
* namespace depends on its type. For example:</p>
|
|
2476
|
+
*
|
|
2275
2477
|
* <ul>
|
|
2276
2478
|
* <li>
|
|
2277
2479
|
* <p>
|
|
@@ -2285,8 +2487,8 @@ export interface PackageSummary {
|
|
|
2285
2487
|
* </li>
|
|
2286
2488
|
* <li>
|
|
2287
2489
|
* <p>
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2490
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
2491
|
+
* of those formats do not have a namespace.
|
|
2290
2492
|
* </p>
|
|
2291
2493
|
* </li>
|
|
2292
2494
|
* </ul>
|
|
@@ -2298,6 +2500,12 @@ export interface PackageSummary {
|
|
|
2298
2500
|
* </p>
|
|
2299
2501
|
*/
|
|
2300
2502
|
package?: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
|
|
2505
|
+
* object that contains a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a> object
|
|
2506
|
+
* that contains information about the upstream and publish package origin restrictions.</p>
|
|
2507
|
+
*/
|
|
2508
|
+
originConfiguration?: PackageOriginConfiguration;
|
|
2301
2509
|
}
|
|
2302
2510
|
export declare namespace PackageSummary {
|
|
2303
2511
|
/**
|
|
@@ -2342,36 +2550,35 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2342
2550
|
domainOwner?: string;
|
|
2343
2551
|
/**
|
|
2344
2552
|
* <p>
|
|
2345
|
-
* The name of the repository that contains the package that contains the
|
|
2553
|
+
* The name of the repository that contains the package that contains the requested package version assets.
|
|
2346
2554
|
* </p>
|
|
2347
2555
|
*/
|
|
2348
2556
|
repository: string | undefined;
|
|
2349
2557
|
/**
|
|
2350
2558
|
* <p>
|
|
2351
|
-
* The format of the package that contains the
|
|
2559
|
+
* The format of the package that contains the requested package version assets.
|
|
2352
2560
|
* </p>
|
|
2353
2561
|
*/
|
|
2354
2562
|
format: PackageFormat | string | undefined;
|
|
2355
2563
|
/**
|
|
2356
|
-
* <p>
|
|
2357
|
-
*
|
|
2358
|
-
*
|
|
2359
|
-
* </p>
|
|
2564
|
+
* <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
|
|
2565
|
+
* namespace depends on its type. For example:</p>
|
|
2566
|
+
*
|
|
2360
2567
|
* <ul>
|
|
2361
2568
|
* <li>
|
|
2362
2569
|
* <p>
|
|
2363
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2570
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
2364
2571
|
* </p>
|
|
2365
2572
|
* </li>
|
|
2366
2573
|
* <li>
|
|
2367
2574
|
* <p>
|
|
2368
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2575
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
2369
2576
|
* </p>
|
|
2370
2577
|
* </li>
|
|
2371
2578
|
* <li>
|
|
2372
2579
|
* <p>
|
|
2373
|
-
*
|
|
2374
|
-
*
|
|
2580
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
2581
|
+
* of those formats do not have a namespace.
|
|
2375
2582
|
* </p>
|
|
2376
2583
|
* </li>
|
|
2377
2584
|
* </ul>
|
|
@@ -2379,7 +2586,7 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2379
2586
|
namespace?: string;
|
|
2380
2587
|
/**
|
|
2381
2588
|
* <p>
|
|
2382
|
-
* The name of the package that contains the
|
|
2589
|
+
* The name of the package that contains the requested package version assets.
|
|
2383
2590
|
* </p>
|
|
2384
2591
|
*/
|
|
2385
2592
|
package: string | undefined;
|
|
@@ -2411,44 +2618,43 @@ export declare namespace ListPackageVersionAssetsRequest {
|
|
|
2411
2618
|
export interface ListPackageVersionAssetsResult {
|
|
2412
2619
|
/**
|
|
2413
2620
|
* <p>
|
|
2414
|
-
* The format of the package that contains the
|
|
2621
|
+
* The format of the package that contains the requested package version assets.
|
|
2415
2622
|
* </p>
|
|
2416
2623
|
*/
|
|
2417
2624
|
format?: PackageFormat | string;
|
|
2418
2625
|
/**
|
|
2419
|
-
* <p>
|
|
2420
|
-
*
|
|
2421
|
-
*
|
|
2422
|
-
* </p>
|
|
2626
|
+
* <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
|
|
2627
|
+
* namespace depends on its type. For example:</p>
|
|
2628
|
+
*
|
|
2423
2629
|
* <ul>
|
|
2424
2630
|
* <li>
|
|
2425
2631
|
* <p>
|
|
2426
|
-
*
|
|
2427
|
-
*
|
|
2632
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
2633
|
+
* </p>
|
|
2428
2634
|
* </li>
|
|
2429
2635
|
* <li>
|
|
2430
2636
|
* <p>
|
|
2431
|
-
*
|
|
2432
|
-
*
|
|
2637
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
2638
|
+
* </p>
|
|
2433
2639
|
* </li>
|
|
2434
2640
|
* <li>
|
|
2435
2641
|
* <p>
|
|
2436
|
-
*
|
|
2437
|
-
*
|
|
2438
|
-
*
|
|
2642
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
2643
|
+
* of those formats do not have a namespace.
|
|
2644
|
+
* </p>
|
|
2439
2645
|
* </li>
|
|
2440
2646
|
* </ul>
|
|
2441
2647
|
*/
|
|
2442
2648
|
namespace?: string;
|
|
2443
2649
|
/**
|
|
2444
2650
|
* <p>
|
|
2445
|
-
* The name of the package that contains the
|
|
2651
|
+
* The name of the package that contains the requested package version assets.
|
|
2446
2652
|
* </p>
|
|
2447
2653
|
*/
|
|
2448
2654
|
package?: string;
|
|
2449
2655
|
/**
|
|
2450
2656
|
* <p>
|
|
2451
|
-
* The version of the package associated with the
|
|
2657
|
+
* The version of the package associated with the requested assets.
|
|
2452
2658
|
* </p>
|
|
2453
2659
|
*/
|
|
2454
2660
|
version?: string;
|
|
@@ -2504,25 +2710,24 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2504
2710
|
*/
|
|
2505
2711
|
format: PackageFormat | string | undefined;
|
|
2506
2712
|
/**
|
|
2507
|
-
* <p>
|
|
2508
|
-
*
|
|
2509
|
-
*
|
|
2510
|
-
* </p>
|
|
2713
|
+
* <p>The namespace of the package version with the requested dependencies. The package version component that specifies its
|
|
2714
|
+
* namespace depends on its type. For example:</p>
|
|
2715
|
+
*
|
|
2511
2716
|
* <ul>
|
|
2512
2717
|
* <li>
|
|
2513
2718
|
* <p>
|
|
2514
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2719
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
2515
2720
|
* </p>
|
|
2516
2721
|
* </li>
|
|
2517
2722
|
* <li>
|
|
2518
2723
|
* <p>
|
|
2519
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2724
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
2520
2725
|
* </p>
|
|
2521
2726
|
* </li>
|
|
2522
2727
|
* <li>
|
|
2523
2728
|
* <p>
|
|
2524
|
-
*
|
|
2525
|
-
*
|
|
2729
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
2730
|
+
* of those formats do not have a namespace.
|
|
2526
2731
|
* </p>
|
|
2527
2732
|
* </li>
|
|
2528
2733
|
* </ul>
|
|
@@ -2560,26 +2765,25 @@ export declare namespace ListPackageVersionDependenciesRequest {
|
|
|
2560
2765
|
*/
|
|
2561
2766
|
export interface PackageDependency {
|
|
2562
2767
|
/**
|
|
2563
|
-
* <p>
|
|
2564
|
-
*
|
|
2565
|
-
*
|
|
2566
|
-
* </p>
|
|
2768
|
+
* <p>The namespace of the package that this package depends on. The package component that specifies its
|
|
2769
|
+
* namespace depends on its type. For example:</p>
|
|
2770
|
+
*
|
|
2567
2771
|
* <ul>
|
|
2568
2772
|
* <li>
|
|
2569
2773
|
* <p>
|
|
2570
|
-
*
|
|
2571
|
-
*
|
|
2774
|
+
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2775
|
+
* </p>
|
|
2572
2776
|
* </li>
|
|
2573
2777
|
* <li>
|
|
2574
2778
|
* <p>
|
|
2575
|
-
*
|
|
2576
|
-
*
|
|
2779
|
+
* The namespace of an npm package is its <code>scope</code>.
|
|
2780
|
+
* </p>
|
|
2577
2781
|
* </li>
|
|
2578
2782
|
* <li>
|
|
2579
2783
|
* <p>
|
|
2580
|
-
*
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2784
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
2785
|
+
* of those formats do not have a namespace.
|
|
2786
|
+
* </p>
|
|
2583
2787
|
* </li>
|
|
2584
2788
|
* </ul>
|
|
2585
2789
|
*/
|
|
@@ -2619,25 +2823,24 @@ export interface ListPackageVersionDependenciesResult {
|
|
|
2619
2823
|
*/
|
|
2620
2824
|
format?: PackageFormat | string;
|
|
2621
2825
|
/**
|
|
2622
|
-
* <p>
|
|
2623
|
-
*
|
|
2624
|
-
*
|
|
2625
|
-
* </p>
|
|
2826
|
+
* <p>The namespace of the package version that contains the returned dependencies. The package version component that specifies its
|
|
2827
|
+
* namespace depends on its type. For example:</p>
|
|
2828
|
+
*
|
|
2626
2829
|
* <ul>
|
|
2627
2830
|
* <li>
|
|
2628
2831
|
* <p>
|
|
2629
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
2832
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
2630
2833
|
* </p>
|
|
2631
2834
|
* </li>
|
|
2632
2835
|
* <li>
|
|
2633
2836
|
* <p>
|
|
2634
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
2837
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
2635
2838
|
* </p>
|
|
2636
2839
|
* </li>
|
|
2637
2840
|
* <li>
|
|
2638
2841
|
* <p>
|
|
2639
|
-
*
|
|
2640
|
-
*
|
|
2842
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
2843
|
+
* of those formats do not have a namespace.
|
|
2641
2844
|
* </p>
|
|
2642
2845
|
* </li>
|
|
2643
2846
|
* </ul>
|
|
@@ -2686,7 +2889,7 @@ export declare enum PackageVersionSortType {
|
|
|
2686
2889
|
export interface ListPackageVersionsRequest {
|
|
2687
2890
|
/**
|
|
2688
2891
|
* <p>
|
|
2689
|
-
* The name of the domain that contains the repository that contains the
|
|
2892
|
+
* The name of the domain that contains the repository that contains the requested package versions.
|
|
2690
2893
|
* </p>
|
|
2691
2894
|
*/
|
|
2692
2895
|
domain: string | undefined;
|
|
@@ -2699,21 +2902,20 @@ export interface ListPackageVersionsRequest {
|
|
|
2699
2902
|
domainOwner?: string;
|
|
2700
2903
|
/**
|
|
2701
2904
|
* <p>
|
|
2702
|
-
* The name of the repository that contains the package.
|
|
2905
|
+
* The name of the repository that contains the requested package versions.
|
|
2703
2906
|
* </p>
|
|
2704
2907
|
*/
|
|
2705
2908
|
repository: string | undefined;
|
|
2706
2909
|
/**
|
|
2707
2910
|
* <p>
|
|
2708
|
-
* The format of the returned
|
|
2911
|
+
* The format of the returned package versions.
|
|
2709
2912
|
* </p>
|
|
2710
2913
|
*/
|
|
2711
2914
|
format: PackageFormat | string | undefined;
|
|
2712
2915
|
/**
|
|
2713
|
-
* <p>
|
|
2714
|
-
*
|
|
2715
|
-
*
|
|
2716
|
-
* </p>
|
|
2916
|
+
* <p>The namespace of the package that contains the requested package versions. The package component that specifies its
|
|
2917
|
+
* namespace depends on its type. For example:</p>
|
|
2918
|
+
*
|
|
2717
2919
|
* <ul>
|
|
2718
2920
|
* <li>
|
|
2719
2921
|
* <p>
|
|
@@ -2727,8 +2929,8 @@ export interface ListPackageVersionsRequest {
|
|
|
2727
2929
|
* </li>
|
|
2728
2930
|
* <li>
|
|
2729
2931
|
* <p>
|
|
2730
|
-
*
|
|
2731
|
-
*
|
|
2932
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
2933
|
+
* of those formats do not have a namespace.
|
|
2732
2934
|
* </p>
|
|
2733
2935
|
* </li>
|
|
2734
2936
|
* </ul>
|
|
@@ -2736,19 +2938,19 @@ export interface ListPackageVersionsRequest {
|
|
|
2736
2938
|
namespace?: string;
|
|
2737
2939
|
/**
|
|
2738
2940
|
* <p>
|
|
2739
|
-
* The name of the package for which you want to
|
|
2941
|
+
* The name of the package for which you want to request package versions.
|
|
2740
2942
|
* </p>
|
|
2741
2943
|
*/
|
|
2742
2944
|
package: string | undefined;
|
|
2743
2945
|
/**
|
|
2744
2946
|
* <p>
|
|
2745
|
-
* A string that
|
|
2947
|
+
* A string that filters the requested package versions by status.
|
|
2746
2948
|
* </p>
|
|
2747
2949
|
*/
|
|
2748
2950
|
status?: PackageVersionStatus | string;
|
|
2749
2951
|
/**
|
|
2750
2952
|
* <p>
|
|
2751
|
-
* How to sort the
|
|
2953
|
+
* How to sort the requested list of package versions.
|
|
2752
2954
|
* </p>
|
|
2753
2955
|
*/
|
|
2754
2956
|
sortBy?: PackageVersionSortType | string;
|
|
@@ -2764,6 +2966,11 @@ export interface ListPackageVersionsRequest {
|
|
|
2764
2966
|
* </p>
|
|
2765
2967
|
*/
|
|
2766
2968
|
nextToken?: string;
|
|
2969
|
+
/**
|
|
2970
|
+
* <p>The <code>originType</code> used to filter package versions.
|
|
2971
|
+
* Only package versions with the provided <code>originType</code> will be returned.</p>
|
|
2972
|
+
*/
|
|
2973
|
+
originType?: PackageVersionOriginType | string;
|
|
2767
2974
|
}
|
|
2768
2975
|
export declare namespace ListPackageVersionsRequest {
|
|
2769
2976
|
/**
|
|
@@ -2797,6 +3004,11 @@ export interface PackageVersionSummary {
|
|
|
2797
3004
|
* </p>
|
|
2798
3005
|
*/
|
|
2799
3006
|
status: PackageVersionStatus | string | undefined;
|
|
3007
|
+
/**
|
|
3008
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains information
|
|
3009
|
+
* about how the package version was added to the repository.</p>
|
|
3010
|
+
*/
|
|
3011
|
+
origin?: PackageVersionOrigin;
|
|
2800
3012
|
}
|
|
2801
3013
|
export declare namespace PackageVersionSummary {
|
|
2802
3014
|
/**
|
|
@@ -2831,10 +3043,9 @@ export interface ListPackageVersionsResult {
|
|
|
2831
3043
|
*/
|
|
2832
3044
|
format?: PackageFormat | string;
|
|
2833
3045
|
/**
|
|
2834
|
-
* <p>
|
|
2835
|
-
*
|
|
2836
|
-
*
|
|
2837
|
-
* </p>
|
|
3046
|
+
* <p>The namespace of the package that contains the requested package versions. The package component that specifies its
|
|
3047
|
+
* namespace depends on its type. For example:</p>
|
|
3048
|
+
*
|
|
2838
3049
|
* <ul>
|
|
2839
3050
|
* <li>
|
|
2840
3051
|
* <p>
|
|
@@ -2848,8 +3059,8 @@ export interface ListPackageVersionsResult {
|
|
|
2848
3059
|
* </li>
|
|
2849
3060
|
* <li>
|
|
2850
3061
|
* <p>
|
|
2851
|
-
*
|
|
2852
|
-
*
|
|
3062
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
3063
|
+
* of those formats do not have a namespace.
|
|
2853
3064
|
* </p>
|
|
2854
3065
|
* </li>
|
|
2855
3066
|
* </ul>
|
|
@@ -3111,6 +3322,85 @@ export declare namespace PutDomainPermissionsPolicyResult {
|
|
|
3111
3322
|
*/
|
|
3112
3323
|
const filterSensitiveLog: (obj: PutDomainPermissionsPolicyResult) => any;
|
|
3113
3324
|
}
|
|
3325
|
+
export interface PutPackageOriginConfigurationRequest {
|
|
3326
|
+
/**
|
|
3327
|
+
* <p>The name of the domain that contains the repository that contains the package.</p>
|
|
3328
|
+
*/
|
|
3329
|
+
domain: string | undefined;
|
|
3330
|
+
/**
|
|
3331
|
+
* <p>
|
|
3332
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3333
|
+
* dashes or spaces.
|
|
3334
|
+
* </p>
|
|
3335
|
+
*/
|
|
3336
|
+
domainOwner?: string;
|
|
3337
|
+
/**
|
|
3338
|
+
* <p>The name of the repository that contains the package.</p>
|
|
3339
|
+
*/
|
|
3340
|
+
repository: string | undefined;
|
|
3341
|
+
/**
|
|
3342
|
+
* <p>A format that specifies the type of the package to be updated.</p>
|
|
3343
|
+
*/
|
|
3344
|
+
format: PackageFormat | string | undefined;
|
|
3345
|
+
/**
|
|
3346
|
+
* <p>The namespace of the package to be updated. The package component that specifies its
|
|
3347
|
+
* namespace depends on its type. For example:</p>
|
|
3348
|
+
*
|
|
3349
|
+
* <ul>
|
|
3350
|
+
* <li>
|
|
3351
|
+
* <p>
|
|
3352
|
+
* The namespace of a Maven package is its <code>groupId</code>.
|
|
3353
|
+
* </p>
|
|
3354
|
+
* </li>
|
|
3355
|
+
* <li>
|
|
3356
|
+
* <p>
|
|
3357
|
+
* The namespace of an npm package is its <code>scope</code>.
|
|
3358
|
+
* </p>
|
|
3359
|
+
* </li>
|
|
3360
|
+
* <li>
|
|
3361
|
+
* <p>
|
|
3362
|
+
* Python and NuGet packages do not contain a corresponding component, packages
|
|
3363
|
+
* of those formats do not have a namespace.
|
|
3364
|
+
* </p>
|
|
3365
|
+
* </li>
|
|
3366
|
+
* </ul>
|
|
3367
|
+
*/
|
|
3368
|
+
namespace?: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* <p>The name of the package to be updated.</p>
|
|
3371
|
+
*/
|
|
3372
|
+
package: string | undefined;
|
|
3373
|
+
/**
|
|
3374
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>
|
|
3375
|
+
* object that contains information about the <code>upstream</code> and <code>publish</code> package origin restrictions.
|
|
3376
|
+
* The <code>upstream</code> restriction determines if new package versions can be ingested or retained from external connections or upstream repositories.
|
|
3377
|
+
* The <code>publish</code> restriction determines if new package versions can be published directly to the repository.</p>
|
|
3378
|
+
*
|
|
3379
|
+
* <p>You must include both the desired <code>upstream</code> and <code>publish</code> restrictions.</p>
|
|
3380
|
+
*/
|
|
3381
|
+
restrictions: PackageOriginRestrictions | undefined;
|
|
3382
|
+
}
|
|
3383
|
+
export declare namespace PutPackageOriginConfigurationRequest {
|
|
3384
|
+
/**
|
|
3385
|
+
* @internal
|
|
3386
|
+
*/
|
|
3387
|
+
const filterSensitiveLog: (obj: PutPackageOriginConfigurationRequest) => any;
|
|
3388
|
+
}
|
|
3389
|
+
export interface PutPackageOriginConfigurationResult {
|
|
3390
|
+
/**
|
|
3391
|
+
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
|
|
3392
|
+
* object that describes the origin configuration set for the package. It contains a
|
|
3393
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>
|
|
3394
|
+
* object that describes how new versions of the package can be introduced to the repository.</p>
|
|
3395
|
+
*/
|
|
3396
|
+
originConfiguration?: PackageOriginConfiguration;
|
|
3397
|
+
}
|
|
3398
|
+
export declare namespace PutPackageOriginConfigurationResult {
|
|
3399
|
+
/**
|
|
3400
|
+
* @internal
|
|
3401
|
+
*/
|
|
3402
|
+
const filterSensitiveLog: (obj: PutPackageOriginConfigurationResult) => any;
|
|
3403
|
+
}
|
|
3114
3404
|
export interface PutRepositoryPermissionsPolicyRequest {
|
|
3115
3405
|
/**
|
|
3116
3406
|
* <p>
|
|
@@ -3236,25 +3526,24 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3236
3526
|
*/
|
|
3237
3527
|
format: PackageFormat | string | undefined;
|
|
3238
3528
|
/**
|
|
3239
|
-
* <p>
|
|
3240
|
-
*
|
|
3241
|
-
*
|
|
3242
|
-
* </p>
|
|
3529
|
+
* <p>The namespace of the package version to be updated. The package version component that specifies its
|
|
3530
|
+
* namespace depends on its type. For example:</p>
|
|
3531
|
+
*
|
|
3243
3532
|
* <ul>
|
|
3244
3533
|
* <li>
|
|
3245
3534
|
* <p>
|
|
3246
|
-
* The namespace of a Maven package is its <code>groupId</code>.
|
|
3535
|
+
* The namespace of a Maven package version is its <code>groupId</code>.
|
|
3247
3536
|
* </p>
|
|
3248
3537
|
* </li>
|
|
3249
3538
|
* <li>
|
|
3250
3539
|
* <p>
|
|
3251
|
-
* The namespace of an npm package is its <code>scope</code>.
|
|
3540
|
+
* The namespace of an npm package version is its <code>scope</code>.
|
|
3252
3541
|
* </p>
|
|
3253
3542
|
* </li>
|
|
3254
3543
|
* <li>
|
|
3255
3544
|
* <p>
|
|
3256
|
-
*
|
|
3257
|
-
*
|
|
3545
|
+
* Python and NuGet package versions do not contain a corresponding component, package versions
|
|
3546
|
+
* of those formats do not have a namespace.
|
|
3258
3547
|
* </p>
|
|
3259
3548
|
* </li>
|
|
3260
3549
|
* </ul>
|