@aws-sdk/client-codeartifact 3.295.0 → 3.297.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist-types/Codeartifact.d.ts +39 -0
  2. package/dist-types/CodeartifactClient.d.ts +24 -4
  3. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +16 -0
  4. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateDomainCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
  7. package/dist-types/commands/DeleteDomainCommand.d.ts +16 -0
  8. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +16 -0
  9. package/dist-types/commands/DeletePackageCommand.d.ts +16 -0
  10. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +16 -0
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +16 -0
  13. package/dist-types/commands/DescribeDomainCommand.d.ts +16 -0
  14. package/dist-types/commands/DescribePackageCommand.d.ts +16 -0
  15. package/dist-types/commands/DescribePackageVersionCommand.d.ts +16 -0
  16. package/dist-types/commands/DescribeRepositoryCommand.d.ts +16 -0
  17. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +16 -0
  18. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +16 -0
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +16 -0
  20. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +16 -0
  21. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +16 -0
  22. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +16 -0
  23. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +16 -0
  24. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +16 -0
  25. package/dist-types/commands/ListDomainsCommand.d.ts +16 -0
  26. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +16 -0
  27. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +16 -0
  28. package/dist-types/commands/ListPackageVersionsCommand.d.ts +16 -0
  29. package/dist-types/commands/ListPackagesCommand.d.ts +16 -0
  30. package/dist-types/commands/ListRepositoriesCommand.d.ts +16 -0
  31. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +16 -0
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  33. package/dist-types/commands/PublishPackageVersionCommand.d.ts +17 -2
  34. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +16 -0
  35. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +16 -0
  36. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +16 -0
  37. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  38. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  39. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +16 -0
  40. package/dist-types/commands/UpdateRepositoryCommand.d.ts +16 -0
  41. package/dist-types/models/CodeartifactServiceException.d.ts +2 -0
  42. package/dist-types/models/models_0.d.ts +294 -1
  43. package/dist-types/pagination/Interfaces.d.ts +3 -0
  44. package/dist-types/pagination/ListDomainsPaginator.d.ts +3 -0
  45. package/dist-types/pagination/ListPackageVersionAssetsPaginator.d.ts +3 -0
  46. package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +3 -0
  47. package/dist-types/pagination/ListPackagesPaginator.d.ts +3 -0
  48. package/dist-types/pagination/ListRepositoriesInDomainPaginator.d.ts +3 -0
  49. package/dist-types/pagination/ListRepositoriesPaginator.d.ts +3 -0
  50. package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +1 -2
  51. package/package.json +31 -31
@@ -3,6 +3,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
3
3
  import { Readable } from "stream";
4
4
  import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
5
5
  /**
6
+ * @public
6
7
  * <p>
7
8
  * The operation did not succeed because of an unauthorized access attempt.
8
9
  * </p>
@@ -15,14 +16,23 @@ export declare class AccessDeniedException extends __BaseException {
15
16
  */
16
17
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
18
  }
19
+ /**
20
+ * @public
21
+ */
18
22
  export declare enum AllowPublish {
19
23
  ALLOW = "ALLOW",
20
24
  BLOCK = "BLOCK"
21
25
  }
26
+ /**
27
+ * @public
28
+ */
22
29
  export declare enum AllowUpstream {
23
30
  ALLOW = "ALLOW",
24
31
  BLOCK = "BLOCK"
25
32
  }
33
+ /**
34
+ * @public
35
+ */
26
36
  export declare enum HashAlgorithm {
27
37
  MD5 = "MD5",
28
38
  SHA1 = "SHA-1",
@@ -30,6 +40,7 @@ export declare enum HashAlgorithm {
30
40
  SHA512 = "SHA-512"
31
41
  }
32
42
  /**
43
+ * @public
33
44
  * <p>
34
45
  * Contains details about a package version asset.
35
46
  * </p>
@@ -54,6 +65,9 @@ export interface AssetSummary {
54
65
  */
55
66
  hashes?: Record<string, string>;
56
67
  }
68
+ /**
69
+ * @public
70
+ */
57
71
  export interface AssociateExternalConnectionRequest {
58
72
  /**
59
73
  * <p>The name of the domain that contains the repository.</p>
@@ -116,6 +130,9 @@ export interface AssociateExternalConnectionRequest {
116
130
  */
117
131
  externalConnection: string | undefined;
118
132
  }
133
+ /**
134
+ * @public
135
+ */
119
136
  export declare enum PackageFormat {
120
137
  GENERIC = "generic",
121
138
  MAVEN = "maven",
@@ -123,10 +140,14 @@ export declare enum PackageFormat {
123
140
  NUGET = "nuget",
124
141
  PYPI = "pypi"
125
142
  }
143
+ /**
144
+ * @public
145
+ */
126
146
  export declare enum ExternalConnectionStatus {
127
147
  AVAILABLE = "Available"
128
148
  }
129
149
  /**
150
+ * @public
130
151
  * <p>
131
152
  * Contains information about the external connection of a repository.
132
153
  * </p>
@@ -172,6 +193,7 @@ export interface RepositoryExternalConnectionInfo {
172
193
  status?: ExternalConnectionStatus | string;
173
194
  }
174
195
  /**
196
+ * @public
175
197
  * <p>
176
198
  * Information about an upstream repository.
177
199
  * </p>
@@ -183,6 +205,7 @@ export interface UpstreamRepositoryInfo {
183
205
  repositoryName?: string;
184
206
  }
185
207
  /**
208
+ * @public
186
209
  * <p> The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of
187
210
  * package versions, each of which maps to a set of assets. Repositories are polyglot—a single
188
211
  * repository can contain packages of any supported type. Each repository exposes endpoints for
@@ -237,6 +260,9 @@ export interface RepositoryDescription {
237
260
  */
238
261
  externalConnections?: RepositoryExternalConnectionInfo[];
239
262
  }
