@aws-sdk/client-codeartifact 3.300.0 → 3.303.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 (43) hide show
  1. package/dist-cjs/models/models_0.js +66 -78
  2. package/dist-es/models/models_0.js +66 -78
  3. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +1 -1
  4. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateDomainCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateRepositoryCommand.d.ts +5 -5
  7. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +1 -1
  9. package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
  10. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -2
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribePackageCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribePackageVersionCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeRepositoryCommand.d.ts +1 -1
  17. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +1 -1
  18. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +3 -3
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
  20. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +1 -1
  21. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +1 -1
  22. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +1 -1
  23. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +1 -1
  24. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +1 -1
  25. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListPackageVersionsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListPackagesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +1 -1
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/PublishPackageVersionCommand.d.ts +1 -1
  34. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +1 -1
  35. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -2
  36. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  38. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  39. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +3 -3
  40. package/dist-types/commands/UpdateRepositoryCommand.d.ts +3 -3
  41. package/dist-types/models/models_0.d.ts +126 -66
  42. package/dist-types/ts3.4/models/models_0.d.ts +84 -66
  43. package/package.json +36 -36
@@ -28,7 +28,7 @@ export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataB
28
28
  * import { CodeartifactClient, ListDomainsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, ListDomainsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // ListDomainsRequest
32
32
  * maxResults: Number("int"),
33
33
  * nextToken: "STRING_VALUE",
34
34
  * };
