@aws-sdk/client-codeartifact 3.533.0 → 3.535.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist-types/Codeartifact.d.ts +3 -1
  2. package/dist-types/CodeartifactClient.d.ts +1 -1
  3. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +2 -1
  4. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +2 -1
  5. package/dist-types/commands/CreateDomainCommand.d.ts +2 -1
  6. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
  7. package/dist-types/commands/DeleteDomainCommand.d.ts +2 -1
  8. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -1
  9. package/dist-types/commands/DeletePackageCommand.d.ts +2 -1
  10. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -1
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -1
  13. package/dist-types/commands/DescribeDomainCommand.d.ts +2 -1
  14. package/dist-types/commands/DescribePackageCommand.d.ts +2 -1
  15. package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeRepositoryCommand.d.ts +2 -1
  17. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +2 -1
  18. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +2 -1
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -1
  20. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -1
  21. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +2 -1
  22. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -1
  23. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +2 -1
  24. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -1
  25. package/dist-types/commands/ListDomainsCommand.d.ts +2 -1
  26. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -1
  27. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -1
  28. package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -1
  29. package/dist-types/commands/ListPackagesCommand.d.ts +2 -1
  30. package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -1
  31. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +2 -1
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  33. package/dist-types/commands/PublishPackageVersionCommand.d.ts +2 -1
  34. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -1
  35. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -1
  36. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -1
  37. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  38. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  39. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -1
  40. package/dist-types/commands/UpdateRepositoryCommand.d.ts +2 -1
  41. package/dist-types/models/models_0.d.ts +404 -404
  42. package/dist-types/ts3.4/Codeartifact.d.ts +2 -0
  43. package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +9 -0
  44. package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +9 -0
  45. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +9 -0
  46. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
  47. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +9 -0
  48. package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +9 -0
  49. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +9 -0
  50. package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +9 -0
  51. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
  52. package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +9 -0
  53. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +9 -0
  54. package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +9 -0
  55. package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +9 -0
  56. package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +9 -0
  57. package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +9 -0
  58. package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +9 -0
  59. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +9 -0
  60. package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +9 -0
  61. package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +9 -0
  62. package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +9 -0
  63. package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +9 -0
  64. package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +9 -0
  65. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +9 -0
  66. package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +9 -0
  67. package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +9 -0
  68. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +9 -0
  69. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +9 -0
  70. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +9 -0
  71. package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +9 -0
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  73. package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +9 -0
  74. package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +9 -0
  76. package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +9 -0
  77. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  78. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  79. package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +9 -0
  80. package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +9 -0
  81. package/package.json +41 -41
@@ -2,10 +2,10 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { StreamingBlobTypes } from "@smithy/types";
3
3
  import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
4
4
  /**
5
- * @public
6
5
  * <p>
7
6
  * The operation did not succeed because of an unauthorized access attempt.
8
7
  * </p>
8
+ * @public
9
9
  */
