@aws-sdk/client-codeartifact 3.379.1 → 3.382.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/models/models_0.d.ts +375 -0
- package/package.json +5 -5
|
@@ -61,18 +61,21 @@ export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
|
61
61
|
*/
|
|
62
62
|
export interface AssetSummary {
|
|
63
63
|
/**
|
|
64
|
+
* @public
|
|
64
65
|
* <p>
|
|
65
66
|
* The name of the asset.
|
|
66
67
|
* </p>
|
|
67
68
|
*/
|
|
68
69
|
name: string | undefined;
|
|
69
70
|
/**
|
|
71
|
+
* @public
|
|
70
72
|
* <p>
|
|
71
73
|
* The size of the asset.
|
|
72
74
|
* </p>
|
|
73
75
|
*/
|
|
74
76
|
size?: number;
|
|
75
77
|
/**
|
|
78
|
+
* @public
|
|
76
79
|
* <p>
|
|
77
80
|
* The hashes of the asset.
|
|
78
81
|
* </p>
|
|
@@ -84,10 +87,12 @@ export interface AssetSummary {
|
|
|
84
87
|
*/
|
|
85
88
|
export interface AssociateExternalConnectionRequest {
|
|
86
89
|
/**
|
|
90
|
+
* @public
|
|
87
91
|
* <p>The name of the domain that contains the repository.</p>
|
|
88
92
|
*/
|
|
89
93
|
domain: string | undefined;
|
|
90
94
|
/**
|
|
95
|
+
* @public
|
|
91
96
|
* <p>
|
|
92
97
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
93
98
|
* dashes or spaces.
|
|
@@ -95,12 +100,14 @@ export interface AssociateExternalConnectionRequest {
|
|
|
95
100
|
*/
|
|
96
101
|
domainOwner?: string;
|
|
97
102
|
/**
|
|
103
|
+
* @public
|
|
98
104
|
* <p>
|
|
99
105
|
* The name of the repository to which the external connection is added.
|
|
100
106
|
* </p>
|
|
101
107
|
*/
|
|
102
108
|
repository: string | undefined;
|
|
103
109
|
/**
|
|
110
|
+
* @public
|
|
104
111
|
* <p>
|
|
105
112
|
* The name of the external connection to add to the repository. The following values are supported:
|
|
106
113
|
* </p>
|
|
@@ -182,10 +189,12 @@ export type ExternalConnectionStatus = (typeof ExternalConnectionStatus)[keyof t
|
|
|
182
189
|
*/
|
|
183
190
|
export interface RepositoryExternalConnectionInfo {
|
|
184
191
|
/**
|
|
192
|
+
* @public
|
|
185
193
|
* <p> The name of the external connection associated with a repository. </p>
|
|
186
194
|
*/
|
|
187
195
|
externalConnectionName?: string;
|
|
188
196
|
/**
|
|
197
|
+
* @public
|
|
189
198
|
* <p>
|
|
190
199
|
* The package format associated with a repository's external connection. The valid package formats are:
|
|
191
200
|
* </p>
|
|
@@ -214,6 +223,7 @@ export interface RepositoryExternalConnectionInfo {
|
|
|
214
223
|
*/
|
|
215
224
|
packageFormat?: PackageFormat | string;
|
|
216
225
|
/**
|
|
226
|
+
* @public
|
|
217
227
|
* <p>
|
|
218
228
|
* The status of the external connection of a repository. There is one valid value, <code>Available</code>.
|
|
219
229
|
* </p>
|
|
@@ -228,6 +238,7 @@ export interface RepositoryExternalConnectionInfo {
|
|
|
228
238
|
*/
|
|
229
239
|
export interface UpstreamRepositoryInfo {
|
|
230
240
|
/**
|
|
241
|
+
* @public
|
|
231
242
|
* <p> The name of an upstream repository. </p>
|
|
232
243
|
*/
|
|
233
244
|
repositoryName?: string;
|
|
@@ -243,22 +254,26 @@ export interface UpstreamRepositoryInfo {
|
|
|
243
254
|
*/
|
|
244
255
|
export interface RepositoryDescription {
|
|
245
256
|
/**
|
|
257
|
+
* @public
|
|
246
258
|
* <p>
|
|
247
259
|
* The name of the repository.
|
|
248
260
|
* </p>
|
|
249
261
|
*/
|
|
250
262
|
name?: string;
|
|
251
263
|
/**
|
|
264
|
+
* @public
|
|
252
265
|
* <p> The 12-digit account number of the Amazon Web Services account that manages the repository. </p>
|
|
253
266
|
*/
|
|
254
267
|
administratorAccount?: string;
|
|
255
268
|
/**
|
|
269
|
+
* @public
|
|
256
270
|
* <p>
|
|
257
271
|
* The name of the domain that contains the repository.
|
|
258
272
|
* </p>
|
|
259
273
|
*/
|
|
260
274
|
domainName?: string;
|
|
261
275
|
/**
|
|
276
|
+
* @public
|
|
262
277
|
* <p>
|
|
263
278
|
* The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include
|
|
264
279
|
* dashes or spaces.
|
|
@@ -266,28 +281,33 @@ export interface RepositoryDescription {
|
|
|
266
281
|
*/
|
|
267
282
|
domainOwner?: string;
|
|
268
283
|
/**
|
|
284
|
+
* @public
|
|
269
285
|
* <p> The Amazon Resource Name (ARN) of the repository. </p>
|
|
270
286
|
*/
|
|
271
287
|
arn?: string;
|
|
272
288
|
/**
|
|
289
|
+
* @public
|
|
273
290
|
* <p>
|
|
274
291
|
* A text description of the repository.
|
|
275
292
|
* </p>
|
|
276
293
|
*/
|
|
277
294
|
description?: string;
|
|
278
295
|
/**
|
|
296
|
+
* @public
|
|
279
297
|
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
280
298
|
* in the list determines their priority order when CodeArtifact looks for a requested package version. For more
|
|
281
299
|
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
282
300
|
*/
|
|
283
301
|
upstreams?: UpstreamRepositoryInfo[];
|
|
284
302
|
/**
|
|
303
|
+
* @public
|
|
285
304
|
* <p>
|
|
286
305
|
* An array of external connections associated with the repository.
|
|
287
306
|
* </p>
|
|
288
307
|
*/
|
|
289
308
|
externalConnections?: RepositoryExternalConnectionInfo[];
|
|
290
309
|
/**
|
|
310
|
+
* @public
|
|
291
311
|
* <p>A timestamp that represents the date and time the repository was created.</p>
|
|
292
312
|
*/
|
|
293
313
|
createdTime?: Date;
|
|
@@ -297,6 +317,7 @@ export interface RepositoryDescription {
|
|
|
297
317
|
*/
|
|
298
318
|
export interface AssociateExternalConnectionResult {
|
|
299
319
|
/**
|
|
320
|
+
* @public
|
|
300
321
|
* <p>
|
|
301
322
|
* Information about the connected repository after processing the request.
|
|
302
323
|
* </p>
|
|
@@ -328,12 +349,14 @@ export declare class ConflictException extends __BaseException {
|
|
|
328
349
|
readonly name: "ConflictException";
|
|
329
350
|
readonly $fault: "client";
|
|
330
351
|
/**
|
|
352
|
+
* @public
|
|
331
353
|
* <p>
|
|
332
354
|
* The ID of the resource.
|
|
333
355
|
* </p>
|
|
334
356
|
*/
|
|
335
357
|
resourceId?: string;
|
|
336
358
|
/**
|
|
359
|
+
* @public
|
|
337
360
|
* <p>
|
|
338
361
|
* The type of Amazon Web Services resource.
|
|
339
362
|
* </p>
|
|
@@ -366,12 +389,14 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
366
389
|
readonly name: "ResourceNotFoundException";
|
|
367
390
|
readonly $fault: "client";
|
|
368
391
|
/**
|
|
392
|
+
* @public
|
|
369
393
|
* <p>
|
|
370
394
|
* The ID of the resource.
|
|
371
395
|
* </p>
|
|
372
396
|
*/
|
|
373
397
|
resourceId?: string;
|
|
374
398
|
/**
|
|
399
|
+
* @public
|
|
375
400
|
* <p>
|
|
376
401
|
* The type of Amazon Web Services resource.
|
|
377
402
|
* </p>
|
|
@@ -392,12 +417,14 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
392
417
|
readonly name: "ServiceQuotaExceededException";
|
|
393
418
|
readonly $fault: "client";
|
|
394
419
|
/**
|
|
420
|
+
* @public
|
|
395
421
|
* <p>
|
|
396
422
|
* The ID of the resource.
|
|
397
423
|
* </p>
|
|
398
424
|
*/
|
|
399
425
|
resourceId?: string;
|
|
400
426
|
/**
|
|
427
|
+
* @public
|
|
401
428
|
* <p>
|
|
402
429
|
* The type of Amazon Web Services resource.
|
|
403
430
|
* </p>
|
|
@@ -418,6 +445,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
418
445
|
readonly name: "ThrottlingException";
|
|
419
446
|
readonly $fault: "client";
|
|
420
447
|
/**
|
|
448
|
+
* @public
|
|
421
449
|
* <p>
|
|
422
450
|
* The time period, in seconds, to wait before retrying the request.
|
|
423
451
|
* </p>
|
|
@@ -453,6 +481,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
453
481
|
readonly name: "ValidationException";
|
|
454
482
|
readonly $fault: "client";
|
|
455
483
|
/**
|
|
484
|
+
* @public
|
|
456
485
|
* <p>
|
|
457
486
|
*
|
|
458
487
|
* </p>
|
|
@@ -468,12 +497,14 @@ export declare class ValidationException extends __BaseException {
|
|
|
468
497
|
*/
|
|
469
498
|
export interface CopyPackageVersionsRequest {
|
|
470
499
|
/**
|
|
500
|
+
* @public
|
|
471
501
|
* <p>
|
|
472
502
|
* The name of the domain that contains the source and destination repositories.
|
|
473
503
|
* </p>
|
|
474
504
|
*/
|
|
475
505
|
domain: string | undefined;
|
|
476
506
|
/**
|
|
507
|
+
* @public
|
|
477
508
|
* <p>
|
|
478
509
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
479
510
|
* dashes or spaces.
|
|
@@ -481,24 +512,28 @@ export interface CopyPackageVersionsRequest {
|
|
|
481
512
|
*/
|
|
482
513
|
domainOwner?: string;
|
|
483
514
|
/**
|
|
515
|
+
* @public
|
|
484
516
|
* <p>
|
|
485
517
|
* The name of the repository that contains the package versions to be copied.
|
|
486
518
|
* </p>
|
|
487
519
|
*/
|
|
488
520
|
sourceRepository: string | undefined;
|
|
489
521
|
/**
|
|
522
|
+
* @public
|
|
490
523
|
* <p>
|
|
491
524
|
* The name of the repository into which package versions are copied.
|
|
492
525
|
* </p>
|
|
493
526
|
*/
|
|
494
527
|
destinationRepository: string | undefined;
|
|
495
528
|
/**
|
|
529
|
+
* @public
|
|
496
530
|
* <p>
|
|
497
531
|
* The format of the package versions to be copied.
|
|
498
532
|
* </p>
|
|
499
533
|
*/
|
|
500
534
|
format: PackageFormat | string | undefined;
|
|
501
535
|
/**
|
|
536
|
+
* @public
|
|
502
537
|
* <p>The namespace of the package versions to be copied. The package version component that specifies its
|
|
503
538
|
* namespace depends on its type. For example:</p>
|
|
504
539
|
* <ul>
|
|
@@ -525,12 +560,14 @@ export interface CopyPackageVersionsRequest {
|
|
|
525
560
|
*/
|
|
526
561
|
namespace?: string;
|
|
527
562
|
/**
|
|
563
|
+
* @public
|
|
528
564
|
* <p>
|
|
529
565
|
* The name of the package that contains the versions to be copied.
|
|
530
566
|
* </p>
|
|
531
567
|
*/
|
|
532
568
|
package: string | undefined;
|
|
533
569
|
/**
|
|
570
|
+
* @public
|
|
534
571
|
* <p>
|
|
535
572
|
* The versions of the package to be copied.
|
|
536
573
|
* </p>
|
|
@@ -542,6 +579,7 @@ export interface CopyPackageVersionsRequest {
|
|
|
542
579
|
*/
|
|
543
580
|
versions?: string[];
|
|
544
581
|
/**
|
|
582
|
+
* @public
|
|
545
583
|
* <p>
|
|
546
584
|
* A list of key-value pairs. The keys are package versions and the values are package version revisions. A <code>CopyPackageVersion</code> operation
|
|
547
585
|
* succeeds if the specified versions in the source repository match the specified package version revision.
|
|
@@ -554,6 +592,7 @@ export interface CopyPackageVersionsRequest {
|
|
|
554
592
|
*/
|
|
555
593
|
versionRevisions?: Record<string, string>;
|
|
556
594
|
/**
|
|
595
|
+
* @public
|
|
557
596
|
* <p>
|
|
558
597
|
* Set to true to overwrite a package version that already exists in the destination repository.
|
|
559
598
|
* If set to false and the package version already exists in the destination repository,
|
|
@@ -563,6 +602,7 @@ export interface CopyPackageVersionsRequest {
|
|
|
563
602
|
*/
|
|
564
603
|
allowOverwrite?: boolean;
|
|
565
604
|
/**
|
|
605
|
+
* @public
|
|
566
606
|
* <p> Set to true to copy packages from repositories that are upstream from the source
|
|
567
607
|
* repository to the destination repository. The default setting is false. For more information,
|
|
568
608
|
* see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with
|
|
@@ -594,6 +634,7 @@ export type PackageVersionErrorCode = (typeof PackageVersionErrorCode)[keyof typ
|
|
|
594
634
|
*/
|
|
595
635
|
export interface PackageVersionError {
|
|
596
636
|
/**
|
|
637
|
+
* @public
|
|
597
638
|
* <p> The error code associated with the error. Valid error codes are: </p>
|
|
598
639
|
* <ul>
|
|
599
640
|
* <li>
|
|
@@ -630,6 +671,7 @@ export interface PackageVersionError {
|
|
|
630
671
|
*/
|
|
631
672
|
errorCode?: PackageVersionErrorCode | string;
|
|
632
673
|
/**
|
|
674
|
+
* @public
|
|
633
675
|
* <p>
|
|
634
676
|
* The error message associated with the error.
|
|
635
677
|
* </p>
|
|
@@ -660,12 +702,14 @@ export type PackageVersionStatus = (typeof PackageVersionStatus)[keyof typeof Pa
|
|
|
660
702
|
*/
|
|
661
703
|
export interface SuccessfulPackageVersionInfo {
|
|
662
704
|
/**
|
|
705
|
+
* @public
|
|
663
706
|
* <p>
|
|
664
707
|
* The revision of a package version.
|
|
665
708
|
* </p>
|
|
666
709
|
*/
|
|
667
710
|
revision?: string;
|
|
668
711
|
/**
|
|
712
|
+
* @public
|
|
669
713
|
* <p>
|
|
670
714
|
* The status of a package version.
|
|
671
715
|
* </p>
|
|
@@ -677,12 +721,14 @@ export interface SuccessfulPackageVersionInfo {
|
|
|
677
721
|
*/
|
|
678
722
|
export interface CopyPackageVersionsResult {
|
|
679
723
|
/**
|
|
724
|
+
* @public
|
|
680
725
|
* <p>
|
|
681
726
|
* A list of the package versions that were successfully copied to your repository.
|
|
682
727
|
* </p>
|
|
683
728
|
*/
|
|
684
729
|
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
685
730
|
/**
|
|
731
|
+
* @public
|
|
686
732
|
* <p>
|
|
687
733
|
* A map of package versions that failed to copy and their error codes. The possible error codes are in
|
|
688
734
|
* the <code>PackageVersionError</code> data type. They are:
|
|
@@ -728,10 +774,12 @@ export interface CopyPackageVersionsResult {
|
|
|
728
774
|
*/
|
|
729
775
|
export interface Tag {
|
|
730
776
|
/**
|
|
777
|
+
* @public
|
|
731
778
|
* <p>The tag key.</p>
|
|
732
779
|
*/
|
|
733
780
|
key: string | undefined;
|
|
734
781
|
/**
|
|
782
|
+
* @public
|
|
735
783
|
* <p>The tag value.</p>
|
|
736
784
|
*/
|
|
737
785
|
value: string | undefined;
|
|
@@ -741,12 +789,14 @@ export interface Tag {
|
|
|
741
789
|
*/
|
|
742
790
|
export interface CreateDomainRequest {
|
|
743
791
|
/**
|
|
792
|
+
* @public
|
|
744
793
|
* <p> The name of the domain to create. All domain names in an Amazon Web Services Region that are in the
|
|
745
794
|
* same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do
|
|
746
795
|
* not use sensitive information in a domain name because it is publicly discoverable. </p>
|
|
747
796
|
*/
|
|
748
797
|
domain: string | undefined;
|
|
749
798
|
/**
|
|
799
|
+
* @public
|
|
750
800
|
* <p> The encryption key for the domain. This is used to encrypt content stored in a domain.
|
|
751
801
|
* An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key
|
|
752
802
|
* alias ARN. To specify an <code>encryptionKey</code>, your IAM role must have
|
|
@@ -762,6 +812,7 @@ export interface CreateDomainRequest {
|
|
|
762
812
|
*/
|
|
763
813
|
encryptionKey?: string;
|
|
764
814
|
/**
|
|
815
|
+
* @public
|
|
765
816
|
* <p>One or more tag key-value pairs for the domain.</p>
|
|
766
817
|
*/
|
|
767
818
|
tags?: Tag[];
|
|
@@ -787,48 +838,57 @@ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
|
787
838
|
*/
|
|
788
839
|
export interface DomainDescription {
|
|
789
840
|
/**
|
|
841
|
+
* @public
|
|
790
842
|
* <p>
|
|
791
843
|
* The name of the domain.
|
|
792
844
|
* </p>
|
|
793
845
|
*/
|
|
794
846
|
name?: string;
|
|
795
847
|
/**
|
|
848
|
+
* @public
|
|
796
849
|
* <p> The Amazon Web Services account ID that owns the domain. </p>
|
|
797
850
|
*/
|
|
798
851
|
owner?: string;
|
|
799
852
|
/**
|
|
853
|
+
* @public
|
|
800
854
|
* <p> The Amazon Resource Name (ARN) of the domain. </p>
|
|
801
855
|
*/
|
|
802
856
|
arn?: string;
|
|
803
857
|
/**
|
|
858
|
+
* @public
|
|
804
859
|
* <p>
|
|
805
860
|
* The current status of a domain.
|
|
806
861
|
* </p>
|
|
807
862
|
*/
|
|
808
863
|
status?: DomainStatus | string;
|
|
809
864
|
/**
|
|
865
|
+
* @public
|
|
810
866
|
* <p>
|
|
811
867
|
* A timestamp that represents the date and time the domain was created.
|
|
812
868
|
* </p>
|
|
813
869
|
*/
|
|
814
870
|
createdTime?: Date;
|
|
815
871
|
/**
|
|
872
|
+
* @public
|
|
816
873
|
* <p> The ARN of an Key Management Service (KMS) key associated with a domain. </p>
|
|
817
874
|
*/
|
|
818
875
|
encryptionKey?: string;
|
|
819
876
|
/**
|
|
877
|
+
* @public
|
|
820
878
|
* <p>
|
|
821
879
|
* The number of repositories in the domain.
|
|
822
880
|
* </p>
|
|
823
881
|
*/
|
|
824
882
|
repositoryCount?: number;
|
|
825
883
|
/**
|
|
884
|
+
* @public
|
|
826
885
|
* <p>
|
|
827
886
|
* The total size of all assets in the domain.
|
|
828
887
|
* </p>
|
|
829
888
|
*/
|
|
830
889
|
assetSizeBytes?: number;
|
|
831
890
|
/**
|
|
891
|
+
* @public
|
|
832
892
|
* <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.</p>
|
|
833
893
|
*/
|
|
834
894
|
s3BucketArn?: string;
|
|
@@ -838,6 +898,7 @@ export interface DomainDescription {
|
|
|
838
898
|
*/
|
|
839
899
|
export interface CreateDomainResult {
|
|
840
900
|
/**
|
|
901
|
+
* @public
|
|
841
902
|
* <p>
|
|
842
903
|
* Contains information about the created domain after processing the request.
|
|
843
904
|
* </p>
|
|
@@ -854,6 +915,7 @@ export interface CreateDomainResult {
|
|
|
854
915
|
*/
|
|
855
916
|
export interface UpstreamRepository {
|
|
856
917
|
/**
|
|
918
|
+
* @public
|
|
857
919
|
* <p> The name of an upstream repository. </p>
|
|
858
920
|
*/
|
|
859
921
|
repositoryName: string | undefined;
|
|
@@ -863,12 +925,14 @@ export interface UpstreamRepository {
|
|
|
863
925
|
*/
|
|
864
926
|
export interface CreateRepositoryRequest {
|
|
865
927
|
/**
|
|
928
|
+
* @public
|
|
866
929
|
* <p>
|
|
867
930
|
* The name of the domain that contains the created repository.
|
|
868
931
|
* </p>
|
|
869
932
|
*/
|
|
870
933
|
domain: string | undefined;
|
|
871
934
|
/**
|
|
935
|
+
* @public
|
|
872
936
|
* <p>
|
|
873
937
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
874
938
|
* dashes or spaces.
|
|
@@ -876,22 +940,26 @@ export interface CreateRepositoryRequest {
|
|
|
876
940
|
*/
|
|
877
941
|
domainOwner?: string;
|
|
878
942
|
/**
|
|
943
|
+
* @public
|
|
879
944
|
* <p> The name of the repository to create. </p>
|
|
880
945
|
*/
|
|
881
946
|
repository: string | undefined;
|
|
882
947
|
/**
|
|
948
|
+
* @public
|
|
883
949
|
* <p>
|
|
884
950
|
* A description of the created repository.
|
|
885
951
|
* </p>
|
|
886
952
|
*/
|
|
887
953
|
description?: string;
|
|
888
954
|
/**
|
|
955
|
+
* @public
|
|
889
956
|
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
890
957
|
* in the list determines their priority order when CodeArtifact looks for a requested package version. For more
|
|
891
958
|
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
892
959
|
*/
|
|
893
960
|
upstreams?: UpstreamRepository[];
|
|
894
961
|
/**
|
|
962
|
+
* @public
|
|
895
963
|
* <p>One or more tag key-value pairs for the repository.</p>
|
|
896
964
|
*/
|
|
897
965
|
tags?: Tag[];
|
|
@@ -901,6 +969,7 @@ export interface CreateRepositoryRequest {
|
|
|
901
969
|
*/
|
|
902
970
|
export interface CreateRepositoryResult {
|
|
903
971
|
/**
|
|
972
|
+
* @public
|
|
904
973
|
* <p>
|
|
905
974
|
* Information about the created repository after processing the request.
|
|
906
975
|
* </p>
|
|
@@ -912,12 +981,14 @@ export interface CreateRepositoryResult {
|
|
|
912
981
|
*/
|
|
913
982
|
export interface DeleteDomainRequest {
|
|
914
983
|
/**
|
|
984
|
+
* @public
|
|
915
985
|
* <p>
|
|
916
986
|
* The name of the domain to delete.
|
|
917
987
|
* </p>
|
|
918
988
|
*/
|
|
919
989
|
domain: string | undefined;
|
|
920
990
|
/**
|
|
991
|
+
* @public
|
|
921
992
|
* <p>
|
|
922
993
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
923
994
|
* dashes or spaces.
|
|
@@ -930,6 +1001,7 @@ export interface DeleteDomainRequest {
|
|
|
930
1001
|
*/
|
|
931
1002
|
export interface DeleteDomainResult {
|
|
932
1003
|
/**
|
|
1004
|
+
* @public
|
|
933
1005
|
* <p>
|
|
934
1006
|
* Contains information about the deleted domain after processing the request.
|
|
935
1007
|
* </p>
|
|
@@ -941,12 +1013,14 @@ export interface DeleteDomainResult {
|
|
|
941
1013
|
*/
|
|
942
1014
|
export interface DeleteDomainPermissionsPolicyRequest {
|
|
943
1015
|
/**
|
|
1016
|
+
* @public
|
|
944
1017
|
* <p>
|
|
945
1018
|
* The name of the domain associated with the resource policy to be deleted.
|
|
946
1019
|
* </p>
|
|
947
1020
|
*/
|
|
948
1021
|
domain: string | undefined;
|
|
949
1022
|
/**
|
|
1023
|
+
* @public
|
|
950
1024
|
* <p>
|
|
951
1025
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
952
1026
|
* dashes or spaces.
|
|
@@ -954,6 +1028,7 @@ export interface DeleteDomainPermissionsPolicyRequest {
|
|
|
954
1028
|
*/
|
|
955
1029
|
domainOwner?: string;
|
|
956
1030
|
/**
|
|
1031
|
+
* @public
|
|
957
1032
|
* <p>
|
|
958
1033
|
* The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which
|
|
959
1034
|
* prevents others from overwriting your changes to the domain's resource policy.
|
|
@@ -969,18 +1044,21 @@ export interface DeleteDomainPermissionsPolicyRequest {
|
|
|
969
1044
|
*/
|
|
970
1045
|
export interface ResourcePolicy {
|
|
971
1046
|
/**
|
|
1047
|
+
* @public
|
|
972
1048
|
* <p>
|
|
973
1049
|
* The ARN of the resource associated with the resource policy
|
|
974
1050
|
* </p>
|
|
975
1051
|
*/
|
|
976
1052
|
resourceArn?: string;
|
|
977
1053
|
/**
|
|
1054
|
+
* @public
|
|
978
1055
|
* <p>
|
|
979
1056
|
* The current revision of the resource policy.
|
|
980
1057
|
* </p>
|
|
981
1058
|
*/
|
|
982
1059
|
revision?: string;
|
|
983
1060
|
/**
|
|
1061
|
+
* @public
|
|
984
1062
|
* <p>
|
|
985
1063
|
* The resource policy formatted in JSON.
|
|
986
1064
|
* </p>
|
|
@@ -992,6 +1070,7 @@ export interface ResourcePolicy {
|
|
|
992
1070
|
*/
|
|
993
1071
|
export interface DeleteDomainPermissionsPolicyResult {
|
|
994
1072
|
/**
|
|
1073
|
+
* @public
|
|
995
1074
|
* <p>
|
|
996
1075
|
* Information about the deleted resource policy after processing the request.
|
|
997
1076
|
* </p>
|
|
@@ -1003,10 +1082,12 @@ export interface DeleteDomainPermissionsPolicyResult {
|
|
|
1003
1082
|
*/
|
|
1004
1083
|
export interface DeletePackageRequest {
|
|
1005
1084
|
/**
|
|
1085
|
+
* @public
|
|
1006
1086
|
* <p>The name of the domain that contains the package to delete.</p>
|
|
1007
1087
|
*/
|
|
1008
1088
|
domain: string | undefined;
|
|
1009
1089
|
/**
|
|
1090
|
+
* @public
|
|
1010
1091
|
* <p>
|
|
1011
1092
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1012
1093
|
* dashes or spaces.
|
|
@@ -1014,14 +1095,17 @@ export interface DeletePackageRequest {
|
|
|
1014
1095
|
*/
|
|
1015
1096
|
domainOwner?: string;
|
|
1016
1097
|
/**
|
|
1098
|
+
* @public
|
|
1017
1099
|
* <p>The name of the repository that contains the package to delete.</p>
|
|
1018
1100
|
*/
|
|
1019
1101
|
repository: string | undefined;
|
|
1020
1102
|
/**
|
|
1103
|
+
* @public
|
|
1021
1104
|
* <p>The format of the requested package to delete.</p>
|
|
1022
1105
|
*/
|
|
1023
1106
|
format: PackageFormat | string | undefined;
|
|
1024
1107
|
/**
|
|
1108
|
+
* @public
|
|
1025
1109
|
* <p>The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:</p>
|
|
1026
1110
|
* <ul>
|
|
1027
1111
|
* <li>
|
|
@@ -1044,6 +1128,7 @@ export interface DeletePackageRequest {
|
|
|
1044
1128
|
*/
|
|
1045
1129
|
namespace?: string;
|
|
1046
1130
|
/**
|
|
1131
|
+
* @public
|
|
1047
1132
|
* <p>The name of the package to delete.</p>
|
|
1048
1133
|
*/
|
|
1049
1134
|
package: string | undefined;
|
|
@@ -1056,10 +1141,12 @@ export interface DeletePackageRequest {
|
|
|
1056
1141
|
*/
|
|
1057
1142
|
export interface PackageOriginRestrictions {
|
|
1058
1143
|
/**
|
|
1144
|
+
* @public
|
|
1059
1145
|
* <p>The package origin configuration that determines if new versions of the package can be published directly to the repository.</p>
|
|
1060
1146
|
*/
|
|
1061
1147
|
publish: AllowPublish | string | undefined;
|
|
1062
1148
|
/**
|
|
1149
|
+
* @public
|
|
1063
1150
|
* <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>
|
|
1064
1151
|
*/
|
|
1065
1152
|
upstream: AllowUpstream | string | undefined;
|
|
@@ -1070,6 +1157,7 @@ export interface PackageOriginRestrictions {
|
|
|
1070
1157
|
*/
|
|
1071
1158
|
export interface PackageOriginConfiguration {
|
|
1072
1159
|
/**
|
|
1160
|
+
* @public
|
|
1073
1161
|
* <p>A <code>PackageOriginRestrictions</code> object that contains information
|
|
1074
1162
|
* about the upstream and publish package origin configuration for the package.</p>
|
|
1075
1163
|
*/
|
|
@@ -1083,12 +1171,14 @@ export interface PackageOriginConfiguration {
|
|
|
1083
1171
|
*/
|
|
1084
1172
|
export interface PackageSummary {
|
|
1085
1173
|
/**
|
|
1174
|
+
* @public
|
|
1086
1175
|
* <p>
|
|
1087
1176
|
* The format of the package.
|
|
1088
1177
|
* </p>
|
|
1089
1178
|
*/
|
|
1090
1179
|
format?: PackageFormat | string;
|
|
1091
1180
|
/**
|
|
1181
|
+
* @public
|
|
1092
1182
|
* <p>The namespace of the package. The package component that specifies its
|
|
1093
1183
|
* namespace depends on its type. For example:</p>
|
|
1094
1184
|
* <ul>
|
|
@@ -1115,12 +1205,14 @@ export interface PackageSummary {
|
|
|
1115
1205
|
*/
|
|
1116
1206
|
namespace?: string;
|
|
1117
1207
|
/**
|
|
1208
|
+
* @public
|
|
1118
1209
|
* <p>
|
|
1119
1210
|
* The name of the package.
|
|
1120
1211
|
* </p>
|
|
1121
1212
|
*/
|
|
1122
1213
|
package?: string;
|
|
1123
1214
|
/**
|
|
1215
|
+
* @public
|
|
1124
1216
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
|
|
1125
1217
|
* object that contains a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a> object
|
|
1126
1218
|
* that contains information about the upstream and publish package origin restrictions.</p>
|
|
@@ -1132,6 +1224,7 @@ export interface PackageSummary {
|
|
|
1132
1224
|
*/
|
|
1133
1225
|
export interface DeletePackageResult {
|
|
1134
1226
|
/**
|
|
1227
|
+
* @public
|
|
1135
1228
|
* <p>
|
|
1136
1229
|
* Details about a package, including its format, namespace, and name.
|
|
1137
1230
|
* </p>
|
|
@@ -1143,12 +1236,14 @@ export interface DeletePackageResult {
|
|
|
1143
1236
|
*/
|
|
1144
1237
|
export interface DeletePackageVersionsRequest {
|
|
1145
1238
|
/**
|
|
1239
|
+
* @public
|
|
1146
1240
|
* <p>
|
|
1147
1241
|
* The name of the domain that contains the package to delete.
|
|
1148
1242
|
* </p>
|
|
1149
1243
|
*/
|
|
1150
1244
|
domain: string | undefined;
|
|
1151
1245
|
/**
|
|
1246
|
+
* @public
|
|
1152
1247
|
* <p>
|
|
1153
1248
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1154
1249
|
* dashes or spaces.
|
|
@@ -1156,18 +1251,21 @@ export interface DeletePackageVersionsRequest {
|
|
|
1156
1251
|
*/
|
|
1157
1252
|
domainOwner?: string;
|
|
1158
1253
|
/**
|
|
1254
|
+
* @public
|
|
1159
1255
|
* <p>
|
|
1160
1256
|
* The name of the repository that contains the package versions to delete.
|
|
1161
1257
|
* </p>
|
|
1162
1258
|
*/
|
|
1163
1259
|
repository: string | undefined;
|
|
1164
1260
|
/**
|
|
1261
|
+
* @public
|
|
1165
1262
|
* <p>
|
|
1166
1263
|
* The format of the package versions to delete.
|
|
1167
1264
|
* </p>
|
|
1168
1265
|
*/
|
|
1169
1266
|
format: PackageFormat | string | undefined;
|
|
1170
1267
|
/**
|
|
1268
|
+
* @public
|
|
1171
1269
|
* <p>The namespace of the package versions to be deleted. The package version component that specifies its
|
|
1172
1270
|
* namespace depends on its type. For example:</p>
|
|
1173
1271
|
* <ul>
|
|
@@ -1194,18 +1292,21 @@ export interface DeletePackageVersionsRequest {
|
|
|
1194
1292
|
*/
|
|
1195
1293
|
namespace?: string;
|
|
1196
1294
|
/**
|
|
1295
|
+
* @public
|
|
1197
1296
|
* <p>
|
|
1198
1297
|
* The name of the package with the versions to delete.
|
|
1199
1298
|
* </p>
|
|
1200
1299
|
*/
|
|
1201
1300
|
package: string | undefined;
|
|
1202
1301
|
/**
|
|
1302
|
+
* @public
|
|
1203
1303
|
* <p>
|
|
1204
1304
|
* An array of strings that specify the versions of the package to delete.
|
|
1205
1305
|
* </p>
|
|
1206
1306
|
*/
|
|
1207
1307
|
versions: string[] | undefined;
|
|
1208
1308
|
/**
|
|
1309
|
+
* @public
|
|
1209
1310
|
* <p>
|
|
1210
1311
|
* The expected status of the package version to delete.
|
|
1211
1312
|
* </p>
|
|
@@ -1217,6 +1318,7 @@ export interface DeletePackageVersionsRequest {
|
|
|
1217
1318
|
*/
|
|
1218
1319
|
export interface DeletePackageVersionsResult {
|
|
1219
1320
|
/**
|
|
1321
|
+
* @public
|
|
1220
1322
|
* <p>
|
|
1221
1323
|
* A list of the package versions that were successfully deleted. The
|
|
1222
1324
|
* status of every successful version will be <code>Deleted</code>.
|
|
@@ -1224,6 +1326,7 @@ export interface DeletePackageVersionsResult {
|
|
|
1224
1326
|
*/
|
|
1225
1327
|
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
1226
1328
|
/**
|
|
1329
|
+
* @public
|
|
1227
1330
|
* <p>
|
|
1228
1331
|
* A <code>PackageVersionError</code> object that contains a map of errors codes for the
|
|
1229
1332
|
* deleted package that failed. The possible error codes are:
|
|
@@ -1268,12 +1371,14 @@ export interface DeletePackageVersionsResult {
|
|
|
1268
1371
|
*/
|
|
1269
1372
|
export interface DeleteRepositoryRequest {
|
|
1270
1373
|
/**
|
|
1374
|
+
* @public
|
|
1271
1375
|
* <p>
|
|
1272
1376
|
* The name of the domain that contains the repository to delete.
|
|
1273
1377
|
* </p>
|
|
1274
1378
|
*/
|
|
1275
1379
|
domain: string | undefined;
|
|
1276
1380
|
/**
|
|
1381
|
+
* @public
|
|
1277
1382
|
* <p>
|
|
1278
1383
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1279
1384
|
* dashes or spaces.
|
|
@@ -1281,6 +1386,7 @@ export interface DeleteRepositoryRequest {
|
|
|
1281
1386
|
*/
|
|
1282
1387
|
domainOwner?: string;
|
|
1283
1388
|
/**
|
|
1389
|
+
* @public
|
|
1284
1390
|
* <p> The name of the repository to delete. </p>
|
|
1285
1391
|
*/
|
|
1286
1392
|
repository: string | undefined;
|
|
@@ -1290,6 +1396,7 @@ export interface DeleteRepositoryRequest {
|
|
|
1290
1396
|
*/
|
|
1291
1397
|
export interface DeleteRepositoryResult {
|
|
1292
1398
|
/**
|
|
1399
|
+
* @public
|
|
1293
1400
|
* <p>
|
|
1294
1401
|
* Information about the deleted repository after processing the request.
|
|
1295
1402
|
* </p>
|
|
@@ -1301,12 +1408,14 @@ export interface DeleteRepositoryResult {
|
|
|
1301
1408
|
*/
|
|
1302
1409
|
export interface DeleteRepositoryPermissionsPolicyRequest {
|
|
1303
1410
|
/**
|
|
1411
|
+
* @public
|
|
1304
1412
|
* <p>
|
|
1305
1413
|
* The name of the domain that contains the repository associated with the resource policy to be deleted.
|
|
1306
1414
|
* </p>
|
|
1307
1415
|
*/
|
|
1308
1416
|
domain: string | undefined;
|
|
1309
1417
|
/**
|
|
1418
|
+
* @public
|
|
1310
1419
|
* <p>
|
|
1311
1420
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1312
1421
|
* dashes or spaces.
|
|
@@ -1314,12 +1423,14 @@ export interface DeleteRepositoryPermissionsPolicyRequest {
|
|
|
1314
1423
|
*/
|
|
1315
1424
|
domainOwner?: string;
|
|
1316
1425
|
/**
|
|
1426
|
+
* @public
|
|
1317
1427
|
* <p>
|
|
1318
1428
|
* The name of the repository that is associated with the resource policy to be deleted
|
|
1319
1429
|
* </p>
|
|
1320
1430
|
*/
|
|
1321
1431
|
repository: string | undefined;
|
|
1322
1432
|
/**
|
|
1433
|
+
* @public
|
|
1323
1434
|
* <p>
|
|
1324
1435
|
* The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which
|
|
1325
1436
|
* prevents others from accidentally overwriting your changes to the repository's resource policy.
|
|
@@ -1332,6 +1443,7 @@ export interface DeleteRepositoryPermissionsPolicyRequest {
|
|
|
1332
1443
|
*/
|
|
1333
1444
|
export interface DeleteRepositoryPermissionsPolicyResult {
|
|
1334
1445
|
/**
|
|
1446
|
+
* @public
|
|
1335
1447
|
* <p>
|
|
1336
1448
|
* Information about the deleted policy after processing the request.
|
|
1337
1449
|
* </p>
|
|
@@ -1343,12 +1455,14 @@ export interface DeleteRepositoryPermissionsPolicyResult {
|
|
|
1343
1455
|
*/
|
|
1344
1456
|
export interface DescribeDomainRequest {
|
|
1345
1457
|
/**
|
|
1458
|
+
* @public
|
|
1346
1459
|
* <p>
|
|
1347
1460
|
* A string that specifies the name of the requested domain.
|
|
1348
1461
|
* </p>
|
|
1349
1462
|
*/
|
|
1350
1463
|
domain: string | undefined;
|
|
1351
1464
|
/**
|
|
1465
|
+
* @public
|
|
1352
1466
|
* <p>
|
|
1353
1467
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1354
1468
|
* dashes or spaces.
|
|
@@ -1361,6 +1475,7 @@ export interface DescribeDomainRequest {
|
|
|
1361
1475
|
*/
|
|
1362
1476
|
export interface DescribeDomainResult {
|
|
1363
1477
|
/**
|
|
1478
|
+
* @public
|
|
1364
1479
|
* <p>
|
|
1365
1480
|
* Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
|
|
1366
1481
|
* add one or more repositories.
|
|
@@ -1373,10 +1488,12 @@ export interface DescribeDomainResult {
|
|
|
1373
1488
|
*/
|
|
1374
1489
|
export interface DescribePackageRequest {
|
|
1375
1490
|
/**
|
|
1491
|
+
* @public
|
|
1376
1492
|
* <p>The name of the domain that contains the repository that contains the package.</p>
|
|
1377
1493
|
*/
|
|
1378
1494
|
domain: string | undefined;
|
|
1379
1495
|
/**
|
|
1496
|
+
* @public
|
|
1380
1497
|
* <p>
|
|
1381
1498
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1382
1499
|
* dashes or spaces.
|
|
@@ -1384,14 +1501,17 @@ export interface DescribePackageRequest {
|
|
|
1384
1501
|
*/
|
|
1385
1502
|
domainOwner?: string;
|
|
1386
1503
|
/**
|
|
1504
|
+
* @public
|
|
1387
1505
|
* <p>The name of the repository that contains the requested package. </p>
|
|
1388
1506
|
*/
|
|
1389
1507
|
repository: string | undefined;
|
|
1390
1508
|
/**
|
|
1509
|
+
* @public
|
|
1391
1510
|
* <p>A format that specifies the type of the requested package.</p>
|
|
1392
1511
|
*/
|
|
1393
1512
|
format: PackageFormat | string | undefined;
|
|
1394
1513
|
/**
|
|
1514
|
+
* @public
|
|
1395
1515
|
* <p>The namespace of the requested package. The package component that specifies its
|
|
1396
1516
|
* namespace depends on its type. For example:</p>
|
|
1397
1517
|
* <ul>
|
|
@@ -1418,6 +1538,7 @@ export interface DescribePackageRequest {
|
|
|
1418
1538
|
*/
|
|
1419
1539
|
namespace?: string;
|
|
1420
1540
|
/**
|
|
1541
|
+
* @public
|
|
1421
1542
|
* <p>The name of the requested package.</p>
|
|
1422
1543
|
*/
|
|
1423
1544
|
package: string | undefined;
|
|
@@ -1428,10 +1549,12 @@ export interface DescribePackageRequest {
|
|
|
1428
1549
|
*/
|
|
1429
1550
|
export interface PackageDescription {
|
|
1430
1551
|
/**
|
|
1552
|
+
* @public
|
|
1431
1553
|
* <p>A format that specifies the type of the package.</p>
|
|
1432
1554
|
*/
|
|
1433
1555
|
format?: PackageFormat | string;
|
|
1434
1556
|
/**
|
|
1557
|
+
* @public
|
|
1435
1558
|
* <p>The namespace of the package. The package component that specifies its
|
|
1436
1559
|
* namespace depends on its type. For example:</p>
|
|
1437
1560
|
* <ul>
|
|
@@ -1458,10 +1581,12 @@ export interface PackageDescription {
|
|
|
1458
1581
|
*/
|
|
1459
1582
|
namespace?: string;
|
|
1460
1583
|
/**
|
|
1584
|
+
* @public
|
|
1461
1585
|
* <p>The name of the package.</p>
|
|
1462
1586
|
*/
|
|
1463
1587
|
name?: string;
|
|
1464
1588
|
/**
|
|
1589
|
+
* @public
|
|
1465
1590
|
* <p>The package origin configuration for the package.</p>
|
|
1466
1591
|
*/
|
|
1467
1592
|
originConfiguration?: PackageOriginConfiguration;
|
|
@@ -1471,6 +1596,7 @@ export interface PackageDescription {
|
|
|
1471
1596
|
*/
|
|
1472
1597
|
export interface DescribePackageResult {
|
|
1473
1598
|
/**
|
|
1599
|
+
* @public
|
|
1474
1600
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
|
|
1475
1601
|
* object that contains information about the requested package.</p>
|
|
1476
1602
|
*/
|
|
@@ -1481,12 +1607,14 @@ export interface DescribePackageResult {
|
|
|
1481
1607
|
*/
|
|
1482
1608
|
export interface DescribePackageVersionRequest {
|
|
1483
1609
|
/**
|
|
1610
|
+
* @public
|
|
1484
1611
|
* <p>
|
|
1485
1612
|
* The name of the domain that contains the repository that contains the package version.
|
|
1486
1613
|
* </p>
|
|
1487
1614
|
*/
|
|
1488
1615
|
domain: string | undefined;
|
|
1489
1616
|
/**
|
|
1617
|
+
* @public
|
|
1490
1618
|
* <p>
|
|
1491
1619
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1492
1620
|
* dashes or spaces.
|
|
@@ -1494,16 +1622,19 @@ export interface DescribePackageVersionRequest {
|
|
|
1494
1622
|
*/
|
|
1495
1623
|
domainOwner?: string;
|
|
1496
1624
|
/**
|
|
1625
|
+
* @public
|
|
1497
1626
|
* <p> The name of the repository that contains the package version. </p>
|
|
1498
1627
|
*/
|
|
1499
1628
|
repository: string | undefined;
|
|
1500
1629
|
/**
|
|
1630
|
+
* @public
|
|
1501
1631
|
* <p>
|
|
1502
1632
|
* A format that specifies the type of the requested package version.
|
|
1503
1633
|
* </p>
|
|
1504
1634
|
*/
|
|
1505
1635
|
format: PackageFormat | string | undefined;
|
|
1506
1636
|
/**
|
|
1637
|
+
* @public
|
|
1507
1638
|
* <p>The namespace of the requested package version. The package version component that specifies its
|
|
1508
1639
|
* namespace depends on its type. For example:</p>
|
|
1509
1640
|
* <ul>
|
|
@@ -1530,10 +1661,12 @@ export interface DescribePackageVersionRequest {
|
|
|
1530
1661
|
*/
|
|
1531
1662
|
namespace?: string;
|
|
1532
1663
|
/**
|
|
1664
|
+
* @public
|
|
1533
1665
|
* <p> The name of the requested package version. </p>
|
|
1534
1666
|
*/
|
|
1535
1667
|
package: string | undefined;
|
|
1536
1668
|
/**
|
|
1669
|
+
* @public
|
|
1537
1670
|
* <p>
|
|
1538
1671
|
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
1539
1672
|
* </p>
|
|
@@ -1548,12 +1681,14 @@ export interface DescribePackageVersionRequest {
|
|
|
1548
1681
|
*/
|
|
1549
1682
|
export interface LicenseInfo {
|
|
1550
1683
|
/**
|
|
1684
|
+
* @public
|
|
1551
1685
|
* <p>
|
|
1552
1686
|
* Name of the license.
|
|
1553
1687
|
* </p>
|
|
1554
1688
|
*/
|
|
1555
1689
|
name?: string;
|
|
1556
1690
|
/**
|
|
1691
|
+
* @public
|
|
1557
1692
|
* <p>
|
|
1558
1693
|
* The URL for license data.
|
|
1559
1694
|
* </p>
|
|
@@ -1568,10 +1703,12 @@ export interface LicenseInfo {
|
|
|
1568
1703
|
*/
|
|
1569
1704
|
export interface DomainEntryPoint {
|
|
1570
1705
|
/**
|
|
1706
|
+
* @public
|
|
1571
1707
|
* <p>The name of the repository that a package was originally published to.</p>
|
|
1572
1708
|
*/
|
|
1573
1709
|
repositoryName?: string;
|
|
1574
1710
|
/**
|
|
1711
|
+
* @public
|
|
1575
1712
|
* <p>The name of the external connection that a package was ingested from.</p>
|
|
1576
1713
|
*/
|
|
1577
1714
|
externalConnectionName?: string;
|
|
@@ -1595,11 +1732,13 @@ export type PackageVersionOriginType = (typeof PackageVersionOriginType)[keyof t
|
|
|
1595
1732
|
*/
|
|
1596
1733
|
export interface PackageVersionOrigin {
|
|
1597
1734
|
/**
|
|
1735
|
+
* @public
|
|
1598
1736
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html">DomainEntryPoint</a> object that contains
|
|
1599
1737
|
* information about from which repository or external connection the package version was added to the domain.</p>
|
|
1600
1738
|
*/
|
|
1601
1739
|
domainEntryPoint?: DomainEntryPoint;
|
|
1602
1740
|
/**
|
|
1741
|
+
* @public
|
|
1603
1742
|
* <p>Describes how the package version was originally added to the domain. An <code>INTERNAL</code> origin type means the package version was published
|
|
1604
1743
|
* directly to a repository in the domain. An <code>EXTERNAL</code> origin type means the package version was ingested from an external connection.</p>
|
|
1605
1744
|
*/
|
|
@@ -1613,12 +1752,14 @@ export interface PackageVersionOrigin {
|
|
|
1613
1752
|
*/
|
|
1614
1753
|
export interface PackageVersionDescription {
|
|
1615
1754
|
/**
|
|
1755
|
+
* @public
|
|
1616
1756
|
* <p>
|
|
1617
1757
|
* The format of the package version.
|
|
1618
1758
|
* </p>
|
|
1619
1759
|
*/
|
|
1620
1760
|
format?: PackageFormat | string;
|
|
1621
1761
|
/**
|
|
1762
|
+
* @public
|
|
1622
1763
|
* <p>The namespace of the package version. The package version component that specifies its
|
|
1623
1764
|
* namespace depends on its type. For example:</p>
|
|
1624
1765
|
* <ul>
|
|
@@ -1645,12 +1786,14 @@ export interface PackageVersionDescription {
|
|
|
1645
1786
|
*/
|
|
1646
1787
|
namespace?: string;
|
|
1647
1788
|
/**
|
|
1789
|
+
* @public
|
|
1648
1790
|
* <p>
|
|
1649
1791
|
* The name of the requested package.
|
|
1650
1792
|
* </p>
|
|
1651
1793
|
*/
|
|
1652
1794
|
packageName?: string;
|
|
1653
1795
|
/**
|
|
1796
|
+
* @public
|
|
1654
1797
|
* <p>
|
|
1655
1798
|
* The name of the package that is displayed. The <code>displayName</code> varies depending
|
|
1656
1799
|
* on the package version's format. For example, if an npm package is named <code>ui</code>,
|
|
@@ -1660,12 +1803,14 @@ export interface PackageVersionDescription {
|
|
|
1660
1803
|
*/
|
|
1661
1804
|
displayName?: string;
|
|
1662
1805
|
/**
|
|
1806
|
+
* @public
|
|
1663
1807
|
* <p>
|
|
1664
1808
|
* The version of the package.
|
|
1665
1809
|
* </p>
|
|
1666
1810
|
*/
|
|
1667
1811
|
version?: string;
|
|
1668
1812
|
/**
|
|
1813
|
+
* @public
|
|
1669
1814
|
* <p>
|
|
1670
1815
|
* A summary of the package version. The summary is extracted from the package. The information in and
|
|
1671
1816
|
* detail level of the summary depends on the package version's format.
|
|
@@ -1673,42 +1818,49 @@ export interface PackageVersionDescription {
|
|
|
1673
1818
|
*/
|
|
1674
1819
|
summary?: string;
|
|
1675
1820
|
/**
|
|
1821
|
+
* @public
|
|
1676
1822
|
* <p>
|
|
1677
1823
|
* The homepage associated with the package.
|
|
1678
1824
|
* </p>
|
|
1679
1825
|
*/
|
|
1680
1826
|
homePage?: string;
|
|
1681
1827
|
/**
|
|
1828
|
+
* @public
|
|
1682
1829
|
* <p>
|
|
1683
1830
|
* The repository for the source code in the package version, or the source code used to build it.
|
|
1684
1831
|
* </p>
|
|
1685
1832
|
*/
|
|
1686
1833
|
sourceCodeRepository?: string;
|
|
1687
1834
|
/**
|
|
1835
|
+
* @public
|
|
1688
1836
|
* <p>
|
|
1689
1837
|
* A timestamp that contains the date and time the package version was published.
|
|
1690
1838
|
* </p>
|
|
1691
1839
|
*/
|
|
1692
1840
|
publishedTime?: Date;
|
|
1693
1841
|
/**
|
|
1842
|
+
* @public
|
|
1694
1843
|
* <p>
|
|
1695
1844
|
* Information about licenses associated with the package version.
|
|
1696
1845
|
* </p>
|
|
1697
1846
|
*/
|
|
1698
1847
|
licenses?: LicenseInfo[];
|
|
1699
1848
|
/**
|
|
1849
|
+
* @public
|
|
1700
1850
|
* <p>
|
|
1701
1851
|
* The revision of the package version.
|
|
1702
1852
|
* </p>
|
|
1703
1853
|
*/
|
|
1704
1854
|
revision?: string;
|
|
1705
1855
|
/**
|
|
1856
|
+
* @public
|
|
1706
1857
|
* <p>
|
|
1707
1858
|
* A string that contains the status of the package version.
|
|
1708
1859
|
* </p>
|
|
1709
1860
|
*/
|
|
1710
1861
|
status?: PackageVersionStatus | string;
|
|
1711
1862
|
/**
|
|
1863
|
+
* @public
|
|
1712
1864
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains
|
|
1713
1865
|
* information about how the package version was added to the repository.</p>
|
|
1714
1866
|
*/
|
|
@@ -1719,6 +1871,7 @@ export interface PackageVersionDescription {
|
|
|
1719
1871
|
*/
|
|
1720
1872
|
export interface DescribePackageVersionResult {
|
|
1721
1873
|
/**
|
|
1874
|
+
* @public
|
|
1722
1875
|
* <p>
|
|
1723
1876
|
* A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
1724
1877
|
* object that contains information about the requested package version.
|
|
@@ -1731,12 +1884,14 @@ export interface DescribePackageVersionResult {
|
|
|
1731
1884
|
*/
|
|
1732
1885
|
export interface DescribeRepositoryRequest {
|
|
1733
1886
|
/**
|
|
1887
|
+
* @public
|
|
1734
1888
|
* <p>
|
|
1735
1889
|
* The name of the domain that contains the repository to describe.
|
|
1736
1890
|
* </p>
|
|
1737
1891
|
*/
|
|
1738
1892
|
domain: string | undefined;
|
|
1739
1893
|
/**
|
|
1894
|
+
* @public
|
|
1740
1895
|
* <p>
|
|
1741
1896
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1742
1897
|
* dashes or spaces.
|
|
@@ -1744,6 +1899,7 @@ export interface DescribeRepositoryRequest {
|
|
|
1744
1899
|
*/
|
|
1745
1900
|
domainOwner?: string;
|
|
1746
1901
|
/**
|
|
1902
|
+
* @public
|
|
1747
1903
|
* <p>
|
|
1748
1904
|
* A string that specifies the name of the requested repository.
|
|
1749
1905
|
* </p>
|
|
@@ -1755,6 +1911,7 @@ export interface DescribeRepositoryRequest {
|
|
|
1755
1911
|
*/
|
|
1756
1912
|
export interface DescribeRepositoryResult {
|
|
1757
1913
|
/**
|
|
1914
|
+
* @public
|
|
1758
1915
|
* <p>
|
|
1759
1916
|
* A <code>RepositoryDescription</code> object that contains the requested repository information.
|
|
1760
1917
|
* </p>
|
|
@@ -1766,11 +1923,13 @@ export interface DescribeRepositoryResult {
|
|
|
1766
1923
|
*/
|
|
1767
1924
|
export interface DisassociateExternalConnectionRequest {
|
|
1768
1925
|
/**
|
|
1926
|
+
* @public
|
|
1769
1927
|
* <p>The name of the domain that contains the repository from which to remove the external
|
|
1770
1928
|
* repository. </p>
|
|
1771
1929
|
*/
|
|
1772
1930
|
domain: string | undefined;
|
|
1773
1931
|
/**
|
|
1932
|
+
* @public
|
|
1774
1933
|
* <p>
|
|
1775
1934
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1776
1935
|
* dashes or spaces.
|
|
@@ -1778,10 +1937,12 @@ export interface DisassociateExternalConnectionRequest {
|
|
|
1778
1937
|
*/
|
|
1779
1938
|
domainOwner?: string;
|
|
1780
1939
|
/**
|
|
1940
|
+
* @public
|
|
1781
1941
|
* <p>The name of the repository from which the external connection will be removed. </p>
|
|
1782
1942
|
*/
|
|
1783
1943
|
repository: string | undefined;
|
|
1784
1944
|
/**
|
|
1945
|
+
* @public
|
|
1785
1946
|
* <p>The name of the external connection to be removed from the repository. </p>
|
|
1786
1947
|
*/
|
|
1787
1948
|
externalConnection: string | undefined;
|
|
@@ -1791,6 +1952,7 @@ export interface DisassociateExternalConnectionRequest {
|
|
|
1791
1952
|
*/
|
|
1792
1953
|
export interface DisassociateExternalConnectionResult {
|
|
1793
1954
|
/**
|
|
1955
|
+
* @public
|
|
1794
1956
|
* <p>
|
|
1795
1957
|
* The repository associated with the removed external connection.
|
|
1796
1958
|
* </p>
|
|
@@ -1802,12 +1964,14 @@ export interface DisassociateExternalConnectionResult {
|
|
|
1802
1964
|
*/
|
|
1803
1965
|
export interface DisposePackageVersionsRequest {
|
|
1804
1966
|
/**
|
|
1967
|
+
* @public
|
|
1805
1968
|
* <p>
|
|
1806
1969
|
* The name of the domain that contains the repository you want to dispose.
|
|
1807
1970
|
* </p>
|
|
1808
1971
|
*/
|
|
1809
1972
|
domain: string | undefined;
|
|
1810
1973
|
/**
|
|
1974
|
+
* @public
|
|
1811
1975
|
* <p>
|
|
1812
1976
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1813
1977
|
* dashes or spaces.
|
|
@@ -1815,18 +1979,21 @@ export interface DisposePackageVersionsRequest {
|
|
|
1815
1979
|
*/
|
|
1816
1980
|
domainOwner?: string;
|
|
1817
1981
|
/**
|
|
1982
|
+
* @public
|
|
1818
1983
|
* <p>
|
|
1819
1984
|
* The name of the repository that contains the package versions you want to dispose.
|
|
1820
1985
|
* </p>
|
|
1821
1986
|
*/
|
|
1822
1987
|
repository: string | undefined;
|
|
1823
1988
|
/**
|
|
1989
|
+
* @public
|
|
1824
1990
|
* <p>
|
|
1825
1991
|
* A format that specifies the type of package versions you want to dispose.
|
|
1826
1992
|
* </p>
|
|
1827
1993
|
*/
|
|
1828
1994
|
format: PackageFormat | string | undefined;
|
|
1829
1995
|
/**
|
|
1996
|
+
* @public
|
|
1830
1997
|
* <p>The namespace of the package versions to be disposed. The package version component that specifies its
|
|
1831
1998
|
* namespace depends on its type. For example:</p>
|
|
1832
1999
|
* <ul>
|
|
@@ -1853,24 +2020,28 @@ export interface DisposePackageVersionsRequest {
|
|
|
1853
2020
|
*/
|
|
1854
2021
|
namespace?: string;
|
|
1855
2022
|
/**
|
|
2023
|
+
* @public
|
|
1856
2024
|
* <p>
|
|
1857
2025
|
* The name of the package with the versions you want to dispose.
|
|
1858
2026
|
* </p>
|
|
1859
2027
|
*/
|
|
1860
2028
|
package: string | undefined;
|
|
1861
2029
|
/**
|
|
2030
|
+
* @public
|
|
1862
2031
|
* <p>
|
|
1863
2032
|
* The versions of the package you want to dispose.
|
|
1864
2033
|
* </p>
|
|
1865
2034
|
*/
|
|
1866
2035
|
versions: string[] | undefined;
|
|
1867
2036
|
/**
|
|
2037
|
+
* @public
|
|
1868
2038
|
* <p>
|
|
1869
2039
|
* The revisions of the package versions you want to dispose.
|
|
1870
2040
|
* </p>
|
|
1871
2041
|
*/
|
|
1872
2042
|
versionRevisions?: Record<string, string>;
|
|
1873
2043
|
/**
|
|
2044
|
+
* @public
|
|
1874
2045
|
* <p>
|
|
1875
2046
|
* The expected status of the package version to dispose.
|
|
1876
2047
|
* </p>
|
|
@@ -1882,12 +2053,14 @@ export interface DisposePackageVersionsRequest {
|
|
|
1882
2053
|
*/
|
|
1883
2054
|
export interface DisposePackageVersionsResult {
|
|
1884
2055
|
/**
|
|
2056
|
+
* @public
|
|
1885
2057
|
* <p>
|
|
1886
2058
|
* A list of the package versions that were successfully disposed.
|
|
1887
2059
|
* </p>
|
|
1888
2060
|
*/
|
|
1889
2061
|
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
1890
2062
|
/**
|
|
2063
|
+
* @public
|
|
1891
2064
|
* <p>
|
|
1892
2065
|
* A <code>PackageVersionError</code> object that contains a map of errors codes for the
|
|
1893
2066
|
* disposed package versions that failed. The possible error codes are:
|
|
@@ -1932,12 +2105,14 @@ export interface DisposePackageVersionsResult {
|
|
|
1932
2105
|
*/
|
|
1933
2106
|
export interface GetAuthorizationTokenRequest {
|
|
1934
2107
|
/**
|
|
2108
|
+
* @public
|
|
1935
2109
|
* <p>
|
|
1936
2110
|
* The name of the domain that is in scope for the generated authorization token.
|
|
1937
2111
|
* </p>
|
|
1938
2112
|
*/
|
|
1939
2113
|
domain: string | undefined;
|
|
1940
2114
|
/**
|
|
2115
|
+
* @public
|
|
1941
2116
|
* <p>
|
|
1942
2117
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1943
2118
|
* dashes or spaces.
|
|
@@ -1945,6 +2120,7 @@ export interface GetAuthorizationTokenRequest {
|
|
|
1945
2120
|
*/
|
|
1946
2121
|
domainOwner?: string;
|
|
1947
2122
|
/**
|
|
2123
|
+
* @public
|
|
1948
2124
|
* <p>The time, in seconds, that the generated authorization token is valid. Valid values are
|
|
1949
2125
|
* <code>0</code> and any number between <code>900</code> (15 minutes) and <code>43200</code> (12 hours).
|
|
1950
2126
|
* A value of <code>0</code> will set the expiration of the authorization token to the same expiration of
|
|
@@ -1957,12 +2133,14 @@ export interface GetAuthorizationTokenRequest {
|
|
|
1957
2133
|
*/
|
|
1958
2134
|
export interface GetAuthorizationTokenResult {
|
|
1959
2135
|
/**
|
|
2136
|
+
* @public
|
|
1960
2137
|
* <p>
|
|
1961
2138
|
* The returned authentication token.
|
|
1962
2139
|
* </p>
|
|
1963
2140
|
*/
|
|
1964
2141
|
authorizationToken?: string;
|
|
1965
2142
|
/**
|
|
2143
|
+
* @public
|
|
1966
2144
|
* <p>
|
|
1967
2145
|
* A timestamp that specifies the date and time the authorization token expires.
|
|
1968
2146
|
* </p>
|
|
@@ -1974,12 +2152,14 @@ export interface GetAuthorizationTokenResult {
|
|
|
1974
2152
|
*/
|
|
1975
2153
|
export interface GetDomainPermissionsPolicyRequest {
|
|
1976
2154
|
/**
|
|
2155
|
+
* @public
|
|
1977
2156
|
* <p>
|
|
1978
2157
|
* The name of the domain to which the resource policy is attached.
|
|
1979
2158
|
* </p>
|
|
1980
2159
|
*/
|
|
1981
2160
|
domain: string | undefined;
|
|
1982
2161
|
/**
|
|
2162
|
+
* @public
|
|
1983
2163
|
* <p>
|
|
1984
2164
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
1985
2165
|
* dashes or spaces.
|
|
@@ -1992,6 +2172,7 @@ export interface GetDomainPermissionsPolicyRequest {
|
|
|
1992
2172
|
*/
|
|
1993
2173
|
export interface GetDomainPermissionsPolicyResult {
|
|
1994
2174
|
/**
|
|
2175
|
+
* @public
|
|
1995
2176
|
* <p>
|
|
1996
2177
|
* The returned resource policy.
|
|
1997
2178
|
* </p>
|
|
@@ -2003,12 +2184,14 @@ export interface GetDomainPermissionsPolicyResult {
|
|
|
2003
2184
|
*/
|
|
2004
2185
|
export interface GetPackageVersionAssetRequest {
|
|
2005
2186
|
/**
|
|
2187
|
+
* @public
|
|
2006
2188
|
* <p>
|
|
2007
2189
|
* The name of the domain that contains the repository that contains the package version with the requested asset.
|
|
2008
2190
|
* </p>
|
|
2009
2191
|
*/
|
|
2010
2192
|
domain: string | undefined;
|
|
2011
2193
|
/**
|
|
2194
|
+
* @public
|
|
2012
2195
|
* <p>
|
|
2013
2196
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2014
2197
|
* dashes or spaces.
|
|
@@ -2016,18 +2199,21 @@ export interface GetPackageVersionAssetRequest {
|
|
|
2016
2199
|
*/
|
|
2017
2200
|
domainOwner?: string;
|
|
2018
2201
|
/**
|
|
2202
|
+
* @public
|
|
2019
2203
|
* <p>
|
|
2020
2204
|
* The repository that contains the package version with the requested asset.
|
|
2021
2205
|
* </p>
|
|
2022
2206
|
*/
|
|
2023
2207
|
repository: string | undefined;
|
|
2024
2208
|
/**
|
|
2209
|
+
* @public
|
|
2025
2210
|
* <p>
|
|
2026
2211
|
* A format that specifies the type of the package version with the requested asset file.
|
|
2027
2212
|
* </p>
|
|
2028
2213
|
*/
|
|
2029
2214
|
format: PackageFormat | string | undefined;
|
|
2030
2215
|
/**
|
|
2216
|
+
* @public
|
|
2031
2217
|
* <p>The namespace of the package version with the requested asset file. The package version component that specifies its
|
|
2032
2218
|
* namespace depends on its type. For example:</p>
|
|
2033
2219
|
* <ul>
|
|
@@ -2054,24 +2240,28 @@ export interface GetPackageVersionAssetRequest {
|
|
|
2054
2240
|
*/
|
|
2055
2241
|
namespace?: string;
|
|
2056
2242
|
/**
|
|
2243
|
+
* @public
|
|
2057
2244
|
* <p>
|
|
2058
2245
|
* The name of the package that contains the requested asset.
|
|
2059
2246
|
* </p>
|
|
2060
2247
|
*/
|
|
2061
2248
|
package: string | undefined;
|
|
2062
2249
|
/**
|
|
2250
|
+
* @public
|
|
2063
2251
|
* <p>
|
|
2064
2252
|
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2065
2253
|
* </p>
|
|
2066
2254
|
*/
|
|
2067
2255
|
packageVersion: string | undefined;
|
|
2068
2256
|
/**
|
|
2257
|
+
* @public
|
|
2069
2258
|
* <p>
|
|
2070
2259
|
* The name of the requested asset.
|
|
2071
2260
|
* </p>
|
|
2072
2261
|
*/
|
|
2073
2262
|
asset: string | undefined;
|
|
2074
2263
|
/**
|
|
2264
|
+
* @public
|
|
2075
2265
|
* <p>
|
|
2076
2266
|
* The name of the package version revision that contains the requested asset.
|
|
2077
2267
|
* </p>
|
|
@@ -2083,22 +2273,26 @@ export interface GetPackageVersionAssetRequest {
|
|
|
2083
2273
|
*/
|
|
2084
2274
|
export interface GetPackageVersionAssetResult {
|
|
2085
2275
|
/**
|
|
2276
|
+
* @public
|
|
2086
2277
|
* <p> The binary file, or asset, that is downloaded.</p>
|
|
2087
2278
|
*/
|
|
2088
2279
|
asset?: StreamingBlobTypes;
|
|
2089
2280
|
/**
|
|
2281
|
+
* @public
|
|
2090
2282
|
* <p>
|
|
2091
2283
|
* The name of the asset that is downloaded.
|
|
2092
2284
|
* </p>
|
|
2093
2285
|
*/
|
|
2094
2286
|
assetName?: string;
|
|
2095
2287
|
/**
|
|
2288
|
+
* @public
|
|
2096
2289
|
* <p>
|
|
2097
2290
|
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2098
2291
|
* </p>
|
|
2099
2292
|
*/
|
|
2100
2293
|
packageVersion?: string;
|
|
2101
2294
|
/**
|
|
2295
|
+
* @public
|
|
2102
2296
|
* <p>
|
|
2103
2297
|
* The name of the package version revision that contains the downloaded asset.
|
|
2104
2298
|
* </p>
|
|
@@ -2110,12 +2304,14 @@ export interface GetPackageVersionAssetResult {
|
|
|
2110
2304
|
*/
|
|
2111
2305
|
export interface GetPackageVersionReadmeRequest {
|
|
2112
2306
|
/**
|
|
2307
|
+
* @public
|
|
2113
2308
|
* <p>
|
|
2114
2309
|
* The name of the domain that contains the repository that contains the package version with the requested readme file.
|
|
2115
2310
|
* </p>
|
|
2116
2311
|
*/
|
|
2117
2312
|
domain: string | undefined;
|
|
2118
2313
|
/**
|
|
2314
|
+
* @public
|
|
2119
2315
|
* <p>
|
|
2120
2316
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2121
2317
|
* dashes or spaces.
|
|
@@ -2123,18 +2319,21 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
2123
2319
|
*/
|
|
2124
2320
|
domainOwner?: string;
|
|
2125
2321
|
/**
|
|
2322
|
+
* @public
|
|
2126
2323
|
* <p>
|
|
2127
2324
|
* The repository that contains the package with the requested readme file.
|
|
2128
2325
|
* </p>
|
|
2129
2326
|
*/
|
|
2130
2327
|
repository: string | undefined;
|
|
2131
2328
|
/**
|
|
2329
|
+
* @public
|
|
2132
2330
|
* <p>
|
|
2133
2331
|
* A format that specifies the type of the package version with the requested readme file.
|
|
2134
2332
|
* </p>
|
|
2135
2333
|
*/
|
|
2136
2334
|
format: PackageFormat | string | undefined;
|
|
2137
2335
|
/**
|
|
2336
|
+
* @public
|
|
2138
2337
|
* <p>The namespace of the package version with the requested readme file. The package version component that specifies its
|
|
2139
2338
|
* namespace depends on its type. For example:</p>
|
|
2140
2339
|
* <ul>
|
|
@@ -2149,12 +2348,14 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
2149
2348
|
*/
|
|
2150
2349
|
namespace?: string;
|
|
2151
2350
|
/**
|
|
2351
|
+
* @public
|
|
2152
2352
|
* <p>
|
|
2153
2353
|
* The name of the package version that contains the requested readme file.
|
|
2154
2354
|
* </p>
|
|
2155
2355
|
*/
|
|
2156
2356
|
package: string | undefined;
|
|
2157
2357
|
/**
|
|
2358
|
+
* @public
|
|
2158
2359
|
* <p>
|
|
2159
2360
|
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2160
2361
|
* </p>
|
|
@@ -2166,12 +2367,14 @@ export interface GetPackageVersionReadmeRequest {
|
|
|
2166
2367
|
*/
|
|
2167
2368
|
export interface GetPackageVersionReadmeResult {
|
|
2168
2369
|
/**
|
|
2370
|
+
* @public
|
|
2169
2371
|
* <p>
|
|
2170
2372
|
* The format of the package with the requested readme file.
|
|
2171
2373
|
* </p>
|
|
2172
2374
|
*/
|
|
2173
2375
|
format?: PackageFormat | string;
|
|
2174
2376
|
/**
|
|
2377
|
+
* @public
|
|
2175
2378
|
* <p>The namespace of the package version with the requested readme file. The package version component that specifies its
|
|
2176
2379
|
* namespace depends on its type. For example:</p>
|
|
2177
2380
|
* <ul>
|
|
@@ -2195,24 +2398,28 @@ export interface GetPackageVersionReadmeResult {
|
|
|
2195
2398
|
*/
|
|
2196
2399
|
namespace?: string;
|
|
2197
2400
|
/**
|
|
2401
|
+
* @public
|
|
2198
2402
|
* <p>
|
|
2199
2403
|
* The name of the package that contains the returned readme file.
|
|
2200
2404
|
* </p>
|
|
2201
2405
|
*/
|
|
2202
2406
|
package?: string;
|
|
2203
2407
|
/**
|
|
2408
|
+
* @public
|
|
2204
2409
|
* <p>
|
|
2205
2410
|
* The version of the package with the requested readme file.
|
|
2206
2411
|
* </p>
|
|
2207
2412
|
*/
|
|
2208
2413
|
version?: string;
|
|
2209
2414
|
/**
|
|
2415
|
+
* @public
|
|
2210
2416
|
* <p>
|
|
2211
2417
|
* The current revision associated with the package version.
|
|
2212
2418
|
* </p>
|
|
2213
2419
|
*/
|
|
2214
2420
|
versionRevision?: string;
|
|
2215
2421
|
/**
|
|
2422
|
+
* @public
|
|
2216
2423
|
* <p>
|
|
2217
2424
|
* The text of the returned readme file.
|
|
2218
2425
|
* </p>
|
|
@@ -2224,12 +2431,14 @@ export interface GetPackageVersionReadmeResult {
|
|
|
2224
2431
|
*/
|
|
2225
2432
|
export interface GetRepositoryEndpointRequest {
|
|
2226
2433
|
/**
|
|
2434
|
+
* @public
|
|
2227
2435
|
* <p>
|
|
2228
2436
|
* The name of the domain that contains the repository.
|
|
2229
2437
|
* </p>
|
|
2230
2438
|
*/
|
|
2231
2439
|
domain: string | undefined;
|
|
2232
2440
|
/**
|
|
2441
|
+
* @public
|
|
2233
2442
|
* <p>
|
|
2234
2443
|
* The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include
|
|
2235
2444
|
* dashes or spaces.
|
|
@@ -2237,12 +2446,14 @@ export interface GetRepositoryEndpointRequest {
|
|
|
2237
2446
|
*/
|
|
2238
2447
|
domainOwner?: string;
|
|
2239
2448
|
/**
|
|
2449
|
+
* @public
|
|
2240
2450
|
* <p>
|
|
2241
2451
|
* The name of the repository.
|
|
2242
2452
|
* </p>
|
|
2243
2453
|
*/
|
|
2244
2454
|
repository: string | undefined;
|
|
2245
2455
|
/**
|
|
2456
|
+
* @public
|
|
2246
2457
|
* <p>
|
|
2247
2458
|
* Returns which endpoint of a repository to return. A repository has one endpoint for each
|
|
2248
2459
|
* package format.
|
|
@@ -2255,6 +2466,7 @@ export interface GetRepositoryEndpointRequest {
|
|
|
2255
2466
|
*/
|
|
2256
2467
|
export interface GetRepositoryEndpointResult {
|
|
2257
2468
|
/**
|
|
2469
|
+
* @public
|
|
2258
2470
|
* <p>
|
|
2259
2471
|
* A string that specifies the URL of the returned endpoint.
|
|
2260
2472
|
* </p>
|
|
@@ -2266,12 +2478,14 @@ export interface GetRepositoryEndpointResult {
|
|
|
2266
2478
|
*/
|
|
2267
2479
|
export interface GetRepositoryPermissionsPolicyRequest {
|
|
2268
2480
|
/**
|
|
2481
|
+
* @public
|
|
2269
2482
|
* <p>
|
|
2270
2483
|
* The name of the domain containing the repository whose associated resource policy is to be retrieved.
|
|
2271
2484
|
* </p>
|
|
2272
2485
|
*/
|
|
2273
2486
|
domain: string | undefined;
|
|
2274
2487
|
/**
|
|
2488
|
+
* @public
|
|
2275
2489
|
* <p>
|
|
2276
2490
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2277
2491
|
* dashes or spaces.
|
|
@@ -2279,6 +2493,7 @@ export interface GetRepositoryPermissionsPolicyRequest {
|
|
|
2279
2493
|
*/
|
|
2280
2494
|
domainOwner?: string;
|
|
2281
2495
|
/**
|
|
2496
|
+
* @public
|
|
2282
2497
|
* <p>
|
|
2283
2498
|
* The name of the repository whose associated resource policy is to be retrieved.
|
|
2284
2499
|
* </p>
|
|
@@ -2290,6 +2505,7 @@ export interface GetRepositoryPermissionsPolicyRequest {
|
|
|
2290
2505
|
*/
|
|
2291
2506
|
export interface GetRepositoryPermissionsPolicyResult {
|
|
2292
2507
|
/**
|
|
2508
|
+
* @public
|
|
2293
2509
|
* <p>
|
|
2294
2510
|
* The returned resource policy.
|
|
2295
2511
|
* </p>
|
|
@@ -2301,12 +2517,14 @@ export interface GetRepositoryPermissionsPolicyResult {
|
|
|
2301
2517
|
*/
|
|
2302
2518
|
export interface ListDomainsRequest {
|
|
2303
2519
|
/**
|
|
2520
|
+
* @public
|
|
2304
2521
|
* <p>
|
|
2305
2522
|
* The maximum number of results to return per page.
|
|
2306
2523
|
* </p>
|
|
2307
2524
|
*/
|
|
2308
2525
|
maxResults?: number;
|
|
2309
2526
|
/**
|
|
2527
|
+
* @public
|
|
2310
2528
|
* <p>
|
|
2311
2529
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2312
2530
|
* </p>
|
|
@@ -2321,12 +2539,14 @@ export interface ListDomainsRequest {
|
|
|
2321
2539
|
*/
|
|
2322
2540
|
export interface DomainSummary {
|
|
2323
2541
|
/**
|
|
2542
|
+
* @public
|
|
2324
2543
|
* <p>
|
|
2325
2544
|
* The name of the domain.
|
|
2326
2545
|
* </p>
|
|
2327
2546
|
*/
|
|
2328
2547
|
name?: string;
|
|
2329
2548
|
/**
|
|
2549
|
+
* @public
|
|
2330
2550
|
* <p>
|
|
2331
2551
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2332
2552
|
* dashes or spaces.
|
|
@@ -2334,24 +2554,28 @@ export interface DomainSummary {
|
|
|
2334
2554
|
*/
|
|
2335
2555
|
owner?: string;
|
|
2336
2556
|
/**
|
|
2557
|
+
* @public
|
|
2337
2558
|
* <p>
|
|
2338
2559
|
* The ARN of the domain.
|
|
2339
2560
|
* </p>
|
|
2340
2561
|
*/
|
|
2341
2562
|
arn?: string;
|
|
2342
2563
|
/**
|
|
2564
|
+
* @public
|
|
2343
2565
|
* <p>
|
|
2344
2566
|
* A string that contains the status of the domain.
|
|
2345
2567
|
* </p>
|
|
2346
2568
|
*/
|
|
2347
2569
|
status?: DomainStatus | string;
|
|
2348
2570
|
/**
|
|
2571
|
+
* @public
|
|
2349
2572
|
* <p>
|
|
2350
2573
|
* A timestamp that contains the date and time the domain was created.
|
|
2351
2574
|
* </p>
|
|
2352
2575
|
*/
|
|
2353
2576
|
createdTime?: Date;
|
|
2354
2577
|
/**
|
|
2578
|
+
* @public
|
|
2355
2579
|
* <p>
|
|
2356
2580
|
* The key used to encrypt the domain.
|
|
2357
2581
|
* </p>
|
|
@@ -2363,12 +2587,14 @@ export interface DomainSummary {
|
|
|
2363
2587
|
*/
|
|
2364
2588
|
export interface ListDomainsResult {
|
|
2365
2589
|
/**
|
|
2590
|
+
* @public
|
|
2366
2591
|
* <p>
|
|
2367
2592
|
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainSummary.html">DomainSummary</a> objects.
|
|
2368
2593
|
* </p>
|
|
2369
2594
|
*/
|
|
2370
2595
|
domains?: DomainSummary[];
|
|
2371
2596
|
/**
|
|
2597
|
+
* @public
|
|
2372
2598
|
* <p>
|
|
2373
2599
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2374
2600
|
* </p>
|
|
@@ -2380,12 +2606,14 @@ export interface ListDomainsResult {
|
|
|
2380
2606
|
*/
|
|
2381
2607
|
export interface ListPackagesRequest {
|
|
2382
2608
|
/**
|
|
2609
|
+
* @public
|
|
2383
2610
|
* <p>
|
|
2384
2611
|
* The name of the domain that contains the repository that contains the requested packages.
|
|
2385
2612
|
* </p>
|
|
2386
2613
|
*/
|
|
2387
2614
|
domain: string | undefined;
|
|
2388
2615
|
/**
|
|
2616
|
+
* @public
|
|
2389
2617
|
* <p>
|
|
2390
2618
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2391
2619
|
* dashes or spaces.
|
|
@@ -2393,16 +2621,19 @@ export interface ListPackagesRequest {
|
|
|
2393
2621
|
*/
|
|
2394
2622
|
domainOwner?: string;
|
|
2395
2623
|
/**
|
|
2624
|
+
* @public
|
|
2396
2625
|
* <p>
|
|
2397
2626
|
* The name of the repository that contains the requested packages.
|
|
2398
2627
|
* </p>
|
|
2399
2628
|
*/
|
|
2400
2629
|
repository: string | undefined;
|
|
2401
2630
|
/**
|
|
2631
|
+
* @public
|
|
2402
2632
|
* <p>The format used to filter requested packages. Only packages from the provided format will be returned.</p>
|
|
2403
2633
|
*/
|
|
2404
2634
|
format?: PackageFormat | string;
|
|
2405
2635
|
/**
|
|
2636
|
+
* @public
|
|
2406
2637
|
* <p>The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called <code>--namespace</code> and not <code>--namespace-prefix</code>, it has prefix-matching behavior.</p>
|
|
2407
2638
|
* <p>Each package format uses namespace as follows:</p>
|
|
2408
2639
|
* <ul>
|
|
@@ -2429,6 +2660,7 @@ export interface ListPackagesRequest {
|
|
|
2429
2660
|
*/
|
|
2430
2661
|
namespace?: string;
|
|
2431
2662
|
/**
|
|
2663
|
+
* @public
|
|
2432
2664
|
* <p>
|
|
2433
2665
|
* A prefix used to filter requested packages. Only packages with names that start with
|
|
2434
2666
|
* <code>packagePrefix</code> are returned.
|
|
@@ -2436,24 +2668,28 @@ export interface ListPackagesRequest {
|
|
|
2436
2668
|
*/
|
|
2437
2669
|
packagePrefix?: string;
|
|
2438
2670
|
/**
|
|
2671
|
+
* @public
|
|
2439
2672
|
* <p>
|
|
2440
2673
|
* The maximum number of results to return per page.
|
|
2441
2674
|
* </p>
|
|
2442
2675
|
*/
|
|
2443
2676
|
maxResults?: number;
|
|
2444
2677
|
/**
|
|
2678
|
+
* @public
|
|
2445
2679
|
* <p>
|
|
2446
2680
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2447
2681
|
* </p>
|
|
2448
2682
|
*/
|
|
2449
2683
|
nextToken?: string;
|
|
2450
2684
|
/**
|
|
2685
|
+
* @public
|
|
2451
2686
|
* <p>The value of the <code>Publish</code> package origin control restriction used to filter requested packages.
|
|
2452
2687
|
* Only packages with the provided restriction are returned.
|
|
2453
2688
|
* For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>.</p>
|
|
2454
2689
|
*/
|
|
2455
2690
|
publish?: AllowPublish | string;
|
|
2456
2691
|
/**
|
|
2692
|
+
* @public
|
|
2457
2693
|
* <p>The value of the <code>Upstream</code> package origin control restriction used to filter requested packages.
|
|
2458
2694
|
* 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>
|
|
2459
2695
|
*/
|
|
@@ -2464,6 +2700,7 @@ export interface ListPackagesRequest {
|
|
|
2464
2700
|
*/
|
|
2465
2701
|
export interface ListPackagesResult {
|
|
2466
2702
|
/**
|
|
2703
|
+
* @public
|
|
2467
2704
|
* <p>
|
|
2468
2705
|
* The list of returned <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html">PackageSummary</a>
|
|
2469
2706
|
* objects.
|
|
@@ -2471,6 +2708,7 @@ export interface ListPackagesResult {
|
|
|
2471
2708
|
*/
|
|
2472
2709
|
packages?: PackageSummary[];
|
|
2473
2710
|
/**
|
|
2711
|
+
* @public
|
|
2474
2712
|
* <p>
|
|
2475
2713
|
* If there are additional results, this is the token for the next set of results.
|
|
2476
2714
|
* </p>
|
|
@@ -2482,12 +2720,14 @@ export interface ListPackagesResult {
|
|
|
2482
2720
|
*/
|
|
2483
2721
|
export interface ListPackageVersionAssetsRequest {
|
|
2484
2722
|
/**
|
|
2723
|
+
* @public
|
|
2485
2724
|
* <p>
|
|
2486
2725
|
* The name of the domain that contains the repository associated with the package version assets.
|
|
2487
2726
|
* </p>
|
|
2488
2727
|
*/
|
|
2489
2728
|
domain: string | undefined;
|
|
2490
2729
|
/**
|
|
2730
|
+
* @public
|
|
2491
2731
|
* <p>
|
|
2492
2732
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2493
2733
|
* dashes or spaces.
|
|
@@ -2495,18 +2735,21 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2495
2735
|
*/
|
|
2496
2736
|
domainOwner?: string;
|
|
2497
2737
|
/**
|
|
2738
|
+
* @public
|
|
2498
2739
|
* <p>
|
|
2499
2740
|
* The name of the repository that contains the package that contains the requested package version assets.
|
|
2500
2741
|
* </p>
|
|
2501
2742
|
*/
|
|
2502
2743
|
repository: string | undefined;
|
|
2503
2744
|
/**
|
|
2745
|
+
* @public
|
|
2504
2746
|
* <p>
|
|
2505
2747
|
* The format of the package that contains the requested package version assets.
|
|
2506
2748
|
* </p>
|
|
2507
2749
|
*/
|
|
2508
2750
|
format: PackageFormat | string | undefined;
|
|
2509
2751
|
/**
|
|
2752
|
+
* @public
|
|
2510
2753
|
* <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
|
|
2511
2754
|
* namespace depends on its type. For example:</p>
|
|
2512
2755
|
* <ul>
|
|
@@ -2533,24 +2776,28 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2533
2776
|
*/
|
|
2534
2777
|
namespace?: string;
|
|
2535
2778
|
/**
|
|
2779
|
+
* @public
|
|
2536
2780
|
* <p>
|
|
2537
2781
|
* The name of the package that contains the requested package version assets.
|
|
2538
2782
|
* </p>
|
|
2539
2783
|
*/
|
|
2540
2784
|
package: string | undefined;
|
|
2541
2785
|
/**
|
|
2786
|
+
* @public
|
|
2542
2787
|
* <p>
|
|
2543
2788
|
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2544
2789
|
* </p>
|
|
2545
2790
|
*/
|
|
2546
2791
|
packageVersion: string | undefined;
|
|
2547
2792
|
/**
|
|
2793
|
+
* @public
|
|
2548
2794
|
* <p>
|
|
2549
2795
|
* The maximum number of results to return per page.
|
|
2550
2796
|
* </p>
|
|
2551
2797
|
*/
|
|
2552
2798
|
maxResults?: number;
|
|
2553
2799
|
/**
|
|
2800
|
+
* @public
|
|
2554
2801
|
* <p>
|
|
2555
2802
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2556
2803
|
* </p>
|
|
@@ -2562,12 +2809,14 @@ export interface ListPackageVersionAssetsRequest {
|
|
|
2562
2809
|
*/
|
|
2563
2810
|
export interface ListPackageVersionAssetsResult {
|
|
2564
2811
|
/**
|
|
2812
|
+
* @public
|
|
2565
2813
|
* <p>
|
|
2566
2814
|
* The format of the package that contains the requested package version assets.
|
|
2567
2815
|
* </p>
|
|
2568
2816
|
*/
|
|
2569
2817
|
format?: PackageFormat | string;
|
|
2570
2818
|
/**
|
|
2819
|
+
* @public
|
|
2571
2820
|
* <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
|
|
2572
2821
|
* namespace depends on its type. For example:</p>
|
|
2573
2822
|
* <ul>
|
|
@@ -2591,30 +2840,35 @@ export interface ListPackageVersionAssetsResult {
|
|
|
2591
2840
|
*/
|
|
2592
2841
|
namespace?: string;
|
|
2593
2842
|
/**
|
|
2843
|
+
* @public
|
|
2594
2844
|
* <p>
|
|
2595
2845
|
* The name of the package that contains the requested package version assets.
|
|
2596
2846
|
* </p>
|
|
2597
2847
|
*/
|
|
2598
2848
|
package?: string;
|
|
2599
2849
|
/**
|
|
2850
|
+
* @public
|
|
2600
2851
|
* <p>
|
|
2601
2852
|
* The version of the package associated with the requested assets.
|
|
2602
2853
|
* </p>
|
|
2603
2854
|
*/
|
|
2604
2855
|
version?: string;
|
|
2605
2856
|
/**
|
|
2857
|
+
* @public
|
|
2606
2858
|
* <p>
|
|
2607
2859
|
* The current revision associated with the package version.
|
|
2608
2860
|
* </p>
|
|
2609
2861
|
*/
|
|
2610
2862
|
versionRevision?: string;
|
|
2611
2863
|
/**
|
|
2864
|
+
* @public
|
|
2612
2865
|
* <p>
|
|
2613
2866
|
* If there are additional results, this is the token for the next set of results.
|
|
2614
2867
|
* </p>
|
|
2615
2868
|
*/
|
|
2616
2869
|
nextToken?: string;
|
|
2617
2870
|
/**
|
|
2871
|
+
* @public
|
|
2618
2872
|
* <p>
|
|
2619
2873
|
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> objects.
|
|
2620
2874
|
* </p>
|
|
@@ -2626,12 +2880,14 @@ export interface ListPackageVersionAssetsResult {
|
|
|
2626
2880
|
*/
|
|
2627
2881
|
export interface ListPackageVersionDependenciesRequest {
|
|
2628
2882
|
/**
|
|
2883
|
+
* @public
|
|
2629
2884
|
* <p>
|
|
2630
2885
|
* The name of the domain that contains the repository that contains the requested package version dependencies.
|
|
2631
2886
|
* </p>
|
|
2632
2887
|
*/
|
|
2633
2888
|
domain: string | undefined;
|
|
2634
2889
|
/**
|
|
2890
|
+
* @public
|
|
2635
2891
|
* <p>
|
|
2636
2892
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2637
2893
|
* dashes or spaces.
|
|
@@ -2639,18 +2895,21 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2639
2895
|
*/
|
|
2640
2896
|
domainOwner?: string;
|
|
2641
2897
|
/**
|
|
2898
|
+
* @public
|
|
2642
2899
|
* <p>
|
|
2643
2900
|
* The name of the repository that contains the requested package version.
|
|
2644
2901
|
* </p>
|
|
2645
2902
|
*/
|
|
2646
2903
|
repository: string | undefined;
|
|
2647
2904
|
/**
|
|
2905
|
+
* @public
|
|
2648
2906
|
* <p>
|
|
2649
2907
|
* The format of the package with the requested dependencies.
|
|
2650
2908
|
* </p>
|
|
2651
2909
|
*/
|
|
2652
2910
|
format: PackageFormat | string | undefined;
|
|
2653
2911
|
/**
|
|
2912
|
+
* @public
|
|
2654
2913
|
* <p>The namespace of the package version with the requested dependencies. The package version component that specifies its
|
|
2655
2914
|
* namespace depends on its type. For example:</p>
|
|
2656
2915
|
* <ul>
|
|
@@ -2677,18 +2936,21 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2677
2936
|
*/
|
|
2678
2937
|
namespace?: string;
|
|
2679
2938
|
/**
|
|
2939
|
+
* @public
|
|
2680
2940
|
* <p>
|
|
2681
2941
|
* The name of the package versions' package.
|
|
2682
2942
|
* </p>
|
|
2683
2943
|
*/
|
|
2684
2944
|
package: string | undefined;
|
|
2685
2945
|
/**
|
|
2946
|
+
* @public
|
|
2686
2947
|
* <p>
|
|
2687
2948
|
* A string that contains the package version (for example, <code>3.5.2</code>).
|
|
2688
2949
|
* </p>
|
|
2689
2950
|
*/
|
|
2690
2951
|
packageVersion: string | undefined;
|
|
2691
2952
|
/**
|
|
2953
|
+
* @public
|
|
2692
2954
|
* <p>
|
|
2693
2955
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2694
2956
|
* </p>
|
|
@@ -2703,6 +2965,7 @@ export interface ListPackageVersionDependenciesRequest {
|
|
|
2703
2965
|
*/
|
|
2704
2966
|
export interface PackageDependency {
|
|
2705
2967
|
/**
|
|
2968
|
+
* @public
|
|
2706
2969
|
* <p>The namespace of the package that this package depends on. The package component that specifies its
|
|
2707
2970
|
* namespace depends on its type. For example:</p>
|
|
2708
2971
|
* <ul>
|
|
@@ -2726,12 +2989,14 @@ export interface PackageDependency {
|
|
|
2726
2989
|
*/
|
|
2727
2990
|
namespace?: string;
|
|
2728
2991
|
/**
|
|
2992
|
+
* @public
|
|
2729
2993
|
* <p>
|
|
2730
2994
|
* The name of the package that this package depends on.
|
|
2731
2995
|
* </p>
|
|
2732
2996
|
*/
|
|
2733
2997
|
package?: string;
|
|
2734
2998
|
/**
|
|
2999
|
+
* @public
|
|
2735
3000
|
* <p> The type of a package dependency. The possible values depend on the package type.</p>
|
|
2736
3001
|
* <ul>
|
|
2737
3002
|
* <li>
|
|
@@ -2755,6 +3020,7 @@ export interface PackageDependency {
|
|
|
2755
3020
|
*/
|
|
2756
3021
|
dependencyType?: string;
|
|
2757
3022
|
/**
|
|
3023
|
+
* @public
|
|
2758
3024
|
* <p>
|
|
2759
3025
|
* The required version, or version range, of the package that this package depends on. The version format
|
|
2760
3026
|
* is specific to the package type. For example, the following are possible valid required versions: <code>1.2.3</code>,
|
|
@@ -2768,12 +3034,14 @@ export interface PackageDependency {
|
|
|
2768
3034
|
*/
|
|
2769
3035
|
export interface ListPackageVersionDependenciesResult {
|
|
2770
3036
|
/**
|
|
3037
|
+
* @public
|
|
2771
3038
|
* <p>
|
|
2772
3039
|
* A format that specifies the type of the package that contains the returned dependencies.
|
|
2773
3040
|
* </p>
|
|
2774
3041
|
*/
|
|
2775
3042
|
format?: PackageFormat | string;
|
|
2776
3043
|
/**
|
|
3044
|
+
* @public
|
|
2777
3045
|
* <p>The namespace of the package version that contains the returned dependencies. The package version component that specifies its
|
|
2778
3046
|
* namespace depends on its type. For example:</p>
|
|
2779
3047
|
* <ul>
|
|
@@ -2797,30 +3065,35 @@ export interface ListPackageVersionDependenciesResult {
|
|
|
2797
3065
|
*/
|
|
2798
3066
|
namespace?: string;
|
|
2799
3067
|
/**
|
|
3068
|
+
* @public
|
|
2800
3069
|
* <p>
|
|
2801
3070
|
* The name of the package that contains the returned package versions dependencies.
|
|
2802
3071
|
* </p>
|
|
2803
3072
|
*/
|
|
2804
3073
|
package?: string;
|
|
2805
3074
|
/**
|
|
3075
|
+
* @public
|
|
2806
3076
|
* <p>
|
|
2807
3077
|
* The version of the package that is specified in the request.
|
|
2808
3078
|
* </p>
|
|
2809
3079
|
*/
|
|
2810
3080
|
version?: string;
|
|
2811
3081
|
/**
|
|
3082
|
+
* @public
|
|
2812
3083
|
* <p>
|
|
2813
3084
|
* The current revision associated with the package version.
|
|
2814
3085
|
* </p>
|
|
2815
3086
|
*/
|
|
2816
3087
|
versionRevision?: string;
|
|
2817
3088
|
/**
|
|
3089
|
+
* @public
|
|
2818
3090
|
* <p>
|
|
2819
3091
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2820
3092
|
* </p>
|
|
2821
3093
|
*/
|
|
2822
3094
|
nextToken?: string;
|
|
2823
3095
|
/**
|
|
3096
|
+
* @public
|
|
2824
3097
|
* <p>
|
|
2825
3098
|
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html">PackageDependency</a> objects.
|
|
2826
3099
|
* </p>
|
|
@@ -2843,12 +3116,14 @@ export type PackageVersionSortType = (typeof PackageVersionSortType)[keyof typeo
|
|
|
2843
3116
|
*/
|
|
2844
3117
|
export interface ListPackageVersionsRequest {
|
|
2845
3118
|
/**
|
|
3119
|
+
* @public
|
|
2846
3120
|
* <p>
|
|
2847
3121
|
* The name of the domain that contains the repository that contains the requested package versions.
|
|
2848
3122
|
* </p>
|
|
2849
3123
|
*/
|
|
2850
3124
|
domain: string | undefined;
|
|
2851
3125
|
/**
|
|
3126
|
+
* @public
|
|
2852
3127
|
* <p>
|
|
2853
3128
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
2854
3129
|
* dashes or spaces.
|
|
@@ -2856,18 +3131,21 @@ export interface ListPackageVersionsRequest {
|
|
|
2856
3131
|
*/
|
|
2857
3132
|
domainOwner?: string;
|
|
2858
3133
|
/**
|
|
3134
|
+
* @public
|
|
2859
3135
|
* <p>
|
|
2860
3136
|
* The name of the repository that contains the requested package versions.
|
|
2861
3137
|
* </p>
|
|
2862
3138
|
*/
|
|
2863
3139
|
repository: string | undefined;
|
|
2864
3140
|
/**
|
|
3141
|
+
* @public
|
|
2865
3142
|
* <p>
|
|
2866
3143
|
* The format of the package versions you want to list.
|
|
2867
3144
|
* </p>
|
|
2868
3145
|
*/
|
|
2869
3146
|
format: PackageFormat | string | undefined;
|
|
2870
3147
|
/**
|
|
3148
|
+
* @public
|
|
2871
3149
|
* <p>The namespace of the package that contains the requested package versions. The package component that specifies its
|
|
2872
3150
|
* namespace depends on its type. For example:</p>
|
|
2873
3151
|
* <ul>
|
|
@@ -2894,36 +3172,42 @@ export interface ListPackageVersionsRequest {
|
|
|
2894
3172
|
*/
|
|
2895
3173
|
namespace?: string;
|
|
2896
3174
|
/**
|
|
3175
|
+
* @public
|
|
2897
3176
|
* <p>
|
|
2898
3177
|
* The name of the package for which you want to request package versions.
|
|
2899
3178
|
* </p>
|
|
2900
3179
|
*/
|
|
2901
3180
|
package: string | undefined;
|
|
2902
3181
|
/**
|
|
3182
|
+
* @public
|
|
2903
3183
|
* <p>
|
|
2904
3184
|
* A string that filters the requested package versions by status.
|
|
2905
3185
|
* </p>
|
|
2906
3186
|
*/
|
|
2907
3187
|
status?: PackageVersionStatus | string;
|
|
2908
3188
|
/**
|
|
3189
|
+
* @public
|
|
2909
3190
|
* <p>
|
|
2910
3191
|
* How to sort the requested list of package versions.
|
|
2911
3192
|
* </p>
|
|
2912
3193
|
*/
|
|
2913
3194
|
sortBy?: PackageVersionSortType | string;
|
|
2914
3195
|
/**
|
|
3196
|
+
* @public
|
|
2915
3197
|
* <p>
|
|
2916
3198
|
* The maximum number of results to return per page.
|
|
2917
3199
|
* </p>
|
|
2918
3200
|
*/
|
|
2919
3201
|
maxResults?: number;
|
|
2920
3202
|
/**
|
|
3203
|
+
* @public
|
|
2921
3204
|
* <p>
|
|
2922
3205
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
2923
3206
|
* </p>
|
|
2924
3207
|
*/
|
|
2925
3208
|
nextToken?: string;
|
|
2926
3209
|
/**
|
|
3210
|
+
* @public
|
|
2927
3211
|
* <p>The <code>originType</code> used to filter package versions.
|
|
2928
3212
|
* Only package versions with the provided <code>originType</code> will be returned.</p>
|
|
2929
3213
|
*/
|
|
@@ -2939,24 +3223,28 @@ export interface ListPackageVersionsRequest {
|
|
|
2939
3223
|
*/
|
|
2940
3224
|
export interface PackageVersionSummary {
|
|
2941
3225
|
/**
|
|
3226
|
+
* @public
|
|
2942
3227
|
* <p>
|
|
2943
3228
|
* Information about a package version.
|
|
2944
3229
|
* </p>
|
|
2945
3230
|
*/
|
|
2946
3231
|
version: string | undefined;
|
|
2947
3232
|
/**
|
|
3233
|
+
* @public
|
|
2948
3234
|
* <p>
|
|
2949
3235
|
* The revision associated with a package version.
|
|
2950
3236
|
* </p>
|
|
2951
3237
|
*/
|
|
2952
3238
|
revision?: string;
|
|
2953
3239
|
/**
|
|
3240
|
+
* @public
|
|
2954
3241
|
* <p>
|
|
2955
3242
|
* A string that contains the status of the package version. It can be one of the following:
|
|
2956
3243
|
* </p>
|
|
2957
3244
|
*/
|
|
2958
3245
|
status: PackageVersionStatus | string | undefined;
|
|
2959
3246
|
/**
|
|
3247
|
+
* @public
|
|
2960
3248
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains information
|
|
2961
3249
|
* about how the package version was added to the repository.</p>
|
|
2962
3250
|
*/
|
|
@@ -2967,6 +3255,7 @@ export interface PackageVersionSummary {
|
|
|
2967
3255
|
*/
|
|
2968
3256
|
export interface ListPackageVersionsResult {
|
|
2969
3257
|
/**
|
|
3258
|
+
* @public
|
|
2970
3259
|
* <p>
|
|
2971
3260
|
* The default package version to display. This depends on the package format:
|
|
2972
3261
|
* </p>
|
|
@@ -2986,12 +3275,14 @@ export interface ListPackageVersionsResult {
|
|
|
2986
3275
|
*/
|
|
2987
3276
|
defaultDisplayVersion?: string;
|
|
2988
3277
|
/**
|
|
3278
|
+
* @public
|
|
2989
3279
|
* <p>
|
|
2990
3280
|
* A format of the package.
|
|
2991
3281
|
* </p>
|
|
2992
3282
|
*/
|
|
2993
3283
|
format?: PackageFormat | string;
|
|
2994
3284
|
/**
|
|
3285
|
+
* @public
|
|
2995
3286
|
* <p>The namespace of the package that contains the requested package versions. The package component that specifies its
|
|
2996
3287
|
* namespace depends on its type. For example:</p>
|
|
2997
3288
|
* <ul>
|
|
@@ -3015,12 +3306,14 @@ export interface ListPackageVersionsResult {
|
|
|
3015
3306
|
*/
|
|
3016
3307
|
namespace?: string;
|
|
3017
3308
|
/**
|
|
3309
|
+
* @public
|
|
3018
3310
|
* <p>
|
|
3019
3311
|
* The name of the package.
|
|
3020
3312
|
* </p>
|
|
3021
3313
|
*/
|
|
3022
3314
|
package?: string;
|
|
3023
3315
|
/**
|
|
3316
|
+
* @public
|
|
3024
3317
|
* <p>
|
|
3025
3318
|
* The returned list of
|
|
3026
3319
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html">PackageVersionSummary</a>
|
|
@@ -3029,6 +3322,7 @@ export interface ListPackageVersionsResult {
|
|
|
3029
3322
|
*/
|
|
3030
3323
|
versions?: PackageVersionSummary[];
|
|
3031
3324
|
/**
|
|
3325
|
+
* @public
|
|
3032
3326
|
* <p>
|
|
3033
3327
|
* If there are additional results, this is the token for the next set of results.
|
|
3034
3328
|
* </p>
|
|
@@ -3040,17 +3334,20 @@ export interface ListPackageVersionsResult {
|
|
|
3040
3334
|
*/
|
|
3041
3335
|
export interface ListRepositoriesRequest {
|
|
3042
3336
|
/**
|
|
3337
|
+
* @public
|
|
3043
3338
|
* <p> A prefix used to filter returned repositories. Only repositories with names that start
|
|
3044
3339
|
* with <code>repositoryPrefix</code> are returned.</p>
|
|
3045
3340
|
*/
|
|
3046
3341
|
repositoryPrefix?: string;
|
|
3047
3342
|
/**
|
|
3343
|
+
* @public
|
|
3048
3344
|
* <p>
|
|
3049
3345
|
* The maximum number of results to return per page.
|
|
3050
3346
|
* </p>
|
|
3051
3347
|
*/
|
|
3052
3348
|
maxResults?: number;
|
|
3053
3349
|
/**
|
|
3350
|
+
* @public
|
|
3054
3351
|
* <p>
|
|
3055
3352
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
3056
3353
|
* </p>
|
|
@@ -3065,24 +3362,28 @@ export interface ListRepositoriesRequest {
|
|
|
3065
3362
|
*/
|
|
3066
3363
|
export interface RepositorySummary {
|
|
3067
3364
|
/**
|
|
3365
|
+
* @public
|
|
3068
3366
|
* <p>
|
|
3069
3367
|
* The name of the repository.
|
|
3070
3368
|
* </p>
|
|
3071
3369
|
*/
|
|
3072
3370
|
name?: string;
|
|
3073
3371
|
/**
|
|
3372
|
+
* @public
|
|
3074
3373
|
* <p>
|
|
3075
3374
|
* The Amazon Web Services account ID that manages the repository.
|
|
3076
3375
|
* </p>
|
|
3077
3376
|
*/
|
|
3078
3377
|
administratorAccount?: string;
|
|
3079
3378
|
/**
|
|
3379
|
+
* @public
|
|
3080
3380
|
* <p>
|
|
3081
3381
|
* The name of the domain that contains the repository.
|
|
3082
3382
|
* </p>
|
|
3083
3383
|
*/
|
|
3084
3384
|
domainName?: string;
|
|
3085
3385
|
/**
|
|
3386
|
+
* @public
|
|
3086
3387
|
* <p>
|
|
3087
3388
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3088
3389
|
* dashes or spaces.
|
|
@@ -3090,16 +3391,19 @@ export interface RepositorySummary {
|
|
|
3090
3391
|
*/
|
|
3091
3392
|
domainOwner?: string;
|
|
3092
3393
|
/**
|
|
3394
|
+
* @public
|
|
3093
3395
|
* <p> The ARN of the repository. </p>
|
|
3094
3396
|
*/
|
|
3095
3397
|
arn?: string;
|
|
3096
3398
|
/**
|
|
3399
|
+
* @public
|
|
3097
3400
|
* <p>
|
|
3098
3401
|
* The description of the repository.
|
|
3099
3402
|
* </p>
|
|
3100
3403
|
*/
|
|
3101
3404
|
description?: string;
|
|
3102
3405
|
/**
|
|
3406
|
+
* @public
|
|
3103
3407
|
* <p>A timestamp that represents the date and time the repository was created.</p>
|
|
3104
3408
|
*/
|
|
3105
3409
|
createdTime?: Date;
|
|
@@ -3109,6 +3413,7 @@ export interface RepositorySummary {
|
|
|
3109
3413
|
*/
|
|
3110
3414
|
export interface ListRepositoriesResult {
|
|
3111
3415
|
/**
|
|
3416
|
+
* @public
|
|
3112
3417
|
* <p>
|
|
3113
3418
|
* The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
|
|
3114
3419
|
* objects.
|
|
@@ -3116,6 +3421,7 @@ export interface ListRepositoriesResult {
|
|
|
3116
3421
|
*/
|
|
3117
3422
|
repositories?: RepositorySummary[];
|
|
3118
3423
|
/**
|
|
3424
|
+
* @public
|
|
3119
3425
|
* <p>
|
|
3120
3426
|
* If there are additional results, this is the token for the next set of results.
|
|
3121
3427
|
* </p>
|
|
@@ -3127,12 +3433,14 @@ export interface ListRepositoriesResult {
|
|
|
3127
3433
|
*/
|
|
3128
3434
|
export interface ListRepositoriesInDomainRequest {
|
|
3129
3435
|
/**
|
|
3436
|
+
* @public
|
|
3130
3437
|
* <p>
|
|
3131
3438
|
* The name of the domain that contains the returned list of repositories.
|
|
3132
3439
|
* </p>
|
|
3133
3440
|
*/
|
|
3134
3441
|
domain: string | undefined;
|
|
3135
3442
|
/**
|
|
3443
|
+
* @public
|
|
3136
3444
|
* <p>
|
|
3137
3445
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3138
3446
|
* dashes or spaces.
|
|
@@ -3140,12 +3448,14 @@ export interface ListRepositoriesInDomainRequest {
|
|
|
3140
3448
|
*/
|
|
3141
3449
|
domainOwner?: string;
|
|
3142
3450
|
/**
|
|
3451
|
+
* @public
|
|
3143
3452
|
* <p>
|
|
3144
3453
|
* Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
|
|
3145
3454
|
* </p>
|
|
3146
3455
|
*/
|
|
3147
3456
|
administratorAccount?: string;
|
|
3148
3457
|
/**
|
|
3458
|
+
* @public
|
|
3149
3459
|
* <p>
|
|
3150
3460
|
* A prefix used to filter returned repositories. Only repositories with names that start with
|
|
3151
3461
|
* <code>repositoryPrefix</code> are returned.
|
|
@@ -3153,12 +3463,14 @@ export interface ListRepositoriesInDomainRequest {
|
|
|
3153
3463
|
*/
|
|
3154
3464
|
repositoryPrefix?: string;
|
|
3155
3465
|
/**
|
|
3466
|
+
* @public
|
|
3156
3467
|
* <p>
|
|
3157
3468
|
* The maximum number of results to return per page.
|
|
3158
3469
|
* </p>
|
|
3159
3470
|
*/
|
|
3160
3471
|
maxResults?: number;
|
|
3161
3472
|
/**
|
|
3473
|
+
* @public
|
|
3162
3474
|
* <p>
|
|
3163
3475
|
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
|
3164
3476
|
* </p>
|
|
@@ -3170,12 +3482,14 @@ export interface ListRepositoriesInDomainRequest {
|
|
|
3170
3482
|
*/
|
|
3171
3483
|
export interface ListRepositoriesInDomainResult {
|
|
3172
3484
|
/**
|
|
3485
|
+
* @public
|
|
3173
3486
|
* <p>
|
|
3174
3487
|
* The returned list of repositories.
|
|
3175
3488
|
* </p>
|
|
3176
3489
|
*/
|
|
3177
3490
|
repositories?: RepositorySummary[];
|
|
3178
3491
|
/**
|
|
3492
|
+
* @public
|
|
3179
3493
|
* <p>
|
|
3180
3494
|
* If there are additional results, this is the token for the next set of results.
|
|
3181
3495
|
* </p>
|
|
@@ -3187,6 +3501,7 @@ export interface ListRepositoriesInDomainResult {
|
|
|
3187
3501
|
*/
|
|
3188
3502
|
export interface ListTagsForResourceRequest {
|
|
3189
3503
|
/**
|
|
3504
|
+
* @public
|
|
3190
3505
|
* <p>The Amazon Resource Name (ARN) of the resource to get tags for.</p>
|
|
3191
3506
|
*/
|
|
3192
3507
|
resourceArn: string | undefined;
|
|
@@ -3196,6 +3511,7 @@ export interface ListTagsForResourceRequest {
|
|
|
3196
3511
|
*/
|
|
3197
3512
|
export interface ListTagsForResourceResult {
|
|
3198
3513
|
/**
|
|
3514
|
+
* @public
|
|
3199
3515
|
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
3200
3516
|
*/
|
|
3201
3517
|
tags?: Tag[];
|
|
@@ -3205,39 +3521,48 @@ export interface ListTagsForResourceResult {
|
|
|
3205
3521
|
*/
|
|
3206
3522
|
export interface PublishPackageVersionRequest {
|
|
3207
3523
|
/**
|
|
3524
|
+
* @public
|
|
3208
3525
|
* <p>The name of the domain that contains the repository that contains the package version to publish.</p>
|
|
3209
3526
|
*/
|
|
3210
3527
|
domain: string | undefined;
|
|
3211
3528
|
/**
|
|
3529
|
+
* @public
|
|
3212
3530
|
* <p>The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.</p>
|
|
3213
3531
|
*/
|
|
3214
3532
|
domainOwner?: string;
|
|
3215
3533
|
/**
|
|
3534
|
+
* @public
|
|
3216
3535
|
* <p>The name of the repository that the package version will be published to.</p>
|
|
3217
3536
|
*/
|
|
3218
3537
|
repository: string | undefined;
|
|
3219
3538
|
/**
|
|
3539
|
+
* @public
|
|
3220
3540
|
* <p>A format that specifies the type of the package version with the requested asset file.</p>
|
|
3221
3541
|
* <p>The only supported value is <code>generic</code>.</p>
|
|
3222
3542
|
*/
|
|
3223
3543
|
format: PackageFormat | string | undefined;
|
|
3224
3544
|
/**
|
|
3545
|
+
* @public
|
|
3225
3546
|
* <p>The namespace of the package version to publish.</p>
|
|
3226
3547
|
*/
|
|
3227
3548
|
namespace?: string;
|
|
3228
3549
|
/**
|
|
3550
|
+
* @public
|
|
3229
3551
|
* <p>The name of the package version to publish.</p>
|
|
3230
3552
|
*/
|
|
3231
3553
|
package: string | undefined;
|
|
3232
3554
|
/**
|
|
3555
|
+
* @public
|
|
3233
3556
|
* <p>The package version to publish (for example, <code>3.5.2</code>).</p>
|
|
3234
3557
|
*/
|
|
3235
3558
|
packageVersion: string | undefined;
|
|
3236
3559
|
/**
|
|
3560
|
+
* @public
|
|
3237
3561
|
* <p>The content of the asset to publish.</p>
|
|
3238
3562
|
*/
|
|
3239
3563
|
assetContent: StreamingBlobTypes | undefined;
|
|
3240
3564
|
/**
|
|
3565
|
+
* @public
|
|
3241
3566
|
* <p>The name of the asset to publish. Asset names can include Unicode letters and numbers, and
|
|
3242
3567
|
* the following special characters: <code>~ ! @ ^ & ( ) - ` _ + [ ] \{ \} ; , .
|
|
3243
3568
|
* `</code>
|
|
@@ -3245,6 +3570,7 @@ export interface PublishPackageVersionRequest {
|
|
|
3245
3570
|
*/
|
|
3246
3571
|
assetName: string | undefined;
|
|
3247
3572
|
/**
|
|
3573
|
+
* @public
|
|
3248
3574
|
* <p>The SHA256 hash of the <code>assetContent</code> to publish. This value must be calculated
|
|
3249
3575
|
* by the caller and provided with the request (see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic.html#publishing-generic-packages">Publishing a generic package</a> in the <i>CodeArtifact User
|
|
3250
3576
|
* Guide</i>).</p>
|
|
@@ -3253,6 +3579,7 @@ export interface PublishPackageVersionRequest {
|
|
|
3253
3579
|
*/
|
|
3254
3580
|
assetSHA256: string | undefined;
|
|
3255
3581
|
/**
|
|
3582
|
+
* @public
|
|
3256
3583
|
* <p>Specifies whether the package version should remain in the <code>unfinished</code>
|
|
3257
3584
|
* state. If omitted, the package version status will be set to <code>Published</code> (see
|
|
3258
3585
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status">Package version status</a> in the <i>CodeArtifact User Guide</i>).</p>
|
|
@@ -3266,30 +3593,37 @@ export interface PublishPackageVersionRequest {
|
|
|
3266
3593
|
*/
|
|
3267
3594
|
export interface PublishPackageVersionResult {
|
|
3268
3595
|
/**
|
|
3596
|
+
* @public
|
|
3269
3597
|
* <p>The format of the package version.</p>
|
|
3270
3598
|
*/
|
|
3271
3599
|
format?: PackageFormat | string;
|
|
3272
3600
|
/**
|
|
3601
|
+
* @public
|
|
3273
3602
|
* <p>The namespace of the package version.</p>
|
|
3274
3603
|
*/
|
|
3275
3604
|
namespace?: string;
|
|
3276
3605
|
/**
|
|
3606
|
+
* @public
|
|
3277
3607
|
* <p>The name of the package.</p>
|
|
3278
3608
|
*/
|
|
3279
3609
|
package?: string;
|
|
3280
3610
|
/**
|
|
3611
|
+
* @public
|
|
3281
3612
|
* <p>The version of the package.</p>
|
|
3282
3613
|
*/
|
|
3283
3614
|
version?: string;
|
|
3284
3615
|
/**
|
|
3616
|
+
* @public
|
|
3285
3617
|
* <p>The revision of the package version.</p>
|
|
3286
3618
|
*/
|
|
3287
3619
|
versionRevision?: string;
|
|
3288
3620
|
/**
|
|
3621
|
+
* @public
|
|
3289
3622
|
* <p>A string that contains the status of the package version. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status">Package version status</a> in the <i>CodeArtifact User Guide</i>.</p>
|
|
3290
3623
|
*/
|
|
3291
3624
|
status?: PackageVersionStatus | string;
|
|
3292
3625
|
/**
|
|
3626
|
+
* @public
|
|
3293
3627
|
* <p>An <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> for the published asset.</p>
|
|
3294
3628
|
*/
|
|
3295
3629
|
asset?: AssetSummary;
|
|
@@ -3299,12 +3633,14 @@ export interface PublishPackageVersionResult {
|
|
|
3299
3633
|
*/
|
|
3300
3634
|
export interface PutDomainPermissionsPolicyRequest {
|
|
3301
3635
|
/**
|
|
3636
|
+
* @public
|
|
3302
3637
|
* <p>
|
|
3303
3638
|
* The name of the domain on which to set the resource policy.
|
|
3304
3639
|
* </p>
|
|
3305
3640
|
*/
|
|
3306
3641
|
domain: string | undefined;
|
|
3307
3642
|
/**
|
|
3643
|
+
* @public
|
|
3308
3644
|
* <p>
|
|
3309
3645
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3310
3646
|
* dashes or spaces.
|
|
@@ -3312,6 +3648,7 @@ export interface PutDomainPermissionsPolicyRequest {
|
|
|
3312
3648
|
*/
|
|
3313
3649
|
domainOwner?: string;
|
|
3314
3650
|
/**
|
|
3651
|
+
* @public
|
|
3315
3652
|
* <p>
|
|
3316
3653
|
* The current revision of the resource policy to be set. This revision is used for optimistic locking, which
|
|
3317
3654
|
* prevents others from overwriting your changes to the domain's resource policy.
|
|
@@ -3319,6 +3656,7 @@ export interface PutDomainPermissionsPolicyRequest {
|
|
|
3319
3656
|
*/
|
|
3320
3657
|
policyRevision?: string;
|
|
3321
3658
|
/**
|
|
3659
|
+
* @public
|
|
3322
3660
|
* <p> A valid displayable JSON Aspen policy string to be set as the access control resource
|
|
3323
3661
|
* policy on the provided domain. </p>
|
|
3324
3662
|
*/
|
|
@@ -3329,6 +3667,7 @@ export interface PutDomainPermissionsPolicyRequest {
|
|
|
3329
3667
|
*/
|
|
3330
3668
|
export interface PutDomainPermissionsPolicyResult {
|
|
3331
3669
|
/**
|
|
3670
|
+
* @public
|
|
3332
3671
|
* <p> The resource policy that was set after processing the request. </p>
|
|
3333
3672
|
*/
|
|
3334
3673
|
policy?: ResourcePolicy;
|
|
@@ -3338,10 +3677,12 @@ export interface PutDomainPermissionsPolicyResult {
|
|
|
3338
3677
|
*/
|
|
3339
3678
|
export interface PutPackageOriginConfigurationRequest {
|
|
3340
3679
|
/**
|
|
3680
|
+
* @public
|
|
3341
3681
|
* <p>The name of the domain that contains the repository that contains the package.</p>
|
|
3342
3682
|
*/
|
|
3343
3683
|
domain: string | undefined;
|
|
3344
3684
|
/**
|
|
3685
|
+
* @public
|
|
3345
3686
|
* <p>
|
|
3346
3687
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3347
3688
|
* dashes or spaces.
|
|
@@ -3349,14 +3690,17 @@ export interface PutPackageOriginConfigurationRequest {
|
|
|
3349
3690
|
*/
|
|
3350
3691
|
domainOwner?: string;
|
|
3351
3692
|
/**
|
|
3693
|
+
* @public
|
|
3352
3694
|
* <p>The name of the repository that contains the package.</p>
|
|
3353
3695
|
*/
|
|
3354
3696
|
repository: string | undefined;
|
|
3355
3697
|
/**
|
|
3698
|
+
* @public
|
|
3356
3699
|
* <p>A format that specifies the type of the package to be updated.</p>
|
|
3357
3700
|
*/
|
|
3358
3701
|
format: PackageFormat | string | undefined;
|
|
3359
3702
|
/**
|
|
3703
|
+
* @public
|
|
3360
3704
|
* <p>The namespace of the package to be updated. The package component that specifies its
|
|
3361
3705
|
* namespace depends on its type. For example:</p>
|
|
3362
3706
|
* <ul>
|
|
@@ -3383,10 +3727,12 @@ export interface PutPackageOriginConfigurationRequest {
|
|
|
3383
3727
|
*/
|
|
3384
3728
|
namespace?: string;
|
|
3385
3729
|
/**
|
|
3730
|
+
* @public
|
|
3386
3731
|
* <p>The name of the package to be updated.</p>
|
|
3387
3732
|
*/
|
|
3388
3733
|
package: string | undefined;
|
|
3389
3734
|
/**
|
|
3735
|
+
* @public
|
|
3390
3736
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>
|
|
3391
3737
|
* object that contains information about the <code>upstream</code> and <code>publish</code> package origin restrictions.
|
|
3392
3738
|
* The <code>upstream</code> restriction determines if new package versions can be ingested or retained from external connections or upstream repositories.
|
|
@@ -3400,6 +3746,7 @@ export interface PutPackageOriginConfigurationRequest {
|
|
|
3400
3746
|
*/
|
|
3401
3747
|
export interface PutPackageOriginConfigurationResult {
|
|
3402
3748
|
/**
|
|
3749
|
+
* @public
|
|
3403
3750
|
* <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
|
|
3404
3751
|
* object that describes the origin configuration set for the package. It contains a
|
|
3405
3752
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>
|
|
@@ -3412,12 +3759,14 @@ export interface PutPackageOriginConfigurationResult {
|
|
|
3412
3759
|
*/
|
|
3413
3760
|
export interface PutRepositoryPermissionsPolicyRequest {
|
|
3414
3761
|
/**
|
|
3762
|
+
* @public
|
|
3415
3763
|
* <p>
|
|
3416
3764
|
* The name of the domain containing the repository to set the resource policy on.
|
|
3417
3765
|
* </p>
|
|
3418
3766
|
*/
|
|
3419
3767
|
domain: string | undefined;
|
|
3420
3768
|
/**
|
|
3769
|
+
* @public
|
|
3421
3770
|
* <p>
|
|
3422
3771
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3423
3772
|
* dashes or spaces.
|
|
@@ -3425,10 +3774,12 @@ export interface PutRepositoryPermissionsPolicyRequest {
|
|
|
3425
3774
|
*/
|
|
3426
3775
|
domainOwner?: string;
|
|
3427
3776
|
/**
|
|
3777
|
+
* @public
|
|
3428
3778
|
* <p> The name of the repository to set the resource policy on. </p>
|
|
3429
3779
|
*/
|
|
3430
3780
|
repository: string | undefined;
|
|
3431
3781
|
/**
|
|
3782
|
+
* @public
|
|
3432
3783
|
* <p>
|
|
3433
3784
|
* Sets the revision of the resource policy that specifies permissions to access the repository.
|
|
3434
3785
|
* This revision is used for optimistic locking, which prevents others from overwriting your
|
|
@@ -3437,6 +3788,7 @@ export interface PutRepositoryPermissionsPolicyRequest {
|
|
|
3437
3788
|
*/
|
|
3438
3789
|
policyRevision?: string;
|
|
3439
3790
|
/**
|
|
3791
|
+
* @public
|
|
3440
3792
|
* <p> A valid displayable JSON Aspen policy string to be set as the access control resource
|
|
3441
3793
|
* policy on the provided repository. </p>
|
|
3442
3794
|
*/
|
|
@@ -3447,6 +3799,7 @@ export interface PutRepositoryPermissionsPolicyRequest {
|
|
|
3447
3799
|
*/
|
|
3448
3800
|
export interface PutRepositoryPermissionsPolicyResult {
|
|
3449
3801
|
/**
|
|
3802
|
+
* @public
|
|
3450
3803
|
* <p> The resource policy that was set after processing the request. </p>
|
|
3451
3804
|
*/
|
|
3452
3805
|
policy?: ResourcePolicy;
|
|
@@ -3456,10 +3809,12 @@ export interface PutRepositoryPermissionsPolicyResult {
|
|
|
3456
3809
|
*/
|
|
3457
3810
|
export interface TagResourceRequest {
|
|
3458
3811
|
/**
|
|
3812
|
+
* @public
|
|
3459
3813
|
* <p>The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.</p>
|
|
3460
3814
|
*/
|
|
3461
3815
|
resourceArn: string | undefined;
|
|
3462
3816
|
/**
|
|
3817
|
+
* @public
|
|
3463
3818
|
* <p>The tags you want to modify or add to the resource.</p>
|
|
3464
3819
|
*/
|
|
3465
3820
|
tags: Tag[] | undefined;
|
|
@@ -3474,10 +3829,12 @@ export interface TagResourceResult {
|
|
|
3474
3829
|
*/
|
|
3475
3830
|
export interface UntagResourceRequest {
|
|
3476
3831
|
/**
|
|
3832
|
+
* @public
|
|
3477
3833
|
* <p>The Amazon Resource Name (ARN) of the resource that you want to remove tags from.</p>
|
|
3478
3834
|
*/
|
|
3479
3835
|
resourceArn: string | undefined;
|
|
3480
3836
|
/**
|
|
3837
|
+
* @public
|
|
3481
3838
|
* <p>The tag key for each tag that you want to remove from the resource.</p>
|
|
3482
3839
|
*/
|
|
3483
3840
|
tagKeys: string[] | undefined;
|
|
@@ -3492,12 +3849,14 @@ export interface UntagResourceResult {
|
|
|
3492
3849
|
*/
|
|
3493
3850
|
export interface UpdatePackageVersionsStatusRequest {
|
|
3494
3851
|
/**
|
|
3852
|
+
* @public
|
|
3495
3853
|
* <p>
|
|
3496
3854
|
* The name of the domain that contains the repository that contains the package versions with a status to be updated.
|
|
3497
3855
|
* </p>
|
|
3498
3856
|
*/
|
|
3499
3857
|
domain: string | undefined;
|
|
3500
3858
|
/**
|
|
3859
|
+
* @public
|
|
3501
3860
|
* <p>
|
|
3502
3861
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3503
3862
|
* dashes or spaces.
|
|
@@ -3505,18 +3864,21 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3505
3864
|
*/
|
|
3506
3865
|
domainOwner?: string;
|
|
3507
3866
|
/**
|
|
3867
|
+
* @public
|
|
3508
3868
|
* <p>
|
|
3509
3869
|
* The repository that contains the package versions with the status you want to update.
|
|
3510
3870
|
* </p>
|
|
3511
3871
|
*/
|
|
3512
3872
|
repository: string | undefined;
|
|
3513
3873
|
/**
|
|
3874
|
+
* @public
|
|
3514
3875
|
* <p>
|
|
3515
3876
|
* A format that specifies the type of the package with the statuses to update.
|
|
3516
3877
|
* </p>
|
|
3517
3878
|
*/
|
|
3518
3879
|
format: PackageFormat | string | undefined;
|
|
3519
3880
|
/**
|
|
3881
|
+
* @public
|
|
3520
3882
|
* <p>The namespace of the package version to be updated. The package version component that specifies its
|
|
3521
3883
|
* namespace depends on its type. For example:</p>
|
|
3522
3884
|
* <ul>
|
|
@@ -3543,24 +3905,28 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3543
3905
|
*/
|
|
3544
3906
|
namespace?: string;
|
|
3545
3907
|
/**
|
|
3908
|
+
* @public
|
|
3546
3909
|
* <p>
|
|
3547
3910
|
* The name of the package with the version statuses to update.
|
|
3548
3911
|
* </p>
|
|
3549
3912
|
*/
|
|
3550
3913
|
package: string | undefined;
|
|
3551
3914
|
/**
|
|
3915
|
+
* @public
|
|
3552
3916
|
* <p>
|
|
3553
3917
|
* An array of strings that specify the versions of the package with the statuses to update.
|
|
3554
3918
|
* </p>
|
|
3555
3919
|
*/
|
|
3556
3920
|
versions: string[] | undefined;
|
|
3557
3921
|
/**
|
|
3922
|
+
* @public
|
|
3558
3923
|
* <p> A map of package versions and package version revisions. The map <code>key</code> is the
|
|
3559
3924
|
* package version (for example, <code>3.5.2</code>), and the map <code>value</code> is the
|
|
3560
3925
|
* package version revision. </p>
|
|
3561
3926
|
*/
|
|
3562
3927
|
versionRevisions?: Record<string, string>;
|
|
3563
3928
|
/**
|
|
3929
|
+
* @public
|
|
3564
3930
|
* <p> The package version’s expected status before it is updated. If
|
|
3565
3931
|
* <code>expectedStatus</code> is provided, the package version's status is updated only if its
|
|
3566
3932
|
* status at the time <code>UpdatePackageVersionsStatus</code> is called matches
|
|
@@ -3568,6 +3934,7 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3568
3934
|
*/
|
|
3569
3935
|
expectedStatus?: PackageVersionStatus | string;
|
|
3570
3936
|
/**
|
|
3937
|
+
* @public
|
|
3571
3938
|
* <p>
|
|
3572
3939
|
* The status you want to change the package version status to.
|
|
3573
3940
|
* </p>
|
|
@@ -3579,6 +3946,7 @@ export interface UpdatePackageVersionsStatusRequest {
|
|
|
3579
3946
|
*/
|
|
3580
3947
|
export interface UpdatePackageVersionsStatusResult {
|
|
3581
3948
|
/**
|
|
3949
|
+
* @public
|
|
3582
3950
|
* <p>
|
|
3583
3951
|
* A list of <code>PackageVersionError</code> objects, one for each package version with
|
|
3584
3952
|
* a status that failed to update.
|
|
@@ -3586,6 +3954,7 @@ export interface UpdatePackageVersionsStatusResult {
|
|
|
3586
3954
|
*/
|
|
3587
3955
|
successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
|
|
3588
3956
|
/**
|
|
3957
|
+
* @public
|
|
3589
3958
|
* <p> A list of <code>SuccessfulPackageVersionInfo</code> objects, one for each package version
|
|
3590
3959
|
* with a status that successfully updated. </p>
|
|
3591
3960
|
*/
|
|
@@ -3596,12 +3965,14 @@ export interface UpdatePackageVersionsStatusResult {
|
|
|
3596
3965
|
*/
|
|
3597
3966
|
export interface UpdateRepositoryRequest {
|
|
3598
3967
|
/**
|
|
3968
|
+
* @public
|
|
3599
3969
|
* <p>
|
|
3600
3970
|
* The name of the domain associated with the repository to update.
|
|
3601
3971
|
* </p>
|
|
3602
3972
|
*/
|
|
3603
3973
|
domain: string | undefined;
|
|
3604
3974
|
/**
|
|
3975
|
+
* @public
|
|
3605
3976
|
* <p>
|
|
3606
3977
|
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
|
|
3607
3978
|
* dashes or spaces.
|
|
@@ -3609,18 +3980,21 @@ export interface UpdateRepositoryRequest {
|
|
|
3609
3980
|
*/
|
|
3610
3981
|
domainOwner?: string;
|
|
3611
3982
|
/**
|
|
3983
|
+
* @public
|
|
3612
3984
|
* <p>
|
|
3613
3985
|
* The name of the repository to update.
|
|
3614
3986
|
* </p>
|
|
3615
3987
|
*/
|
|
3616
3988
|
repository: string | undefined;
|
|
3617
3989
|
/**
|
|
3990
|
+
* @public
|
|
3618
3991
|
* <p>
|
|
3619
3992
|
* An updated repository description.
|
|
3620
3993
|
* </p>
|
|
3621
3994
|
*/
|
|
3622
3995
|
description?: string;
|
|
3623
3996
|
/**
|
|
3997
|
+
* @public
|
|
3624
3998
|
* <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
|
|
3625
3999
|
* in the list determines their priority order when CodeArtifact looks for a requested package version. For more
|
|
3626
4000
|
* information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
|
|
@@ -3632,6 +4006,7 @@ export interface UpdateRepositoryRequest {
|
|
|
3632
4006
|
*/
|
|
3633
4007
|
export interface UpdateRepositoryResult {
|
|
3634
4008
|
/**
|
|
4009
|
+
* @public
|
|
3635
4010
|
* <p>
|
|
3636
4011
|
* The updated repository.
|
|
3637
4012
|
* </p>
|