@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
@@ -15,43 +15,37 @@ class AccessDeniedException extends CodeartifactServiceException_1.CodeartifactS
15
15
  }
16
16
  }
17
17
  exports.AccessDeniedException = AccessDeniedException;
18
- var AllowPublish;
19
- (function (AllowPublish) {
20
- AllowPublish["ALLOW"] = "ALLOW";
21
- AllowPublish["BLOCK"] = "BLOCK";
22
- })(AllowPublish = exports.AllowPublish || (exports.AllowPublish = {}));
23
- var AllowUpstream;
24
- (function (AllowUpstream) {
25
- AllowUpstream["ALLOW"] = "ALLOW";
26
- AllowUpstream["BLOCK"] = "BLOCK";
27
- })(AllowUpstream = exports.AllowUpstream || (exports.AllowUpstream = {}));
28
- var HashAlgorithm;
29
- (function (HashAlgorithm) {
30
- HashAlgorithm["MD5"] = "MD5";
31
- HashAlgorithm["SHA1"] = "SHA-1";
32
- HashAlgorithm["SHA256"] = "SHA-256";
33
- HashAlgorithm["SHA512"] = "SHA-512";
34
- })(HashAlgorithm = exports.HashAlgorithm || (exports.HashAlgorithm = {}));
35
- var PackageFormat;
36
- (function (PackageFormat) {
37
- PackageFormat["GENERIC"] = "generic";
38
- PackageFormat["MAVEN"] = "maven";
39
- PackageFormat["NPM"] = "npm";
40
- PackageFormat["NUGET"] = "nuget";
41
- PackageFormat["PYPI"] = "pypi";
42
- })(PackageFormat = exports.PackageFormat || (exports.PackageFormat = {}));
43
- var ExternalConnectionStatus;
44
- (function (ExternalConnectionStatus) {
45
- ExternalConnectionStatus["AVAILABLE"] = "Available";
46
- })(ExternalConnectionStatus = exports.ExternalConnectionStatus || (exports.ExternalConnectionStatus = {}));
47
- var ResourceType;
48
- (function (ResourceType) {
49
- ResourceType["ASSET"] = "asset";
50
- ResourceType["DOMAIN"] = "domain";
51
- ResourceType["PACKAGE"] = "package";
52
- ResourceType["PACKAGE_VERSION"] = "package-version";
53
- ResourceType["REPOSITORY"] = "repository";
54
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
18
+ exports.AllowPublish = {
19
+ ALLOW: "ALLOW",
20
+ BLOCK: "BLOCK",
21
+ };
22
+ exports.AllowUpstream = {
23
+ ALLOW: "ALLOW",
24
+ BLOCK: "BLOCK",
25
+ };
26
+ exports.HashAlgorithm = {
27
+ MD5: "MD5",
28
+ SHA1: "SHA-1",
29
+ SHA256: "SHA-256",
30
+ SHA512: "SHA-512",
31
+ };
32
+ exports.PackageFormat = {
33
+ GENERIC: "generic",
34
+ MAVEN: "maven",
35
+ NPM: "npm",
36
+ NUGET: "nuget",
37
+ PYPI: "pypi",
38
+ };
39
+ exports.ExternalConnectionStatus = {
40
+ AVAILABLE: "Available",
41
+ };
42
+ exports.ResourceType = {
43
+ ASSET: "asset",
44
+ DOMAIN: "domain",
45
+ PACKAGE: "package",
46
+ PACKAGE_VERSION: "package-version",
47
+ REPOSITORY: "repository",
48
+ };
55
49
  class ConflictException extends CodeartifactServiceException_1.CodeartifactServiceException {
56
50
  constructor(opts) {
57
51
  super({
@@ -124,14 +118,13 @@ class ThrottlingException extends CodeartifactServiceException_1.CodeartifactSer
124
118
  }
125
119
  }
126
120
  exports.ThrottlingException = ThrottlingException;
127
- var ValidationExceptionReason;
128
- (function (ValidationExceptionReason) {
129
- ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
130
- ValidationExceptionReason["ENCRYPTION_KEY_ERROR"] = "ENCRYPTION_KEY_ERROR";
131
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
132
- ValidationExceptionReason["OTHER"] = "OTHER";
133
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
134
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
121
+ exports.ValidationExceptionReason = {
122
+ CANNOT_PARSE: "CANNOT_PARSE",
123
+ ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR",
124
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
125
+ OTHER: "OTHER",
126
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
127
+ };
135
128
  class ValidationException extends CodeartifactServiceException_1.CodeartifactServiceException {
136
129
  constructor(opts) {
137
130
  super({
@@ -146,39 +139,34 @@ class ValidationException extends CodeartifactServiceException_1.CodeartifactSer
146
139
  }
147
140
  }
148
141
  exports.ValidationException = ValidationException;
149
- var PackageVersionErrorCode;
150
- (function (PackageVersionErrorCode) {
151
- PackageVersionErrorCode["ALREADY_EXISTS"] = "ALREADY_EXISTS";
152
- PackageVersionErrorCode["MISMATCHED_REVISION"] = "MISMATCHED_REVISION";
153
- PackageVersionErrorCode["MISMATCHED_STATUS"] = "MISMATCHED_STATUS";
154
- PackageVersionErrorCode["NOT_ALLOWED"] = "NOT_ALLOWED";
155
- PackageVersionErrorCode["NOT_FOUND"] = "NOT_FOUND";
156
- PackageVersionErrorCode["SKIPPED"] = "SKIPPED";
157
- })(PackageVersionErrorCode = exports.PackageVersionErrorCode || (exports.PackageVersionErrorCode = {}));
158
- var PackageVersionStatus;
159
- (function (PackageVersionStatus) {
160
- PackageVersionStatus["ARCHIVED"] = "Archived";
161
- PackageVersionStatus["DELETED"] = "Deleted";
162
- PackageVersionStatus["DISPOSED"] = "Disposed";
163
- PackageVersionStatus["PUBLISHED"] = "Published";
164
- PackageVersionStatus["UNFINISHED"] = "Unfinished";
165
- PackageVersionStatus["UNLISTED"] = "Unlisted";
166
- })(PackageVersionStatus = exports.PackageVersionStatus || (exports.PackageVersionStatus = {}));
167
- var DomainStatus;
168
- (function (DomainStatus) {
169
- DomainStatus["ACTIVE"] = "Active";
170
- DomainStatus["DELETED"] = "Deleted";
171
- })(DomainStatus = exports.DomainStatus || (exports.DomainStatus = {}));
172
- var PackageVersionOriginType;
173
- (function (PackageVersionOriginType) {
174
- PackageVersionOriginType["EXTERNAL"] = "EXTERNAL";
175
- PackageVersionOriginType["INTERNAL"] = "INTERNAL";
176
- PackageVersionOriginType["UNKNOWN"] = "UNKNOWN";
177
- })(PackageVersionOriginType = exports.PackageVersionOriginType || (exports.PackageVersionOriginType = {}));
178
- var PackageVersionSortType;
179
- (function (PackageVersionSortType) {
180
- PackageVersionSortType["PUBLISHED_TIME"] = "PUBLISHED_TIME";
181
- })(PackageVersionSortType = exports.PackageVersionSortType || (exports.PackageVersionSortType = {}));
142
+ exports.PackageVersionErrorCode = {
143
+ ALREADY_EXISTS: "ALREADY_EXISTS",
144
+ MISMATCHED_REVISION: "MISMATCHED_REVISION",
145
+ MISMATCHED_STATUS: "MISMATCHED_STATUS",
146
+ NOT_ALLOWED: "NOT_ALLOWED",
147
+ NOT_FOUND: "NOT_FOUND",
148
+ SKIPPED: "SKIPPED",
149
+ };
150
+ exports.PackageVersionStatus = {
151
+ ARCHIVED: "Archived",
152
+ DELETED: "Deleted",
153
+ DISPOSED: "Disposed",
154
+ PUBLISHED: "Published",
155
+ UNFINISHED: "Unfinished",
156
+ UNLISTED: "Unlisted",
157
+ };
158
+ exports.DomainStatus = {
159
+ ACTIVE: "Active",
160
+ DELETED: "Deleted",
161
+ };
162
+ exports.PackageVersionOriginType = {
163
+ EXTERNAL: "EXTERNAL",
164
+ INTERNAL: "INTERNAL",
165
+ UNKNOWN: "UNKNOWN",
166
+ };
167
+ exports.PackageVersionSortType = {
168
+ PUBLISHED_TIME: "PUBLISHED_TIME",
169
+ };
182
170
  const GetPackageVersionAssetResultFilterSensitiveLog = (obj) => ({
183
171
  ...obj,
184
172
  });
@@ -11,43 +11,37 @@ export class AccessDeniedException extends __BaseException {
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
14
- export var AllowPublish;
15
- (function (AllowPublish) {
16
- AllowPublish["ALLOW"] = "ALLOW";
17
- AllowPublish["BLOCK"] = "BLOCK";
18
- })(AllowPublish || (AllowPublish = {}));
19
- export var AllowUpstream;
20
- (function (AllowUpstream) {
21
- AllowUpstream["ALLOW"] = "ALLOW";
22
- AllowUpstream["BLOCK"] = "BLOCK";
23
- })(AllowUpstream || (AllowUpstream = {}));
24
- export var HashAlgorithm;
25
- (function (HashAlgorithm) {
26
- HashAlgorithm["MD5"] = "MD5";
27
- HashAlgorithm["SHA1"] = "SHA-1";
28
- HashAlgorithm["SHA256"] = "SHA-256";
29
- HashAlgorithm["SHA512"] = "SHA-512";
30
- })(HashAlgorithm || (HashAlgorithm = {}));
31
- export var PackageFormat;
32
- (function (PackageFormat) {
33
- PackageFormat["GENERIC"] = "generic";
34
- PackageFormat["MAVEN"] = "maven";
35
- PackageFormat["NPM"] = "npm";
36
- PackageFormat["NUGET"] = "nuget";
37
- PackageFormat["PYPI"] = "pypi";
38
- })(PackageFormat || (PackageFormat = {}));
39
- export var ExternalConnectionStatus;
40
- (function (ExternalConnectionStatus) {
41
- ExternalConnectionStatus["AVAILABLE"] = "Available";
42
- })(ExternalConnectionStatus || (ExternalConnectionStatus = {}));
43
- export var ResourceType;
44
- (function (ResourceType) {
45
- ResourceType["ASSET"] = "asset";
46
- ResourceType["DOMAIN"] = "domain";
47
- ResourceType["PACKAGE"] = "package";
48
- ResourceType["PACKAGE_VERSION"] = "package-version";
49
- ResourceType["REPOSITORY"] = "repository";
50
- })(ResourceType || (ResourceType = {}));
14
+ export const AllowPublish = {
15
+ ALLOW: "ALLOW",
16
+ BLOCK: "BLOCK",
17
+ };
18
+ export const AllowUpstream = {
19
+ ALLOW: "ALLOW",
20
+ BLOCK: "BLOCK",
21
+ };
22
+ export const HashAlgorithm = {
23
+ MD5: "MD5",
24
+ SHA1: "SHA-1",
25
+ SHA256: "SHA-256",
26
+ SHA512: "SHA-512",
27
+ };
28
+ export const PackageFormat = {
29
+ GENERIC: "generic",
30
+ MAVEN: "maven",
31
+ NPM: "npm",
32
+ NUGET: "nuget",
33
+ PYPI: "pypi",
34
+ };
35
+ export const ExternalConnectionStatus = {
36
+ AVAILABLE: "Available",
37
+ };
38
+ export const ResourceType = {
39
+ ASSET: "asset",
40
+ DOMAIN: "domain",
41
+ PACKAGE: "package",
42
+ PACKAGE_VERSION: "package-version",
43
+ REPOSITORY: "repository",
44
+ };
51
45
  export class ConflictException extends __BaseException {
52
46
  constructor(opts) {
53
47
  super({
@@ -115,14 +109,13 @@ export class ThrottlingException extends __BaseException {
115
109
  this.retryAfterSeconds = opts.retryAfterSeconds;
116
110
  }
117
111
  }
118
- export var ValidationExceptionReason;
119
- (function (ValidationExceptionReason) {
120
- ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
121
- ValidationExceptionReason["ENCRYPTION_KEY_ERROR"] = "ENCRYPTION_KEY_ERROR";
122
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
123
- ValidationExceptionReason["OTHER"] = "OTHER";
124
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
125
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
112
+ export const ValidationExceptionReason = {
113
+ CANNOT_PARSE: "CANNOT_PARSE",
114
+ ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR",
115
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
116
+ OTHER: "OTHER",
117
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
118
+ };
126
119
  export class ValidationException extends __BaseException {
127
120
  constructor(opts) {
128
121
  super({
@@ -136,39 +129,34 @@ export class ValidationException extends __BaseException {
136
129
  this.reason = opts.reason;
137
130
  }
138
131
  }
139
- export var PackageVersionErrorCode;
140
- (function (PackageVersionErrorCode) {
141
- PackageVersionErrorCode["ALREADY_EXISTS"] = "ALREADY_EXISTS";
142
- PackageVersionErrorCode["MISMATCHED_REVISION"] = "MISMATCHED_REVISION";
143
- PackageVersionErrorCode["MISMATCHED_STATUS"] = "MISMATCHED_STATUS";
144
- PackageVersionErrorCode["NOT_ALLOWED"] = "NOT_ALLOWED";
145
- PackageVersionErrorCode["NOT_FOUND"] = "NOT_FOUND";
146
- PackageVersionErrorCode["SKIPPED"] = "SKIPPED";
147
- })(PackageVersionErrorCode || (PackageVersionErrorCode = {}));
148
- export var PackageVersionStatus;
149
- (function (PackageVersionStatus) {
150
- PackageVersionStatus["ARCHIVED"] = "Archived";
151
- PackageVersionStatus["DELETED"] = "Deleted";
152
- PackageVersionStatus["DISPOSED"] = "Disposed";
153
- PackageVersionStatus["PUBLISHED"] = "Published";
154
- PackageVersionStatus["UNFINISHED"] = "Unfinished";
155
- PackageVersionStatus["UNLISTED"] = "Unlisted";
156
- })(PackageVersionStatus || (PackageVersionStatus = {}));
157
- export var DomainStatus;
158
- (function (DomainStatus) {
159
- DomainStatus["ACTIVE"] = "Active";
160
- DomainStatus["DELETED"] = "Deleted";
161
- })(DomainStatus || (DomainStatus = {}));
162
- export var PackageVersionOriginType;
163
- (function (PackageVersionOriginType) {
164
- PackageVersionOriginType["EXTERNAL"] = "EXTERNAL";
165
- PackageVersionOriginType["INTERNAL"] = "INTERNAL";
166
- PackageVersionOriginType["UNKNOWN"] = "UNKNOWN";
167
- })(PackageVersionOriginType || (PackageVersionOriginType = {}));
168
- export var PackageVersionSortType;
169
- (function (PackageVersionSortType) {
170
- PackageVersionSortType["PUBLISHED_TIME"] = "PUBLISHED_TIME";
171
- })(PackageVersionSortType || (PackageVersionSortType = {}));
132
+ export const PackageVersionErrorCode = {
133
+ ALREADY_EXISTS: "ALREADY_EXISTS",
134
+ MISMATCHED_REVISION: "MISMATCHED_REVISION",
135
+ MISMATCHED_STATUS: "MISMATCHED_STATUS",
136
+ NOT_ALLOWED: "NOT_ALLOWED",
137
+ NOT_FOUND: "NOT_FOUND",
138
+ SKIPPED: "SKIPPED",
139
+ };
140
+ export const PackageVersionStatus = {
141
+ ARCHIVED: "Archived",
142
+ DELETED: "Deleted",
143
+ DISPOSED: "Disposed",
144
+ PUBLISHED: "Published",
145
+ UNFINISHED: "Unfinished",
146
+ UNLISTED: "Unlisted",
147
+ };
148
+ export const DomainStatus = {
149
+ ACTIVE: "Active",
150
+ DELETED: "Deleted",
151
+ };
152
+ export const PackageVersionOriginType = {
153
+ EXTERNAL: "EXTERNAL",
154
+ INTERNAL: "INTERNAL",
155
+ UNKNOWN: "UNKNOWN",
156
+ };
157
+ export const PackageVersionSortType = {
158
+ PUBLISHED_TIME: "PUBLISHED_TIME",
159
+ };
172
160
  export const GetPackageVersionAssetResultFilterSensitiveLog = (obj) => ({
173
161
  ...obj,
174
162
  });
@@ -30,7 +30,7 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
30
30
  * import { CodeartifactClient, AssociateExternalConnectionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, AssociateExternalConnectionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // AssociateExternalConnectionRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
@@ -33,7 +33,7 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
33
33
  * import { CodeartifactClient, CopyPackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
34
34
  * // const { CodeartifactClient, CopyPackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
35
35
  * const client = new CodeartifactClient(config);
36
- * const input = {
36
+ * const input = { // CopyPackageVersionsRequest
37
37
  * domain: "STRING_VALUE", // required
38
38
  * domainOwner: "STRING_VALUE",
39
39
  * sourceRepository: "STRING_VALUE", // required
@@ -41,10 +41,10 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
41
41
  * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
42
42
  * namespace: "STRING_VALUE",
43
43
  * package: "STRING_VALUE", // required
44
- * versions: [
44
+ * versions: [ // PackageVersionList
45
45
  * "STRING_VALUE",
46
46
  * ],
47
- * versionRevisions: {
47
+ * versionRevisions: { // PackageVersionRevisionMap
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
50
  * allowOverwrite: true || false,
@@ -35,11 +35,11 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
35
35
  * import { CodeartifactClient, CreateDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
36
36
  * // const { CodeartifactClient, CreateDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
37
37
  * const client = new CodeartifactClient(config);
38
- * const input = {
38
+ * const input = { // CreateDomainRequest
39
39
  * domain: "STRING_VALUE", // required
40
40
  * encryptionKey: "STRING_VALUE",
41
- * tags: [
42
- * {
41
+ * tags: [ // TagList
42
+ * { // Tag
43
43
  * key: "STRING_VALUE", // required
44
44
  * value: "STRING_VALUE", // required
45
45
  * },
@@ -28,18 +28,18 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
28
28
  * import { CodeartifactClient, CreateRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, CreateRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // CreateRepositoryRequest
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
  * ],
41
- * tags: [
42
- * {
41
+ * tags: [ // TagList
42
+ * { // Tag
43
43
  * key: "STRING_VALUE", // required
44
44
  * value: "STRING_VALUE", // required
45
45
  * },
@@ -29,7 +29,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
29
29
  * import { CodeartifactClient, DeleteDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
30
30
  * // const { CodeartifactClient, DeleteDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
31
31
  * const client = new CodeartifactClient(config);
32
- * const input = {
32
+ * const input = { // DeleteDomainRequest
33
33
  * domain: "STRING_VALUE", // required
34
34
  * domainOwner: "STRING_VALUE",
35
35
  * };
@@ -28,7 +28,7 @@ export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomain
28
28
  * import { CodeartifactClient, DeleteDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DeleteDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // DeleteDomainPermissionsPolicyRequest
32
32
  * domain: "STRING_VALUE", // required
33
33
  * domainOwner: "STRING_VALUE",
34
34
  * policyRevision: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
27
27
  * import { CodeartifactClient, DeletePackageCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
28
28
  * // const { CodeartifactClient, DeletePackageCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
29
29
  * const client = new CodeartifactClient(config);
30
- * const input = {
30
+ * const input = { // DeletePackageRequest
31
31
  * domain: "STRING_VALUE", // required
32
32
  * domainOwner: "STRING_VALUE",
33
33
  * repository: "STRING_VALUE", // required
@@ -30,14 +30,14 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
30
30
  * import { CodeartifactClient, DeletePackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, DeletePackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // DeletePackageVersionsRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
37
37
  * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
38
38
  * namespace: "STRING_VALUE",
39
39
  * package: "STRING_VALUE", // required
40
- * versions: [ // required
40
+ * versions: [ // PackageVersionList // required
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * expectedStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
@@ -28,7 +28,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _
28
28
  * import { CodeartifactClient, DeleteRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DeleteRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // DeleteRepositoryRequest
32
32
  * domain: "STRING_VALUE", // required
33
33
  * domainOwner: "STRING_VALUE",
34
34
  * repository: "STRING_VALUE", // required
@@ -35,7 +35,7 @@ export interface DeleteRepositoryPermissionsPolicyCommandOutput extends DeleteRe
35
35
  * import { CodeartifactClient, DeleteRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
36
36
  * // const { CodeartifactClient, DeleteRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
37
37
  * const client = new CodeartifactClient(config);
38
- * const input = {
38
+ * const input = { // DeleteRepositoryPermissionsPolicyRequest
39
39
  * domain: "STRING_VALUE", // required
40
40
  * domainOwner: "STRING_VALUE",
41
41
  * repository: "STRING_VALUE", // required
@@ -30,7 +30,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResult, __Met
30
30
  * import { CodeartifactClient, DescribeDomainCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, DescribeDomainCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // DescribeDomainRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * };
@@ -28,7 +28,7 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
28
28
  * import { CodeartifactClient, DescribePackageCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DescribePackageCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // DescribePackageRequest
32
32
  * domain: "STRING_VALUE", // required
33
33
  * domainOwner: "STRING_VALUE",
34
34
  * repository: "STRING_VALUE", // required
@@ -30,7 +30,7 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
30
30
  * import { CodeartifactClient, DescribePackageVersionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, DescribePackageVersionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // DescribePackageVersionRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
@@ -29,7 +29,7 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul
29
29
  * import { CodeartifactClient, DescribeRepositoryCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
30
30
  * // const { CodeartifactClient, DescribeRepositoryCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
31
31
  * const client = new CodeartifactClient(config);
32
- * const input = {
32
+ * const input = { // DescribeRepositoryRequest
33
33
  * domain: "STRING_VALUE", // required
34
34
  * domainOwner: "STRING_VALUE",
35
35
  * repository: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface DisassociateExternalConnectionCommandOutput extends Disassociat
28
28
  * import { CodeartifactClient, DisassociateExternalConnectionCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, DisassociateExternalConnectionCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // DisassociateExternalConnectionRequest
32
32
  * domain: "STRING_VALUE", // required
33
33
  * domainOwner: "STRING_VALUE",
34
34
  * repository: "STRING_VALUE", // required
@@ -37,17 +37,17 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi
37
37
  * import { CodeartifactClient, DisposePackageVersionsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
38
38
  * // const { CodeartifactClient, DisposePackageVersionsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
39
39
  * const client = new CodeartifactClient(config);
40
- * const input = {
40
+ * const input = { // DisposePackageVersionsRequest
41
41
  * domain: "STRING_VALUE", // required
42
42
  * domainOwner: "STRING_VALUE",
43
43
  * repository: "STRING_VALUE", // required
44
44
  * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required
45
45
  * namespace: "STRING_VALUE",
46
46
  * package: "STRING_VALUE", // required
47
- * versions: [ // required
47
+ * versions: [ // PackageVersionList // required
48
48
  * "STRING_VALUE",
49
49
  * ],
50
- * versionRevisions: {
50
+ * versionRevisions: { // PackageVersionRevisionMap
51
51
  * "<keys>": "STRING_VALUE",
52
52
  * },
53
53
  * expectedStatus: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted",
@@ -46,7 +46,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
46
46
  * import { CodeartifactClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
47
47
  * // const { CodeartifactClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
48
48
  * const client = new CodeartifactClient(config);
49
- * const input = {
49
+ * const input = { // GetAuthorizationTokenRequest
50
50
  * domain: "STRING_VALUE", // required
51
51
  * domainOwner: "STRING_VALUE",
52
52
  * durationSeconds: Number("long"),
@@ -35,7 +35,7 @@ export interface GetDomainPermissionsPolicyCommandOutput extends GetDomainPermis
35
35
  * import { CodeartifactClient, GetDomainPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
36
36
  * // const { CodeartifactClient, GetDomainPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
37
37
  * const client = new CodeartifactClient(config);
38
- * const input = {
38
+ * const input = { // GetDomainPermissionsPolicyRequest
39
39
  * domain: "STRING_VALUE", // required
40
40
  * domainOwner: "STRING_VALUE",
41
41
  * };
@@ -30,7 +30,7 @@ export interface GetPackageVersionAssetCommandOutput extends __WithSdkStreamMixi
30
30
  * import { CodeartifactClient, GetPackageVersionAssetCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
31
31
  * // const { CodeartifactClient, GetPackageVersionAssetCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
32
32
  * const client = new CodeartifactClient(config);
33
- * const input = {
33
+ * const input = { // GetPackageVersionAssetRequest
34
34
  * domain: "STRING_VALUE", // required
35
35
  * domainOwner: "STRING_VALUE",
36
36
  * repository: "STRING_VALUE", // required
@@ -31,7 +31,7 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
31
31
  * import { CodeartifactClient, GetPackageVersionReadmeCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
32
32
  * // const { CodeartifactClient, GetPackageVersionReadmeCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
33
33
  * const client = new CodeartifactClient(config);
34
- * const input = {
34
+ * const input = { // GetPackageVersionReadmeRequest
35
35
  * domain: "STRING_VALUE", // required
36
36
  * domainOwner: "STRING_VALUE",
37
37
  * repository: "STRING_VALUE", // required
@@ -51,7 +51,7 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
51
51
  * import { CodeartifactClient, GetRepositoryEndpointCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
52
52
  * // const { CodeartifactClient, GetRepositoryEndpointCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
53
53
  * const client = new CodeartifactClient(config);
54
- * const input = {
54
+ * const input = { // GetRepositoryEndpointRequest
55
55
  * domain: "STRING_VALUE", // required
56
56
  * domainOwner: "STRING_VALUE",
57
57
  * repository: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface GetRepositoryPermissionsPolicyCommandOutput extends GetReposito
28
28
  * import { CodeartifactClient, GetRepositoryPermissionsPolicyCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
29
29
  * // const { CodeartifactClient, GetRepositoryPermissionsPolicyCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
30
30
  * const client = new CodeartifactClient(config);
31
- * const input = {
31
+ * const input = { // GetRepositoryPermissionsPolicyRequest
32
32
  * domain: "STRING_VALUE", // required
33
33
  * domainOwner: "STRING_VALUE",
34
34
  * repository: "STRING_VALUE", // required