@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.
- package/dist-cjs/models/models_0.js +66 -78
- package/dist-es/models/models_0.js +66 -78
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -3
- package/dist-types/commands/CreateRepositoryCommand.d.ts +5 -5
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribePackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +3 -3
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +126 -66
- package/dist-types/ts3.4/models/models_0.d.ts +84 -66
- 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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|