@aws-sdk/client-codeartifact 3.100.0 → 3.109.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 +27 -0
- package/README.md +15 -10
- package/dist-cjs/CodeartifactClient.js +2 -0
- package/dist-es/CodeartifactClient.js +2 -0
- package/dist-types/Codeartifact.d.ts +36 -25
- package/dist-types/CodeartifactClient.d.ts +15 -10
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +1 -3
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +7 -2
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +107 -589
- package/dist-types/ts3.4/models/models_0.d.ts +12 -36
- package/package.json +29 -28
|
@@ -44,9 +44,7 @@ export interface AssetSummary {
|
|
|
44
44
|
* The hashes of the asset.
|
|
45
45
|
* </p>
|
|
46
46
|
*/
|
|
47
|
-
hashes?:
|
|
48
|
-
[key: string]: string;
|
|
49
|
-
};
|
|
47
|
+
hashes?: Record<string, string>;
|
|
50
48
|
}
|
|
51
49
|
export declare namespace AssetSummary {
|
|
52
50
|
/**
|
|
@@ -61,7 +59,7 @@ export interface AssociateExternalConnectionRequest {
|
|
|
61
59
|
domain: string | undefined;
|
|
62
60
|
/**
|
|
63
61
|
* <p>
|
|
64
|
-
* The 12-digit account number of the
|
|
62
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
65
63
|
* dashes or spaces.
|
|
66
64
|
* </p>
|
|
67
65
|
*/
|
|
@@ -84,6 +82,11 @@ export interface AssociateExternalConnectionRequest {
|
|
|
84
82
|
* </li>
|
|
85
83
|
* <li>
|
|
86
84
|
* <p>
|
|
85
|
+
* <code>public:nuget-org</code> - for the NuGet Gallery.
|
|
86
|
+
* </p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>
|
|
87
90
|
* <code>public:pypi</code> - for the Python Package Index.
|
|
88
91
|
* </p>
|
|
89
92
|
* </li>
|
|
@@ -156,6 +159,11 @@ export interface RepositoryExternalConnectionInfo {
|
|
|
156
159
|
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
157
160
|
* </p>
|
|
158
161
|
* </li>
|
|
162
|
+
* <li>
|
|
163
|
+
* <p>
|
|
164
|
+
* <code>nuget</code>: A NuGet package.
|
|
165
|
+
* </p>
|
|
166
|
+
* </li>
|
|
159
167
|
* </ul>
|
|
160
168
|
*/
|
|
161
169
|
packageFormat?: PackageFormat | string;
|
|
@@ -190,11 +198,11 @@ export declare namespace UpstreamRepositoryInfo {
|
|
|
190
198
|
const filterSensitiveLog: (obj: UpstreamRepositoryInfo) => any;
|
|
191
199
|
}
|
|
192
200
|
/**
|
|
193
|
-
* <p> The details of a repository stored in
|
|
201
|
+
* <p> The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of
|
|
194
202
|
* package versions, each of which maps to a set of assets. Repositories are polyglot—a single
|
|
195
203
|
* repository can contain packages of any supported type. Each repository exposes endpoints for
|
|
196
204
|
* fetching and publishing packages using tools like the <code>npm</code> CLI, the Maven CLI
|
|
197
|
-
* (<code>mvn</code>), and <code>pip</code>. You can create up to 100 repositories per
|
|
205
|
+
* (<code>mvn</code>), and <code>pip</code>. You can create up to 100 repositories per Amazon Web Services
|
|
198
206
|
* account. </p>
|
|
199
207
|
*/
|
|
200
208
|
export interface RepositoryDescription {
|
|
@@ -205,7 +213,7 @@ export interface RepositoryDescription {
|
|
|
205
213
|
*/
|
|
206
214
|
name?: string;
|
|
207
215
|
/**
|
|
208
|
-
* <p> The 12-digit account number of the
|
|
216
|
+
* <p> The 12-digit account number of the Amazon Web Services account that manages the repository. </p>
|
|
209
217
|
*/
|
|
210
218
|
administratorAccount?: string;
|
|
211
219
|
/**
|
|
@@ -216,7 +224,7 @@ export interface RepositoryDescription {
|
|
|
216
224
|
domainName?: string;
|
|
217
225
|
/**
|
|
218
226
|
* <p>
|
|
219
|
-
* The 12-digit account number of the
|
|
227
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include
|
|
220
228
|
* dashes or spaces.
|
|
221
229
|
* </p>
|
|
222
230
|
*/
|
|
@@ -233,7 +241,7 @@ export interface RepositoryDescription {
|
|
|
233
241
|
description?: string;
|
|
234
242
|
/**
|
|
235
243
|
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
236
|
-
* in the list determines their priority order when
|
|
244
|
+
* in the list determines their priority order when CodeArtifact looks for a requested package version. For more
|
|
237
245
|
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
238
246
|
*/
|
|
239
247
|
upstreams?: UpstreamRepositoryInfo[];
|
|
@@ -287,7 +295,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
287
295
|
resourceId?: string;
|
|
288
296
|
/**
|
|
289
297
|
* <p>
|
|
290
|
-
* The type of
|
|
298
|
+
* The type of Amazon Web Services resource.
|
|
291
299
|
* </p>
|
|
292
300
|
*/
|
|
293
301
|
resourceType?: ResourceType | string;
|
|
@@ -297,7 +305,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
297
305
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
298
306
|
}
|
|
299
307
|
/**
|
|
300
|
-
* <p> The operation did not succeed because of an error that occurred inside
|
|
308
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
301
309
|
*/
|
|
302
310
|
export declare class InternalServerException extends __BaseException {
|
|
303
311
|
readonly name: "InternalServerException";
|
|
@@ -323,7 +331,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
323
331
|
resourceId?: string;
|
|
324
332
|
/**
|
|
325
333
|
* <p>
|
|
326
|
-
* The type of
|
|
334
|
+
* The type of Amazon Web Services resource.
|
|
327
335
|
* </p>
|
|
328
336
|
*/
|
|
329
337
|
resourceType?: ResourceType | string;
|
|
@@ -348,7 +356,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
348
356
|
resourceId?: string;
|
|
349
357
|
/**
|
|
350
358
|
* <p>
|
|
351
|
-
* The type of
|
|
359
|
+
* The type of Amazon Web Services resource.
|
|
352
360
|
* </p>
|
|
353
361
|
*/
|
|
354
362
|
resourceType?: ResourceType | string;
|
|
@@ -411,7 +419,7 @@ export interface CopyPackageVersionsRequest {
|
|
|
411
419
|
domain: string | undefined;
|
|
412
420
|
/**
|
|
413
421
|
* <p>
|
|
414
|
-
* The 12-digit account number of the
|
|
422
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
415
423
|
* dashes or spaces.
|
|
416
424
|
* </p>
|
|
417
425
|
*/
|
|
@@ -430,25 +438,8 @@ export interface CopyPackageVersionsRequest {
|
|
|
430
438
|
destinationRepository: string | undefined;
|
|
431
439
|
/**
|
|
432
440
|
* <p>
|
|
433
|
-
* The format of the package that is copied.
|
|
441
|
+
* The format of the package that is copied.
|
|
434
442
|
* </p>
|
|
435
|
-
* <ul>
|
|
436
|
-
* <li>
|
|
437
|
-
* <p>
|
|
438
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
439
|
-
* </p>
|
|
440
|
-
* </li>
|
|
441
|
-
* <li>
|
|
442
|
-
* <p>
|
|
443
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
444
|
-
* </p>
|
|
445
|
-
* </li>
|
|
446
|
-
* <li>
|
|
447
|
-
* <p>
|
|
448
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
449
|
-
* </p>
|
|
450
|
-
* </li>
|
|
451
|
-
* </ul>
|
|
452
443
|
*/
|
|
453
444
|
format: PackageFormat | string | undefined;
|
|
454
445
|
/**
|
|
@@ -504,9 +495,7 @@ export interface CopyPackageVersionsRequest {
|
|
|
504
495
|
* </p>
|
|
505
496
|
* </note>
|
|
506
497
|
*/
|
|
507
|
-
versionRevisions?:
|
|
508
|
-
[key: string]: string;
|
|
509
|
-
};
|
|
498
|
+
versionRevisions?: Record<string, string>;
|
|
510
499
|
/**
|
|
511
500
|
* <p>
|
|
512
501
|
* Set to true to overwrite a package version that already exists in the destination repository.
|
|
@@ -615,35 +604,8 @@ export interface SuccessfulPackageVersionInfo {
|
|
|
615
604
|
revision?: string;
|
|
616
605
|
/**
|
|
617
606
|
* <p>
|
|
618
|
-
* The status of a package version.
|
|
607
|
+
* The status of a package version.
|
|
619
608
|
* </p>
|
|
620
|
-
* <ul>
|
|
621
|
-
* <li>
|
|
622
|
-
* <p>
|
|
623
|
-
* <code>Published</code>
|
|
624
|
-
* </p>
|
|
625
|
-
* </li>
|
|
626
|
-
* <li>
|
|
627
|
-
* <p>
|
|
628
|
-
* <code>Unfinished</code>
|
|
629
|
-
* </p>
|
|
630
|
-
* </li>
|
|
631
|
-
* <li>
|
|
632
|
-
* <p>
|
|
633
|
-
* <code>Unlisted</code>
|
|
634
|
-
* </p>
|
|
635
|
-
* </li>
|
|
636
|
-
* <li>
|
|
637
|
-
* <p>
|
|
638
|
-
* <code>Archived</code>
|
|
639
|
-
* </p>
|
|
640
|
-
* </li>
|
|
641
|
-
* <li>
|
|
642
|
-
* <p>
|
|
643
|
-
* <code>Disposed</code>
|
|
644
|
-
* </p>
|
|
645
|
-
* </li>
|
|
646
|
-
* </ul>
|
|
647
609
|
*/
|
|
648
610
|
status?: PackageVersionStatus | string;
|
|
649
611
|
}
|
|
@@ -659,9 +621,7 @@ export interface CopyPackageVersionsResult {
|
|
|
659
621
|
* A list of the package versions that were successfully copied to your repository.
|
|
660
622
|
* </p>
|
|
661
623
|
*/
|
|
662
|
-
successfulVersions?:
|
|
663
|
-
[key: string]: SuccessfulPackageVersionInfo;
|
|
664
|
-
};
|
|
624
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
665
625
|
/**
|
|
666
626
|
* <p>
|
|
667
627
|
* A map of package versions that failed to copy and their error codes. The possible error codes are in
|
|
@@ -700,9 +660,7 @@ export interface CopyPackageVersionsResult {
|
|
|
700
660
|
* </li>
|
|
701
661
|
* </ul>
|
|
702
662
|
*/
|
|
703
|
-
failedVersions?:
|
|
704
|
-
[key: string]: PackageVersionError;
|
|
705
|
-
};
|
|
663
|
+
failedVersions?: Record<string, PackageVersionError>;
|
|
706
664
|
}
|
|
707
665
|
export declare namespace CopyPackageVersionsResult {
|
|
708
666
|
/**
|
|
@@ -711,7 +669,7 @@ export declare namespace CopyPackageVersionsResult {
|
|
|
711
669
|
const filterSensitiveLog: (obj: CopyPackageVersionsResult) => any;
|
|
712
670
|
}
|
|
713
671
|
/**
|
|
714
|
-
* <p>A tag is a key-value pair that can be used to manage, search for, or filter resources in
|
|
672
|
+
* <p>A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.</p>
|
|
715
673
|
*/
|
|
716
674
|
export interface Tag {
|
|
717
675
|
/**
|
|
@@ -731,8 +689,8 @@ export declare namespace Tag {
|
|
|
731
689
|
}
|
|
732
690
|
export interface CreateDomainRequest {
|
|
733
691
|
/**
|
|
734
|
-
* <p> The name of the domain to create. All domain names in an
|
|
735
|
-
* same
|
|
692
|
+
* <p> The name of the domain to create. All domain names in an Amazon Web Services Region that are in the
|
|
693
|
+
* same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do
|
|
736
694
|
* not use sensitive information in a domain name because it is publicly discoverable. </p>
|
|
737
695
|
*/
|
|
738
696
|
domain: string | undefined;
|
|
@@ -741,13 +699,13 @@ export interface CreateDomainRequest {
|
|
|
741
699
|
* An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key
|
|
742
700
|
* alias ARN. To specify an <code>encryptionKey</code>, your IAM role must have
|
|
743
701
|
* <code>kms:DescribeKey</code> and <code>kms:CreateGrant</code> permissions on the encryption
|
|
744
|
-
* key that is used. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestSyntax">DescribeKey</a> in the <i>
|
|
745
|
-
* and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">
|
|
746
|
-
* Reference</a> in the <i>
|
|
702
|
+
* key that is used. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestSyntax">DescribeKey</a> in the <i>Key Management Service API Reference</i>
|
|
703
|
+
* and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">Key Management Service API Permissions
|
|
704
|
+
* Reference</a> in the <i>Key Management Service Developer Guide</i>. </p>
|
|
747
705
|
* <important>
|
|
748
706
|
* <p> CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your
|
|
749
707
|
* domain. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and asymmetric
|
|
750
|
-
* keys</a> in the <i>
|
|
708
|
+
* keys</a> in the <i>Key Management Service Developer Guide</i>. </p>
|
|
751
709
|
* </important>
|
|
752
710
|
*/
|
|
753
711
|
encryptionKey?: string;
|
|
@@ -780,7 +738,7 @@ export interface DomainDescription {
|
|
|
780
738
|
*/
|
|
781
739
|
name?: string;
|
|
782
740
|
/**
|
|
783
|
-
* <p> The
|
|
741
|
+
* <p> The Amazon Web Services account ID that owns the domain. </p>
|
|
784
742
|
*/
|
|
785
743
|
owner?: string;
|
|
786
744
|
/**
|
|
@@ -788,19 +746,9 @@ export interface DomainDescription {
|
|
|
788
746
|
*/
|
|
789
747
|
arn?: string;
|
|
790
748
|
/**
|
|
791
|
-
* <p>
|
|
792
|
-
*
|
|
793
|
-
*
|
|
794
|
-
* <p>
|
|
795
|
-
* <code>Active</code>
|
|
796
|
-
* </p>
|
|
797
|
-
* </li>
|
|
798
|
-
* <li>
|
|
799
|
-
* <p>
|
|
800
|
-
* <code>Deleted</code>
|
|
801
|
-
* </p>
|
|
802
|
-
* </li>
|
|
803
|
-
* </ul>
|
|
749
|
+
* <p>
|
|
750
|
+
* The current status of a domain.
|
|
751
|
+
* </p>
|
|
804
752
|
*/
|
|
805
753
|
status?: DomainStatus | string;
|
|
806
754
|
/**
|
|
@@ -810,7 +758,7 @@ export interface DomainDescription {
|
|
|
810
758
|
*/
|
|
811
759
|
createdTime?: Date;
|
|
812
760
|
/**
|
|
813
|
-
* <p> The ARN of an
|
|
761
|
+
* <p> The ARN of an Key Management Service (KMS) key associated with a domain. </p>
|
|
814
762
|
*/
|
|
815
763
|
encryptionKey?: string;
|
|
816
764
|
/**
|
|
@@ -878,7 +826,7 @@ export interface CreateRepositoryRequest {
|
|
|
878
826
|
domain: string | undefined;
|
|
879
827
|
/**
|
|
880
828
|
* <p>
|
|
881
|
-
* The 12-digit account number of the
|
|
829
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
882
830
|
* dashes or spaces.
|
|
883
831
|
* </p>
|
|
884
832
|
*/
|
|
@@ -895,7 +843,7 @@ export interface CreateRepositoryRequest {
|
|
|
895
843
|
description?: string;
|
|
896
844
|
/**
|
|
897
845
|
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
898
|
-
* in the list determines their priority order when
|
|
846
|
+
* in the list determines their priority order when CodeArtifact looks for a requested package version. For more
|
|
899
847
|
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
900
848
|
*/
|
|
901
849
|
upstreams?: UpstreamRepository[];
|
|
@@ -933,7 +881,7 @@ export interface DeleteDomainRequest {
|
|
|
933
881
|
domain: string | undefined;
|
|
934
882
|
/**
|
|
935
883
|
* <p>
|
|
936
|
-
* The 12-digit account number of the
|
|
884
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
937
885
|
* dashes or spaces.
|
|
938
886
|
* </p>
|
|
939
887
|
*/
|
|
@@ -968,7 +916,7 @@ export interface DeleteDomainPermissionsPolicyRequest {
|
|
|
968
916
|
domain: string | undefined;
|
|
969
917
|
/**
|
|
970
918
|
* <p>
|
|
971
|
-
* The 12-digit account number of the
|
|
919
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
972
920
|
* dashes or spaces.
|
|
973
921
|
* </p>
|
|
974
922
|
*/
|
|
@@ -989,7 +937,7 @@ export declare namespace DeleteDomainPermissionsPolicyRequest {
|
|
|
989
937
|
}
|
|
990
938
|
/**
|
|
991
939
|
* <p>
|
|
992
|
-
* An
|
|
940
|
+
* An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
|
|
993
941
|
* </p>
|
|
994
942
|
*/
|
|
995
943
|
export interface ResourcePolicy {
|
|
@@ -1041,7 +989,7 @@ export interface DeletePackageVersionsRequest {
|
|
|
1041
989
|
domain: string | undefined;
|
|
1042
990
|
/**
|
|
1043
991
|
* <p>
|
|
1044
|
-
* The 12-digit account number of the
|
|
992
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1045
993
|
* dashes or spaces.
|
|
1046
994
|
* </p>
|
|
1047
995
|
*/
|
|
@@ -1054,25 +1002,8 @@ export interface DeletePackageVersionsRequest {
|
|
|
1054
1002
|
repository: string | undefined;
|
|
1055
1003
|
/**
|
|
1056
1004
|
* <p>
|
|
1057
|
-
* The format of the package versions to delete.
|
|
1005
|
+
* The format of the package versions to delete.
|
|
1058
1006
|
* </p>
|
|
1059
|
-
* <ul>
|
|
1060
|
-
* <li>
|
|
1061
|
-
* <p>
|
|
1062
|
-
* <code>npm</code>
|
|
1063
|
-
* </p>
|
|
1064
|
-
* </li>
|
|
1065
|
-
* <li>
|
|
1066
|
-
* <p>
|
|
1067
|
-
* <code>pypi</code>
|
|
1068
|
-
* </p>
|
|
1069
|
-
* </li>
|
|
1070
|
-
* <li>
|
|
1071
|
-
* <p>
|
|
1072
|
-
* <code>maven</code>
|
|
1073
|
-
* </p>
|
|
1074
|
-
* </li>
|
|
1075
|
-
* </ul>
|
|
1076
1007
|
*/
|
|
1077
1008
|
format: PackageFormat | string | undefined;
|
|
1078
1009
|
/**
|
|
@@ -1114,35 +1045,8 @@ export interface DeletePackageVersionsRequest {
|
|
|
1114
1045
|
versions: string[] | undefined;
|
|
1115
1046
|
/**
|
|
1116
1047
|
* <p>
|
|
1117
|
-
* The expected status of the package version to delete.
|
|
1048
|
+
* The expected status of the package version to delete.
|
|
1118
1049
|
* </p>
|
|
1119
|
-
* <ul>
|
|
1120
|
-
* <li>
|
|
1121
|
-
* <p>
|
|
1122
|
-
* <code>Published</code>
|
|
1123
|
-
* </p>
|
|
1124
|
-
* </li>
|
|
1125
|
-
* <li>
|
|
1126
|
-
* <p>
|
|
1127
|
-
* <code>Unfinished</code>
|
|
1128
|
-
* </p>
|
|
1129
|
-
* </li>
|
|
1130
|
-
* <li>
|
|
1131
|
-
* <p>
|
|
1132
|
-
* <code>Unlisted</code>
|
|
1133
|
-
* </p>
|
|
1134
|
-
* </li>
|
|
1135
|
-
* <li>
|
|
1136
|
-
* <p>
|
|
1137
|
-
* <code>Archived</code>
|
|
1138
|
-
* </p>
|
|
1139
|
-
* </li>
|
|
1140
|
-
* <li>
|
|
1141
|
-
* <p>
|
|
1142
|
-
* <code>Disposed</code>
|
|
1143
|
-
* </p>
|
|
1144
|
-
* </li>
|
|
1145
|
-
* </ul>
|
|
1146
1050
|
*/
|
|
1147
1051
|
expectedStatus?: PackageVersionStatus | string;
|
|
1148
1052
|
}
|
|
@@ -1155,12 +1059,11 @@ export declare namespace DeletePackageVersionsRequest {
|
|
|
1155
1059
|
export interface DeletePackageVersionsResult {
|
|
1156
1060
|
/**
|
|
1157
1061
|
* <p>
|
|
1158
|
-
* A list of the package versions that were successfully deleted.
|
|
1062
|
+
* A list of the package versions that were successfully deleted. The
|
|
1063
|
+
* status of every successful version will be <code>Deleted</code>.
|
|
1159
1064
|
* </p>
|
|
1160
1065
|
*/
|
|
1161
|
-
successfulVersions?:
|
|
1162
|
-
[key: string]: SuccessfulPackageVersionInfo;
|
|
1163
|
-
};
|
|
1066
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
1164
1067
|
/**
|
|
1165
1068
|
* <p>
|
|
1166
1069
|
* A <code>PackageVersionError</code> object that contains a map of errors codes for the
|
|
@@ -1199,9 +1102,7 @@ export interface DeletePackageVersionsResult {
|
|
|
1199
1102
|
* </li>
|
|
1200
1103
|
* </ul>
|
|
1201
1104
|
*/
|
|
1202
|
-
failedVersions?:
|
|
1203
|
-
[key: string]: PackageVersionError;
|
|
1204
|
-
};
|
|
1105
|
+
failedVersions?: Record<string, PackageVersionError>;
|
|
1205
1106
|
}
|
|
1206
1107
|
export declare namespace DeletePackageVersionsResult {
|
|
1207
1108
|
/**
|
|
@@ -1218,7 +1119,7 @@ export interface DeleteRepositoryRequest {
|
|
|
1218
1119
|
domain: string | undefined;
|
|
1219
1120
|
/**
|
|
1220
1121
|
* <p>
|
|
1221
|
-
* The 12-digit account number of the
|
|
1122
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1222
1123
|
* dashes or spaces.
|
|
1223
1124
|
* </p>
|
|
1224
1125
|
*/
|
|
@@ -1257,7 +1158,7 @@ export interface DeleteRepositoryPermissionsPolicyRequest {
|
|
|
1257
1158
|
domain: string | undefined;
|
|
1258
1159
|
/**
|
|
1259
1160
|
* <p>
|
|
1260
|
-
* The 12-digit account number of the
|
|
1161
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1261
1162
|
* dashes or spaces.
|
|
1262
1163
|
* </p>
|
|
1263
1164
|
*/
|
|
@@ -1305,7 +1206,7 @@ export interface DescribeDomainRequest {
|
|
|
1305
1206
|
domain: string | undefined;
|
|
1306
1207
|
/**
|
|
1307
1208
|
* <p>
|
|
1308
|
-
* The 12-digit account number of the
|
|
1209
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1309
1210
|
* dashes or spaces.
|
|
1310
1211
|
* </p>
|
|
1311
1212
|
*/
|
|
@@ -1341,7 +1242,7 @@ export interface DescribePackageVersionRequest {
|
|
|
1341
1242
|
domain: string | undefined;
|
|
1342
1243
|
/**
|
|
1343
1244
|
* <p>
|
|
1344
|
-
* The 12-digit account number of the
|
|
1245
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1345
1246
|
* dashes or spaces.
|
|
1346
1247
|
* </p>
|
|
1347
1248
|
*/
|
|
@@ -1352,25 +1253,8 @@ export interface DescribePackageVersionRequest {
|
|
|
1352
1253
|
repository: string | undefined;
|
|
1353
1254
|
/**
|
|
1354
1255
|
* <p>
|
|
1355
|
-
* A format that specifies the type of the requested package version.
|
|
1256
|
+
* A format that specifies the type of the requested package version.
|
|
1356
1257
|
* </p>
|
|
1357
|
-
* <ul>
|
|
1358
|
-
* <li>
|
|
1359
|
-
* <p>
|
|
1360
|
-
* <code>npm</code>
|
|
1361
|
-
* </p>
|
|
1362
|
-
* </li>
|
|
1363
|
-
* <li>
|
|
1364
|
-
* <p>
|
|
1365
|
-
* <code>pypi</code>
|
|
1366
|
-
* </p>
|
|
1367
|
-
* </li>
|
|
1368
|
-
* <li>
|
|
1369
|
-
* <p>
|
|
1370
|
-
* <code>maven</code>
|
|
1371
|
-
* </p>
|
|
1372
|
-
* </li>
|
|
1373
|
-
* </ul>
|
|
1374
1258
|
*/
|
|
1375
1259
|
format: PackageFormat | string | undefined;
|
|
1376
1260
|
/**
|
|
@@ -1448,25 +1332,8 @@ export declare namespace LicenseInfo {
|
|
|
1448
1332
|
export interface PackageVersionDescription {
|
|
1449
1333
|
/**
|
|
1450
1334
|
* <p>
|
|
1451
|
-
* The format of the package version.
|
|
1335
|
+
* The format of the package version.
|
|
1452
1336
|
* </p>
|
|
1453
|
-
* <ul>
|
|
1454
|
-
* <li>
|
|
1455
|
-
* <p>
|
|
1456
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
1457
|
-
* </p>
|
|
1458
|
-
* </li>
|
|
1459
|
-
* <li>
|
|
1460
|
-
* <p>
|
|
1461
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
1462
|
-
* </p>
|
|
1463
|
-
* </li>
|
|
1464
|
-
* <li>
|
|
1465
|
-
* <p>
|
|
1466
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
1467
|
-
* </p>
|
|
1468
|
-
* </li>
|
|
1469
|
-
* </ul>
|
|
1470
1337
|
*/
|
|
1471
1338
|
format?: PackageFormat | string;
|
|
1472
1339
|
/**
|
|
@@ -1554,35 +1421,8 @@ export interface PackageVersionDescription {
|
|
|
1554
1421
|
revision?: string;
|
|
1555
1422
|
/**
|
|
1556
1423
|
* <p>
|
|
1557
|
-
* A string that contains the status of the package version.
|
|
1424
|
+
* A string that contains the status of the package version.
|
|
1558
1425
|
* </p>
|
|
1559
|
-
* <ul>
|
|
1560
|
-
* <li>
|
|
1561
|
-
* <p>
|
|
1562
|
-
* <code>Published</code>
|
|
1563
|
-
* </p>
|
|
1564
|
-
* </li>
|
|
1565
|
-
* <li>
|
|
1566
|
-
* <p>
|
|
1567
|
-
* <code>Unfinished</code>
|
|
1568
|
-
* </p>
|
|
1569
|
-
* </li>
|
|
1570
|
-
* <li>
|
|
1571
|
-
* <p>
|
|
1572
|
-
* <code>Unlisted</code>
|
|
1573
|
-
* </p>
|
|
1574
|
-
* </li>
|
|
1575
|
-
* <li>
|
|
1576
|
-
* <p>
|
|
1577
|
-
* <code>Archived</code>
|
|
1578
|
-
* </p>
|
|
1579
|
-
* </li>
|
|
1580
|
-
* <li>
|
|
1581
|
-
* <p>
|
|
1582
|
-
* <code>Disposed</code>
|
|
1583
|
-
* </p>
|
|
1584
|
-
* </li>
|
|
1585
|
-
* </ul>
|
|
1586
1426
|
*/
|
|
1587
1427
|
status?: PackageVersionStatus | string;
|
|
1588
1428
|
}
|
|
@@ -1616,7 +1456,7 @@ export interface DescribeRepositoryRequest {
|
|
|
1616
1456
|
domain: string | undefined;
|
|
1617
1457
|
/**
|
|
1618
1458
|
* <p>
|
|
1619
|
-
* The 12-digit account number of the
|
|
1459
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1620
1460
|
* dashes or spaces.
|
|
1621
1461
|
* </p>
|
|
1622
1462
|
*/
|
|
@@ -1656,7 +1496,7 @@ export interface DisassociateExternalConnectionRequest {
|
|
|
1656
1496
|
domain: string | undefined;
|
|
1657
1497
|
/**
|
|
1658
1498
|
* <p>
|
|
1659
|
-
* The 12-digit account number of the
|
|
1499
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1660
1500
|
* dashes or spaces.
|
|
1661
1501
|
* </p>
|
|
1662
1502
|
*/
|
|
@@ -1699,7 +1539,7 @@ export interface DisposePackageVersionsRequest {
|
|
|
1699
1539
|
domain: string | undefined;
|
|
1700
1540
|
/**
|
|
1701
1541
|
* <p>
|
|
1702
|
-
* The 12-digit account number of the
|
|
1542
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1703
1543
|
* dashes or spaces.
|
|
1704
1544
|
* </p>
|
|
1705
1545
|
*/
|
|
@@ -1712,25 +1552,8 @@ export interface DisposePackageVersionsRequest {
|
|
|
1712
1552
|
repository: string | undefined;
|
|
1713
1553
|
/**
|
|
1714
1554
|
* <p>
|
|
1715
|
-
* A format that specifies the type of package versions you want to dispose.
|
|
1555
|
+
* A format that specifies the type of package versions you want to dispose.
|
|
1716
1556
|
* </p>
|
|
1717
|
-
* <ul>
|
|
1718
|
-
* <li>
|
|
1719
|
-
* <p>
|
|
1720
|
-
* <code>npm</code>
|
|
1721
|
-
* </p>
|
|
1722
|
-
* </li>
|
|
1723
|
-
* <li>
|
|
1724
|
-
* <p>
|
|
1725
|
-
* <code>pypi</code>
|
|
1726
|
-
* </p>
|
|
1727
|
-
* </li>
|
|
1728
|
-
* <li>
|
|
1729
|
-
* <p>
|
|
1730
|
-
* <code>maven</code>
|
|
1731
|
-
* </p>
|
|
1732
|
-
* </li>
|
|
1733
|
-
* </ul>
|
|
1734
1557
|
*/
|
|
1735
1558
|
format: PackageFormat | string | undefined;
|
|
1736
1559
|
/**
|
|
@@ -1775,40 +1598,11 @@ export interface DisposePackageVersionsRequest {
|
|
|
1775
1598
|
* The revisions of the package versions you want to dispose.
|
|
1776
1599
|
* </p>
|
|
1777
1600
|
*/
|
|
1778
|
-
versionRevisions?:
|
|
1779
|
-
[key: string]: string;
|
|
1780
|
-
};
|
|
1601
|
+
versionRevisions?: Record<string, string>;
|
|
1781
1602
|
/**
|
|
1782
1603
|
* <p>
|
|
1783
|
-
* The expected status of the package version to dispose.
|
|
1604
|
+
* The expected status of the package version to dispose.
|
|
1784
1605
|
* </p>
|
|
1785
|
-
* <ul>
|
|
1786
|
-
* <li>
|
|
1787
|
-
* <p>
|
|
1788
|
-
* <code>Published</code>
|
|
1789
|
-
* </p>
|
|
1790
|
-
* </li>
|
|
1791
|
-
* <li>
|
|
1792
|
-
* <p>
|
|
1793
|
-
* <code>Unfinished</code>
|
|
1794
|
-
* </p>
|
|
1795
|
-
* </li>
|
|
1796
|
-
* <li>
|
|
1797
|
-
* <p>
|
|
1798
|
-
* <code>Unlisted</code>
|
|
1799
|
-
* </p>
|
|
1800
|
-
* </li>
|
|
1801
|
-
* <li>
|
|
1802
|
-
* <p>
|
|
1803
|
-
* <code>Archived</code>
|
|
1804
|
-
* </p>
|
|
1805
|
-
* </li>
|
|
1806
|
-
* <li>
|
|
1807
|
-
* <p>
|
|
1808
|
-
* <code>Disposed</code>
|
|
1809
|
-
* </p>
|
|
1810
|
-
* </li>
|
|
1811
|
-
* </ul>
|
|
1812
1606
|
*/
|
|
1813
1607
|
expectedStatus?: PackageVersionStatus | string;
|
|
1814
1608
|
}
|
|
@@ -1824,9 +1618,7 @@ export interface DisposePackageVersionsResult {
|
|
|
1824
1618
|
* A list of the package versions that were successfully disposed.
|
|
1825
1619
|
* </p>
|
|
1826
1620
|
*/
|
|
1827
|
-
successfulVersions?:
|
|
1828
|
-
[key: string]: SuccessfulPackageVersionInfo;
|
|
1829
|
-
};
|
|
1621
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
1830
1622
|
/**
|
|
1831
1623
|
* <p>
|
|
1832
1624
|
* A <code>PackageVersionError</code> object that contains a map of errors codes for the
|
|
@@ -1865,9 +1657,7 @@ export interface DisposePackageVersionsResult {
|
|
|
1865
1657
|
* </li>
|
|
1866
1658
|
* </ul>
|
|
1867
1659
|
*/
|
|
1868
|
-
failedVersions?:
|
|
1869
|
-
[key: string]: PackageVersionError;
|
|
1870
|
-
};
|
|
1660
|
+
failedVersions?: Record<string, PackageVersionError>;
|
|
1871
1661
|
}
|
|
1872
1662
|
export declare namespace DisposePackageVersionsResult {
|
|
1873
1663
|
/**
|
|
@@ -1884,7 +1674,7 @@ export interface GetAuthorizationTokenRequest {
|
|
|
1884
1674
|
domain: string | undefined;
|
|
1885
1675
|
/**
|
|
1886
1676
|
* <p>
|
|
1887
|
-
* The 12-digit account number of the
|
|
1677
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1888
1678
|
* dashes or spaces.
|
|
1889
1679
|
* </p>
|
|
1890
1680
|
*/
|
|
@@ -1932,7 +1722,7 @@ export interface GetDomainPermissionsPolicyRequest {
|
|
|
1932
1722
|
domain: string | undefined;
|
|
1933
1723
|
/**
|
|
1934
1724
|
* <p>
|
|
1935
|
-
* The 12-digit account number of the
|
|
1725
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1936
1726
|
* dashes or spaces.
|
|
1937
1727
|
* </p>
|
|
1938
1728
|
*/
|
|
@@ -1967,7 +1757,7 @@ export interface GetPackageVersionAssetRequest {
|
|
|
1967
1757
|
domain: string | undefined;
|
|
1968
1758
|
/**
|
|
1969
1759
|
* <p>
|
|
1970
|
-
* The 12-digit account number of the
|
|
1760
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1971
1761
|
* dashes or spaces.
|
|
1972
1762
|
* </p>
|
|
1973
1763
|
*/
|
|
@@ -1980,25 +1770,8 @@ export interface GetPackageVersionAssetRequest {
|
|
|
1980
1770
|
repository: string | undefined;
|
|
1981
1771
|
/**
|
|
1982
1772
|
* <p>
|
|
1983
|
-
* A format that specifies the type of the package version with the requested asset file.
|
|
1773
|
+
* A format that specifies the type of the package version with the requested asset file.
|
|
1984
1774
|
* </p>
|
|
1985
|
-
* <ul>
|
|
1986
|
-
* <li>
|
|
1987
|
-
* <p>
|
|
1988
|
-
* <code>npm</code>
|
|
1989
|
-
* </p>
|
|
1990
|
-
* </li>
|
|
1991
|
-
* <li>
|
|
1992
|
-
* <p>
|
|
1993
|
-
* <code>pypi</code>
|
|
1994
|
-
* </p>
|
|
1995
|
-
* </li>
|
|
1996
|
-
* <li>
|
|
1997
|
-
* <p>
|
|
1998
|
-
* <code>maven</code>
|
|
1999
|
-
* </p>
|
|
2000
|
-
* </li>
|
|
2001
|
-
* </ul>
|
|
2002
1775
|
*/
|
|
2003
1776
|
format: PackageFormat | string | undefined;
|
|
2004
1777
|
/**
|
|
@@ -2096,7 +1869,7 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
2096
1869
|
domain: string | undefined;
|
|
2097
1870
|
/**
|
|
2098
1871
|
* <p>
|
|
2099
|
-
* The 12-digit account number of the
|
|
1872
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2100
1873
|
* dashes or spaces.
|
|
2101
1874
|
* </p>
|
|
2102
1875
|
*/
|
|
@@ -2109,25 +1882,12 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
2109
1882
|
repository: string | undefined;
|
|
2110
1883
|
/**
|
|
2111
1884
|
* <p>
|
|
2112
|
-
* A format that specifies the type of the package version with the requested readme file.
|
|
1885
|
+
* A format that specifies the type of the package version with the requested readme file.
|
|
2113
1886
|
* </p>
|
|
2114
|
-
* <
|
|
2115
|
-
* <
|
|
2116
|
-
*
|
|
2117
|
-
*
|
|
2118
|
-
* </p>
|
|
2119
|
-
* </li>
|
|
2120
|
-
* <li>
|
|
2121
|
-
* <p>
|
|
2122
|
-
* <code>pypi</code>
|
|
2123
|
-
* </p>
|
|
2124
|
-
* </li>
|
|
2125
|
-
* <li>
|
|
2126
|
-
* <p>
|
|
2127
|
-
* <code>maven</code>
|
|
2128
|
-
* </p>
|
|
2129
|
-
* </li>
|
|
2130
|
-
* </ul>
|
|
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>
|
|
2131
1891
|
*/
|
|
2132
1892
|
format: PackageFormat | string | undefined;
|
|
2133
1893
|
/**
|
|
@@ -2177,25 +1937,8 @@ export declare namespace GetPackageVersionReadmeRequest {
|
|
|
2177
1937
|
export interface GetPackageVersionReadmeResult {
|
|
2178
1938
|
/**
|
|
2179
1939
|
* <p>
|
|
2180
|
-
* The format of the package with the requested readme file.
|
|
1940
|
+
* The format of the package with the requested readme file.
|
|
2181
1941
|
* </p>
|
|
2182
|
-
* <ul>
|
|
2183
|
-
* <li>
|
|
2184
|
-
* <p>
|
|
2185
|
-
* <code>npm</code>
|
|
2186
|
-
* </p>
|
|
2187
|
-
* </li>
|
|
2188
|
-
* <li>
|
|
2189
|
-
* <p>
|
|
2190
|
-
* <code>pypi</code>
|
|
2191
|
-
* </p>
|
|
2192
|
-
* </li>
|
|
2193
|
-
* <li>
|
|
2194
|
-
* <p>
|
|
2195
|
-
* <code>maven</code>
|
|
2196
|
-
* </p>
|
|
2197
|
-
* </li>
|
|
2198
|
-
* </ul>
|
|
2199
1942
|
*/
|
|
2200
1943
|
format?: PackageFormat | string;
|
|
2201
1944
|
/**
|
|
@@ -2263,7 +2006,7 @@ export interface GetRepositoryEndpointRequest {
|
|
|
2263
2006
|
domain: string | undefined;
|
|
2264
2007
|
/**
|
|
2265
2008
|
* <p>
|
|
2266
|
-
* The 12-digit account number of the
|
|
2009
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include
|
|
2267
2010
|
* dashes or spaces.
|
|
2268
2011
|
* </p>
|
|
2269
2012
|
*/
|
|
@@ -2277,25 +2020,8 @@ export interface GetRepositoryEndpointRequest {
|
|
|
2277
2020
|
/**
|
|
2278
2021
|
* <p>
|
|
2279
2022
|
* Returns which endpoint of a repository to return. A repository has one endpoint for each
|
|
2280
|
-
* package format
|
|
2023
|
+
* package format.
|
|
2281
2024
|
* </p>
|
|
2282
|
-
* <ul>
|
|
2283
|
-
* <li>
|
|
2284
|
-
* <p>
|
|
2285
|
-
* <code>npm</code>
|
|
2286
|
-
* </p>
|
|
2287
|
-
* </li>
|
|
2288
|
-
* <li>
|
|
2289
|
-
* <p>
|
|
2290
|
-
* <code>pypi</code>
|
|
2291
|
-
* </p>
|
|
2292
|
-
* </li>
|
|
2293
|
-
* <li>
|
|
2294
|
-
* <p>
|
|
2295
|
-
* <code>maven</code>
|
|
2296
|
-
* </p>
|
|
2297
|
-
* </li>
|
|
2298
|
-
* </ul>
|
|
2299
2025
|
*/
|
|
2300
2026
|
format: PackageFormat | string | undefined;
|
|
2301
2027
|
}
|
|
@@ -2328,7 +2054,7 @@ export interface GetRepositoryPermissionsPolicyRequest {
|
|
|
2328
2054
|
domain: string | undefined;
|
|
2329
2055
|
/**
|
|
2330
2056
|
* <p>
|
|
2331
|
-
* The 12-digit account number of the
|
|
2057
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2332
2058
|
* dashes or spaces.
|
|
2333
2059
|
* </p>
|
|
2334
2060
|
*/
|
|
@@ -2394,7 +2120,7 @@ export interface DomainSummary {
|
|
|
2394
2120
|
name?: string;
|
|
2395
2121
|
/**
|
|
2396
2122
|
* <p>
|
|
2397
|
-
* The 12-digit account number of the
|
|
2123
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2398
2124
|
* dashes or spaces.
|
|
2399
2125
|
* </p>
|
|
2400
2126
|
*/
|
|
@@ -2407,20 +2133,8 @@ export interface DomainSummary {
|
|
|
2407
2133
|
arn?: string;
|
|
2408
2134
|
/**
|
|
2409
2135
|
* <p>
|
|
2410
|
-
* A string that contains the status of the domain.
|
|
2136
|
+
* A string that contains the status of the domain.
|
|
2411
2137
|
* </p>
|
|
2412
|
-
* <ul>
|
|
2413
|
-
* <li>
|
|
2414
|
-
* <p>
|
|
2415
|
-
* <code>Active</code>
|
|
2416
|
-
* </p>
|
|
2417
|
-
* </li>
|
|
2418
|
-
* <li>
|
|
2419
|
-
* <p>
|
|
2420
|
-
* <code>Deleted</code>
|
|
2421
|
-
* </p>
|
|
2422
|
-
* </li>
|
|
2423
|
-
* </ul>
|
|
2424
2138
|
*/
|
|
2425
2139
|
status?: DomainStatus | string;
|
|
2426
2140
|
/**
|
|
@@ -2471,7 +2185,7 @@ export interface ListPackagesRequest {
|
|
|
2471
2185
|
domain: string | undefined;
|
|
2472
2186
|
/**
|
|
2473
2187
|
* <p>
|
|
2474
|
-
* The 12-digit account number of the
|
|
2188
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2475
2189
|
* dashes or spaces.
|
|
2476
2190
|
* </p>
|
|
2477
2191
|
*/
|
|
@@ -2484,25 +2198,8 @@ export interface ListPackagesRequest {
|
|
|
2484
2198
|
repository: string | undefined;
|
|
2485
2199
|
/**
|
|
2486
2200
|
* <p>
|
|
2487
|
-
* The format of the packages.
|
|
2201
|
+
* The format of the packages.
|
|
2488
2202
|
* </p>
|
|
2489
|
-
* <ul>
|
|
2490
|
-
* <li>
|
|
2491
|
-
* <p>
|
|
2492
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
2493
|
-
* </p>
|
|
2494
|
-
* </li>
|
|
2495
|
-
* <li>
|
|
2496
|
-
* <p>
|
|
2497
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
2498
|
-
* </p>
|
|
2499
|
-
* </li>
|
|
2500
|
-
* <li>
|
|
2501
|
-
* <p>
|
|
2502
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
2503
|
-
* </p>
|
|
2504
|
-
* </li>
|
|
2505
|
-
* </ul>
|
|
2506
2203
|
*/
|
|
2507
2204
|
format?: PackageFormat | string;
|
|
2508
2205
|
/**
|
|
@@ -2566,25 +2263,8 @@ export declare namespace ListPackagesRequest {
|
|
|
2566
2263
|
export interface PackageSummary {
|
|
2567
2264
|
/**
|
|
2568
2265
|
* <p>
|
|
2569
|
-
* The format of the package.
|
|
2266
|
+
* The format of the package.
|
|
2570
2267
|
* </p>
|
|
2571
|
-
* <ul>
|
|
2572
|
-
* <li>
|
|
2573
|
-
* <p>
|
|
2574
|
-
* <code>npm</code>
|
|
2575
|
-
* </p>
|
|
2576
|
-
* </li>
|
|
2577
|
-
* <li>
|
|
2578
|
-
* <p>
|
|
2579
|
-
* <code>pypi</code>
|
|
2580
|
-
* </p>
|
|
2581
|
-
* </li>
|
|
2582
|
-
* <li>
|
|
2583
|
-
* <p>
|
|
2584
|
-
* <code>maven</code>
|
|
2585
|
-
* </p>
|
|
2586
|
-
* </li>
|
|
2587
|
-
* </ul>
|
|
2588
2268
|
*/
|
|
2589
2269
|
format?: PackageFormat | string;
|
|
2590
2270
|
/**
|
|
@@ -2655,7 +2335,7 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2655
2335
|
domain: string | undefined;
|
|
2656
2336
|
/**
|
|
2657
2337
|
* <p>
|
|
2658
|
-
* The 12-digit account number of the
|
|
2338
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2659
2339
|
* dashes or spaces.
|
|
2660
2340
|
* </p>
|
|
2661
2341
|
*/
|
|
@@ -2668,25 +2348,8 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2668
2348
|
repository: string | undefined;
|
|
2669
2349
|
/**
|
|
2670
2350
|
* <p>
|
|
2671
|
-
* The format of the package that contains the returned package version assets.
|
|
2351
|
+
* The format of the package that contains the returned package version assets.
|
|
2672
2352
|
* </p>
|
|
2673
|
-
* <ul>
|
|
2674
|
-
* <li>
|
|
2675
|
-
* <p>
|
|
2676
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
2677
|
-
* </p>
|
|
2678
|
-
* </li>
|
|
2679
|
-
* <li>
|
|
2680
|
-
* <p>
|
|
2681
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
2682
|
-
* </p>
|
|
2683
|
-
* </li>
|
|
2684
|
-
* <li>
|
|
2685
|
-
* <p>
|
|
2686
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
2687
|
-
* </p>
|
|
2688
|
-
* </li>
|
|
2689
|
-
* </ul>
|
|
2690
2353
|
*/
|
|
2691
2354
|
format: PackageFormat | string | undefined;
|
|
2692
2355
|
/**
|
|
@@ -2823,7 +2486,7 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2823
2486
|
domain: string | undefined;
|
|
2824
2487
|
/**
|
|
2825
2488
|
* <p>
|
|
2826
|
-
* The 12-digit account number of the
|
|
2489
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2827
2490
|
* dashes or spaces.
|
|
2828
2491
|
* </p>
|
|
2829
2492
|
*/
|
|
@@ -2836,25 +2499,8 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2836
2499
|
repository: string | undefined;
|
|
2837
2500
|
/**
|
|
2838
2501
|
* <p>
|
|
2839
|
-
* The format of the package with the requested dependencies.
|
|
2502
|
+
* The format of the package with the requested dependencies.
|
|
2840
2503
|
* </p>
|
|
2841
|
-
* <ul>
|
|
2842
|
-
* <li>
|
|
2843
|
-
* <p>
|
|
2844
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
2845
|
-
* </p>
|
|
2846
|
-
* </li>
|
|
2847
|
-
* <li>
|
|
2848
|
-
* <p>
|
|
2849
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
2850
|
-
* </p>
|
|
2851
|
-
* </li>
|
|
2852
|
-
* <li>
|
|
2853
|
-
* <p>
|
|
2854
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
2855
|
-
* </p>
|
|
2856
|
-
* </li>
|
|
2857
|
-
* </ul>
|
|
2858
2504
|
*/
|
|
2859
2505
|
format: PackageFormat | string | undefined;
|
|
2860
2506
|
/**
|
|
@@ -2968,25 +2614,8 @@ export declare namespace PackageDependency {
|
|
|
2968
2614
|
export interface ListPackageVersionDependenciesResult {
|
|
2969
2615
|
/**
|
|
2970
2616
|
* <p>
|
|
2971
|
-
* A format that specifies the type of the package that contains the returned dependencies.
|
|
2617
|
+
* A format that specifies the type of the package that contains the returned dependencies.
|
|
2972
2618
|
* </p>
|
|
2973
|
-
* <ul>
|
|
2974
|
-
* <li>
|
|
2975
|
-
* <p>
|
|
2976
|
-
* <code>npm</code>
|
|
2977
|
-
* </p>
|
|
2978
|
-
* </li>
|
|
2979
|
-
* <li>
|
|
2980
|
-
* <p>
|
|
2981
|
-
* <code>pypi</code>
|
|
2982
|
-
* </p>
|
|
2983
|
-
* </li>
|
|
2984
|
-
* <li>
|
|
2985
|
-
* <p>
|
|
2986
|
-
* <code>maven</code>
|
|
2987
|
-
* </p>
|
|
2988
|
-
* </li>
|
|
2989
|
-
* </ul>
|
|
2990
2619
|
*/
|
|
2991
2620
|
format?: PackageFormat | string;
|
|
2992
2621
|
/**
|
|
@@ -3063,7 +2692,7 @@ export interface ListPackageVersionsRequest {
|
|
|
3063
2692
|
domain: string | undefined;
|
|
3064
2693
|
/**
|
|
3065
2694
|
* <p>
|
|
3066
|
-
* The 12-digit account number of the
|
|
2695
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3067
2696
|
* dashes or spaces.
|
|
3068
2697
|
* </p>
|
|
3069
2698
|
*/
|
|
@@ -3076,25 +2705,8 @@ export interface ListPackageVersionsRequest {
|
|
|
3076
2705
|
repository: string | undefined;
|
|
3077
2706
|
/**
|
|
3078
2707
|
* <p>
|
|
3079
|
-
* The format of the returned packages.
|
|
2708
|
+
* The format of the returned packages.
|
|
3080
2709
|
* </p>
|
|
3081
|
-
* <ul>
|
|
3082
|
-
* <li>
|
|
3083
|
-
* <p>
|
|
3084
|
-
* <code>npm</code>: A Node Package Manager (npm) package.
|
|
3085
|
-
* </p>
|
|
3086
|
-
* </li>
|
|
3087
|
-
* <li>
|
|
3088
|
-
* <p>
|
|
3089
|
-
* <code>pypi</code>: A Python Package Index (PyPI) package.
|
|
3090
|
-
* </p>
|
|
3091
|
-
* </li>
|
|
3092
|
-
* <li>
|
|
3093
|
-
* <p>
|
|
3094
|
-
* <code>maven</code>: A Maven package that contains compiled code in a distributable format, such as a JAR file.
|
|
3095
|
-
* </p>
|
|
3096
|
-
* </li>
|
|
3097
|
-
* </ul>
|
|
3098
2710
|
*/
|
|
3099
2711
|
format: PackageFormat | string | undefined;
|
|
3100
2712
|
/**
|
|
@@ -3130,35 +2742,8 @@ export interface ListPackageVersionsRequest {
|
|
|
3130
2742
|
package: string | undefined;
|
|
3131
2743
|
/**
|
|
3132
2744
|
* <p>
|
|
3133
|
-
* A string that specifies the status of the package versions to include in the returned list.
|
|
2745
|
+
* A string that specifies the status of the package versions to include in the returned list.
|
|
3134
2746
|
* </p>
|
|
3135
|
-
* <ul>
|
|
3136
|
-
* <li>
|
|
3137
|
-
* <p>
|
|
3138
|
-
* <code>Published</code>
|
|
3139
|
-
* </p>
|
|
3140
|
-
* </li>
|
|
3141
|
-
* <li>
|
|
3142
|
-
* <p>
|
|
3143
|
-
* <code>Unfinished</code>
|
|
3144
|
-
* </p>
|
|
3145
|
-
* </li>
|
|
3146
|
-
* <li>
|
|
3147
|
-
* <p>
|
|
3148
|
-
* <code>Unlisted</code>
|
|
3149
|
-
* </p>
|
|
3150
|
-
* </li>
|
|
3151
|
-
* <li>
|
|
3152
|
-
* <p>
|
|
3153
|
-
* <code>Archived</code>
|
|
3154
|
-
* </p>
|
|
3155
|
-
* </li>
|
|
3156
|
-
* <li>
|
|
3157
|
-
* <p>
|
|
3158
|
-
* <code>Disposed</code>
|
|
3159
|
-
* </p>
|
|
3160
|
-
* </li>
|
|
3161
|
-
* </ul>
|
|
3162
2747
|
*/
|
|
3163
2748
|
status?: PackageVersionStatus | string;
|
|
3164
2749
|
/**
|
|
@@ -3210,33 +2795,6 @@ export interface PackageVersionSummary {
|
|
|
3210
2795
|
* <p>
|
|
3211
2796
|
* A string that contains the status of the package version. It can be one of the following:
|
|
3212
2797
|
* </p>
|
|
3213
|
-
* <ul>
|
|
3214
|
-
* <li>
|
|
3215
|
-
* <p>
|
|
3216
|
-
* <code>Published</code>
|
|
3217
|
-
* </p>
|
|
3218
|
-
* </li>
|
|
3219
|
-
* <li>
|
|
3220
|
-
* <p>
|
|
3221
|
-
* <code>Unfinished</code>
|
|
3222
|
-
* </p>
|
|
3223
|
-
* </li>
|
|
3224
|
-
* <li>
|
|
3225
|
-
* <p>
|
|
3226
|
-
* <code>Unlisted</code>
|
|
3227
|
-
* </p>
|
|
3228
|
-
* </li>
|
|
3229
|
-
* <li>
|
|
3230
|
-
* <p>
|
|
3231
|
-
* <code>Archived</code>
|
|
3232
|
-
* </p>
|
|
3233
|
-
* </li>
|
|
3234
|
-
* <li>
|
|
3235
|
-
* <p>
|
|
3236
|
-
* <code>Disposed</code>
|
|
3237
|
-
* </p>
|
|
3238
|
-
* </li>
|
|
3239
|
-
* </ul>
|
|
3240
2798
|
*/
|
|
3241
2799
|
status: PackageVersionStatus | string | undefined;
|
|
3242
2800
|
}
|
|
@@ -3268,25 +2826,8 @@ export interface ListPackageVersionsResult {
|
|
|
3268
2826
|
defaultDisplayVersion?: string;
|
|
3269
2827
|
/**
|
|
3270
2828
|
* <p>
|
|
3271
|
-
* A format of the package.
|
|
2829
|
+
* A format of the package.
|
|
3272
2830
|
* </p>
|
|
3273
|
-
* <ul>
|
|
3274
|
-
* <li>
|
|
3275
|
-
* <p>
|
|
3276
|
-
* <code>npm</code>
|
|
3277
|
-
* </p>
|
|
3278
|
-
* </li>
|
|
3279
|
-
* <li>
|
|
3280
|
-
* <p>
|
|
3281
|
-
* <code>pypi</code>
|
|
3282
|
-
* </p>
|
|
3283
|
-
* </li>
|
|
3284
|
-
* <li>
|
|
3285
|
-
* <p>
|
|
3286
|
-
* <code>maven</code>
|
|
3287
|
-
* </p>
|
|
3288
|
-
* </li>
|
|
3289
|
-
* </ul>
|
|
3290
2831
|
*/
|
|
3291
2832
|
format?: PackageFormat | string;
|
|
3292
2833
|
/**
|
|
@@ -3380,7 +2921,7 @@ export interface RepositorySummary {
|
|
|
3380
2921
|
name?: string;
|
|
3381
2922
|
/**
|
|
3382
2923
|
* <p>
|
|
3383
|
-
* The
|
|
2924
|
+
* The Amazon Web Services account ID that manages the repository.
|
|
3384
2925
|
* </p>
|
|
3385
2926
|
*/
|
|
3386
2927
|
administratorAccount?: string;
|
|
@@ -3392,7 +2933,7 @@ export interface RepositorySummary {
|
|
|
3392
2933
|
domainName?: string;
|
|
3393
2934
|
/**
|
|
3394
2935
|
* <p>
|
|
3395
|
-
* The 12-digit account number of the
|
|
2936
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3396
2937
|
* dashes or spaces.
|
|
3397
2938
|
* </p>
|
|
3398
2939
|
*/
|
|
@@ -3444,14 +2985,14 @@ export interface ListRepositoriesInDomainRequest {
|
|
|
3444
2985
|
domain: string | undefined;
|
|
3445
2986
|
/**
|
|
3446
2987
|
* <p>
|
|
3447
|
-
* The 12-digit account number of the
|
|
2988
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3448
2989
|
* dashes or spaces.
|
|
3449
2990
|
* </p>
|
|
3450
2991
|
*/
|
|
3451
2992
|
domainOwner?: string;
|
|
3452
2993
|
/**
|
|
3453
2994
|
* <p>
|
|
3454
|
-
* Filter the list of repositories to only include those that are managed by the
|
|
2995
|
+
* Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
|
|
3455
2996
|
* </p>
|
|
3456
2997
|
*/
|
|
3457
2998
|
administratorAccount?: string;
|
|
@@ -3534,7 +3075,7 @@ export interface PutDomainPermissionsPolicyRequest {
|
|
|
3534
3075
|
domain: string | undefined;
|
|
3535
3076
|
/**
|
|
3536
3077
|
* <p>
|
|
3537
|
-
* The 12-digit account number of the
|
|
3078
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3538
3079
|
* dashes or spaces.
|
|
3539
3080
|
* </p>
|
|
3540
3081
|
*/
|
|
@@ -3579,7 +3120,7 @@ export interface PutRepositoryPermissionsPolicyRequest {
|
|
|
3579
3120
|
domain: string | undefined;
|
|
3580
3121
|
/**
|
|
3581
3122
|
* <p>
|
|
3582
|
-
* The 12-digit account number of the
|
|
3123
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3583
3124
|
* dashes or spaces.
|
|
3584
3125
|
* </p>
|
|
3585
3126
|
*/
|
|
@@ -3677,7 +3218,7 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3677
3218
|
domain: string | undefined;
|
|
3678
3219
|
/**
|
|
3679
3220
|
* <p>
|
|
3680
|
-
* The 12-digit account number of the
|
|
3221
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3681
3222
|
* dashes or spaces.
|
|
3682
3223
|
* </p>
|
|
3683
3224
|
*/
|
|
@@ -3690,25 +3231,8 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3690
3231
|
repository: string | undefined;
|
|
3691
3232
|
/**
|
|
3692
3233
|
* <p>
|
|
3693
|
-
* A format that specifies the type of the package with the statuses to update.
|
|
3234
|
+
* A format that specifies the type of the package with the statuses to update.
|
|
3694
3235
|
* </p>
|
|
3695
|
-
* <ul>
|
|
3696
|
-
* <li>
|
|
3697
|
-
* <p>
|
|
3698
|
-
* <code>npm</code>
|
|
3699
|
-
* </p>
|
|
3700
|
-
* </li>
|
|
3701
|
-
* <li>
|
|
3702
|
-
* <p>
|
|
3703
|
-
* <code>pypi</code>
|
|
3704
|
-
* </p>
|
|
3705
|
-
* </li>
|
|
3706
|
-
* <li>
|
|
3707
|
-
* <p>
|
|
3708
|
-
* <code>maven</code>
|
|
3709
|
-
* </p>
|
|
3710
|
-
* </li>
|
|
3711
|
-
* </ul>
|
|
3712
3236
|
*/
|
|
3713
3237
|
format: PackageFormat | string | undefined;
|
|
3714
3238
|
/**
|
|
@@ -3753,9 +3277,7 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3753
3277
|
* package version (for example, <code>3.5.2</code>), and the map <code>value</code> is the
|
|
3754
3278
|
* package version revision. </p>
|
|
3755
3279
|
*/
|
|
3756
|
-
versionRevisions?:
|
|
3757
|
-
[key: string]: string;
|
|
3758
|
-
};
|
|
3280
|
+
versionRevisions?: Record<string, string>;
|
|
3759
3281
|
/**
|
|
3760
3282
|
* <p> The package version’s expected status before it is updated. If
|
|
3761
3283
|
* <code>expectedStatus</code> is provided, the package version's status is updated only if its
|
|
@@ -3783,16 +3305,12 @@ export interface UpdatePackageVersionsStatusResult {
|
|
|
3783
3305
|
* a status that failed to update.
|
|
3784
3306
|
* </p>
|
|
3785
3307
|
*/
|
|
3786
|
-
successfulVersions?:
|
|
3787
|
-
[key: string]: SuccessfulPackageVersionInfo;
|
|
3788
|
-
};
|
|
3308
|
+
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
3789
3309
|
/**
|
|
3790
3310
|
* <p> A list of <code>SuccessfulPackageVersionInfo</code> objects, one for each package version
|
|
3791
3311
|
* with a status that successfully updated. </p>
|
|
3792
3312
|
*/
|
|
3793
|
-
failedVersions?:
|
|
3794
|
-
[key: string]: PackageVersionError;
|
|
3795
|
-
};
|
|
3313
|
+
failedVersions?: Record<string, PackageVersionError>;
|
|
3796
3314
|
}
|
|
3797
3315
|
export declare namespace UpdatePackageVersionsStatusResult {
|
|
3798
3316
|
/**
|
|
@@ -3809,7 +3327,7 @@ export interface UpdateRepositoryRequest {
|
|
|
3809
3327
|
domain: string | undefined;
|
|
3810
3328
|
/**
|
|
3811
3329
|
* <p>
|
|
3812
|
-
* The 12-digit account number of the
|
|
3330
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3813
3331
|
* dashes or spaces.
|
|
3814
3332
|
* </p>
|
|
3815
3333
|
*/
|
|
@@ -3828,7 +3346,7 @@ export interface UpdateRepositoryRequest {
|
|
|
3828
3346
|
description?: string;
|
|
3829
3347
|
/**
|
|
3830
3348
|
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
3831
|
-
* in the list determines their priority order when
|
|
3349
|
+
* in the list determines their priority order when CodeArtifact looks for a requested package version. For more
|
|
3832
3350
|
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
3833
3351
|
*/
|
|
3834
3352
|
upstreams?: UpstreamRepository[];
|