@@ -30,7 +30,7 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
30
30
  * import { CodeartifactClient, ListPackageVersionAssetsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, ListPackageVersionAssetsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // ListPackageVersionAssetsRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
@@ -32,7 +32,7 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
32
32
  * import { CodeartifactClient, ListPackageVersionDependenciesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
33
33
  * // const { CodeartifactClient, ListPackageVersionDependenciesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
34
34
  * const client = new CodeartifactClient(config);
35
- * const input = {
35
+ * const input = { // ListPackageVersionDependenciesRequest
36
36
  * domain: "STRING_VALUE", // required
37
37
  * domainOwner: "STRING_VALUE",
38
38
  * repository: "STRING_VALUE", // required
@@ -30,7 +30,7 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
30
30
  * import { CodeartifactClient, ListPackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, ListPackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // ListPackageVersionsRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
@@ -30,7 +30,7 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
30
30
  * import { CodeartifactClient, ListPackagesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, ListPackagesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // ListPackagesRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
@@ -31,7 +31,7 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesResult, _
31
31
  * import { CodeartifactClient, ListRepositoriesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, ListRepositoriesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
- * const input = {
34
+ * const input = { // ListRepositoriesRequest
35
35
  * repositoryPrefix: "STRING_VALUE",
36
36
  * maxResults: Number("int"),
37
37
  * nextToken: "STRING_VALUE",
@@ -31,7 +31,7 @@ export interface ListRepositoriesInDomainCommandOutput extends ListRepositoriesI
31
31
  * import { CodeartifactClient, ListRepositoriesInDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, ListRepositoriesInDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
- * const input = {
34
+ * const input = { // ListRepositoriesInDomainRequest
35
35
  * domain: "STRING_VALUE", // required
36
36
  * domainOwner: "STRING_VALUE",
37
37
  * administratorAccount: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { CodeartifactClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
27
  * // const { CodeartifactClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
28
  * const client = new CodeartifactClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -45,7 +45,7 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio
45
45
  * import { CodeartifactClient, PublishPackageVersionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
46
46
  * // const { CodeartifactClient, PublishPackageVersionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
47
47
  * const client = new CodeartifactClient(config);
48
- * const input = {
48
+ * const input = { // PublishPackageVersionRequest
49
49
  * domain: "STRING_VALUE", // required
50
50
  * domainOwner: "STRING_VALUE",
51
51
  * repository: "STRING_VALUE", // required
@@ -33,7 +33,7 @@ export interface PutDomainPermissionsPolicyCommandOutput extends PutDomainPermis
33
33
  * import { CodeartifactClient, PutDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
34
  * // const { CodeartifactClient, PutDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
35
  * const client = new CodeartifactClient(config);
36
- * const input = {
36
+ * const input = { // PutDomainPermissionsPolicyRequest
37
37
  * domain: "STRING_VALUE", // required
38
38
  * domainOwner: "STRING_VALUE",
39
39
  * policyRevision: "STRING_VALUE",
@@ -34,14 +34,14 @@ export interface PutPackageOriginConfigurationCommandOutput extends PutPackageOr
34
34
  * import { CodeartifactClient, PutPackageOriginConfigurationCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
35
35
  * // const { CodeartifactClient, PutPackageOriginConfigurationCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
36
36
  * const client = new CodeartifactClient(config);
37
- * const input = {
37
+ * const input = { // PutPackageOriginConfigurationRequest
38
38
  * domain: "STRING_VALUE", // required
39
39
  * domainOwner: "STRING_VALUE",
40
40
  * repository: "STRING_VALUE", // required
41
41
  * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
42
42
  * namespace: "STRING_VALUE",
43
43
  * package: "STRING_VALUE", // required
44
- * restrictions: {
44
+ * restrictions: { // PackageOriginRestrictions
45
45
  * publish: "ALLOW" || "BLOCK", // required
46
46
  * upstream: "ALLOW" || "BLOCK", // required
47
47
  * },
@@ -33,7 +33,7 @@ export interface PutRepositoryPermissionsPolicyCommandOutput extends PutReposito
33
33
  * import { CodeartifactClient, PutRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
34
  * // const { CodeartifactClient, PutRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
35
  * const client = new CodeartifactClient(config);
36
- * const input = {
36
+ * const input = { // PutRepositoryPermissionsPolicyRequest
37
37
  * domain: "STRING_VALUE", // required
38
38
  * domainOwner: "STRING_VALUE",
39
39
  * repository: "STRING_VALUE", // required
@@ -26,10 +26,10 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
26
26
  * import { CodeartifactClient, TagResourceCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
27
  * // const { CodeartifactClient, TagResourceCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
28
  * const client = new CodeartifactClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: [ // required
32
- * {
31
+ * tags: [ // TagList // required
32
+ * { // Tag
33
33
  * key: "STRING_VALUE", // required
34
34
  * value: "STRING_VALUE", // required
35
35
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
26
26
  * import { CodeartifactClient, UntagResourceCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
27
27
  * // const { CodeartifactClient, UntagResourceCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
28
28
  * const client = new CodeartifactClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -31,17 +31,17 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV
31
31
  * import { CodeartifactClient, UpdatePackageVersionsStatusCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, UpdatePackageVersionsStatusCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
- * const input = {
34
+ * const input = { // UpdatePackageVersionsStatusRequest
35
35
  * domain: "STRING_VALUE", // required
36
36
  * domainOwner: "STRING_VALUE",
37
37
  * repository: "STRING_VALUE", // required
38
38
  * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
39
39
  * namespace: "STRING_VALUE",
40
40
  * package: "STRING_VALUE", // required
41
- * versions: [ // required
41
+ * versions: [ // PackageVersionList // required
42
42
  * "STRING_VALUE",
43
43
  * ],
44
- * versionRevisions: {
44
+ * versionRevisions: { // PackageVersionRevisionMap
45
45
  * "<keys>": "STRING_VALUE",
46
46
  * },
47
47
  * expectedStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
@@ -28,13 +28,13 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _
28
28
  * import { CodeartifactClient, UpdateRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, UpdateRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // UpdateRepositoryRequest
32
32
  * domain: "STRING_VALUE", // required
33
33
  * domainOwner: "STRING_VALUE",
34
34
  * repository: "STRING_VALUE", // required
35
35
  * description: "STRING_VALUE",
36
- * upstreams: [
37
- * {
36
+ * upstreams: [ // UpstreamRepositoryList
37
+ * { // UpstreamRepository
38
38
  * repositoryName: "STRING_VALUE", // required
39
39
  * },
40
40
  * ],
@@ -18,27 +18,42 @@ export declare class AccessDeniedException extends __BaseException {
18
18
  }
19
19
  /**
20
20
  * @public
21
+ * @enum
21
22
  */
22
- export declare enum AllowPublish {
23
- ALLOW = "ALLOW",
24
- BLOCK = "BLOCK"
25
- }
23
+ export declare const AllowPublish: {
24
+ readonly ALLOW: "ALLOW";
25
+ readonly BLOCK: "BLOCK";
26
+ };
26
27
  /**
27
28
  * @public
28
29
  */
29
- export declare enum AllowUpstream {
30
- ALLOW = "ALLOW",
31
- BLOCK = "BLOCK"
32
- }
30
+ export type AllowPublish = (typeof AllowPublish)[keyof typeof AllowPublish];
33
31
  /**
34
32
  * @public
33
+ * @enum
35
34
  */
36
- export declare enum HashAlgorithm {
37
- MD5 = "MD5",
38
- SHA1 = "SHA-1",
39
- SHA256 = "SHA-256",
40
- SHA512 = "SHA-512"
41
- }
35
+ export declare const AllowUpstream: {
36
+ readonly ALLOW: "ALLOW";
37
+ readonly BLOCK: "BLOCK";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type AllowUpstream = (typeof AllowUpstream)[keyof typeof AllowUpstream];
43
+ /**
44
+ * @public
45
+ * @enum
46
+ */
47
+ export declare const HashAlgorithm: {
48
+ readonly MD5: "MD5";
49
+ readonly SHA1: "SHA-1";
50
+ readonly SHA256: "SHA-256";
51
+ readonly SHA512: "SHA-512";
52
+ };
53
+ /**
54
+ * @public
55
+ */
56
+ export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
42
57
  /**
43
58
  * @public
44
59
  * <p>
@@ -136,20 +151,30 @@ export interface AssociateExternalConnectionRequest {
136
151
  }
137
152
  /**
138
153
  * @public
154
+ * @enum
139
155
  */
140
- export declare enum PackageFormat {
141
- GENERIC = "generic",
142
- MAVEN = "maven",
143
- NPM = "npm",
144
- NUGET = "nuget",
145
- PYPI = "pypi"
146
- }
156
+ export declare const PackageFormat: {
157
+ readonly GENERIC: "generic";
158
+ readonly MAVEN: "maven";
159
+ readonly NPM: "npm";
160
+ readonly NUGET: "nuget";
161
+ readonly PYPI: "pypi";
162
+ };
147
163
  /**
148
164
  * @public
149
165
  */
150
- export declare enum ExternalConnectionStatus {
151
- AVAILABLE = "Available"
152
- }
166
+ export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
167
+ /**
168
+ * @public
169
+ * @enum
170
+ */
171
+ export declare const ExternalConnectionStatus: {
172
+ readonly AVAILABLE: "Available";
173
+ };
174
+ /**
175
+ * @public
176
+ */
177
+ export type ExternalConnectionStatus = (typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
153
178
  /**
154
179
  * @public
155
180
  * <p>
@@ -281,14 +306,19 @@ export interface AssociateExternalConnectionResult {
281
306
  }
282
307
  /**
283
308
  * @public
309
+ * @enum
284
310
  */
285
- export declare enum ResourceType {
286
- ASSET = "asset",
287
- DOMAIN = "domain",
288
- PACKAGE = "package",
289
- PACKAGE_VERSION = "package-version",
290
- REPOSITORY = "repository"
291
- }
311
+ export declare const ResourceType: {
312
+ readonly ASSET: "asset";
313
+ readonly DOMAIN: "domain";
314
+ readonly PACKAGE: "package";
315
+ readonly PACKAGE_VERSION: "package-version";
316
+ readonly REPOSITORY: "repository";
317
+ };
318
+ /**
319
+ * @public
320
+ */
321
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
292
322
  /**
293
323
  * @public
294
324
  * <p>
@@ -401,14 +431,19 @@ export declare class ThrottlingException extends __BaseException {
401
431
  }
402
432
  /**
403
433
  * @public
434
+ * @enum
404
435
  */
405
- export declare enum ValidationExceptionReason {
406
- CANNOT_PARSE = "CANNOT_PARSE",
407
- ENCRYPTION_KEY_ERROR = "ENCRYPTION_KEY_ERROR",
408
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
409
- OTHER = "OTHER",
410
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
411
- }
436
+ export declare const ValidationExceptionReason: {
437
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
438
+ readonly ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR";
439
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
440
+ readonly OTHER: "OTHER";
441
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
442
+ };
443
+ /**
444
+ * @public
445
+ */
446
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
412
447
  /**
413
448
  * @public
414
449
  * <p>
@@ -538,15 +573,20 @@ export interface CopyPackageVersionsRequest {
538
573
  }
539
574
  /**
540
575
  * @public
576
+ * @enum
541
577
  */
542
- export declare enum PackageVersionErrorCode {
543
- ALREADY_EXISTS = "ALREADY_EXISTS",
544
- MISMATCHED_REVISION = "MISMATCHED_REVISION",
545
- MISMATCHED_STATUS = "MISMATCHED_STATUS",
546
- NOT_ALLOWED = "NOT_ALLOWED",
547
- NOT_FOUND = "NOT_FOUND",
548
- SKIPPED = "SKIPPED"
549
- }
578
+ export declare const PackageVersionErrorCode: {
579
+ readonly ALREADY_EXISTS: "ALREADY_EXISTS";
580
+ readonly MISMATCHED_REVISION: "MISMATCHED_REVISION";
581
+ readonly MISMATCHED_STATUS: "MISMATCHED_STATUS";
582
+ readonly NOT_ALLOWED: "NOT_ALLOWED";
583
+ readonly NOT_FOUND: "NOT_FOUND";
584
+ readonly SKIPPED: "SKIPPED";
585
+ };
586
+ /**
587
+ * @public
588
+ */
589
+ export type PackageVersionErrorCode = (typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
550
590
  /**
551
591
  * @public
552
592
  * <p>l
@@ -599,15 +639,20 @@ export interface PackageVersionError {
599
639
  }
600
640
  /**
601
641
  * @public
642
+ * @enum
602
643
  */
603
- export declare enum PackageVersionStatus {
604
- ARCHIVED = "Archived",
605
- DELETED = "Deleted",
606
- DISPOSED = "Disposed",
607
- PUBLISHED = "Published",
608
- UNFINISHED = "Unfinished",
609
- UNLISTED = "Unlisted"
610
- }
644
+ export declare const PackageVersionStatus: {
645
+ readonly ARCHIVED: "Archived";
646
+ readonly DELETED: "Deleted";
647
+ readonly DISPOSED: "Disposed";
648
+ readonly PUBLISHED: "Published";
649
+ readonly UNFINISHED: "Unfinished";
650
+ readonly UNLISTED: "Unlisted";
651
+ };
652
+ /**
653
+ * @public
654
+ */
655
+ export type PackageVersionStatus = (typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
611
656
  /**
612
657
  * @public
613
658
  * <p>
@@ -724,11 +769,16 @@ export interface CreateDomainRequest {
724
769
  }
725
770
  /**
726
771
  * @public
772
+ * @enum
727
773
  */
728
- export declare enum DomainStatus {
729
- ACTIVE = "Active",
730
- DELETED = "Deleted"
731
- }
774
+ export declare const DomainStatus: {
775
+ readonly ACTIVE: "Active";
776
+ readonly DELETED: "Deleted";
777
+ };
778
+ /**
779
+ * @public
780
+ */
781
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
732
782
  /**
733
783
  * @public
734
784
  * <p>
@@ -1529,12 +1579,17 @@ export interface DomainEntryPoint {
1529
1579
  }
1530
1580
  /**
1531
1581
  * @public
1582
+ * @enum
1532
1583
  */
1533
- export declare enum PackageVersionOriginType {
1534
- EXTERNAL = "EXTERNAL",
1535
- INTERNAL = "INTERNAL",
1536
- UNKNOWN = "UNKNOWN"
1537
- }
1584
+ export declare const PackageVersionOriginType: {
1585
+ readonly EXTERNAL: "EXTERNAL";
1586
+ readonly INTERNAL: "INTERNAL";
1587
+ readonly UNKNOWN: "UNKNOWN";
1588
+ };
1589
+ /**
1590
+ * @public
1591
+ */
1592
+ export type PackageVersionOriginType = (typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
1538
1593
  /**
1539
1594
  * @public
1540
1595
  * <p>Information about how a package version was added to a repository.</p>
@@ -2775,10 +2830,15 @@ export interface ListPackageVersionDependenciesResult {
2775
2830
  }
2776
2831
  /**
2777
2832
  * @public
2833
+ * @enum
2778
2834
  */
2779
- export declare enum PackageVersionSortType {
2780
- PUBLISHED_TIME = "PUBLISHED_TIME"
2781
- }
2835
+ export declare const PackageVersionSortType: {
2836
+ readonly PUBLISHED_TIME: "PUBLISHED_TIME";
2837
+ };
2838
+ /**
2839
+ * @public
2840
+ */
2841
+ export type PackageVersionSortType = (typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
2782
2842
  /**
2783
2843
  * @public
2784
2844
  */