263
+ /**
264
+ * @public
265
+ */
240
266
  export interface AssociateExternalConnectionResult {
241
267
  /**
242
268
  * <p>
@@ -245,6 +271,9 @@ export interface AssociateExternalConnectionResult {
245
271
  */
246
272
  repository?: RepositoryDescription;
247
273
  }
274
+ /**
275
+ * @public
276
+ */
248
277
  export declare enum ResourceType {
249
278
  ASSET = "asset",
250
279
  DOMAIN = "domain",
@@ -253,6 +282,7 @@ export declare enum ResourceType {
253
282
  REPOSITORY = "repository"
254
283
  }
255
284
  /**
285
+ * @public
256
286
  * <p>
257
287
  * The operation did not succeed because prerequisites are not met.
258
288
  * </p>
@@ -278,6 +308,7 @@ export declare class ConflictException extends __BaseException {
278
308
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
279
309
  }
280
310
  /**
311
+ * @public
281
312
  * <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
282
313
  */
283
314
  export declare class InternalServerException extends __BaseException {
@@ -289,6 +320,7 @@ export declare class InternalServerException extends __BaseException {
289
320
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
290
321
  }
291
322
  /**
323
+ * @public
292
324
  * <p>
293
325
  * The operation did not succeed because the resource requested is not found in the service.
294
326
  * </p>
@@ -314,6 +346,7 @@ export declare class ResourceNotFoundException extends __BaseException {
314
346
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
315
347
  }
316
348
  /**
349
+ * @public
317
350
  * <p>
318
351
  * The operation did not succeed because it would have exceeded a service limit for your account.
319
352
  * </p>
@@ -339,6 +372,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
339
372
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
340
373
  }
341
374
  /**
375
+ * @public
342
376
  * <p>
343
377
  * The operation did not succeed because too many requests are sent to the service.
344
378
  * </p>
@@ -357,6 +391,9 @@ export declare class ThrottlingException extends __BaseException {
357
391
  */
358
392
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
359
393
  }
394
+ /**
395
+ * @public
396
+ */
360
397
  export declare enum ValidationExceptionReason {
361
398
  CANNOT_PARSE = "CANNOT_PARSE",
362
399
  ENCRYPTION_KEY_ERROR = "ENCRYPTION_KEY_ERROR",
@@ -365,6 +402,7 @@ export declare enum ValidationExceptionReason {
365
402
  UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
366
403
  }
367
404
  /**
405
+ * @public
368
406
  * <p>
369
407
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
370
408
  * </p>
@@ -383,6 +421,9 @@ export declare class ValidationException extends __BaseException {
383
421
  */
384
422
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
385
423
  }
424
+ /**
425
+ * @public
426
+ */
386
427
  export interface CopyPackageVersionsRequest {
387
428
  /**
388
429
  * <p>
@@ -489,6 +530,9 @@ export interface CopyPackageVersionsRequest {
489
530
  */
490
531
  includeFromUpstream?: boolean;
491
532
  }
533
+ /**
534
+ * @public
535
+ */
492
536
  export declare enum PackageVersionErrorCode {
493
537
  ALREADY_EXISTS = "ALREADY_EXISTS",
494
538
  MISMATCHED_REVISION = "MISMATCHED_REVISION",
@@ -498,6 +542,7 @@ export declare enum PackageVersionErrorCode {
498
542
  SKIPPED = "SKIPPED"
499
543
  }
500
544
  /**
545
+ * @public
501
546
  * <p>l
502
547
  * An error associated with package.
503
548
  * </p>
@@ -546,6 +591,9 @@ export interface PackageVersionError {
546
591
  */
547
592
  errorMessage?: string;
548
593
  }
594
+ /**
595
+ * @public
596
+ */
549
597
  export declare enum PackageVersionStatus {
550
598
  ARCHIVED = "Archived",
551
599
  DELETED = "Deleted",
@@ -555,6 +603,7 @@ export declare enum PackageVersionStatus {
555
603
  UNLISTED = "Unlisted"
556
604
  }
557
605
  /**
606
+ * @public
558
607
  * <p>
559
608
  * Contains the revision and status of a package version.
560
609
  * </p>
@@ -573,6 +622,9 @@ export interface SuccessfulPackageVersionInfo {
573
622
  */
574
623
  status?: PackageVersionStatus | string;
575
624
  }
625
+ /**
626
+ * @public
627
+ */
576
628
  export interface CopyPackageVersionsResult {
577
629
  /**
578
630
  * <p>
@@ -621,6 +673,7 @@ export interface CopyPackageVersionsResult {
621
673
  failedVersions?: Record<string, PackageVersionError>;
622
674
  }
623
675
  /**
676
+ * @public
624
677
  * <p>A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.</p>
625
678
  */
626
679
  export interface Tag {
@@ -633,6 +686,9 @@ export interface Tag {
633
686
  */
634
687
  value: string | undefined;
635
688
  }
689
+ /**
690
+ * @public
691
+ */
636
692
  export interface CreateDomainRequest {
637
693
  /**
638
694
  * <p> The name of the domain to create. All domain names in an Amazon Web Services Region that are in the
@@ -660,11 +716,15 @@ export interface CreateDomainRequest {
660
716
  */
661
717
  tags?: Tag[];
662
718
  }
719
+ /**
720
+ * @public
721
+ */
663
722
  export declare enum DomainStatus {
664
723
  ACTIVE = "Active",
665
724
  DELETED = "Deleted"
666
725
  }
667
726
  /**
727
+ * @public
668
728
  * <p>
669
729
  * Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
670
730
  * add one or more repositories.
@@ -718,6 +778,9 @@ export interface DomainDescription {
718
778
  */
719
779
  s3BucketArn?: string;
720
780
  }
781
+ /**
782
+ * @public
783
+ */
721
784
  export interface CreateDomainResult {
722
785
  /**
723
786
  * <p>
@@ -727,6 +790,7 @@ export interface CreateDomainResult {
727
790
  domain?: DomainDescription;
728
791
  }
729
792
  /**
793
+ * @public
730
794
  * <p>
731
795
  * Information about an upstream repository. A list of <code>UpstreamRepository</code> objects is an input parameter to
732
796
  * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html">CreateRepository</a>
@@ -739,6 +803,9 @@ export interface UpstreamRepository {
739
803
  */
740
804
  repositoryName: string | undefined;
741
805
  }
806
+ /**
807
+ * @public
808
+ */
742
809
  export interface CreateRepositoryRequest {
743
810
  /**
744
811
  * <p>
@@ -774,6 +841,9 @@ export interface CreateRepositoryRequest {
774
841
  */
775
842
  tags?: Tag[];
776
843
  }
844
+ /**
845
+ * @public
846
+ */
777
847
  export interface CreateRepositoryResult {
778
848
  /**
779
849
  * <p>
@@ -782,6 +852,9 @@ export interface CreateRepositoryResult {
782
852
  */
783
853
  repository?: RepositoryDescription;
784
854
  }
855
+ /**
856
+ * @public
857
+ */
785
858
  export interface DeleteDomainRequest {
786
859
  /**
787
860
  * <p>
@@ -797,6 +870,9 @@ export interface DeleteDomainRequest {
797
870
  */
798
871
  domainOwner?: string;
799
872
  }
873
+ /**
874
+ * @public
875
+ */
800
876
  export interface DeleteDomainResult {
801
877
  /**
802
878
  * <p>
@@ -805,6 +881,9 @@ export interface DeleteDomainResult {
805
881
  */
806
882
  domain?: DomainDescription;
807
883
  }
884
+ /**
885
+ * @public
886
+ */
808
887
  export interface DeleteDomainPermissionsPolicyRequest {
809
888
  /**
810
889
  * <p>
@@ -828,6 +907,7 @@ export interface DeleteDomainPermissionsPolicyRequest {
828
907
  policyRevision?: string;
829
908
  }
830
909
  /**
910
+ * @public
831
911
  * <p>
832
912
  * An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
833
913
  * </p>
@@ -852,6 +932,9 @@ export interface ResourcePolicy {
852
932
  */
853
933
  document?: string;
854
934
  }
935
+ /**
936
+ * @public
937
+ */
855
938
  export interface DeleteDomainPermissionsPolicyResult {
856
939
  /**
857
940
  * <p>
@@ -860,6 +943,9 @@ export interface DeleteDomainPermissionsPolicyResult {
860
943
  */
861
944
  policy?: ResourcePolicy;
862
945
  }
946
+ /**
947
+ * @public
948
+ */
863
949
  export interface DeletePackageRequest {
864
950
  /**
865
951
  * <p>The name of the domain that contains the package to delete.</p>
@@ -907,6 +993,7 @@ export interface DeletePackageRequest {
907
993
  package: string | undefined;
908
994
  }
909
995
  /**
996
+ * @public
910
997
  * <p>Details about the origin restrictions set on the package.
911
998
  * The package origin restrictions determine how new versions of a package
912
999
  * can be added to a specific repository.</p>
@@ -922,6 +1009,7 @@ export interface PackageOriginRestrictions {
922
1009
  upstream: AllowUpstream | string | undefined;
923
1010
  }
924
1011
  /**
1012
+ * @public
925
1013
  * <p>Details about the package origin configuration of a package.</p>
926
1014
  */
927
1015
  export interface PackageOriginConfiguration {
@@ -932,6 +1020,7 @@ export interface PackageOriginConfiguration {
932
1020
  restrictions?: PackageOriginRestrictions;
933
1021
  }
934
1022
  /**
1023
+ * @public
935
1024
  * <p>
936
1025
  * Details about a package, including its format, namespace, and name.
937
1026
  * </p>
@@ -984,6 +1073,9 @@ export interface PackageSummary {
984
1073
  */
985
1074
  originConfiguration?: PackageOriginConfiguration;
986
1075
  }
1076
+ /**
1077
+ * @public
1078
+ */
987
1079
  export interface DeletePackageResult {
988
1080
  /**
989
1081
  * <p>
@@ -992,6 +1084,9 @@ export interface DeletePackageResult {
992
1084
  */
993
1085
  deletedPackage?: PackageSummary;
994
1086
  }
1087
+ /**
1088
+ * @public
1089
+ */
995
1090
  export interface DeletePackageVersionsRequest {
996
1091
  /**
997
1092
  * <p>
@@ -1065,6 +1160,9 @@ export interface DeletePackageVersionsRequest {
1065
1160
  */
1066
1161
  expectedStatus?: PackageVersionStatus | string;
1067
1162
  }
1163
+ /**
1164
+ * @public
1165
+ */
1068
1166
  export interface DeletePackageVersionsResult {
1069
1167
  /**
1070
1168
  * <p>
@@ -1113,6 +1211,9 @@ export interface DeletePackageVersionsResult {
1113
1211
  */
1114
1212
  failedVersions?: Record<string, PackageVersionError>;
1115
1213
  }
1214
+ /**
1215
+ * @public
1216
+ */
1116
1217
  export interface DeleteRepositoryRequest {
1117
1218
  /**
1118
1219
  * <p>
@@ -1132,6 +1233,9 @@ export interface DeleteRepositoryRequest {
1132
1233
  */
1133
1234
  repository: string | undefined;
1134
1235
  }
1236
+ /**
1237
+ * @public
1238
+ */
1135
1239
  export interface DeleteRepositoryResult {
1136
1240
  /**
1137
1241
  * <p>
@@ -1140,6 +1244,9 @@ export interface DeleteRepositoryResult {
1140
1244
  */
1141
1245
  repository?: RepositoryDescription;
1142
1246
  }
1247
+ /**
1248
+ * @public
1249
+ */
1143
1250
  export interface DeleteRepositoryPermissionsPolicyRequest {
1144
1251
  /**
1145
1252
  * <p>
@@ -1168,6 +1275,9 @@ export interface DeleteRepositoryPermissionsPolicyRequest {
1168
1275
  */
1169
1276
  policyRevision?: string;
1170
1277
  }
1278
+ /**
1279
+ * @public
1280
+ */
1171
1281
  export interface DeleteRepositoryPermissionsPolicyResult {
1172
1282
  /**
1173
1283
  * <p>
@@ -1176,6 +1286,9 @@ export interface DeleteRepositoryPermissionsPolicyResult {
1176
1286
  */
1177
1287
  policy?: ResourcePolicy;
1178
1288
  }
1289
+ /**
1290
+ * @public
1291
+ */
1179
1292
  export interface DescribeDomainRequest {
1180
1293
  /**
1181
1294
  * <p>
@@ -1191,6 +1304,9 @@ export interface DescribeDomainRequest {
1191
1304
  */
1192
1305
  domainOwner?: string;
1193
1306
  }
1307
+ /**
1308
+ * @public
1309
+ */
1194
1310
  export interface DescribeDomainResult {
1195
1311
  /**
1196
1312
  * <p>
@@ -1200,6 +1316,9 @@ export interface DescribeDomainResult {
1200
1316
  */
1201
1317
  domain?: DomainDescription;
1202
1318
  }
1319
+ /**
1320
+ * @public
1321
+ */
1203
1322
  export interface DescribePackageRequest {
1204
1323
  /**
1205
1324
  * <p>The name of the domain that contains the repository that contains the package.</p>
@@ -1254,6 +1373,7 @@ export interface DescribePackageRequest {
1254
1373
  package: string | undefined;
1255
1374
  }
1256
1375
  /**
1376
+ * @public
1257
1377
  * <p>Details about a package.</p>
1258
1378
  */
1259
1379
  export interface PackageDescription {
@@ -1298,6 +1418,9 @@ export interface PackageDescription {
1298
1418
  */
1299
1419
  originConfiguration?: PackageOriginConfiguration;
1300
1420
  }
1421
+ /**
1422
+ * @public
1423
+ */
1301
1424
  export interface DescribePackageResult {
1302
1425
  /**
1303
1426
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
@@ -1305,6 +1428,9 @@ export interface DescribePackageResult {
1305
1428
  */
1306
1429
  package: PackageDescription | undefined;
1307
1430
  }
1431
+ /**
1432
+ * @public
1433
+ */
1308
1434
  export interface DescribePackageVersionRequest {
1309
1435
  /**
1310
1436
  * <p>
@@ -1369,6 +1495,7 @@ export interface DescribePackageVersionRequest {
1369
1495
  packageVersion: string | undefined;
1370
1496
  }
1371
1497
  /**
1498
+ * @public
1372
1499
  * <p>
1373
1500
  * Details of the license data.
1374
1501
  * </p>
@@ -1388,6 +1515,7 @@ export interface LicenseInfo {
1388
1515
  url?: string;
1389
1516
  }
1390
1517
  /**
1518
+ * @public
1391
1519
  * <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.
1392
1520
  * For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external
1393
1521
  * connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.</p>
@@ -1402,12 +1530,16 @@ export interface DomainEntryPoint {
1402
1530
  */
1403
1531
  externalConnectionName?: string;
1404
1532
  }
1533
+ /**
1534
+ * @public
1535
+ */
1405
1536
  export declare enum PackageVersionOriginType {
1406
1537
  EXTERNAL = "EXTERNAL",
1407
1538
  INTERNAL = "INTERNAL",
1408
1539
  UNKNOWN = "UNKNOWN"
1409
1540
  }
1410
1541
  /**
1542
+ * @public
1411
1543
  * <p>Information about how a package version was added to a repository.</p>
1412
1544
  */
1413
1545
  export interface PackageVersionOrigin {
@@ -1423,6 +1555,7 @@ export interface PackageVersionOrigin {
1423
1555
  originType?: PackageVersionOriginType | string;
1424
1556
  }
1425
1557
  /**
1558
+ * @public
1426
1559
  * <p>
1427
1560
  * Details about a package version.
1428
1561
  * </p>
@@ -1532,6 +1665,9 @@ export interface PackageVersionDescription {
1532
1665
  */
1533
1666
  origin?: PackageVersionOrigin;
1534
1667
  }
1668
+ /**
1669
+ * @public
1670
+ */
1535
1671
  export interface DescribePackageVersionResult {
1536
1672
  /**
1537
1673
  * <p>
@@ -1541,6 +1677,9 @@ export interface DescribePackageVersionResult {
1541
1677
  */
1542
1678
  packageVersion: PackageVersionDescription | undefined;
1543
1679
  }
1680
+ /**
1681
+ * @public
1682
+ */
1544
1683
  export interface DescribeRepositoryRequest {
1545
1684
  /**
1546
1685
  * <p>
@@ -1562,6 +1701,9 @@ export interface DescribeRepositoryRequest {
1562
1701
  */
1563
1702
  repository: string | undefined;
1564
1703
  }
1704
+ /**
1705
+ * @public
1706
+ */
1565
1707
  export interface DescribeRepositoryResult {
1566
1708
  /**
1567
1709
  * <p>
@@ -1570,6 +1712,9 @@ export interface DescribeRepositoryResult {
1570
1712
  */
1571
1713
  repository?: RepositoryDescription;
1572
1714
  }
1715
+ /**
1716
+ * @public
1717
+ */
1573
1718
  export interface DisassociateExternalConnectionRequest {
1574
1719
  /**
1575
1720
  * <p>The name of the domain that contains the repository from which to remove the external
@@ -1592,6 +1737,9 @@ export interface DisassociateExternalConnectionRequest {
1592
1737
  */
1593
1738
  externalConnection: string | undefined;
1594
1739
  }
1740
+ /**
1741
+ * @public
1742
+ */
1595
1743
  export interface DisassociateExternalConnectionResult {
1596
1744
  /**
1597
1745
  * <p>
@@ -1600,6 +1748,9 @@ export interface DisassociateExternalConnectionResult {
1600
1748
  */
1601
1749
  repository?: RepositoryDescription;
1602
1750
  }
1751
+ /**
1752
+ * @public
1753
+ */
1603
1754
  export interface DisposePackageVersionsRequest {
1604
1755
  /**
1605
1756
  * <p>
@@ -1679,6 +1830,9 @@ export interface DisposePackageVersionsRequest {
1679
1830
  */
1680
1831
  expectedStatus?: PackageVersionStatus | string;
1681
1832
  }
1833
+ /**
1834
+ * @public
1835
+ */
1682
1836
  export interface DisposePackageVersionsResult {
1683
1837
  /**
1684
1838
  * <p>
@@ -1726,6 +1880,9 @@ export interface DisposePackageVersionsResult {
1726
1880
  */
1727
1881
  failedVersions?: Record<string, PackageVersionError>;
1728
1882
  }
1883
+ /**
1884
+ * @public
1885
+ */
1729
1886
  export interface GetAuthorizationTokenRequest {
1730
1887
  /**
1731
1888
  * <p>
@@ -1748,6 +1905,9 @@ export interface GetAuthorizationTokenRequest {
1748
1905
  */
1749
1906
  durationSeconds?: number;
1750
1907
  }
1908
+ /**
1909
+ * @public
1910
+ */
1751
1911
  export interface GetAuthorizationTokenResult {
1752
1912
  /**
1753
1913
  * <p>
@@ -1762,6 +1922,9 @@ export interface GetAuthorizationTokenResult {
1762
1922
  */
1763
1923
  expiration?: Date;
1764
1924
  }
1925
+ /**
1926
+ * @public
1927
+ */
1765
1928
  export interface GetDomainPermissionsPolicyRequest {
1766
1929
  /**
1767
1930
  * <p>
@@ -1777,6 +1940,9 @@ export interface GetDomainPermissionsPolicyRequest {
1777
1940
  */
1778
1941
  domainOwner?: string;
1779
1942
  }
1943
+ /**
1944
+ * @public
1945
+ */
1780
1946
  export interface GetDomainPermissionsPolicyResult {
1781
1947
  /**
1782
1948
  * <p>
@@ -1785,6 +1951,9 @@ export interface GetDomainPermissionsPolicyResult {
1785
1951
  */
1786
1952
  policy?: ResourcePolicy;
1787
1953
  }
1954
+ /**
1955
+ * @public
1956
+ */
1788
1957
  export interface GetPackageVersionAssetRequest {
1789
1958
  /**
1790
1959
  * <p>
@@ -1864,6 +2033,9 @@ export interface GetPackageVersionAssetRequest {
1864
2033
  */
1865
2034
  packageVersionRevision?: string;
1866
2035
  }
2036
+ /**
2037
+ * @public
2038
+ */
1867
2039
  export interface GetPackageVersionAssetResult {
1868
2040
  /**
1869
2041
  * <p> The binary file, or asset, that is downloaded.</p>
@@ -1888,6 +2060,9 @@ export interface GetPackageVersionAssetResult {
1888
2060
  */
1889
2061
  packageVersionRevision?: string;
1890
2062
  }
2063
+ /**
2064
+ * @public
2065
+ */
1891
2066
  export interface GetPackageVersionReadmeRequest {
1892
2067
  /**
1893
2068
  * <p>
@@ -1950,6 +2125,9 @@ export interface GetPackageVersionReadmeRequest {
1950
2125
  */
1951
2126
  packageVersion: string | undefined;
1952
2127
  }
2128
+ /**
2129
+ * @public
2130
+ */
1953
2131
  export interface GetPackageVersionReadmeResult {
1954
2132
  /**
1955
2133
  * <p>
@@ -2005,6 +2183,9 @@ export interface GetPackageVersionReadmeResult {
2005
2183
  */
2006
2184
  readme?: string;
2007
2185
  }
2186
+ /**
2187
+ * @public
2188
+ */
2008
2189
  export interface GetRepositoryEndpointRequest {
2009
2190
  /**
2010
2191
  * <p>
@@ -2033,6 +2214,9 @@ export interface GetRepositoryEndpointRequest {
2033
2214
  */
2034
2215
  format: PackageFormat | string | undefined;
2035
2216
  }
2217
+ /**
2218
+ * @public
2219
+ */
2036
2220
  export interface GetRepositoryEndpointResult {
2037
2221
  /**
2038
2222
  * <p>
@@ -2041,6 +2225,9 @@ export interface GetRepositoryEndpointResult {
2041
2225
  */
2042
2226
  repositoryEndpoint?: string;
2043
2227
  }
2228
+ /**
2229
+ * @public
2230
+ */
2044
2231
  export interface GetRepositoryPermissionsPolicyRequest {
2045
2232
  /**
2046
2233
  * <p>
@@ -2062,6 +2249,9 @@ export interface GetRepositoryPermissionsPolicyRequest {
2062
2249
  */
2063
2250
  repository: string | undefined;
2064
2251
  }
2252
+ /**
2253
+ * @public
2254
+ */
2065
2255
  export interface GetRepositoryPermissionsPolicyResult {
2066
2256
  /**
2067
2257
  * <p>
@@ -2070,6 +2260,9 @@ export interface GetRepositoryPermissionsPolicyResult {
2070
2260
  */
2071
2261
  policy?: ResourcePolicy;
2072
2262
  }
2263
+ /**
2264
+ * @public
2265
+ */
2073
2266
  export interface ListDomainsRequest {
2074
2267
  /**
2075
2268
  * <p>
@@ -2085,6 +2278,7 @@ export interface ListDomainsRequest {
2085
2278
  nextToken?: string;
2086
2279
  }
2087
2280
  /**
2281
+ * @public
2088
2282
  * <p> Information about a domain, including its name, Amazon Resource Name (ARN), and status.
2089
2283
  * The <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListDomains.html">ListDomains</a> operation returns a list of <code>DomainSummary</code>
2090
2284
  * objects. </p>
@@ -2128,6 +2322,9 @@ export interface DomainSummary {
2128
2322
  */
2129
2323
  encryptionKey?: string;
2130
2324
  }
2325
+ /**
2326
+ * @public
2327
+ */
2131
2328
  export interface ListDomainsResult {
2132
2329
  /**
2133
2330
  * <p>
@@ -2142,6 +2339,9 @@ export interface ListDomainsResult {
2142
2339
  */
2143
2340
  nextToken?: string;
2144
2341
  }
2342
+ /**
2343
+ * @public
2344
+ */
2145
2345
  export interface ListPackagesRequest {
2146
2346
  /**
2147
2347
  * <p>
@@ -2225,6 +2425,9 @@ export interface ListPackagesRequest {
2225
2425
  */
2226
2426
  upstream?: AllowUpstream | string;
2227
2427
  }
2428
+ /**
2429
+ * @public
2430
+ */
2228
2431
  export interface ListPackagesResult {
2229
2432
  /**
2230
2433
  * <p>
@@ -2240,6 +2443,9 @@ export interface ListPackagesResult {
2240
2443
  */
2241
2444
  nextToken?: string;
2242
2445
  }
2446
+ /**
2447
+ * @public
2448
+ */
2243
2449
  export interface ListPackageVersionAssetsRequest {
2244
2450
  /**
2245
2451
  * <p>
@@ -2319,6 +2525,9 @@ export interface ListPackageVersionAssetsRequest {
2319
2525
  */
2320
2526
  nextToken?: string;
2321
2527
  }
2528
+ /**
2529
+ * @public
2530
+ */
2322
2531
  export interface ListPackageVersionAssetsResult {
2323
2532
  /**
2324
2533
  * <p>
@@ -2380,6 +2589,9 @@ export interface ListPackageVersionAssetsResult {
2380
2589
  */
2381
2590
  assets?: AssetSummary[];
2382
2591
  }
2592
+ /**
2593
+ * @public
2594
+ */
2383
2595
  export interface ListPackageVersionDependenciesRequest {
2384
2596
  /**
2385
2597
  * <p>
@@ -2454,6 +2666,7 @@ export interface ListPackageVersionDependenciesRequest {
2454
2666
  nextToken?: string;
2455
2667
  }
2456
2668
  /**
2669
+ * @public
2457
2670
  * <p>
2458
2671
  * Details about a package dependency.
2459
2672
  * </p>
@@ -2520,6 +2733,9 @@ export interface PackageDependency {
2520
2733
  */
2521
2734
  versionRequirement?: string;
2522
2735
  }
2736
+ /**
2737
+ * @public
2738
+ */
2523
2739
  export interface ListPackageVersionDependenciesResult {
2524
2740
  /**
2525
2741
  * <p>
@@ -2581,9 +2797,15 @@ export interface ListPackageVersionDependenciesResult {
2581
2797
  */
2582
2798
  dependencies?: PackageDependency[];
2583
2799
  }
2800
+ /**
2801
+ * @public
2802
+ */
2584
2803
  export declare enum PackageVersionSortType {
2585
2804
  PUBLISHED_TIME = "PUBLISHED_TIME"
2586
2805
  }
2806
+ /**
2807
+ * @public
2808
+ */
2587
2809
  export interface ListPackageVersionsRequest {
2588
2810
  /**
2589
2811
  * <p>
@@ -2675,6 +2897,7 @@ export interface ListPackageVersionsRequest {
2675
2897
  originType?: PackageVersionOriginType | string;
2676
2898
  }
2677
2899
  /**
2900
+ * @public
2678
2901
  * <p>
2679
2902
  * Details about a package version, including its status, version, and revision. The
2680
2903
  * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListPackageVersions</a>
@@ -2706,6 +2929,9 @@ export interface PackageVersionSummary {
2706
2929
  */
2707
2930
  origin?: PackageVersionOrigin;
2708
2931
  }
2932
+ /**
2933
+ * @public
2934
+ */
2709
2935
  export interface ListPackageVersionsResult {
2710
2936
  /**
2711
2937
  * <p>
@@ -2776,6 +3002,9 @@ export interface ListPackageVersionsResult {
2776
3002
  */
2777
3003
  nextToken?: string;
2778
3004
  }
3005
+ /**
3006
+ * @public
3007
+ */
2779
3008
  export interface ListRepositoriesRequest {
2780
3009
  /**
2781
3010
  * <p> A prefix used to filter returned repositories. Only repositories with names that start
@@ -2796,6 +3025,7 @@ export interface ListRepositoriesRequest {
2796
3025
  nextToken?: string;
2797
3026
  }
2798
3027
  /**
3028
+ * @public
2799
3029
  * <p> Details about a repository, including its Amazon Resource Name (ARN), description, and
2800
3030
  * domain information. The <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListRepositories.html">ListRepositories</a> operation returns a list of
2801
3031
  * <code>RepositorySummary</code> objects. </p>
@@ -2837,6 +3067,9 @@ export interface RepositorySummary {
2837
3067
  */
2838
3068
  description?: string;
2839
3069
  }
3070
+ /**
3071
+ * @public
3072
+ */
2840
3073
  export interface ListRepositoriesResult {
2841
3074
  /**
2842
3075
  * <p>
@@ -2852,6 +3085,9 @@ export interface ListRepositoriesResult {
2852
3085
  */
2853
3086
  nextToken?: string;
2854
3087
  }
3088
+ /**
3089
+ * @public
3090
+ */
2855
3091
  export interface ListRepositoriesInDomainRequest {
2856
3092
  /**
2857
3093
  * <p>
@@ -2892,6 +3128,9 @@ export interface ListRepositoriesInDomainRequest {
2892
3128
  */
2893
3129
  nextToken?: string;
2894
3130
  }
3131
+ /**
3132
+ * @public
3133
+ */
2895
3134
  export interface ListRepositoriesInDomainResult {
2896
3135
  /**
2897
3136
  * <p>
@@ -2906,18 +3145,27 @@ export interface ListRepositoriesInDomainResult {
2906
3145
  */
2907
3146
  nextToken?: string;
2908
3147
  }
3148
+ /**
3149
+ * @public
3150
+ */
2909
3151
  export interface ListTagsForResourceRequest {
2910
3152
  /**
2911
3153
  * <p>The Amazon Resource Name (ARN) of the resource to get tags for.</p>
2912
3154
  */
2913
3155
  resourceArn: string | undefined;
2914
3156
  }
3157
+ /**
3158
+ * @public
3159
+ */
2915
3160
  export interface ListTagsForResourceResult {
2916
3161
  /**
2917
3162
  * <p>A list of tag key and value pairs associated with the specified resource.</p>
2918
3163
  */
2919
3164
  tags?: Tag[];
2920
3165
  }
3166
+ /**
3167
+ * @public
3168
+ */
2921
3169
  export interface PublishPackageVersionRequest {
2922
3170
  /**
2923
3171
  * <p>The name of the domain that contains the repository that contains the package version to publish.</p>
@@ -2953,7 +3201,7 @@ export interface PublishPackageVersionRequest {
2953
3201
  assetContent: Readable | ReadableStream | Blob | undefined;
2954
3202
  /**
2955
3203
  * <p>The name of the asset to publish. Asset names can include Unicode letters and numbers, and
2956
- * the following special characters: <code>~ ! @ ^ & ( ) - ` _ + [ ] { } ; , .
3204
+ * the following special characters: <code>~ ! @ ^ & ( ) - ` _ + [ ] \{ \} ; , .
2957
3205
  * `</code>
2958
3206
  * </p>
2959
3207
  */
@@ -2975,6 +3223,9 @@ export interface PublishPackageVersionRequest {
2975
3223
  */
2976
3224
  unfinished?: boolean;
2977
3225
  }
3226
+ /**
3227
+ * @public
3228
+ */
2978
3229
  export interface PublishPackageVersionResult {
2979
3230
  /**
2980
3231
  * <p>The format of the package version.</p>
@@ -3005,6 +3256,9 @@ export interface PublishPackageVersionResult {
3005
3256
  */
3006
3257
  asset?: AssetSummary;
3007
3258
  }
3259
+ /**
3260
+ * @public
3261
+ */
3008
3262
  export interface PutDomainPermissionsPolicyRequest {
3009
3263
  /**
3010
3264
  * <p>
@@ -3032,12 +3286,18 @@ export interface PutDomainPermissionsPolicyRequest {
3032
3286
  */
3033
3287
  policyDocument: string | undefined;
3034
3288
  }
3289
+ /**
3290
+ * @public
3291
+ */
3035
3292
  export interface PutDomainPermissionsPolicyResult {
3036
3293
  /**
3037
3294
  * <p> The resource policy that was set after processing the request. </p>
3038
3295
  */
3039
3296
  policy?: ResourcePolicy;
3040
3297
  }
3298
+ /**
3299
+ * @public
3300
+ */
3041
3301
  export interface PutPackageOriginConfigurationRequest {
3042
3302
  /**
3043
3303
  * <p>The name of the domain that contains the repository that contains the package.</p>
@@ -3099,6 +3359,9 @@ export interface PutPackageOriginConfigurationRequest {
3099
3359
  */
3100
3360
  restrictions: PackageOriginRestrictions | undefined;
3101
3361
  }
3362
+ /**
3363
+ * @public
3364
+ */
3102
3365
  export interface PutPackageOriginConfigurationResult {
3103
3366
  /**
3104
3367
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
@@ -3108,6 +3371,9 @@ export interface PutPackageOriginConfigurationResult {
3108
3371
  */
3109
3372
  originConfiguration?: PackageOriginConfiguration;
3110
3373
  }
3374
+ /**
3375
+ * @public
3376
+ */
3111
3377
  export interface PutRepositoryPermissionsPolicyRequest {
3112
3378
  /**
3113
3379
  * <p>
@@ -3140,12 +3406,18 @@ export interface PutRepositoryPermissionsPolicyRequest {
3140
3406
  */
3141
3407
  policyDocument: string | undefined;
3142
3408
  }
3409
+ /**
3410
+ * @public
3411
+ */
3143
3412
  export interface PutRepositoryPermissionsPolicyResult {
3144
3413
  /**
3145
3414
  * <p> The resource policy that was set after processing the request. </p>
3146
3415
  */
3147
3416
  policy?: ResourcePolicy;
3148
3417
  }
3418
+ /**
3419
+ * @public
3420
+ */
3149
3421
  export interface TagResourceRequest {
3150
3422
  /**
3151
3423
  * <p>The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.</p>
@@ -3156,8 +3428,14 @@ export interface TagResourceRequest {
3156
3428
  */
3157
3429
  tags: Tag[] | undefined;
3158
3430
  }
3431
+ /**
3432
+ * @public
3433
+ */
3159
3434
  export interface TagResourceResult {
3160
3435
  }
3436
+ /**
3437
+ * @public
3438
+ */
3161
3439
  export interface UntagResourceRequest {
3162
3440
  /**
3163
3441
  * <p>The Amazon Resource Name (ARN) of the resource that you want to remove tags from.</p>
@@ -3168,8 +3446,14 @@ export interface UntagResourceRequest {
3168
3446
  */
3169
3447
  tagKeys: string[] | undefined;
3170
3448
  }
3449
+ /**
3450
+ * @public
3451
+ */
3171
3452
  export interface UntagResourceResult {
3172
3453
  }
3454
+ /**
3455
+ * @public
3456
+ */
3173
3457
  export interface UpdatePackageVersionsStatusRequest {
3174
3458
  /**
3175
3459
  * <p>
@@ -3256,6 +3540,9 @@ export interface UpdatePackageVersionsStatusRequest {
3256
3540
  */
3257
3541
  targetStatus: PackageVersionStatus | string | undefined;
3258
3542
  }
3543
+ /**
3544
+ * @public
3545
+ */
3259
3546
  export interface UpdatePackageVersionsStatusResult {
3260
3547
  /**
3261
3548
  * <p>
@@ -3270,6 +3557,9 @@ export interface UpdatePackageVersionsStatusResult {
3270
3557
  */
3271
3558
  failedVersions?: Record<string, PackageVersionError>;
3272
3559
  }
3560
+ /**
3561
+ * @public
3562
+ */
3273
3563
  export interface UpdateRepositoryRequest {
3274
3564
  /**
3275
3565
  * <p>
@@ -3303,6 +3593,9 @@ export interface UpdateRepositoryRequest {
3303
3593
  */
3304
3594
  upstreams?: UpstreamRepository[];
3305
3595
  }
3596
+ /**
3597
+ * @public
3598
+ */
3306
3599
  export interface UpdateRepositoryResult {
3307
3600
  /**
3308
3601
  * <p>