10
10
  export declare class AccessDeniedException extends __BaseException {
11
11
  readonly name: "AccessDeniedException";
@@ -54,31 +54,31 @@ export declare const HashAlgorithm: {
54
54
  */
55
55
  export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
56
56
  /**
57
- * @public
58
57
  * <p>
59
58
  * Contains details about a package version asset.
60
59
  * </p>
60
+ * @public
61
61
  */
62
62
  export interface AssetSummary {
63
63
  /**
64
- * @public
65
64
  * <p>
66
65
  * The name of the asset.
67
66
  * </p>
67
+ * @public
68
68
  */
69
69
  name: string | undefined;
70
70
  /**
71
- * @public
72
71
  * <p>
73
72
  * The size of the asset.
74
73
  * </p>
74
+ * @public
75
75
  */
76
76
  size?: number;
77
77
  /**
78
- * @public
79
78
  * <p>
80
79
  * The hashes of the asset.
81
80
  * </p>
81
+ * @public
82
82
  */
83
83
  hashes?: Partial<Record<HashAlgorithm, string>>;
84
84
  }
@@ -87,27 +87,26 @@ export interface AssetSummary {
87
87
  */
88
88
  export interface AssociateExternalConnectionRequest {
89
89
  /**
90
- * @public
91
90
  * <p>The name of the domain that contains the repository.</p>
91
+ * @public
92
92
  */
93
93
  domain: string | undefined;
94
94
  /**
95
- * @public
96
95
  * <p>
97
96
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
98
97
  * dashes or spaces.
99
98
  * </p>
99
+ * @public
100
100
  */
101
101
  domainOwner?: string;
102
102
  /**
103
- * @public
104
103
  * <p>
105
104
  * The name of the repository to which the external connection is added.
106
105
  * </p>
106
+ * @public
107
107
  */
108
108
  repository: string | undefined;
109
109
  /**
110
- * @public
111
110
  * <p>
112
111
  * The name of the external connection to add to the repository. The following values are supported:
113
112
  * </p>
@@ -152,6 +151,7 @@ export interface AssociateExternalConnectionRequest {
152
151
  * <code>public:maven-clojars</code> - for the Clojars repository. </p>
153
152
  * </li>
154
153
  * </ul>
154
+ * @public
155
155
  */
156
156
  externalConnection: string | undefined;
157
157
  }
@@ -183,19 +183,18 @@ export declare const ExternalConnectionStatus: {
183
183
  */
184
184
  export type ExternalConnectionStatus = (typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
185
185
  /**
186
- * @public
187
186
  * <p>
188
187
  * Contains information about the external connection of a repository.
189
188
  * </p>
189
+ * @public
190
190
  */
191
191
  export interface RepositoryExternalConnectionInfo {
192
192
  /**
193
- * @public
194
193
  * <p> The name of the external connection associated with a repository. </p>
194
+ * @public
195
195
  */
196
196
  externalConnectionName?: string;
197
197
  /**
198
- * @public
199
198
  * <p>
200
199
  * The package format associated with a repository's external connection. The valid package formats are:
201
200
  * </p>
@@ -221,95 +220,96 @@ export interface RepositoryExternalConnectionInfo {
221
220
  * </p>
222
221
  * </li>
223
222
  * </ul>
223
+ * @public
224
224
  */
225
225
  packageFormat?: PackageFormat;
226
226
  /**
227
- * @public
228
227
  * <p>
229
228
  * The status of the external connection of a repository. There is one valid value, <code>Available</code>.
230
229
  * </p>
230
+ * @public
231
231
  */
232
232
  status?: ExternalConnectionStatus;
233
233
  }
234
234
  /**
235
- * @public
236
235
  * <p>
237
236
  * Information about an upstream repository.
238
237
  * </p>
238
+ * @public
239
239
  */
240
240
  export interface UpstreamRepositoryInfo {
241
241
  /**
242
- * @public
243
242
  * <p> The name of an upstream repository. </p>
243
+ * @public
244
244
  */
245
245
  repositoryName?: string;
246
246
  }
247
247
  /**
248
- * @public
249
248
  * <p> The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of
250
249
  * package versions, each of which maps to a set of assets. Repositories are polyglot—a single
251
250
  * repository can contain packages of any supported type. Each repository exposes endpoints for
252
251
  * fetching and publishing packages using tools like the <code>npm</code> CLI, the Maven CLI
253
252
  * (<code>mvn</code>), and <code>pip</code>. You can create up to 100 repositories per Amazon Web Services
254
253
  * account. </p>
254
+ * @public
255
255
  */
256
256
  export interface RepositoryDescription {
257
257
  /**
258
- * @public
259
258
  * <p>
260
259
  * The name of the repository.
261
260
  * </p>
261
+ * @public
262
262
  */
263
263
  name?: string;
264
264
  /**
265
- * @public
266
265
  * <p> The 12-digit account number of the Amazon Web Services account that manages the repository. </p>
266
+ * @public
267
267
  */
268
268
  administratorAccount?: string;
269
269
  /**
270
- * @public
271
270
  * <p>
272
271
  * The name of the domain that contains the repository.
273
272
  * </p>
273
+ * @public
274
274
  */
275
275
  domainName?: string;
276
276
  /**
277
- * @public
278
277
  * <p>
279
278
  * The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include
280
279
  * dashes or spaces.
281
280
  * </p>
281
+ * @public
282
282
  */
283
283
  domainOwner?: string;
284
284
  /**
285
- * @public
286
285
  * <p> The Amazon Resource Name (ARN) of the repository. </p>
286
+ * @public
287
287
  */
288
288
  arn?: string;
289
289
  /**
290
- * @public
291
290
  * <p>
292
291
  * A text description of the repository.
293
292
  * </p>
293
+ * @public
294
294
  */
295
295
  description?: string;
296
296
  /**
297
- * @public
298
297
  * <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
299
298
  * in the list determines their priority order when CodeArtifact looks for a requested package version. For more
300
299
  * information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
300
+ * @public
301
301
  */
302
302
  upstreams?: UpstreamRepositoryInfo[];
303
303
  /**
304
- * @public
305
304
  * <p>
306
305
  * An array of external connections associated with the repository.
307
306
  * </p>
307
+ * @public
308
308
  */
309
309
  externalConnections?: RepositoryExternalConnectionInfo[];
310
310
  /**
311
- * @public
312
311
  * <p>A timestamp that represents the date and time the repository was created.</p>
312
+ * @public
313
313
  */
314
314
  createdTime?: Date;
315
315
  }
@@ -318,10 +318,10 @@ export interface RepositoryDescription {
318
318
  */
319
319
  export interface AssociateExternalConnectionResult {
320
320
  /**
321
- * @public
322
321
  * <p>
323
322
  * Information about the connected repository after processing the request.
324
323
  * </p>
324
+ * @public
325
325
  */
326
326
  repository?: RepositoryDescription;
327
327
  }
@@ -341,26 +341,26 @@ export declare const ResourceType: {
341
341
  */
342
342
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
343
343
  /**
344
- * @public
345
344
  * <p>
346
345
  * The operation did not succeed because prerequisites are not met.
347
346
  * </p>
347
+ * @public
348
348
  */
349
349
  export declare class ConflictException extends __BaseException {
350
350
  readonly name: "ConflictException";
351
351
  readonly $fault: "client";
352
352
  /**
353
- * @public
354
353
  * <p>
355
354
  * The ID of the resource.
356
355
  * </p>
356
+ * @public
357
357
  */
358
358
  resourceId?: string;
359
359
  /**
360
- * @public
361
360
  * <p>
362
361
  * The type of Amazon Web Services resource.
363
362
  * </p>
363
+ * @public
364
364
  */
365
365
  resourceType?: ResourceType;
366
366
  /**
@@ -369,8 +369,8 @@ export declare class ConflictException extends __BaseException {
369
369
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
370
370
  }
371
371
  /**
372
- * @public
373
372
  * <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
373
+ * @public
374
374
  */
375
375
  export declare class InternalServerException extends __BaseException {
376
376
  readonly name: "InternalServerException";
@@ -381,26 +381,26 @@ export declare class InternalServerException extends __BaseException {
381
381
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
382
382
  }
383
383
  /**
384
- * @public
385
384
  * <p>
386
385
  * The operation did not succeed because the resource requested is not found in the service.
387
386
  * </p>
387
+ * @public
388
388
  */
389
389
  export declare class ResourceNotFoundException extends __BaseException {
390
390
  readonly name: "ResourceNotFoundException";
391
391
  readonly $fault: "client";
392
392
  /**
393
- * @public
394
393
  * <p>
395
394
  * The ID of the resource.
396
395
  * </p>
396
+ * @public
397
397
  */
398
398
  resourceId?: string;
399
399
  /**
400
- * @public
401
400
  * <p>
402
401
  * The type of Amazon Web Services resource.
403
402
  * </p>
403
+ * @public
404
404
  */
405
405
  resourceType?: ResourceType;
406
406
  /**
@@ -409,26 +409,26 @@ export declare class ResourceNotFoundException extends __BaseException {
409
409
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
410
410
  }
411
411
  /**
412
- * @public
413
412
  * <p>
414
413
  * The operation did not succeed because it would have exceeded a service limit for your account.
415
414
  * </p>
415
+ * @public
416
416
  */
417
417
  export declare class ServiceQuotaExceededException extends __BaseException {
418
418
  readonly name: "ServiceQuotaExceededException";
419
419
  readonly $fault: "client";
420
420
  /**
421
- * @public
422
421
  * <p>
423
422
  * The ID of the resource.
424
423
  * </p>
424
+ * @public
425
425
  */
426
426
  resourceId?: string;
427
427
  /**
428
- * @public
429
428
  * <p>
430
429
  * The type of Amazon Web Services resource.
431
430
  * </p>
431
+ * @public
432
432
  */
433
433
  resourceType?: ResourceType;
434
434
  /**
@@ -437,19 +437,19 @@ export declare class ServiceQuotaExceededException extends __BaseException {
437
437
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
438
438
  }
439
439
  /**
440
- * @public
441
440
  * <p>
442
441
  * The operation did not succeed because too many requests are sent to the service.
443
442
  * </p>
443
+ * @public
444
444
  */
445
445
  export declare class ThrottlingException extends __BaseException {
446
446
  readonly name: "ThrottlingException";
447
447
  readonly $fault: "client";
448
448
  /**
449
- * @public
450
449
  * <p>
451
450
  * The time period, in seconds, to wait before retrying the request.
452
451
  * </p>
452
+ * @public
453
453
  */
454
454
  retryAfterSeconds?: number;
455
455
  /**
@@ -473,19 +473,19 @@ export declare const ValidationExceptionReason: {
473
473
  */
474
474
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
475
475
  /**
476
- * @public
477
476
  * <p>
478
477
  * The operation did not succeed because a parameter in the request was sent with an invalid value.
479
478
  * </p>
479
+ * @public
480
480
  */
481
481
  export declare class ValidationException extends __BaseException {
482
482
  readonly name: "ValidationException";
483
483
  readonly $fault: "client";
484
484
  /**
485
- * @public
486
485
  * <p>
487
486
  *
488
487
  * </p>
488
+ * @public
489
489
  */
490
490
  reason?: ValidationExceptionReason;
491
491
  /**
@@ -498,43 +498,42 @@ export declare class ValidationException extends __BaseException {
498
498
  */
499
499
  export interface CopyPackageVersionsRequest {
500
500
  /**
501
- * @public
502
501
  * <p>
503
502
  * The name of the domain that contains the source and destination repositories.
504
503
  * </p>
504
+ * @public
505
505
  */
506
506
  domain: string | undefined;
507
507
  /**
508
- * @public
509
508
  * <p>
510
509
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
511
510
  * dashes or spaces.
512
511
  * </p>
512
+ * @public
513
513
  */
514
514
  domainOwner?: string;
515
515
  /**
516
- * @public
517
516
  * <p>
518
517
  * The name of the repository that contains the package versions to be copied.
519
518
  * </p>
519
+ * @public
520
520
  */
521
521
  sourceRepository: string | undefined;
522
522
  /**
523
- * @public
524
523
  * <p>
525
524
  * The name of the repository into which package versions are copied.
526
525
  * </p>
526
+ * @public
527
527
  */
528
528
  destinationRepository: string | undefined;
529
529
  /**
530
- * @public
531
530
  * <p>
532
531
  * The format of the package versions to be copied.
533
532
  * </p>
533
+ * @public
534
534
  */
535
535
  format: PackageFormat | undefined;
536
536
  /**
537
- * @public
538
537
  * <p>The namespace of the package versions to be copied. The package version component that specifies its
539
538
  * namespace depends on its type. For example:</p>
540
539
  * <ul>
@@ -558,17 +557,17 @@ export interface CopyPackageVersionsRequest {
558
557
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
559
558
  * </li>
560
559
  * </ul>
560
+ * @public
561
561
  */
562
562
  namespace?: string;
563
563
  /**
564
- * @public
565
564
  * <p>
566
565
  * The name of the package that contains the versions to be copied.
567
566
  * </p>
567
+ * @public
568
568
  */
569
569
  package: string | undefined;
570
570
  /**
571
- * @public
572
571
  * <p>
573
572
  * The versions of the package to be copied.
574
573
  * </p>
@@ -577,10 +576,10 @@ export interface CopyPackageVersionsRequest {
577
576
  * You must specify <code>versions</code> or <code>versionRevisions</code>. You cannot specify both.
578
577
  * </p>
579
578
  * </note>
579
+ * @public
580
580
  */
581
581
  versions?: string[];
582
582
  /**
583
- * @public
584
583
  * <p>
585
584
  * A list of key-value pairs. The keys are package versions and the values are package version revisions. A <code>CopyPackageVersion</code> operation
586
585
  * succeeds if the specified versions in the source repository match the specified package version revision.
@@ -590,24 +589,25 @@ export interface CopyPackageVersionsRequest {
590
589
  * You must specify <code>versions</code> or <code>versionRevisions</code>. You cannot specify both.
591
590
  * </p>
592
591
  * </note>
592
+ * @public
593
593
  */
594
594
  versionRevisions?: Record<string, string>;
595
595
  /**
596
- * @public
597
596
  * <p>
598
597
  * Set to true to overwrite a package version that already exists in the destination repository.
599
598
  * If set to false and the package version already exists in the destination repository,
600
599
  * the package version is returned in the <code>failedVersions</code> field of the response with
601
600
  * an <code>ALREADY_EXISTS</code> error code.
602
601
  * </p>
602
+ * @public
603
603
  */
604
604
  allowOverwrite?: boolean;
605
605
  /**
606
- * @public
607
606
  * <p> Set to true to copy packages from repositories that are upstream from the source
608
607
  * repository to the destination repository. The default setting is false. For more information,
609
608
  * see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with
610
609
  * upstream repositories</a>. </p>
610
+ * @public
611
611
  */
612
612
  includeFromUpstream?: boolean;
613
613
  }
@@ -628,14 +628,13 @@ export declare const PackageVersionErrorCode: {
628
628
  */
629
629
  export type PackageVersionErrorCode = (typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
630
630
  /**
631
- * @public
632
631
  * <p>l
633
632
  * An error associated with package.
634
633
  * </p>
634
+ * @public
635
635
  */
636
636
  export interface PackageVersionError {
637
637
  /**
638
- * @public
639
638
  * <p> The error code associated with the error. Valid error codes are: </p>
640
639
  * <ul>
641
640
  * <li>
@@ -669,13 +668,14 @@ export interface PackageVersionError {
669
668
  * </p>
670
669
  * </li>
671
670
  * </ul>
671
+ * @public
672
672
  */
673
673
  errorCode?: PackageVersionErrorCode;
674
674
  /**
675
- * @public
676
675
  * <p>
677
676
  * The error message associated with the error.
678
677
  * </p>
678
+ * @public
679
679
  */
680
680
  errorMessage?: string;
681
681
  }
@@ -696,24 +696,24 @@ export declare const PackageVersionStatus: {
696
696
  */
697
697
  export type PackageVersionStatus = (typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
698
698
  /**
699
- * @public
700
699
  * <p>
701
700
  * Contains the revision and status of a package version.
702
701
  * </p>
702
+ * @public
703
703
  */
704
704
  export interface SuccessfulPackageVersionInfo {
705
705
  /**
706
- * @public
707
706
  * <p>
708
707
  * The revision of a package version.
709
708
  * </p>
709
+ * @public
710
710
  */
711
711
  revision?: string;
712
712
  /**
713
- * @public
714
713
  * <p>
715
714
  * The status of a package version.
716
715
  * </p>
716
+ * @public
717
717
  */
718
718
  status?: PackageVersionStatus;
719
719
  }
@@ -722,14 +722,13 @@ export interface SuccessfulPackageVersionInfo {
722
722
  */
723
723
  export interface CopyPackageVersionsResult {
724
724
  /**
725
- * @public
726
725
  * <p>
727
726
  * A list of the package versions that were successfully copied to your repository.
728
727
  * </p>
728
+ * @public
729
729
  */
730
730
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
731
731
  /**
732
- * @public
733
732
  * <p>
734
733
  * A map of package versions that failed to copy and their error codes. The possible error codes are in
735
734
  * the <code>PackageVersionError</code> data type. They are:
@@ -766,22 +765,23 @@ export interface CopyPackageVersionsResult {
766
765
  * </p>
767
766
  * </li>
768
767
  * </ul>
768
+ * @public
769
769
  */
770
770
  failedVersions?: Record<string, PackageVersionError>;
771
771
  }
772
772
  /**
773
- * @public
774
773
  * <p>A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.</p>
774
+ * @public
775
775
  */
776
776
  export interface Tag {
777
777
  /**
778
- * @public
779
778
  * <p>The tag key.</p>
779
+ * @public
780
780
  */
781
781
  key: string | undefined;
782
782
  /**
783
- * @public
784
783
  * <p>The tag value.</p>
784
+ * @public
785
785
  */
786
786
  value: string | undefined;
787
787
  }
@@ -790,14 +790,13 @@ export interface Tag {
790
790
  */
791
791
  export interface CreateDomainRequest {
792
792
  /**
793
- * @public
794
793
  * <p> The name of the domain to create. All domain names in an Amazon Web Services Region that are in the
795
794
  * same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do
796
795
  * not use sensitive information in a domain name because it is publicly discoverable. </p>
796
+ * @public
797
797
  */
798
798
  domain: string | undefined;
799
799
  /**
800
- * @public
801
800
  * <p> The encryption key for the domain. This is used to encrypt content stored in a domain.
802
801
  * An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key
803
802
  * alias ARN. To specify an <code>encryptionKey</code>, your IAM role must have
@@ -810,11 +809,12 @@ export interface CreateDomainRequest {
810
809
  * domain. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and asymmetric
811
810
  * keys</a> in the <i>Key Management Service Developer Guide</i>. </p>
812
811
  * </important>
812
+ * @public
813
813
  */
814
814
  encryptionKey?: string;
815
815
  /**
816
- * @public
817
816
  * <p>One or more tag key-value pairs for the domain.</p>
817
+ * @public
818
818
  */
819
819
  tags?: Tag[];
820
820
  }
@@ -831,66 +831,66 @@ export declare const DomainStatus: {
831
831
  */
832
832
  export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
833
833
  /**
834
- * @public
835
834
  * <p>
836
835
  * Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
837
836
  * add one or more repositories.
838
837
  * </p>
838
+ * @public
839
839
  */
840
840
  export interface DomainDescription {
841
841
  /**
842
- * @public
843
842
  * <p>
844
843
  * The name of the domain.
845
844
  * </p>
845
+ * @public
846
846
  */
847
847
  name?: string;
848
848
  /**
849
- * @public
850
849
  * <p> The Amazon Web Services account ID that owns the domain. </p>
850
+ * @public
851
851
  */
852
852
  owner?: string;
853
853
  /**
854
- * @public
855
854
  * <p> The Amazon Resource Name (ARN) of the domain. </p>
855
+ * @public
856
856
  */
857
857
  arn?: string;
858
858
  /**
859
- * @public
860
859
  * <p>
861
860
  * The current status of a domain.
862
861
  * </p>
862
+ * @public
863
863
  */
864
864
  status?: DomainStatus;
865
865
  /**
866
- * @public
867
866
  * <p>
868
867
  * A timestamp that represents the date and time the domain was created.
869
868
  * </p>
869
+ * @public
870
870
  */
871
871
  createdTime?: Date;
872
872
  /**
873
- * @public
874
873
  * <p> The ARN of an Key Management Service (KMS) key associated with a domain. </p>
874
+ * @public
875
875
  */
876
876
  encryptionKey?: string;
877
877
  /**
878
- * @public
879
878
  * <p>
880
879
  * The number of repositories in the domain.
881
880
  * </p>
881
+ * @public
882
882
  */
883
883
  repositoryCount?: number;
884
884
  /**
885
- * @public
886
885
  * <p>
887
886
  * The total size of all assets in the domain.
888
887
  * </p>
888
+ * @public
889
889
  */
890
890
  assetSizeBytes?: number;
891
891
  /**
892
- * @public
893
892
  * <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.</p>
893
+ * @public
894
894
  */
895
895
  s3BucketArn?: string;
896
896
  }
@@ -899,25 +899,25 @@ export interface DomainDescription {
899
899
  */
900
900
  export interface CreateDomainResult {
901
901
  /**
902
- * @public
903
902
  * <p>
904
903
  * Contains information about the created domain after processing the request.
905
904
  * </p>
905
+ * @public
906
906
  */
907
907
  domain?: DomainDescription;
908
908
  }
909
909
  /**
910
- * @public
911
910
  * <p>
912
911
  * Information about an upstream repository. A list of <code>UpstreamRepository</code> objects is an input parameter to
913
912
  * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html">CreateRepository</a>
914
913
  * and <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdateRepository.html">UpdateRepository</a>.
915
914
  * </p>
915
+ * @public
916
916
  */
917
917
  export interface UpstreamRepository {
918
918
  /**
919
- * @public
920
919
  * <p> The name of an upstream repository. </p>
920
+ * @public
921
921
  */
922
922
  repositoryName: string | undefined;
923
923
  }
@@ -926,42 +926,42 @@ export interface UpstreamRepository {
926
926
  */
927
927
  export interface CreateRepositoryRequest {
928
928
  /**
929
- * @public
930
929
  * <p>
931
930
  * The name of the domain that contains the created repository.
932
931
  * </p>
932
+ * @public
933
933
  */
934
934
  domain: string | undefined;
935
935
  /**
936
- * @public
937
936
  * <p>
938
937
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
939
938
  * dashes or spaces.
940
939
  * </p>
940
+ * @public
941
941
  */
942
942
  domainOwner?: string;
943
943
  /**
944
- * @public
945
944
  * <p> The name of the repository to create. </p>
945
+ * @public
946
946
  */
947
947
  repository: string | undefined;
948
948
  /**
949
- * @public
950
949
  * <p>
951
950
  * A description of the created repository.
952
951
  * </p>
952
+ * @public
953
953
  */
954
954
  description?: string;
955
955
  /**
956
- * @public
957
956
  * <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
958
957
  * in the list determines their priority order when CodeArtifact looks for a requested package version. For more
959
958
  * information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
959
+ * @public
960
960
  */
961
961
  upstreams?: UpstreamRepository[];
962
962
  /**
963
- * @public
964
963
  * <p>One or more tag key-value pairs for the repository.</p>
964
+ * @public
965
965
  */
966
966
  tags?: Tag[];
967
967
  }
@@ -970,10 +970,10 @@ export interface CreateRepositoryRequest {
970
970
  */
971
971
  export interface CreateRepositoryResult {
972
972
  /**
973
- * @public
974
973
  * <p>
975
974
  * Information about the created repository after processing the request.
976
975
  * </p>
976
+ * @public
977
977
  */
978
978
  repository?: RepositoryDescription;
979
979
  }
@@ -982,18 +982,18 @@ export interface CreateRepositoryResult {
982
982
  */
983
983
  export interface DeleteDomainRequest {
984
984
  /**
985
- * @public
986
985
  * <p>
987
986
  * The name of the domain to delete.
988
987
  * </p>
988
+ * @public
989
989
  */
990
990
  domain: string | undefined;
991
991
  /**
992
- * @public
993
992
  * <p>
994
993
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
995
994
  * dashes or spaces.
996
995
  * </p>
996
+ * @public
997
997
  */
998
998
  domainOwner?: string;
999
999
  }
@@ -1002,10 +1002,10 @@ export interface DeleteDomainRequest {
1002
1002
  */
1003
1003
  export interface DeleteDomainResult {
1004
1004
  /**
1005
- * @public
1006
1005
  * <p>
1007
1006
  * Contains information about the deleted domain after processing the request.
1008
1007
  * </p>
1008
+ * @public
1009
1009
  */
1010
1010
  domain?: DomainDescription;
1011
1011
  }
@@ -1014,55 +1014,55 @@ export interface DeleteDomainResult {
1014
1014
  */
1015
1015
  export interface DeleteDomainPermissionsPolicyRequest {
1016
1016
  /**
1017
- * @public
1018
1017
  * <p>
1019
1018
  * The name of the domain associated with the resource policy to be deleted.
1020
1019
  * </p>
1020
+ * @public
1021
1021
  */
1022
1022
  domain: string | undefined;
1023
1023
  /**
1024
- * @public
1025
1024
  * <p>
1026
1025
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1027
1026
  * dashes or spaces.
1028
1027
  * </p>
1028
+ * @public
1029
1029
  */
1030
1030
  domainOwner?: string;
1031
1031
  /**
1032
- * @public
1033
1032
  * <p>
1034
1033
  * The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which
1035
1034
  * prevents others from overwriting your changes to the domain's resource policy.
1036
1035
  * </p>
1036
+ * @public
1037
1037
  */
1038
1038
  policyRevision?: string;
1039
1039
  }
1040
1040
  /**
1041
- * @public
1042
1041
  * <p>
1043
1042
  * An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
1044
1043
  * </p>
1044
+ * @public
1045
1045
  */
1046
1046
  export interface ResourcePolicy {
1047
1047
  /**
1048
- * @public
1049
1048
  * <p>
1050
1049
  * The ARN of the resource associated with the resource policy
1051
1050
  * </p>
1051
+ * @public
1052
1052
  */
1053
1053
  resourceArn?: string;
1054
1054
  /**
1055
- * @public
1056
1055
  * <p>
1057
1056
  * The current revision of the resource policy.
1058
1057
  * </p>
1058
+ * @public
1059
1059
  */
1060
1060
  revision?: string;
1061
1061
  /**
1062
- * @public
1063
1062
  * <p>
1064
1063
  * The resource policy formatted in JSON.
1065
1064
  * </p>
1065
+ * @public
1066
1066
  */
1067
1067
  document?: string;
1068
1068
  }
@@ -1071,10 +1071,10 @@ export interface ResourcePolicy {
1071
1071
  */
1072
1072
  export interface DeleteDomainPermissionsPolicyResult {
1073
1073
  /**
1074
- * @public
1075
1074
  * <p>
1076
1075
  * Information about the deleted resource policy after processing the request.
1077
1076
  * </p>
1077
+ * @public
1078
1078
  */
1079
1079
  policy?: ResourcePolicy;
1080
1080
  }
@@ -1083,30 +1083,29 @@ export interface DeleteDomainPermissionsPolicyResult {
1083
1083
  */
1084
1084
  export interface DeletePackageRequest {
1085
1085
  /**
1086
- * @public
1087
1086
  * <p>The name of the domain that contains the package to delete.</p>
1087
+ * @public
1088
1088
  */
1089
1089
  domain: string | undefined;
1090
1090
  /**
1091
- * @public
1092
1091
  * <p>
1093
1092
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1094
1093
  * dashes or spaces.
1095
1094
  * </p>
1095
+ * @public
1096
1096
  */
1097
1097
  domainOwner?: string;
1098
1098
  /**
1099
- * @public
1100
1099
  * <p>The name of the repository that contains the package to delete.</p>
1100
+ * @public
1101
1101
  */
1102
1102
  repository: string | undefined;
1103
1103
  /**
1104
- * @public
1105
1104
  * <p>The format of the requested package to delete.</p>
1105
+ * @public
1106
1106
  */
1107
1107
  format: PackageFormat | undefined;
1108
1108
  /**
1109
- * @public
1110
1109
  * <p>The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:</p>
1111
1110
  * <ul>
1112
1111
  * <li>
@@ -1126,60 +1125,60 @@ export interface DeletePackageRequest {
1126
1125
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1127
1126
  * </li>
1128
1127
  * </ul>
1128
+ * @public
1129
1129
  */
1130
1130
  namespace?: string;
1131
1131
  /**
1132
- * @public
1133
1132
  * <p>The name of the package to delete.</p>
1133
+ * @public
1134
1134
  */
1135
1135
  package: string | undefined;
1136
1136
  }
1137
1137
  /**
1138
- * @public
1139
1138
  * <p>Details about the origin restrictions set on the package.
1140
1139
  * The package origin restrictions determine how new versions of a package
1141
1140
  * can be added to a specific repository.</p>
1141
+ * @public
1142
1142
  */
1143
1143
  export interface PackageOriginRestrictions {
1144
1144
  /**
1145
- * @public
1146
1145
  * <p>The package origin configuration that determines if new versions of the package can be published directly to the repository.</p>
1146
+ * @public
1147
1147
  */
1148
1148
  publish: AllowPublish | undefined;
1149
1149
  /**
1150
- * @public
1151
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>
1151
+ * @public
1152
1152
  */
1153
1153
  upstream: AllowUpstream | undefined;
1154
1154
  }
1155
1155
  /**
1156
- * @public
1157
1156
  * <p>Details about the package origin configuration of a package.</p>
1157
+ * @public
1158
1158
  */
1159
1159
  export interface PackageOriginConfiguration {
1160
1160
  /**
1161
- * @public
1162
1161
  * <p>A <code>PackageOriginRestrictions</code> object that contains information
1163
1162
  * about the upstream and publish package origin configuration for the package.</p>
1163
+ * @public
1164
1164
  */
1165
1165
  restrictions?: PackageOriginRestrictions;
1166
1166
  }
1167
1167
  /**
1168
- * @public
1169
1168
  * <p>
1170
1169
  * Details about a package, including its format, namespace, and name.
1171
1170
  * </p>
1171
+ * @public
1172
1172
  */
1173
1173
  export interface PackageSummary {
1174
1174
  /**
1175
- * @public
1176
1175
  * <p>
1177
1176
  * The format of the package.
1178
1177
  * </p>
1178
+ * @public
1179
1179
  */
1180
1180
  format?: PackageFormat;
1181
1181
  /**
1182
- * @public
1183
1182
  * <p>The namespace of the package. The package component that specifies its
1184
1183
  * namespace depends on its type. For example:</p>
1185
1184
  * <ul>
@@ -1203,20 +1202,21 @@ export interface PackageSummary {
1203
1202
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1204
1203
  * </li>
1205
1204
  * </ul>
1205
+ * @public
1206
1206
  */
1207
1207
  namespace?: string;
1208
1208
  /**
1209
- * @public
1210
1209
  * <p>
1211
1210
  * The name of the package.
1212
1211
  * </p>
1212
+ * @public
1213
1213
  */
1214
1214
  package?: string;
1215
1215
  /**
1216
- * @public
1217
1216
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
1218
1217
  * object that contains a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a> object
1219
1218
  * that contains information about the upstream and publish package origin restrictions.</p>
1219
+ * @public
1220
1220
  */
1221
1221
  originConfiguration?: PackageOriginConfiguration;
1222
1222
  }
@@ -1225,10 +1225,10 @@ export interface PackageSummary {
1225
1225
  */
1226
1226
  export interface DeletePackageResult {
1227
1227
  /**
1228
- * @public
1229
1228
  * <p>
1230
1229
  * Details about a package, including its format, namespace, and name.
1231
1230
  * </p>
1231
+ * @public
1232
1232
  */
1233
1233
  deletedPackage?: PackageSummary;
1234
1234
  }
@@ -1237,36 +1237,35 @@ export interface DeletePackageResult {
1237
1237
  */
1238
1238
  export interface DeletePackageVersionsRequest {
1239
1239
  /**
1240
- * @public
1241
1240
  * <p>
1242
1241
  * The name of the domain that contains the package to delete.
1243
1242
  * </p>
1243
+ * @public
1244
1244
  */
1245
1245
  domain: string | undefined;
1246
1246
  /**
1247
- * @public
1248
1247
  * <p>
1249
1248
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1250
1249
  * dashes or spaces.
1251
1250
  * </p>
1251
+ * @public
1252
1252
  */
1253
1253
  domainOwner?: string;
1254
1254
  /**
1255
- * @public
1256
1255
  * <p>
1257
1256
  * The name of the repository that contains the package versions to delete.
1258
1257
  * </p>
1258
+ * @public
1259
1259
  */
1260
1260
  repository: string | undefined;
1261
1261
  /**
1262
- * @public
1263
1262
  * <p>
1264
1263
  * The format of the package versions to delete.
1265
1264
  * </p>
1265
+ * @public
1266
1266
  */
1267
1267
  format: PackageFormat | undefined;
1268
1268
  /**
1269
- * @public
1270
1269
  * <p>The namespace of the package versions to be deleted. The package version component that specifies its
1271
1270
  * namespace depends on its type. For example:</p>
1272
1271
  * <ul>
@@ -1290,27 +1289,28 @@ export interface DeletePackageVersionsRequest {
1290
1289
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1291
1290
  * </li>
1292
1291
  * </ul>
1292
+ * @public
1293
1293
  */
1294
1294
  namespace?: string;
1295
1295
  /**
1296
- * @public
1297
1296
  * <p>
1298
1297
  * The name of the package with the versions to delete.
1299
1298
  * </p>
1299
+ * @public
1300
1300
  */
1301
1301
  package: string | undefined;
1302
1302
  /**
1303
- * @public
1304
1303
  * <p>
1305
1304
  * An array of strings that specify the versions of the package to delete.
1306
1305
  * </p>
1306
+ * @public
1307
1307
  */
1308
1308
  versions: string[] | undefined;
1309
1309
  /**
1310
- * @public
1311
1310
  * <p>
1312
1311
  * The expected status of the package version to delete.
1313
1312
  * </p>
1313
+ * @public
1314
1314
  */
1315
1315
  expectedStatus?: PackageVersionStatus;
1316
1316
  }
@@ -1319,15 +1319,14 @@ export interface DeletePackageVersionsRequest {
1319
1319
  */
1320
1320
  export interface DeletePackageVersionsResult {
1321
1321
  /**
1322
- * @public
1323
1322
  * <p>
1324
1323
  * A list of the package versions that were successfully deleted. The
1325
1324
  * status of every successful version will be <code>Deleted</code>.
1326
1325
  * </p>
1326
+ * @public
1327
1327
  */
1328
1328
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
1329
1329
  /**
1330
- * @public
1331
1330
  * <p>
1332
1331
  * A <code>PackageVersionError</code> object that contains a map of errors codes for the
1333
1332
  * deleted package that failed. The possible error codes are:
@@ -1364,6 +1363,7 @@ export interface DeletePackageVersionsResult {
1364
1363
  * </p>
1365
1364
  * </li>
1366
1365
  * </ul>
1366
+ * @public
1367
1367
  */
1368
1368
  failedVersions?: Record<string, PackageVersionError>;
1369
1369
  }
@@ -1372,23 +1372,23 @@ export interface DeletePackageVersionsResult {
1372
1372
  */
1373
1373
  export interface DeleteRepositoryRequest {
1374
1374
  /**
1375
- * @public
1376
1375
  * <p>
1377
1376
  * The name of the domain that contains the repository to delete.
1378
1377
  * </p>
1378
+ * @public
1379
1379
  */
1380
1380
  domain: string | undefined;
1381
1381
  /**
1382
- * @public
1383
1382
  * <p>
1384
1383
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1385
1384
  * dashes or spaces.
1386
1385
  * </p>
1386
+ * @public
1387
1387
  */
1388
1388
  domainOwner?: string;
1389
1389
  /**
1390
- * @public
1391
1390
  * <p> The name of the repository to delete. </p>
1391
+ * @public
1392
1392
  */
1393
1393
  repository: string | undefined;
1394
1394
  }
@@ -1397,10 +1397,10 @@ export interface DeleteRepositoryRequest {
1397
1397
  */
1398
1398
  export interface DeleteRepositoryResult {
1399
1399
  /**
1400
- * @public
1401
1400
  * <p>
1402
1401
  * Information about the deleted repository after processing the request.
1403
1402
  * </p>
1403
+ * @public
1404
1404
  */
1405
1405
  repository?: RepositoryDescription;
1406
1406
  }
@@ -1409,33 +1409,33 @@ export interface DeleteRepositoryResult {
1409
1409
  */
1410
1410
  export interface DeleteRepositoryPermissionsPolicyRequest {
1411
1411
  /**
1412
- * @public
1413
1412
  * <p>
1414
1413
  * The name of the domain that contains the repository associated with the resource policy to be deleted.
1415
1414
  * </p>
1415
+ * @public
1416
1416
  */
1417
1417
  domain: string | undefined;
1418
1418
  /**
1419
- * @public
1420
1419
  * <p>
1421
1420
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1422
1421
  * dashes or spaces.
1423
1422
  * </p>
1423
+ * @public
1424
1424
  */
1425
1425
  domainOwner?: string;
1426
1426
  /**
1427
- * @public
1428
1427
  * <p>
1429
1428
  * The name of the repository that is associated with the resource policy to be deleted
1430
1429
  * </p>
1430
+ * @public
1431
1431
  */
1432
1432
  repository: string | undefined;
1433
1433
  /**
1434
- * @public
1435
1434
  * <p>
1436
1435
  * The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which
1437
1436
  * prevents others from accidentally overwriting your changes to the repository's resource policy.
1438
1437
  * </p>
1438
+ * @public
1439
1439
  */
1440
1440
  policyRevision?: string;
1441
1441
  }
@@ -1444,10 +1444,10 @@ export interface DeleteRepositoryPermissionsPolicyRequest {
1444
1444
  */
1445
1445
  export interface DeleteRepositoryPermissionsPolicyResult {
1446
1446
  /**
1447
- * @public
1448
1447
  * <p>
1449
1448
  * Information about the deleted policy after processing the request.
1450
1449
  * </p>
1450
+ * @public
1451
1451
  */
1452
1452
  policy?: ResourcePolicy;
1453
1453
  }
@@ -1456,18 +1456,18 @@ export interface DeleteRepositoryPermissionsPolicyResult {
1456
1456
  */
1457
1457
  export interface DescribeDomainRequest {
1458
1458
  /**
1459
- * @public
1460
1459
  * <p>
1461
1460
  * A string that specifies the name of the requested domain.
1462
1461
  * </p>
1462
+ * @public
1463
1463
  */
1464
1464
  domain: string | undefined;
1465
1465
  /**
1466
- * @public
1467
1466
  * <p>
1468
1467
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1469
1468
  * dashes or spaces.
1470
1469
  * </p>
1470
+ * @public
1471
1471
  */
1472
1472
  domainOwner?: string;
1473
1473
  }
@@ -1476,11 +1476,11 @@ export interface DescribeDomainRequest {
1476
1476
  */
1477
1477
  export interface DescribeDomainResult {
1478
1478
  /**
1479
- * @public
1480
1479
  * <p>
1481
1480
  * Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you
1482
1481
  * add one or more repositories.
1483
1482
  * </p>
1483
+ * @public
1484
1484
  */
1485
1485
  domain?: DomainDescription;
1486
1486
  }
@@ -1489,30 +1489,29 @@ export interface DescribeDomainResult {
1489
1489
  */
1490
1490
  export interface DescribePackageRequest {
1491
1491
  /**
1492
- * @public
1493
1492
  * <p>The name of the domain that contains the repository that contains the package.</p>
1493
+ * @public
1494
1494
  */
1495
1495
  domain: string | undefined;
1496
1496
  /**
1497
- * @public
1498
1497
  * <p>
1499
1498
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1500
1499
  * dashes or spaces.
1501
1500
  * </p>
1501
+ * @public
1502
1502
  */
1503
1503
  domainOwner?: string;
1504
1504
  /**
1505
- * @public
1506
1505
  * <p>The name of the repository that contains the requested package. </p>
1506
+ * @public
1507
1507
  */
1508
1508
  repository: string | undefined;
1509
1509
  /**
1510
- * @public
1511
1510
  * <p>A format that specifies the type of the requested package.</p>
1511
+ * @public
1512
1512
  */
1513
1513
  format: PackageFormat | undefined;
1514
1514
  /**
1515
- * @public
1516
1515
  * <p>The namespace of the requested package. The package component that specifies its
1517
1516
  * namespace depends on its type. For example:</p>
1518
1517
  * <ul>
@@ -1536,26 +1535,26 @@ export interface DescribePackageRequest {
1536
1535
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1537
1536
  * </li>
1538
1537
  * </ul>
1538
+ * @public
1539
1539
  */
1540
1540
  namespace?: string;
1541
1541
  /**
1542
- * @public
1543
1542
  * <p>The name of the requested package.</p>
1543
+ * @public
1544
1544
  */
1545
1545
  package: string | undefined;
1546
1546
  }
1547
1547
  /**
1548
- * @public
1549
1548
  * <p>Details about a package.</p>
1549
+ * @public
1550
1550
  */
1551
1551
  export interface PackageDescription {
1552
1552
  /**
1553
- * @public
1554
1553
  * <p>A format that specifies the type of the package.</p>
1554
+ * @public
1555
1555
  */
1556
1556
  format?: PackageFormat;
1557
1557
  /**
1558
- * @public
1559
1558
  * <p>The namespace of the package. The package component that specifies its
1560
1559
  * namespace depends on its type. For example:</p>
1561
1560
  * <ul>
@@ -1579,16 +1578,17 @@ export interface PackageDescription {
1579
1578
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1580
1579
  * </li>
1581
1580
  * </ul>
1581
+ * @public
1582
1582
  */
1583
1583
  namespace?: string;
1584
1584
  /**
1585
- * @public
1586
1585
  * <p>The name of the package.</p>
1586
+ * @public
1587
1587
  */
1588
1588
  name?: string;
1589
1589
  /**
1590
- * @public
1591
1590
  * <p>The package origin configuration for the package.</p>
1591
+ * @public
1592
1592
  */
1593
1593
  originConfiguration?: PackageOriginConfiguration;
1594
1594
  }
@@ -1597,9 +1597,9 @@ export interface PackageDescription {
1597
1597
  */
1598
1598
  export interface DescribePackageResult {
1599
1599
  /**
1600
- * @public
1601
1600
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
1602
1601
  * object that contains information about the requested package.</p>
1602
+ * @public
1603
1603
  */
1604
1604
  package: PackageDescription | undefined;
1605
1605
  }
@@ -1608,34 +1608,33 @@ export interface DescribePackageResult {
1608
1608
  */
1609
1609
  export interface DescribePackageVersionRequest {
1610
1610
  /**
1611
- * @public
1612
1611
  * <p>
1613
1612
  * The name of the domain that contains the repository that contains the package version.
1614
1613
  * </p>
1614
+ * @public
1615
1615
  */
1616
1616
  domain: string | undefined;
1617
1617
  /**
1618
- * @public
1619
1618
  * <p>
1620
1619
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1621
1620
  * dashes or spaces.
1622
1621
  * </p>
1622
+ * @public
1623
1623
  */
1624
1624
  domainOwner?: string;
1625
1625
  /**
1626
- * @public
1627
1626
  * <p> The name of the repository that contains the package version. </p>
1627
+ * @public
1628
1628
  */
1629
1629
  repository: string | undefined;
1630
1630
  /**
1631
- * @public
1632
1631
  * <p>
1633
1632
  * A format that specifies the type of the requested package version.
1634
1633
  * </p>
1634
+ * @public
1635
1635
  */
1636
1636
  format: PackageFormat | undefined;
1637
1637
  /**
1638
- * @public
1639
1638
  * <p>The namespace of the requested package version. The package version component that specifies its
1640
1639
  * namespace depends on its type. For example:</p>
1641
1640
  * <ul>
@@ -1659,58 +1658,59 @@ export interface DescribePackageVersionRequest {
1659
1658
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1660
1659
  * </li>
1661
1660
  * </ul>
1661
+ * @public
1662
1662
  */
1663
1663
  namespace?: string;
1664
1664
  /**
1665
- * @public
1666
1665
  * <p> The name of the requested package version. </p>
1666
+ * @public
1667
1667
  */
1668
1668
  package: string | undefined;
1669
1669
  /**
1670
- * @public
1671
1670
  * <p>
1672
1671
  * A string that contains the package version (for example, <code>3.5.2</code>).
1673
1672
  * </p>
1673
+ * @public
1674
1674
  */
1675
1675
  packageVersion: string | undefined;
1676
1676
  }
1677
1677
  /**
1678
- * @public
1679
1678
  * <p>
1680
1679
  * Details of the license data.
1681
1680
  * </p>
1681
+ * @public
1682
1682
  */
1683
1683
  export interface LicenseInfo {
1684
1684
  /**
1685
- * @public
1686
1685
  * <p>
1687
1686
  * Name of the license.
1688
1687
  * </p>
1688
+ * @public
1689
1689
  */
1690
1690
  name?: string;
1691
1691
  /**
1692
- * @public
1693
1692
  * <p>
1694
1693
  * The URL for license data.
1695
1694
  * </p>
1695
+ * @public
1696
1696
  */
1697
1697
  url?: string;
1698
1698
  }
1699
1699
  /**
1700
- * @public
1701
1700
  * <p>Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to.
1702
1701
  * For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external
1703
1702
  * connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.</p>
1703
+ * @public
1704
1704
  */
1705
1705
  export interface DomainEntryPoint {
1706
1706
  /**
1707
- * @public
1708
1707
  * <p>The name of the repository that a package was originally published to.</p>
1708
+ * @public
1709
1709
  */
1710
1710
  repositoryName?: string;
1711
1711
  /**
1712
- * @public
1713
1712
  * <p>The name of the external connection that a package was ingested from.</p>
1713
+ * @public
1714
1714
  */
1715
1715
  externalConnectionName?: string;
1716
1716
  }
@@ -1728,39 +1728,38 @@ export declare const PackageVersionOriginType: {
1728
1728
  */
1729
1729
  export type PackageVersionOriginType = (typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
1730
1730
  /**
1731
- * @public
1732
1731
  * <p>Information about how a package version was added to a repository.</p>
1732
+ * @public
1733
1733
  */
1734
1734
  export interface PackageVersionOrigin {
1735
1735
  /**
1736
- * @public
1737
1736
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html">DomainEntryPoint</a> object that contains
1738
1737
  * information about from which repository or external connection the package version was added to the domain.</p>
1738
+ * @public
1739
1739
  */
1740
1740
  domainEntryPoint?: DomainEntryPoint;
1741
1741
  /**
1742
- * @public
1743
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
1744
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>
1744
+ * @public
1745
1745
  */
1746
1746
  originType?: PackageVersionOriginType;
1747
1747
  }
1748
1748
  /**
1749
- * @public
1750
1749
  * <p>
1751
1750
  * Details about a package version.
1752
1751
  * </p>
1752
+ * @public
1753
1753
  */
1754
1754
  export interface PackageVersionDescription {
1755
1755
  /**
1756
- * @public
1757
1756
  * <p>
1758
1757
  * The format of the package version.
1759
1758
  * </p>
1759
+ * @public
1760
1760
  */
1761
1761
  format?: PackageFormat;
1762
1762
  /**
1763
- * @public
1764
1763
  * <p>The namespace of the package version. The package version component that specifies its
1765
1764
  * namespace depends on its type. For example:</p>
1766
1765
  * <ul>
@@ -1784,86 +1783,87 @@ export interface PackageVersionDescription {
1784
1783
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
1785
1784
  * </li>
1786
1785
  * </ul>
1786
+ * @public
1787
1787
  */
1788
1788
  namespace?: string;
1789
1789
  /**
1790
- * @public
1791
1790
  * <p>
1792
1791
  * The name of the requested package.
1793
1792
  * </p>
1793
+ * @public
1794
1794
  */
1795
1795
  packageName?: string;
1796
1796
  /**
1797
- * @public
1798
1797
  * <p>
1799
1798
  * The name of the package that is displayed. The <code>displayName</code> varies depending
1800
1799
  * on the package version's format. For example, if an npm package is named <code>ui</code>,
1801
1800
  * is in the namespace <code>vue</code>, and has the format <code>npm</code>, then
1802
1801
  * the <code>displayName</code> is <code>@vue/ui</code>.
1803
1802
  * </p>
1803
+ * @public
1804
1804
  */
1805
1805
  displayName?: string;
1806
1806
  /**
1807
- * @public
1808
1807
  * <p>
1809
1808
  * The version of the package.
1810
1809
  * </p>
1810
+ * @public
1811
1811
  */
1812
1812
  version?: string;
1813
1813
  /**
1814
- * @public
1815
1814
  * <p>
1816
1815
  * A summary of the package version. The summary is extracted from the package. The information in and
1817
1816
  * detail level of the summary depends on the package version's format.
1818
1817
  * </p>
1818
+ * @public
1819
1819
  */
1820
1820
  summary?: string;
1821
1821
  /**
1822
- * @public
1823
1822
  * <p>
1824
1823
  * The homepage associated with the package.
1825
1824
  * </p>
1825
+ * @public
1826
1826
  */
1827
1827
  homePage?: string;
1828
1828
  /**
1829
- * @public
1830
1829
  * <p>
1831
1830
  * The repository for the source code in the package version, or the source code used to build it.
1832
1831
  * </p>
1832
+ * @public
1833
1833
  */
1834
1834
  sourceCodeRepository?: string;
1835
1835
  /**
1836
- * @public
1837
1836
  * <p>
1838
1837
  * A timestamp that contains the date and time the package version was published.
1839
1838
  * </p>
1839
+ * @public
1840
1840
  */
1841
1841
  publishedTime?: Date;
1842
1842
  /**
1843
- * @public
1844
1843
  * <p>
1845
1844
  * Information about licenses associated with the package version.
1846
1845
  * </p>
1846
+ * @public
1847
1847
  */
1848
1848
  licenses?: LicenseInfo[];
1849
1849
  /**
1850
- * @public
1851
1850
  * <p>
1852
1851
  * The revision of the package version.
1853
1852
  * </p>
1853
+ * @public
1854
1854
  */
1855
1855
  revision?: string;
1856
1856
  /**
1857
- * @public
1858
1857
  * <p>
1859
1858
  * A string that contains the status of the package version.
1860
1859
  * </p>
1860
+ * @public
1861
1861
  */
1862
1862
  status?: PackageVersionStatus;
1863
1863
  /**
1864
- * @public
1865
1864
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains
1866
1865
  * information about how the package version was added to the repository.</p>
1866
+ * @public
1867
1867
  */
1868
1868
  origin?: PackageVersionOrigin;
1869
1869
  }
@@ -1872,11 +1872,11 @@ export interface PackageVersionDescription {
1872
1872
  */
1873
1873
  export interface DescribePackageVersionResult {
1874
1874
  /**
1875
- * @public
1876
1875
  * <p>
1877
1876
  * A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
1878
1877
  * object that contains information about the requested package version.
1879
1878
  * </p>
1879
+ * @public
1880
1880
  */
1881
1881
  packageVersion: PackageVersionDescription | undefined;
1882
1882
  }
@@ -1885,25 +1885,25 @@ export interface DescribePackageVersionResult {
1885
1885
  */
1886
1886
  export interface DescribeRepositoryRequest {
1887
1887
  /**
1888
- * @public
1889
1888
  * <p>
1890
1889
  * The name of the domain that contains the repository to describe.
1891
1890
  * </p>
1891
+ * @public
1892
1892
  */
1893
1893
  domain: string | undefined;
1894
1894
  /**
1895
- * @public
1896
1895
  * <p>
1897
1896
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1898
1897
  * dashes or spaces.
1899
1898
  * </p>
1899
+ * @public
1900
1900
  */
1901
1901
  domainOwner?: string;
1902
1902
  /**
1903
- * @public
1904
1903
  * <p>
1905
1904
  * A string that specifies the name of the requested repository.
1906
1905
  * </p>
1906
+ * @public
1907
1907
  */
1908
1908
  repository: string | undefined;
1909
1909
  }
@@ -1912,10 +1912,10 @@ export interface DescribeRepositoryRequest {
1912
1912
  */
1913
1913
  export interface DescribeRepositoryResult {
1914
1914
  /**
1915
- * @public
1916
1915
  * <p>
1917
1916
  * A <code>RepositoryDescription</code> object that contains the requested repository information.
1918
1917
  * </p>
1918
+ * @public
1919
1919
  */
1920
1920
  repository?: RepositoryDescription;
1921
1921
  }
@@ -1924,27 +1924,27 @@ export interface DescribeRepositoryResult {
1924
1924
  */
1925
1925
  export interface DisassociateExternalConnectionRequest {
1926
1926
  /**
1927
- * @public
1928
1927
  * <p>The name of the domain that contains the repository from which to remove the external
1929
1928
  * repository. </p>
1929
+ * @public
1930
1930
  */
1931
1931
  domain: string | undefined;
1932
1932
  /**
1933
- * @public
1934
1933
  * <p>
1935
1934
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1936
1935
  * dashes or spaces.
1937
1936
  * </p>
1937
+ * @public
1938
1938
  */
1939
1939
  domainOwner?: string;
1940
1940
  /**
1941
- * @public
1942
1941
  * <p>The name of the repository from which the external connection will be removed. </p>
1942
+ * @public
1943
1943
  */
1944
1944
  repository: string | undefined;
1945
1945
  /**
1946
- * @public
1947
1946
  * <p>The name of the external connection to be removed from the repository. </p>
1947
+ * @public
1948
1948
  */
1949
1949
  externalConnection: string | undefined;
1950
1950
  }
@@ -1953,10 +1953,10 @@ export interface DisassociateExternalConnectionRequest {
1953
1953
  */
1954
1954
  export interface DisassociateExternalConnectionResult {
1955
1955
  /**
1956
- * @public
1957
1956
  * <p>
1958
1957
  * The repository associated with the removed external connection.
1959
1958
  * </p>
1959
+ * @public
1960
1960
  */
1961
1961
  repository?: RepositoryDescription;
1962
1962
  }
@@ -1965,36 +1965,35 @@ export interface DisassociateExternalConnectionResult {
1965
1965
  */
1966
1966
  export interface DisposePackageVersionsRequest {
1967
1967
  /**
1968
- * @public
1969
1968
  * <p>
1970
1969
  * The name of the domain that contains the repository you want to dispose.
1971
1970
  * </p>
1971
+ * @public
1972
1972
  */
1973
1973
  domain: string | undefined;
1974
1974
  /**
1975
- * @public
1976
1975
  * <p>
1977
1976
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
1978
1977
  * dashes or spaces.
1979
1978
  * </p>
1979
+ * @public
1980
1980
  */
1981
1981
  domainOwner?: string;
1982
1982
  /**
1983
- * @public
1984
1983
  * <p>
1985
1984
  * The name of the repository that contains the package versions you want to dispose.
1986
1985
  * </p>
1986
+ * @public
1987
1987
  */
1988
1988
  repository: string | undefined;
1989
1989
  /**
1990
- * @public
1991
1990
  * <p>
1992
1991
  * A format that specifies the type of package versions you want to dispose.
1993
1992
  * </p>
1993
+ * @public
1994
1994
  */
1995
1995
  format: PackageFormat | undefined;
1996
1996
  /**
1997
- * @public
1998
1997
  * <p>The namespace of the package versions to be disposed. The package version component that specifies its
1999
1998
  * namespace depends on its type. For example:</p>
2000
1999
  * <ul>
@@ -2018,34 +2017,35 @@ export interface DisposePackageVersionsRequest {
2018
2017
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
2019
2018
  * </li>
2020
2019
  * </ul>
2020
+ * @public
2021
2021
  */
2022
2022
  namespace?: string;
2023
2023
  /**
2024
- * @public
2025
2024
  * <p>
2026
2025
  * The name of the package with the versions you want to dispose.
2027
2026
  * </p>
2027
+ * @public
2028
2028
  */
2029
2029
  package: string | undefined;
2030
2030
  /**
2031
- * @public
2032
2031
  * <p>
2033
2032
  * The versions of the package you want to dispose.
2034
2033
  * </p>
2034
+ * @public
2035
2035
  */
2036
2036
  versions: string[] | undefined;
2037
2037
  /**
2038
- * @public
2039
2038
  * <p>
2040
2039
  * The revisions of the package versions you want to dispose.
2041
2040
  * </p>
2041
+ * @public
2042
2042
  */
2043
2043
  versionRevisions?: Record<string, string>;
2044
2044
  /**
2045
- * @public
2046
2045
  * <p>
2047
2046
  * The expected status of the package version to dispose.
2048
2047
  * </p>
2048
+ * @public
2049
2049
  */
2050
2050
  expectedStatus?: PackageVersionStatus;
2051
2051
  }
@@ -2054,14 +2054,13 @@ export interface DisposePackageVersionsRequest {
2054
2054
  */
2055
2055
  export interface DisposePackageVersionsResult {
2056
2056
  /**
2057
- * @public
2058
2057
  * <p>
2059
2058
  * A list of the package versions that were successfully disposed.
2060
2059
  * </p>
2060
+ * @public
2061
2061
  */
2062
2062
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
2063
2063
  /**
2064
- * @public
2065
2064
  * <p>
2066
2065
  * A <code>PackageVersionError</code> object that contains a map of errors codes for the
2067
2066
  * disposed package versions that failed. The possible error codes are:
@@ -2098,6 +2097,7 @@ export interface DisposePackageVersionsResult {
2098
2097
  * </p>
2099
2098
  * </li>
2100
2099
  * </ul>
2100
+ * @public
2101
2101
  */
2102
2102
  failedVersions?: Record<string, PackageVersionError>;
2103
2103
  }
@@ -2106,26 +2106,26 @@ export interface DisposePackageVersionsResult {
2106
2106
  */
2107
2107
  export interface GetAuthorizationTokenRequest {
2108
2108
  /**
2109
- * @public
2110
2109
  * <p>
2111
2110
  * The name of the domain that is in scope for the generated authorization token.
2112
2111
  * </p>
2112
+ * @public
2113
2113
  */
2114
2114
  domain: string | undefined;
2115
2115
  /**
2116
- * @public
2117
2116
  * <p>
2118
2117
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2119
2118
  * dashes or spaces.
2120
2119
  * </p>
2120
+ * @public
2121
2121
  */
2122
2122
  domainOwner?: string;
2123
2123
  /**
2124
- * @public
2125
2124
  * <p>The time, in seconds, that the generated authorization token is valid. Valid values are
2126
2125
  * <code>0</code> and any number between <code>900</code> (15 minutes) and <code>43200</code> (12 hours).
2127
2126
  * A value of <code>0</code> will set the expiration of the authorization token to the same expiration of
2128
2127
  * the user's role's temporary credentials.</p>
2128
+ * @public
2129
2129
  */
2130
2130
  durationSeconds?: number;
2131
2131
  }
@@ -2134,17 +2134,17 @@ export interface GetAuthorizationTokenRequest {
2134
2134
  */
2135
2135
  export interface GetAuthorizationTokenResult {
2136
2136
  /**
2137
- * @public
2138
2137
  * <p>
2139
2138
  * The returned authentication token.
2140
2139
  * </p>
2140
+ * @public
2141
2141
  */
2142
2142
  authorizationToken?: string;
2143
2143
  /**
2144
- * @public
2145
2144
  * <p>
2146
2145
  * A timestamp that specifies the date and time the authorization token expires.
2147
2146
  * </p>
2147
+ * @public
2148
2148
  */
2149
2149
  expiration?: Date;
2150
2150
  }
@@ -2153,18 +2153,18 @@ export interface GetAuthorizationTokenResult {
2153
2153
  */
2154
2154
  export interface GetDomainPermissionsPolicyRequest {
2155
2155
  /**
2156
- * @public
2157
2156
  * <p>
2158
2157
  * The name of the domain to which the resource policy is attached.
2159
2158
  * </p>
2159
+ * @public
2160
2160
  */
2161
2161
  domain: string | undefined;
2162
2162
  /**
2163
- * @public
2164
2163
  * <p>
2165
2164
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2166
2165
  * dashes or spaces.
2167
2166
  * </p>
2167
+ * @public
2168
2168
  */
2169
2169
  domainOwner?: string;
2170
2170
  }
@@ -2173,10 +2173,10 @@ export interface GetDomainPermissionsPolicyRequest {
2173
2173
  */
2174
2174
  export interface GetDomainPermissionsPolicyResult {
2175
2175
  /**
2176
- * @public
2177
2176
  * <p>
2178
2177
  * The returned resource policy.
2179
2178
  * </p>
2179
+ * @public
2180
2180
  */
2181
2181
  policy?: ResourcePolicy;
2182
2182
  }
@@ -2185,36 +2185,35 @@ export interface GetDomainPermissionsPolicyResult {
2185
2185
  */
2186
2186
  export interface GetPackageVersionAssetRequest {
2187
2187
  /**
2188
- * @public
2189
2188
  * <p>
2190
2189
  * The name of the domain that contains the repository that contains the package version with the requested asset.
2191
2190
  * </p>
2191
+ * @public
2192
2192
  */
2193
2193
  domain: string | undefined;
2194
2194
  /**
2195
- * @public
2196
2195
  * <p>
2197
2196
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2198
2197
  * dashes or spaces.
2199
2198
  * </p>
2199
+ * @public
2200
2200
  */
2201
2201
  domainOwner?: string;
2202
2202
  /**
2203
- * @public
2204
2203
  * <p>
2205
2204
  * The repository that contains the package version with the requested asset.
2206
2205
  * </p>
2206
+ * @public
2207
2207
  */
2208
2208
  repository: string | undefined;
2209
2209
  /**
2210
- * @public
2211
2210
  * <p>
2212
2211
  * A format that specifies the type of the package version with the requested asset file.
2213
2212
  * </p>
2213
+ * @public
2214
2214
  */
2215
2215
  format: PackageFormat | undefined;
2216
2216
  /**
2217
- * @public
2218
2217
  * <p>The namespace of the package version with the requested asset file. The package version component that specifies its
2219
2218
  * namespace depends on its type. For example:</p>
2220
2219
  * <ul>
@@ -2238,34 +2237,35 @@ export interface GetPackageVersionAssetRequest {
2238
2237
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
2239
2238
  * </li>
2240
2239
  * </ul>
2240
+ * @public
2241
2241
  */
2242
2242
  namespace?: string;
2243
2243
  /**
2244
- * @public
2245
2244
  * <p>
2246
2245
  * The name of the package that contains the requested asset.
2247
2246
  * </p>
2247
+ * @public
2248
2248
  */
2249
2249
  package: string | undefined;
2250
2250
  /**
2251
- * @public
2252
2251
  * <p>
2253
2252
  * A string that contains the package version (for example, <code>3.5.2</code>).
2254
2253
  * </p>
2254
+ * @public
2255
2255
  */
2256
2256
  packageVersion: string | undefined;
2257
2257
  /**
2258
- * @public
2259
2258
  * <p>
2260
2259
  * The name of the requested asset.
2261
2260
  * </p>
2261
+ * @public
2262
2262
  */
2263
2263
  asset: string | undefined;
2264
2264
  /**
2265
- * @public
2266
2265
  * <p>
2267
2266
  * The name of the package version revision that contains the requested asset.
2268
2267
  * </p>
2268
+ * @public
2269
2269
  */
2270
2270
  packageVersionRevision?: string;
2271
2271
  }
@@ -2274,29 +2274,29 @@ export interface GetPackageVersionAssetRequest {
2274
2274
  */
2275
2275
  export interface GetPackageVersionAssetResult {
2276
2276
  /**
2277
- * @public
2278
2277
  * <p> The binary file, or asset, that is downloaded.</p>
2278
+ * @public
2279
2279
  */
2280
2280
  asset?: StreamingBlobTypes;
2281
2281
  /**
2282
- * @public
2283
2282
  * <p>
2284
2283
  * The name of the asset that is downloaded.
2285
2284
  * </p>
2285
+ * @public
2286
2286
  */
2287
2287
  assetName?: string;
2288
2288
  /**
2289
- * @public
2290
2289
  * <p>
2291
2290
  * A string that contains the package version (for example, <code>3.5.2</code>).
2292
2291
  * </p>
2292
+ * @public
2293
2293
  */
2294
2294
  packageVersion?: string;
2295
2295
  /**
2296
- * @public
2297
2296
  * <p>
2298
2297
  * The name of the package version revision that contains the downloaded asset.
2299
2298
  * </p>
2299
+ * @public
2300
2300
  */
2301
2301
  packageVersionRevision?: string;
2302
2302
  }
@@ -2305,36 +2305,35 @@ export interface GetPackageVersionAssetResult {
2305
2305
  */
2306
2306
  export interface GetPackageVersionReadmeRequest {
2307
2307
  /**
2308
- * @public
2309
2308
  * <p>
2310
2309
  * The name of the domain that contains the repository that contains the package version with the requested readme file.
2311
2310
  * </p>
2311
+ * @public
2312
2312
  */
2313
2313
  domain: string | undefined;
2314
2314
  /**
2315
- * @public
2316
2315
  * <p>
2317
2316
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2318
2317
  * dashes or spaces.
2319
2318
  * </p>
2319
+ * @public
2320
2320
  */
2321
2321
  domainOwner?: string;
2322
2322
  /**
2323
- * @public
2324
2323
  * <p>
2325
2324
  * The repository that contains the package with the requested readme file.
2326
2325
  * </p>
2326
+ * @public
2327
2327
  */
2328
2328
  repository: string | undefined;
2329
2329
  /**
2330
- * @public
2331
2330
  * <p>
2332
2331
  * A format that specifies the type of the package version with the requested readme file.
2333
2332
  * </p>
2333
+ * @public
2334
2334
  */
2335
2335
  format: PackageFormat | undefined;
2336
2336
  /**
2337
- * @public
2338
2337
  * <p>The namespace of the package version with the requested readme file. The package version component that specifies its
2339
2338
  * namespace depends on its type. For example:</p>
2340
2339
  * <ul>
@@ -2346,20 +2345,21 @@ export interface GetPackageVersionReadmeRequest {
2346
2345
  * versions of those formats do not have a namespace. </p>
2347
2346
  * </li>
2348
2347
  * </ul>
2348
+ * @public
2349
2349
  */
2350
2350
  namespace?: string;
2351
2351
  /**
2352
- * @public
2353
2352
  * <p>
2354
2353
  * The name of the package version that contains the requested readme file.
2355
2354
  * </p>
2355
+ * @public
2356
2356
  */
2357
2357
  package: string | undefined;
2358
2358
  /**
2359
- * @public
2360
2359
  * <p>
2361
2360
  * A string that contains the package version (for example, <code>3.5.2</code>).
2362
2361
  * </p>
2362
+ * @public
2363
2363
  */
2364
2364
  packageVersion: string | undefined;
2365
2365
  }
@@ -2368,14 +2368,13 @@ export interface GetPackageVersionReadmeRequest {
2368
2368
  */
2369
2369
  export interface GetPackageVersionReadmeResult {
2370
2370
  /**
2371
- * @public
2372
2371
  * <p>
2373
2372
  * The format of the package with the requested readme file.
2374
2373
  * </p>
2374
+ * @public
2375
2375
  */
2376
2376
  format?: PackageFormat;
2377
2377
  /**
2378
- * @public
2379
2378
  * <p>The namespace of the package version with the requested readme file. The package version component that specifies its
2380
2379
  * namespace depends on its type. For example:</p>
2381
2380
  * <ul>
@@ -2396,34 +2395,35 @@ export interface GetPackageVersionReadmeResult {
2396
2395
  * </p>
2397
2396
  * </li>
2398
2397
  * </ul>
2398
+ * @public
2399
2399
  */
2400
2400
  namespace?: string;
2401
2401
  /**
2402
- * @public
2403
2402
  * <p>
2404
2403
  * The name of the package that contains the returned readme file.
2405
2404
  * </p>
2405
+ * @public
2406
2406
  */
2407
2407
  package?: string;
2408
2408
  /**
2409
- * @public
2410
2409
  * <p>
2411
2410
  * The version of the package with the requested readme file.
2412
2411
  * </p>
2412
+ * @public
2413
2413
  */
2414
2414
  version?: string;
2415
2415
  /**
2416
- * @public
2417
2416
  * <p>
2418
2417
  * The current revision associated with the package version.
2419
2418
  * </p>
2419
+ * @public
2420
2420
  */
2421
2421
  versionRevision?: string;
2422
2422
  /**
2423
- * @public
2424
2423
  * <p>
2425
2424
  * The text of the returned readme file.
2426
2425
  * </p>
2426
+ * @public
2427
2427
  */
2428
2428
  readme?: string;
2429
2429
  }
@@ -2432,33 +2432,33 @@ export interface GetPackageVersionReadmeResult {
2432
2432
  */
2433
2433
  export interface GetRepositoryEndpointRequest {
2434
2434
  /**
2435
- * @public
2436
2435
  * <p>
2437
2436
  * The name of the domain that contains the repository.
2438
2437
  * </p>
2438
+ * @public
2439
2439
  */
2440
2440
  domain: string | undefined;
2441
2441
  /**
2442
- * @public
2443
2442
  * <p>
2444
2443
  * The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include
2445
2444
  * dashes or spaces.
2446
2445
  * </p>
2446
+ * @public
2447
2447
  */
2448
2448
  domainOwner?: string;
2449
2449
  /**
2450
- * @public
2451
2450
  * <p>
2452
2451
  * The name of the repository.
2453
2452
  * </p>
2453
+ * @public
2454
2454
  */
2455
2455
  repository: string | undefined;
2456
2456
  /**
2457
- * @public
2458
2457
  * <p>
2459
2458
  * Returns which endpoint of a repository to return. A repository has one endpoint for each
2460
2459
  * package format.
2461
2460
  * </p>
2461
+ * @public
2462
2462
  */
2463
2463
  format: PackageFormat | undefined;
2464
2464
  }
@@ -2467,10 +2467,10 @@ export interface GetRepositoryEndpointRequest {
2467
2467
  */
2468
2468
  export interface GetRepositoryEndpointResult {
2469
2469
  /**
2470
- * @public
2471
2470
  * <p>
2472
2471
  * A string that specifies the URL of the returned endpoint.
2473
2472
  * </p>
2473
+ * @public
2474
2474
  */
2475
2475
  repositoryEndpoint?: string;
2476
2476
  }
@@ -2479,25 +2479,25 @@ export interface GetRepositoryEndpointResult {
2479
2479
  */
2480
2480
  export interface GetRepositoryPermissionsPolicyRequest {
2481
2481
  /**
2482
- * @public
2483
2482
  * <p>
2484
2483
  * The name of the domain containing the repository whose associated resource policy is to be retrieved.
2485
2484
  * </p>
2485
+ * @public
2486
2486
  */
2487
2487
  domain: string | undefined;
2488
2488
  /**
2489
- * @public
2490
2489
  * <p>
2491
2490
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2492
2491
  * dashes or spaces.
2493
2492
  * </p>
2493
+ * @public
2494
2494
  */
2495
2495
  domainOwner?: string;
2496
2496
  /**
2497
- * @public
2498
2497
  * <p>
2499
2498
  * The name of the repository whose associated resource policy is to be retrieved.
2500
2499
  * </p>
2500
+ * @public
2501
2501
  */
2502
2502
  repository: string | undefined;
2503
2503
  }
@@ -2506,10 +2506,10 @@ export interface GetRepositoryPermissionsPolicyRequest {
2506
2506
  */
2507
2507
  export interface GetRepositoryPermissionsPolicyResult {
2508
2508
  /**
2509
- * @public
2510
2509
  * <p>
2511
2510
  * The returned resource policy.
2512
2511
  * </p>
2512
+ * @public
2513
2513
  */
2514
2514
  policy?: ResourcePolicy;
2515
2515
  }
@@ -2518,68 +2518,68 @@ export interface GetRepositoryPermissionsPolicyResult {
2518
2518
  */
2519
2519
  export interface ListDomainsRequest {
2520
2520
  /**
2521
- * @public
2522
2521
  * <p>
2523
2522
  * The maximum number of results to return per page.
2524
2523
  * </p>
2524
+ * @public
2525
2525
  */
2526
2526
  maxResults?: number;
2527
2527
  /**
2528
- * @public
2529
2528
  * <p>
2530
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.
2531
2530
  * </p>
2531
+ * @public
2532
2532
  */
2533
2533
  nextToken?: string;
2534
2534
  }
2535
2535
  /**
2536
- * @public
2537
2536
  * <p> Information about a domain, including its name, Amazon Resource Name (ARN), and status.
2538
2537
  * The <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListDomains.html">ListDomains</a> operation returns a list of <code>DomainSummary</code>
2539
2538
  * objects. </p>
2539
+ * @public
2540
2540
  */
2541
2541
  export interface DomainSummary {
2542
2542
  /**
2543
- * @public
2544
2543
  * <p>
2545
2544
  * The name of the domain.
2546
2545
  * </p>
2546
+ * @public
2547
2547
  */
2548
2548
  name?: string;
2549
2549
  /**
2550
- * @public
2551
2550
  * <p>
2552
2551
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2553
2552
  * dashes or spaces.
2554
2553
  * </p>
2554
+ * @public
2555
2555
  */
2556
2556
  owner?: string;
2557
2557
  /**
2558
- * @public
2559
2558
  * <p>
2560
2559
  * The ARN of the domain.
2561
2560
  * </p>
2561
+ * @public
2562
2562
  */
2563
2563
  arn?: string;
2564
2564
  /**
2565
- * @public
2566
2565
  * <p>
2567
2566
  * A string that contains the status of the domain.
2568
2567
  * </p>
2568
+ * @public
2569
2569
  */
2570
2570
  status?: DomainStatus;
2571
2571
  /**
2572
- * @public
2573
2572
  * <p>
2574
2573
  * A timestamp that contains the date and time the domain was created.
2575
2574
  * </p>
2575
+ * @public
2576
2576
  */
2577
2577
  createdTime?: Date;
2578
2578
  /**
2579
- * @public
2580
2579
  * <p>
2581
2580
  * The key used to encrypt the domain.
2582
2581
  * </p>
2582
+ * @public
2583
2583
  */
2584
2584
  encryptionKey?: string;
2585
2585
  }
@@ -2588,17 +2588,17 @@ export interface DomainSummary {
2588
2588
  */
2589
2589
  export interface ListDomainsResult {
2590
2590
  /**
2591
- * @public
2592
2591
  * <p>
2593
2592
  * The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainSummary.html">DomainSummary</a> objects.
2594
2593
  * </p>
2594
+ * @public
2595
2595
  */
2596
2596
  domains?: DomainSummary[];
2597
2597
  /**
2598
- * @public
2599
2598
  * <p>
2600
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.
2601
2600
  * </p>
2601
+ * @public
2602
2602
  */
2603
2603
  nextToken?: string;
2604
2604
  }
@@ -2607,34 +2607,33 @@ export interface ListDomainsResult {
2607
2607
  */
2608
2608
  export interface ListPackagesRequest {
2609
2609
  /**
2610
- * @public
2611
2610
  * <p>
2612
2611
  * The name of the domain that contains the repository that contains the requested packages.
2613
2612
  * </p>
2613
+ * @public
2614
2614
  */
2615
2615
  domain: string | undefined;
2616
2616
  /**
2617
- * @public
2618
2617
  * <p>
2619
2618
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2620
2619
  * dashes or spaces.
2621
2620
  * </p>
2621
+ * @public
2622
2622
  */
2623
2623
  domainOwner?: string;
2624
2624
  /**
2625
- * @public
2626
2625
  * <p>
2627
2626
  * The name of the repository that contains the requested packages.
2628
2627
  * </p>
2628
+ * @public
2629
2629
  */
2630
2630
  repository: string | undefined;
2631
2631
  /**
2632
- * @public
2633
2632
  * <p>The format used to filter requested packages. Only packages from the provided format will be returned.</p>
2633
+ * @public
2634
2634
  */
2635
2635
  format?: PackageFormat;
2636
2636
  /**
2637
- * @public
2638
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>
2639
2638
  * <p>Each package format uses namespace as follows:</p>
2640
2639
  * <ul>
@@ -2658,41 +2657,42 @@ export interface ListPackagesRequest {
2658
2657
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
2659
2658
  * </li>
2660
2659
  * </ul>
2660
+ * @public
2661
2661
  */
2662
2662
  namespace?: string;
2663
2663
  /**
2664
- * @public
2665
2664
  * <p>
2666
2665
  * A prefix used to filter requested packages. Only packages with names that start with
2667
2666
  * <code>packagePrefix</code> are returned.
2668
2667
  * </p>
2668
+ * @public
2669
2669
  */
2670
2670
  packagePrefix?: string;
2671
2671
  /**
2672
- * @public
2673
2672
  * <p>
2674
2673
  * The maximum number of results to return per page.
2675
2674
  * </p>
2675
+ * @public
2676
2676
  */
2677
2677
  maxResults?: number;
2678
2678
  /**
2679
- * @public
2680
2679
  * <p>
2681
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.
2682
2681
  * </p>
2682
+ * @public
2683
2683
  */
2684
2684
  nextToken?: string;
2685
2685
  /**
2686
- * @public
2687
2686
  * <p>The value of the <code>Publish</code> package origin control restriction used to filter requested packages.
2688
2687
  * Only packages with the provided restriction are returned.
2689
2688
  * For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>.</p>
2689
+ * @public
2690
2690
  */
2691
2691
  publish?: AllowPublish;
2692
2692
  /**
2693
- * @public
2694
2693
  * <p>The value of the <code>Upstream</code> package origin control restriction used to filter requested packages.
2695
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>
2695
+ * @public
2696
2696
  */
2697
2697
  upstream?: AllowUpstream;
2698
2698
  }
@@ -2701,18 +2701,18 @@ export interface ListPackagesRequest {
2701
2701
  */
2702
2702
  export interface ListPackagesResult {
2703
2703
  /**
2704
- * @public
2705
2704
  * <p>
2706
2705
  * The list of returned <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html">PackageSummary</a>
2707
2706
  * objects.
2708
2707
  * </p>
2708
+ * @public
2709
2709
  */
2710
2710
  packages?: PackageSummary[];
2711
2711
  /**
2712
- * @public
2713
2712
  * <p>
2714
2713
  * If there are additional results, this is the token for the next set of results.
2715
2714
  * </p>
2715
+ * @public
2716
2716
  */
2717
2717
  nextToken?: string;
2718
2718
  }
@@ -2721,36 +2721,35 @@ export interface ListPackagesResult {
2721
2721
  */
2722
2722
  export interface ListPackageVersionAssetsRequest {
2723
2723
  /**
2724
- * @public
2725
2724
  * <p>
2726
2725
  * The name of the domain that contains the repository associated with the package version assets.
2727
2726
  * </p>
2727
+ * @public
2728
2728
  */
2729
2729
  domain: string | undefined;
2730
2730
  /**
2731
- * @public
2732
2731
  * <p>
2733
2732
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2734
2733
  * dashes or spaces.
2735
2734
  * </p>
2735
+ * @public
2736
2736
  */
2737
2737
  domainOwner?: string;
2738
2738
  /**
2739
- * @public
2740
2739
  * <p>
2741
2740
  * The name of the repository that contains the package that contains the requested package version assets.
2742
2741
  * </p>
2742
+ * @public
2743
2743
  */
2744
2744
  repository: string | undefined;
2745
2745
  /**
2746
- * @public
2747
2746
  * <p>
2748
2747
  * The format of the package that contains the requested package version assets.
2749
2748
  * </p>
2749
+ * @public
2750
2750
  */
2751
2751
  format: PackageFormat | undefined;
2752
2752
  /**
2753
- * @public
2754
2753
  * <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
2755
2754
  * namespace depends on its type. For example:</p>
2756
2755
  * <ul>
@@ -2774,34 +2773,35 @@ export interface ListPackageVersionAssetsRequest {
2774
2773
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
2775
2774
  * </li>
2776
2775
  * </ul>
2776
+ * @public
2777
2777
  */
2778
2778
  namespace?: string;
2779
2779
  /**
2780
- * @public
2781
2780
  * <p>
2782
2781
  * The name of the package that contains the requested package version assets.
2783
2782
  * </p>
2783
+ * @public
2784
2784
  */
2785
2785
  package: string | undefined;
2786
2786
  /**
2787
- * @public
2788
2787
  * <p>
2789
2788
  * A string that contains the package version (for example, <code>3.5.2</code>).
2790
2789
  * </p>
2790
+ * @public
2791
2791
  */
2792
2792
  packageVersion: string | undefined;
2793
2793
  /**
2794
- * @public
2795
2794
  * <p>
2796
2795
  * The maximum number of results to return per page.
2797
2796
  * </p>
2797
+ * @public
2798
2798
  */
2799
2799
  maxResults?: number;
2800
2800
  /**
2801
- * @public
2802
2801
  * <p>
2803
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.
2804
2803
  * </p>
2804
+ * @public
2805
2805
  */
2806
2806
  nextToken?: string;
2807
2807
  }
@@ -2810,14 +2810,13 @@ export interface ListPackageVersionAssetsRequest {
2810
2810
  */
2811
2811
  export interface ListPackageVersionAssetsResult {
2812
2812
  /**
2813
- * @public
2814
2813
  * <p>
2815
2814
  * The format of the package that contains the requested package version assets.
2816
2815
  * </p>
2816
+ * @public
2817
2817
  */
2818
2818
  format?: PackageFormat;
2819
2819
  /**
2820
- * @public
2821
2820
  * <p>The namespace of the package version that contains the requested package version assets. The package version component that specifies its
2822
2821
  * namespace depends on its type. For example:</p>
2823
2822
  * <ul>
@@ -2838,41 +2837,42 @@ export interface ListPackageVersionAssetsResult {
2838
2837
  * </p>
2839
2838
  * </li>
2840
2839
  * </ul>
2840
+ * @public
2841
2841
  */
2842
2842
  namespace?: string;
2843
2843
  /**
2844
- * @public
2845
2844
  * <p>
2846
2845
  * The name of the package that contains the requested package version assets.
2847
2846
  * </p>
2847
+ * @public
2848
2848
  */
2849
2849
  package?: string;
2850
2850
  /**
2851
- * @public
2852
2851
  * <p>
2853
2852
  * The version of the package associated with the requested assets.
2854
2853
  * </p>
2854
+ * @public
2855
2855
  */
2856
2856
  version?: string;
2857
2857
  /**
2858
- * @public
2859
2858
  * <p>
2860
2859
  * The current revision associated with the package version.
2861
2860
  * </p>
2861
+ * @public
2862
2862
  */
2863
2863
  versionRevision?: string;
2864
2864
  /**
2865
- * @public
2866
2865
  * <p>
2867
2866
  * If there are additional results, this is the token for the next set of results.
2868
2867
  * </p>
2868
+ * @public
2869
2869
  */
2870
2870
  nextToken?: string;
2871
2871
  /**
2872
- * @public
2873
2872
  * <p>
2874
2873
  * The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> objects.
2875
2874
  * </p>
2875
+ * @public
2876
2876
  */
2877
2877
  assets?: AssetSummary[];
2878
2878
  }
@@ -2881,36 +2881,35 @@ export interface ListPackageVersionAssetsResult {
2881
2881
  */
2882
2882
  export interface ListPackageVersionDependenciesRequest {
2883
2883
  /**
2884
- * @public
2885
2884
  * <p>
2886
2885
  * The name of the domain that contains the repository that contains the requested package version dependencies.
2887
2886
  * </p>
2887
+ * @public
2888
2888
  */
2889
2889
  domain: string | undefined;
2890
2890
  /**
2891
- * @public
2892
2891
  * <p>
2893
2892
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
2894
2893
  * dashes or spaces.
2895
2894
  * </p>
2895
+ * @public
2896
2896
  */
2897
2897
  domainOwner?: string;
2898
2898
  /**
2899
- * @public
2900
2899
  * <p>
2901
2900
  * The name of the repository that contains the requested package version.
2902
2901
  * </p>
2902
+ * @public
2903
2903
  */
2904
2904
  repository: string | undefined;
2905
2905
  /**
2906
- * @public
2907
2906
  * <p>
2908
2907
  * The format of the package with the requested dependencies.
2909
2908
  * </p>
2909
+ * @public
2910
2910
  */
2911
2911
  format: PackageFormat | undefined;
2912
2912
  /**
2913
- * @public
2914
2913
  * <p>The namespace of the package version with the requested dependencies. The package version component that specifies its
2915
2914
  * namespace depends on its type. For example:</p>
2916
2915
  * <ul>
@@ -2934,39 +2933,39 @@ export interface ListPackageVersionDependenciesRequest {
2934
2933
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
2935
2934
  * </li>
2936
2935
  * </ul>
2936
+ * @public
2937
2937
  */
2938
2938
  namespace?: string;
2939
2939
  /**
2940
- * @public
2941
2940
  * <p>
2942
2941
  * The name of the package versions' package.
2943
2942
  * </p>
2943
+ * @public
2944
2944
  */
2945
2945
  package: string | undefined;
2946
2946
  /**
2947
- * @public
2948
2947
  * <p>
2949
2948
  * A string that contains the package version (for example, <code>3.5.2</code>).
2950
2949
  * </p>
2950
+ * @public
2951
2951
  */
2952
2952
  packageVersion: string | undefined;
2953
2953
  /**
2954
- * @public
2955
2954
  * <p>
2956
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.
2957
2956
  * </p>
2957
+ * @public
2958
2958
  */
2959
2959
  nextToken?: string;
2960
2960
  }
2961
2961
  /**
2962
- * @public
2963
2962
  * <p>
2964
2963
  * Details about a package dependency.
2965
2964
  * </p>
2965
+ * @public
2966
2966
  */
2967
2967
  export interface PackageDependency {
2968
2968
  /**
2969
- * @public
2970
2969
  * <p>The namespace of the package that this package depends on. The package component that specifies its
2971
2970
  * namespace depends on its type. For example:</p>
2972
2971
  * <ul>
@@ -2987,17 +2986,17 @@ export interface PackageDependency {
2987
2986
  * </p>
2988
2987
  * </li>
2989
2988
  * </ul>
2989
+ * @public
2990
2990
  */
2991
2991
  namespace?: string;
2992
2992
  /**
2993
- * @public
2994
2993
  * <p>
2995
2994
  * The name of the package that this package depends on.
2996
2995
  * </p>
2996
+ * @public
2997
2997
  */
2998
2998
  package?: string;
2999
2999
  /**
3000
- * @public
3001
3000
  * <p> The type of a package dependency. The possible values depend on the package type.</p>
3002
3001
  * <ul>
3003
3002
  * <li>
@@ -3018,15 +3017,16 @@ export interface PackageDependency {
3018
3017
  * </p>
3019
3018
  * </li>
3020
3019
  * </ul>
3020
+ * @public
3021
3021
  */
3022
3022
  dependencyType?: string;
3023
3023
  /**
3024
- * @public
3025
3024
  * <p>
3026
3025
  * The required version, or version range, of the package that this package depends on. The version format
3027
3026
  * is specific to the package type. For example, the following are possible valid required versions: <code>1.2.3</code>,
3028
3027
  * <code>^2.3.4</code>, or <code>4.x</code>.
3029
3028
  * </p>
3029
+ * @public
3030
3030
  */
3031
3031
  versionRequirement?: string;
3032
3032
  }
@@ -3035,14 +3035,13 @@ export interface PackageDependency {
3035
3035
  */
3036
3036
  export interface ListPackageVersionDependenciesResult {
3037
3037
  /**
3038
- * @public
3039
3038
  * <p>
3040
3039
  * A format that specifies the type of the package that contains the returned dependencies.
3041
3040
  * </p>
3041
+ * @public
3042
3042
  */
3043
3043
  format?: PackageFormat;
3044
3044
  /**
3045
- * @public
3046
3045
  * <p>The namespace of the package version that contains the returned dependencies. The package version component that specifies its
3047
3046
  * namespace depends on its type. For example:</p>
3048
3047
  * <ul>
@@ -3063,41 +3062,42 @@ export interface ListPackageVersionDependenciesResult {
3063
3062
  * </p>
3064
3063
  * </li>
3065
3064
  * </ul>
3065
+ * @public
3066
3066
  */
3067
3067
  namespace?: string;
3068
3068
  /**
3069
- * @public
3070
3069
  * <p>
3071
3070
  * The name of the package that contains the returned package versions dependencies.
3072
3071
  * </p>
3072
+ * @public
3073
3073
  */
3074
3074
  package?: string;
3075
3075
  /**
3076
- * @public
3077
3076
  * <p>
3078
3077
  * The version of the package that is specified in the request.
3079
3078
  * </p>
3079
+ * @public
3080
3080
  */
3081
3081
  version?: string;
3082
3082
  /**
3083
- * @public
3084
3083
  * <p>
3085
3084
  * The current revision associated with the package version.
3086
3085
  * </p>
3086
+ * @public
3087
3087
  */
3088
3088
  versionRevision?: string;
3089
3089
  /**
3090
- * @public
3091
3090
  * <p>
3092
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.
3093
3092
  * </p>
3093
+ * @public
3094
3094
  */
3095
3095
  nextToken?: string;
3096
3096
  /**
3097
- * @public
3098
3097
  * <p>
3099
3098
  * The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html">PackageDependency</a> objects.
3100
3099
  * </p>
3100
+ * @public
3101
3101
  */
3102
3102
  dependencies?: PackageDependency[];
3103
3103
  }
@@ -3117,36 +3117,35 @@ export type PackageVersionSortType = (typeof PackageVersionSortType)[keyof typeo
3117
3117
  */
3118
3118
  export interface ListPackageVersionsRequest {
3119
3119
  /**
3120
- * @public
3121
3120
  * <p>
3122
3121
  * The name of the domain that contains the repository that contains the requested package versions.
3123
3122
  * </p>
3123
+ * @public
3124
3124
  */
3125
3125
  domain: string | undefined;
3126
3126
  /**
3127
- * @public
3128
3127
  * <p>
3129
3128
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3130
3129
  * dashes or spaces.
3131
3130
  * </p>
3131
+ * @public
3132
3132
  */
3133
3133
  domainOwner?: string;
3134
3134
  /**
3135
- * @public
3136
3135
  * <p>
3137
3136
  * The name of the repository that contains the requested package versions.
3138
3137
  * </p>
3138
+ * @public
3139
3139
  */
3140
3140
  repository: string | undefined;
3141
3141
  /**
3142
- * @public
3143
3142
  * <p>
3144
3143
  * The format of the package versions you want to list.
3145
3144
  * </p>
3145
+ * @public
3146
3146
  */
3147
3147
  format: PackageFormat | undefined;
3148
3148
  /**
3149
- * @public
3150
3149
  * <p>The namespace of the package that contains the requested package versions. The package component that specifies its
3151
3150
  * namespace depends on its type. For example:</p>
3152
3151
  * <ul>
@@ -3170,84 +3169,85 @@ export interface ListPackageVersionsRequest {
3170
3169
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
3171
3170
  * </li>
3172
3171
  * </ul>
3172
+ * @public
3173
3173
  */
3174
3174
  namespace?: string;
3175
3175
  /**
3176
- * @public
3177
3176
  * <p>
3178
3177
  * The name of the package for which you want to request package versions.
3179
3178
  * </p>
3179
+ * @public
3180
3180
  */
3181
3181
  package: string | undefined;
3182
3182
  /**
3183
- * @public
3184
3183
  * <p>
3185
3184
  * A string that filters the requested package versions by status.
3186
3185
  * </p>
3186
+ * @public
3187
3187
  */
3188
3188
  status?: PackageVersionStatus;
3189
3189
  /**
3190
- * @public
3191
3190
  * <p>
3192
3191
  * How to sort the requested list of package versions.
3193
3192
  * </p>
3193
+ * @public
3194
3194
  */
3195
3195
  sortBy?: PackageVersionSortType;
3196
3196
  /**
3197
- * @public
3198
3197
  * <p>
3199
3198
  * The maximum number of results to return per page.
3200
3199
  * </p>
3200
+ * @public
3201
3201
  */
3202
3202
  maxResults?: number;
3203
3203
  /**
3204
- * @public
3205
3204
  * <p>
3206
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.
3207
3206
  * </p>
3207
+ * @public
3208
3208
  */
3209
3209
  nextToken?: string;
3210
3210
  /**
3211
- * @public
3212
3211
  * <p>The <code>originType</code> used to filter package versions.
3213
3212
  * Only package versions with the provided <code>originType</code> will be returned.</p>
3213
+ * @public
3214
3214
  */
3215
3215
  originType?: PackageVersionOriginType;
3216
3216
  }
3217
3217
  /**
3218
- * @public
3219
3218
  * <p>
3220
3219
  * Details about a package version, including its status, version, and revision. The
3221
3220
  * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html">ListPackageVersions</a>
3222
3221
  * operation returns a list of <code>PackageVersionSummary</code> objects.
3223
3222
  * </p>
3223
+ * @public
3224
3224
  */
3225
3225
  export interface PackageVersionSummary {
3226
3226
  /**
3227
- * @public
3228
3227
  * <p>
3229
3228
  * Information about a package version.
3230
3229
  * </p>
3230
+ * @public
3231
3231
  */
3232
3232
  version: string | undefined;
3233
3233
  /**
3234
- * @public
3235
3234
  * <p>
3236
3235
  * The revision associated with a package version.
3237
3236
  * </p>
3237
+ * @public
3238
3238
  */
3239
3239
  revision?: string;
3240
3240
  /**
3241
- * @public
3242
3241
  * <p>
3243
3242
  * A string that contains the status of the package version. It can be one of the following:
3244
3243
  * </p>
3244
+ * @public
3245
3245
  */
3246
3246
  status: PackageVersionStatus | undefined;
3247
3247
  /**
3248
- * @public
3249
3248
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html">PackageVersionOrigin</a> object that contains information
3250
3249
  * about how the package version was added to the repository.</p>
3250
+ * @public
3251
3251
  */
3252
3252
  origin?: PackageVersionOrigin;
3253
3253
  }
@@ -3256,7 +3256,6 @@ export interface PackageVersionSummary {
3256
3256
  */
3257
3257
  export interface ListPackageVersionsResult {
3258
3258
  /**
3259
- * @public
3260
3259
  * <p>
3261
3260
  * The default package version to display. This depends on the package format:
3262
3261
  * </p>
@@ -3273,17 +3272,17 @@ export interface ListPackageVersionsResult {
3273
3272
  * </p>
3274
3273
  * </li>
3275
3274
  * </ul>
3275
+ * @public
3276
3276
  */
3277
3277
  defaultDisplayVersion?: string;
3278
3278
  /**
3279
- * @public
3280
3279
  * <p>
3281
3280
  * A format of the package.
3282
3281
  * </p>
3282
+ * @public
3283
3283
  */
3284
3284
  format?: PackageFormat;
3285
3285
  /**
3286
- * @public
3287
3286
  * <p>The namespace of the package that contains the requested package versions. The package component that specifies its
3288
3287
  * namespace depends on its type. For example:</p>
3289
3288
  * <ul>
@@ -3304,29 +3303,30 @@ export interface ListPackageVersionsResult {
3304
3303
  * </p>
3305
3304
  * </li>
3306
3305
  * </ul>
3306
+ * @public
3307
3307
  */
3308
3308
  namespace?: string;
3309
3309
  /**
3310
- * @public
3311
3310
  * <p>
3312
3311
  * The name of the package.
3313
3312
  * </p>
3313
+ * @public
3314
3314
  */
3315
3315
  package?: string;
3316
3316
  /**
3317
- * @public
3318
3317
  * <p>
3319
3318
  * The returned list of
3320
3319
  * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html">PackageVersionSummary</a>
3321
3320
  * objects.
3322
3321
  * </p>
3322
+ * @public
3323
3323
  */
3324
3324
  versions?: PackageVersionSummary[];
3325
3325
  /**
3326
- * @public
3327
3326
  * <p>
3328
3327
  * If there are additional results, this is the token for the next set of results.
3329
3328
  * </p>
3329
+ * @public
3330
3330
  */
3331
3331
  nextToken?: string;
3332
3332
  }
@@ -3335,77 +3335,77 @@ export interface ListPackageVersionsResult {
3335
3335
  */
3336
3336
  export interface ListRepositoriesRequest {
3337
3337
  /**
3338
- * @public
3339
3338
  * <p> A prefix used to filter returned repositories. Only repositories with names that start
3340
3339
  * with <code>repositoryPrefix</code> are returned.</p>
3340
+ * @public
3341
3341
  */
3342
3342
  repositoryPrefix?: string;
3343
3343
  /**
3344
- * @public
3345
3344
  * <p>
3346
3345
  * The maximum number of results to return per page.
3347
3346
  * </p>
3347
+ * @public
3348
3348
  */
3349
3349
  maxResults?: number;
3350
3350
  /**
3351
- * @public
3352
3351
  * <p>
3353
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.
3354
3353
  * </p>
3354
+ * @public
3355
3355
  */
3356
3356
  nextToken?: string;
3357
3357
  }
3358
3358
  /**
3359
- * @public
3360
3359
  * <p> Details about a repository, including its Amazon Resource Name (ARN), description, and
3361
3360
  * domain information. The <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListRepositories.html">ListRepositories</a> operation returns a list of
3362
3361
  * <code>RepositorySummary</code> objects. </p>
3362
+ * @public
3363
3363
  */
3364
3364
  export interface RepositorySummary {
3365
3365
  /**
3366
- * @public
3367
3366
  * <p>
3368
3367
  * The name of the repository.
3369
3368
  * </p>
3369
+ * @public
3370
3370
  */
3371
3371
  name?: string;
3372
3372
  /**
3373
- * @public
3374
3373
  * <p>
3375
3374
  * The Amazon Web Services account ID that manages the repository.
3376
3375
  * </p>
3376
+ * @public
3377
3377
  */
3378
3378
  administratorAccount?: string;
3379
3379
  /**
3380
- * @public
3381
3380
  * <p>
3382
3381
  * The name of the domain that contains the repository.
3383
3382
  * </p>
3383
+ * @public
3384
3384
  */
3385
3385
  domainName?: string;
3386
3386
  /**
3387
- * @public
3388
3387
  * <p>
3389
3388
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3390
3389
  * dashes or spaces.
3391
3390
  * </p>
3391
+ * @public
3392
3392
  */
3393
3393
  domainOwner?: string;
3394
3394
  /**
3395
- * @public
3396
3395
  * <p> The ARN of the repository. </p>
3396
+ * @public
3397
3397
  */
3398
3398
  arn?: string;
3399
3399
  /**
3400
- * @public
3401
3400
  * <p>
3402
3401
  * The description of the repository.
3403
3402
  * </p>
3403
+ * @public
3404
3404
  */
3405
3405
  description?: string;
3406
3406
  /**
3407
- * @public
3408
3407
  * <p>A timestamp that represents the date and time the repository was created.</p>
3408
+ * @public
3409
3409
  */
3410
3410
  createdTime?: Date;
3411
3411
  }
@@ -3414,18 +3414,18 @@ export interface RepositorySummary {
3414
3414
  */
3415
3415
  export interface ListRepositoriesResult {
3416
3416
  /**
3417
- * @public
3418
3417
  * <p>
3419
3418
  * The returned list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
3420
3419
  * objects.
3421
3420
  * </p>
3421
+ * @public
3422
3422
  */
3423
3423
  repositories?: RepositorySummary[];
3424
3424
  /**
3425
- * @public
3426
3425
  * <p>
3427
3426
  * If there are additional results, this is the token for the next set of results.
3428
3427
  * </p>
3428
+ * @public
3429
3429
  */
3430
3430
  nextToken?: string;
3431
3431
  }
@@ -3434,47 +3434,47 @@ export interface ListRepositoriesResult {
3434
3434
  */
3435
3435
  export interface ListRepositoriesInDomainRequest {
3436
3436
  /**
3437
- * @public
3438
3437
  * <p>
3439
3438
  * The name of the domain that contains the returned list of repositories.
3440
3439
  * </p>
3440
+ * @public
3441
3441
  */
3442
3442
  domain: string | undefined;
3443
3443
  /**
3444
- * @public
3445
3444
  * <p>
3446
3445
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3447
3446
  * dashes or spaces.
3448
3447
  * </p>
3448
+ * @public
3449
3449
  */
3450
3450
  domainOwner?: string;
3451
3451
  /**
3452
- * @public
3453
3452
  * <p>
3454
3453
  * Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
3455
3454
  * </p>
3455
+ * @public
3456
3456
  */
3457
3457
  administratorAccount?: string;
3458
3458
  /**
3459
- * @public
3460
3459
  * <p>
3461
3460
  * A prefix used to filter returned repositories. Only repositories with names that start with
3462
3461
  * <code>repositoryPrefix</code> are returned.
3463
3462
  * </p>
3463
+ * @public
3464
3464
  */
3465
3465
  repositoryPrefix?: string;
3466
3466
  /**
3467
- * @public
3468
3467
  * <p>
3469
3468
  * The maximum number of results to return per page.
3470
3469
  * </p>
3470
+ * @public
3471
3471
  */
3472
3472
  maxResults?: number;
3473
3473
  /**
3474
- * @public
3475
3474
  * <p>
3476
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.
3477
3476
  * </p>
3477
+ * @public
3478
3478
  */
3479
3479
  nextToken?: string;
3480
3480
  }
@@ -3483,17 +3483,17 @@ export interface ListRepositoriesInDomainRequest {
3483
3483
  */
3484
3484
  export interface ListRepositoriesInDomainResult {
3485
3485
  /**
3486
- * @public
3487
3486
  * <p>
3488
3487
  * The returned list of repositories.
3489
3488
  * </p>
3489
+ * @public
3490
3490
  */
3491
3491
  repositories?: RepositorySummary[];
3492
3492
  /**
3493
- * @public
3494
3493
  * <p>
3495
3494
  * If there are additional results, this is the token for the next set of results.
3496
3495
  * </p>
3496
+ * @public
3497
3497
  */
3498
3498
  nextToken?: string;
3499
3499
  }
@@ -3502,8 +3502,8 @@ export interface ListRepositoriesInDomainResult {
3502
3502
  */
3503
3503
  export interface ListTagsForResourceRequest {
3504
3504
  /**
3505
- * @public
3506
3505
  * <p>The Amazon Resource Name (ARN) of the resource to get tags for.</p>
3506
+ * @public
3507
3507
  */
3508
3508
  resourceArn: string | undefined;
3509
3509
  }
@@ -3512,8 +3512,8 @@ export interface ListTagsForResourceRequest {
3512
3512
  */
3513
3513
  export interface ListTagsForResourceResult {
3514
3514
  /**
3515
- * @public
3516
3515
  * <p>A list of tag key and value pairs associated with the specified resource.</p>
3516
+ * @public
3517
3517
  */
3518
3518
  tags?: Tag[];
3519
3519
  }
@@ -3522,70 +3522,70 @@ export interface ListTagsForResourceResult {
3522
3522
  */
3523
3523
  export interface PublishPackageVersionRequest {
3524
3524
  /**
3525
- * @public
3526
3525
  * <p>The name of the domain that contains the repository that contains the package version to publish.</p>
3526
+ * @public
3527
3527
  */
3528
3528
  domain: string | undefined;
3529
3529
  /**
3530
- * @public
3531
3530
  * <p>The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.</p>
3531
+ * @public
3532
3532
  */
3533
3533
  domainOwner?: string;
3534
3534
  /**
3535
- * @public
3536
3535
  * <p>The name of the repository that the package version will be published to.</p>
3536
+ * @public
3537
3537
  */
3538
3538
  repository: string | undefined;
3539
3539
  /**
3540
- * @public
3541
3540
  * <p>A format that specifies the type of the package version with the requested asset file.</p>
3542
3541
  * <p>The only supported value is <code>generic</code>.</p>
3542
+ * @public
3543
3543
  */
3544
3544
  format: PackageFormat | undefined;
3545
3545
  /**
3546
- * @public
3547
3546
  * <p>The namespace of the package version to publish.</p>
3547
+ * @public
3548
3548
  */
3549
3549
  namespace?: string;
3550
3550
  /**
3551
- * @public
3552
3551
  * <p>The name of the package version to publish.</p>
3552
+ * @public
3553
3553
  */
3554
3554
  package: string | undefined;
3555
3555
  /**
3556
- * @public
3557
3556
  * <p>The package version to publish (for example, <code>3.5.2</code>).</p>
3557
+ * @public
3558
3558
  */
3559
3559
  packageVersion: string | undefined;
3560
3560
  /**
3561
- * @public
3562
3561
  * <p>The content of the asset to publish.</p>
3562
+ * @public
3563
3563
  */
3564
3564
  assetContent: StreamingBlobTypes | undefined;
3565
3565
  /**
3566
- * @public
3567
3566
  * <p>The name of the asset to publish. Asset names can include Unicode letters and numbers, and
3568
3567
  * the following special characters: <code>~ ! @ ^ & ( ) - ` _ + [ ] \{ \} ; , .
3569
3568
  * `</code>
3570
3569
  * </p>
3570
+ * @public
3571
3571
  */
3572
3572
  assetName: string | undefined;
3573
3573
  /**
3574
- * @public
3575
3574
  * <p>The SHA256 hash of the <code>assetContent</code> to publish. This value must be calculated
3576
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
3577
3576
  * Guide</i>).</p>
3578
3577
  * <p>This value is used as an integrity check to verify that the <code>assetContent</code> has
3579
3578
  * not changed after it was originally sent.</p>
3579
+ * @public
3580
3580
  */
3581
3581
  assetSHA256: string | undefined;
3582
3582
  /**
3583
- * @public
3584
3583
  * <p>Specifies whether the package version should remain in the <code>unfinished</code>
3585
3584
  * state. If omitted, the package version status will be set to <code>Published</code> (see
3586
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>
3587
3586
  * <p>Valid values: <code>unfinished</code>
3588
3587
  * </p>
3588
+ * @public
3589
3589
  */
3590
3590
  unfinished?: boolean;
3591
3591
  }
@@ -3594,38 +3594,38 @@ export interface PublishPackageVersionRequest {
3594
3594
  */
3595
3595
  export interface PublishPackageVersionResult {
3596
3596
  /**
3597
- * @public
3598
3597
  * <p>The format of the package version.</p>
3598
+ * @public
3599
3599
  */
3600
3600
  format?: PackageFormat;
3601
3601
  /**
3602
- * @public
3603
3602
  * <p>The namespace of the package version.</p>
3603
+ * @public
3604
3604
  */
3605
3605
  namespace?: string;
3606
3606
  /**
3607
- * @public
3608
3607
  * <p>The name of the package.</p>
3608
+ * @public
3609
3609
  */
3610
3610
  package?: string;
3611
3611
  /**
3612
- * @public
3613
3612
  * <p>The version of the package.</p>
3613
+ * @public
3614
3614
  */
3615
3615
  version?: string;
3616
3616
  /**
3617
- * @public
3618
3617
  * <p>The revision of the package version.</p>
3618
+ * @public
3619
3619
  */
3620
3620
  versionRevision?: string;
3621
3621
  /**
3622
- * @public
3623
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>
3623
+ * @public
3624
3624
  */
3625
3625
  status?: PackageVersionStatus;
3626
3626
  /**
3627
- * @public
3628
3627
  * <p>An <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a> for the published asset.</p>
3628
+ * @public
3629
3629
  */
3630
3630
  asset?: AssetSummary;
3631
3631
  }
@@ -3634,32 +3634,32 @@ export interface PublishPackageVersionResult {
3634
3634
  */
3635
3635
  export interface PutDomainPermissionsPolicyRequest {
3636
3636
  /**
3637
- * @public
3638
3637
  * <p>
3639
3638
  * The name of the domain on which to set the resource policy.
3640
3639
  * </p>
3640
+ * @public
3641
3641
  */
3642
3642
  domain: string | undefined;
3643
3643
  /**
3644
- * @public
3645
3644
  * <p>
3646
3645
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3647
3646
  * dashes or spaces.
3648
3647
  * </p>
3648
+ * @public
3649
3649
  */
3650
3650
  domainOwner?: string;
3651
3651
  /**
3652
- * @public
3653
3652
  * <p>
3654
3653
  * The current revision of the resource policy to be set. This revision is used for optimistic locking, which
3655
3654
  * prevents others from overwriting your changes to the domain's resource policy.
3656
3655
  * </p>
3656
+ * @public
3657
3657
  */
3658
3658
  policyRevision?: string;
3659
3659
  /**
3660
- * @public
3661
3660
  * <p> A valid displayable JSON Aspen policy string to be set as the access control resource
3662
3661
  * policy on the provided domain. </p>
3662
+ * @public
3663
3663
  */
3664
3664
  policyDocument: string | undefined;
3665
3665
  }
@@ -3668,8 +3668,8 @@ export interface PutDomainPermissionsPolicyRequest {
3668
3668
  */
3669
3669
  export interface PutDomainPermissionsPolicyResult {
3670
3670
  /**
3671
- * @public
3672
3671
  * <p> The resource policy that was set after processing the request. </p>
3672
+ * @public
3673
3673
  */
3674
3674
  policy?: ResourcePolicy;
3675
3675
  }
@@ -3678,30 +3678,29 @@ export interface PutDomainPermissionsPolicyResult {
3678
3678
  */
3679
3679
  export interface PutPackageOriginConfigurationRequest {
3680
3680
  /**
3681
- * @public
3682
3681
  * <p>The name of the domain that contains the repository that contains the package.</p>
3682
+ * @public
3683
3683
  */
3684
3684
  domain: string | undefined;
3685
3685
  /**
3686
- * @public
3687
3686
  * <p>
3688
3687
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3689
3688
  * dashes or spaces.
3690
3689
  * </p>
3690
+ * @public
3691
3691
  */
3692
3692
  domainOwner?: string;
3693
3693
  /**
3694
- * @public
3695
3694
  * <p>The name of the repository that contains the package.</p>
3695
+ * @public
3696
3696
  */
3697
3697
  repository: string | undefined;
3698
3698
  /**
3699
- * @public
3700
3699
  * <p>A format that specifies the type of the package to be updated.</p>
3700
+ * @public
3701
3701
  */
3702
3702
  format: PackageFormat | undefined;
3703
3703
  /**
3704
- * @public
3705
3704
  * <p>The namespace of the package to be updated. The package component that specifies its
3706
3705
  * namespace depends on its type. For example:</p>
3707
3706
  * <ul>
@@ -3725,20 +3724,21 @@ export interface PutPackageOriginConfigurationRequest {
3725
3724
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
3726
3725
  * </li>
3727
3726
  * </ul>
3727
+ * @public
3728
3728
  */
3729
3729
  namespace?: string;
3730
3730
  /**
3731
- * @public
3732
3731
  * <p>The name of the package to be updated.</p>
3732
+ * @public
3733
3733
  */
3734
3734
  package: string | undefined;
3735
3735
  /**
3736
- * @public
3737
3736
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>
3738
3737
  * object that contains information about the <code>upstream</code> and <code>publish</code> package origin restrictions.
3739
3738
  * The <code>upstream</code> restriction determines if new package versions can be ingested or retained from external connections or upstream repositories.
3740
3739
  * The <code>publish</code> restriction determines if new package versions can be published directly to the repository.</p>
3741
3740
  * <p>You must include both the desired <code>upstream</code> and <code>publish</code> restrictions.</p>
3741
+ * @public
3742
3742
  */
3743
3743
  restrictions: PackageOriginRestrictions | undefined;
3744
3744
  }
@@ -3747,11 +3747,11 @@ export interface PutPackageOriginConfigurationRequest {
3747
3747
  */
3748
3748
  export interface PutPackageOriginConfigurationResult {
3749
3749
  /**
3750
- * @public
3751
3750
  * <p>A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">PackageOriginConfiguration</a>
3752
3751
  * object that describes the origin configuration set for the package. It contains a
3753
3752
  * <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html">PackageOriginRestrictions</a>
3754
3753
  * object that describes how new versions of the package can be introduced to the repository.</p>
3754
+ * @public
3755
3755
  */
3756
3756
  originConfiguration?: PackageOriginConfiguration;
3757
3757
  }
@@ -3760,38 +3760,38 @@ export interface PutPackageOriginConfigurationResult {
3760
3760
  */
3761
3761
  export interface PutRepositoryPermissionsPolicyRequest {
3762
3762
  /**
3763
- * @public
3764
3763
  * <p>
3765
3764
  * The name of the domain containing the repository to set the resource policy on.
3766
3765
  * </p>
3766
+ * @public
3767
3767
  */
3768
3768
  domain: string | undefined;
3769
3769
  /**
3770
- * @public
3771
3770
  * <p>
3772
3771
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3773
3772
  * dashes or spaces.
3774
3773
  * </p>
3774
+ * @public
3775
3775
  */
3776
3776
  domainOwner?: string;
3777
3777
  /**
3778
- * @public
3779
3778
  * <p> The name of the repository to set the resource policy on. </p>
3779
+ * @public
3780
3780
  */
3781
3781
  repository: string | undefined;
3782
3782
  /**
3783
- * @public
3784
3783
  * <p>
3785
3784
  * Sets the revision of the resource policy that specifies permissions to access the repository.
3786
3785
  * This revision is used for optimistic locking, which prevents others from overwriting your
3787
3786
  * changes to the repository's resource policy.
3788
3787
  * </p>
3788
+ * @public
3789
3789
  */
3790
3790
  policyRevision?: string;
3791
3791
  /**
3792
- * @public
3793
3792
  * <p> A valid displayable JSON Aspen policy string to be set as the access control resource
3794
3793
  * policy on the provided repository. </p>
3794
+ * @public
3795
3795
  */
3796
3796
  policyDocument: string | undefined;
3797
3797
  }
@@ -3800,8 +3800,8 @@ export interface PutRepositoryPermissionsPolicyRequest {
3800
3800
  */
3801
3801
  export interface PutRepositoryPermissionsPolicyResult {
3802
3802
  /**
3803
- * @public
3804
3803
  * <p> The resource policy that was set after processing the request. </p>
3804
+ * @public
3805
3805
  */
3806
3806
  policy?: ResourcePolicy;
3807
3807
  }
@@ -3810,13 +3810,13 @@ export interface PutRepositoryPermissionsPolicyResult {
3810
3810
  */
3811
3811
  export interface TagResourceRequest {
3812
3812
  /**
3813
- * @public
3814
3813
  * <p>The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.</p>
3814
+ * @public
3815
3815
  */
3816
3816
  resourceArn: string | undefined;
3817
3817
  /**
3818
- * @public
3819
3818
  * <p>The tags you want to modify or add to the resource.</p>
3819
+ * @public
3820
3820
  */
3821
3821
  tags: Tag[] | undefined;
3822
3822
  }
@@ -3830,13 +3830,13 @@ export interface TagResourceResult {
3830
3830
  */
3831
3831
  export interface UntagResourceRequest {
3832
3832
  /**
3833
- * @public
3834
3833
  * <p>The Amazon Resource Name (ARN) of the resource that you want to remove tags from.</p>
3834
+ * @public
3835
3835
  */
3836
3836
  resourceArn: string | undefined;
3837
3837
  /**
3838
- * @public
3839
3838
  * <p>The tag key for each tag that you want to remove from the resource.</p>
3839
+ * @public
3840
3840
  */
3841
3841
  tagKeys: string[] | undefined;
3842
3842
  }
@@ -3850,36 +3850,35 @@ export interface UntagResourceResult {
3850
3850
  */
3851
3851
  export interface UpdatePackageVersionsStatusRequest {
3852
3852
  /**
3853
- * @public
3854
3853
  * <p>
3855
3854
  * The name of the domain that contains the repository that contains the package versions with a status to be updated.
3856
3855
  * </p>
3856
+ * @public
3857
3857
  */
3858
3858
  domain: string | undefined;
3859
3859
  /**
3860
- * @public
3861
3860
  * <p>
3862
3861
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3863
3862
  * dashes or spaces.
3864
3863
  * </p>
3864
+ * @public
3865
3865
  */
3866
3866
  domainOwner?: string;
3867
3867
  /**
3868
- * @public
3869
3868
  * <p>
3870
3869
  * The repository that contains the package versions with the status you want to update.
3871
3870
  * </p>
3871
+ * @public
3872
3872
  */
3873
3873
  repository: string | undefined;
3874
3874
  /**
3875
- * @public
3876
3875
  * <p>
3877
3876
  * A format that specifies the type of the package with the statuses to update.
3878
3877
  * </p>
3878
+ * @public
3879
3879
  */
3880
3880
  format: PackageFormat | undefined;
3881
3881
  /**
3882
- * @public
3883
3882
  * <p>The namespace of the package version to be updated. The package version component that specifies its
3884
3883
  * namespace depends on its type. For example:</p>
3885
3884
  * <ul>
@@ -3903,42 +3902,43 @@ export interface UpdatePackageVersionsStatusRequest {
3903
3902
  * <p> The namespace of a generic package is its <code>namespace</code>. </p>
3904
3903
  * </li>
3905
3904
  * </ul>
3905
+ * @public
3906
3906
  */
3907
3907
  namespace?: string;
3908
3908
  /**
3909
- * @public
3910
3909
  * <p>
3911
3910
  * The name of the package with the version statuses to update.
3912
3911
  * </p>
3912
+ * @public
3913
3913
  */
3914
3914
  package: string | undefined;
3915
3915
  /**
3916
- * @public
3917
3916
  * <p>
3918
3917
  * An array of strings that specify the versions of the package with the statuses to update.
3919
3918
  * </p>
3919
+ * @public
3920
3920
  */
3921
3921
  versions: string[] | undefined;
3922
3922
  /**
3923
- * @public
3924
3923
  * <p> A map of package versions and package version revisions. The map <code>key</code> is the
3925
3924
  * package version (for example, <code>3.5.2</code>), and the map <code>value</code> is the
3926
3925
  * package version revision. </p>
3926
+ * @public
3927
3927
  */
3928
3928
  versionRevisions?: Record<string, string>;
3929
3929
  /**
3930
- * @public
3931
3930
  * <p> The package version’s expected status before it is updated. If
3932
3931
  * <code>expectedStatus</code> is provided, the package version's status is updated only if its
3933
3932
  * status at the time <code>UpdatePackageVersionsStatus</code> is called matches
3934
3933
  * <code>expectedStatus</code>. </p>
3934
+ * @public
3935
3935
  */
3936
3936
  expectedStatus?: PackageVersionStatus;
3937
3937
  /**
3938
- * @public
3939
3938
  * <p>
3940
3939
  * The status you want to change the package version status to.
3941
3940
  * </p>
3941
+ * @public
3942
3942
  */
3943
3943
  targetStatus: PackageVersionStatus | undefined;
3944
3944
  }
@@ -3947,17 +3947,17 @@ export interface UpdatePackageVersionsStatusRequest {
3947
3947
  */
3948
3948
  export interface UpdatePackageVersionsStatusResult {
3949
3949
  /**
3950
- * @public
3951
3950
  * <p>
3952
3951
  * A list of <code>PackageVersionError</code> objects, one for each package version with
3953
3952
  * a status that failed to update.
3954
3953
  * </p>
3954
+ * @public
3955
3955
  */
3956
3956
  successfulVersions?: Record<string, SuccessfulPackageVersionInfo>;
3957
3957
  /**
3958
- * @public
3959
3958
  * <p> A list of <code>SuccessfulPackageVersionInfo</code> objects, one for each package version
3960
3959
  * with a status that successfully updated. </p>
3960
+ * @public
3961
3961
  */
3962
3962
  failedVersions?: Record<string, PackageVersionError>;
3963
3963
  }
@@ -3966,39 +3966,39 @@ export interface UpdatePackageVersionsStatusResult {
3966
3966
  */
3967
3967
  export interface UpdateRepositoryRequest {
3968
3968
  /**
3969
- * @public
3970
3969
  * <p>
3971
3970
  * The name of the domain associated with the repository to update.
3972
3971
  * </p>
3972
+ * @public
3973
3973
  */
3974
3974
  domain: string | undefined;
3975
3975
  /**
3976
- * @public
3977
3976
  * <p>
3978
3977
  * The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
3979
3978
  * dashes or spaces.
3980
3979
  * </p>
3980
+ * @public
3981
3981
  */
3982
3982
  domainOwner?: string;
3983
3983
  /**
3984
- * @public
3985
3984
  * <p>
3986
3985
  * The name of the repository to update.
3987
3986
  * </p>
3987
+ * @public
3988
3988
  */
3989
3989
  repository: string | undefined;
3990
3990
  /**
3991
- * @public
3992
3991
  * <p>
3993
3992
  * An updated repository description.
3994
3993
  * </p>
3994
+ * @public
3995
3995
  */
3996
3996
  description?: string;
3997
3997
  /**
3998
- * @public
3999
3998
  * <p> A list of upstream repositories to associate with the repository. The order of the upstream repositories
4000
3999
  * in the list determines their priority order when CodeArtifact looks for a requested package version. For more
4001
4000
  * information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>
4001
+ * @public
4002
4002
  */
4003
4003
  upstreams?: UpstreamRepository[];
4004
4004
  }
@@ -4007,10 +4007,10 @@ export interface UpdateRepositoryRequest {
4007
4007
  */
4008
4008
  export interface UpdateRepositoryResult {
4009
4009
  /**
4010
- * @public
4011
4010
  * <p>
4012
4011
  * The updated repository.
4013
4012
  * </p>
4013
+ * @public
4014
4014
  */
4015
4015
  repository?: RepositoryDescription;
4016
4016
  }