@aws-sdk/client-codeartifact 3.301.0 → 3.306.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/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
|
});
|
|
@@ -18,27 +18,42 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* @public
|
|
21
|
+
* @enum
|
|
21
22
|
*/
|
|
22
|
-
export declare
|
|
23
|
-
ALLOW
|
|
24
|
-
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
|
|
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
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
|
141
|
-
GENERIC
|
|
142
|
-
MAVEN
|
|
143
|
-
NPM
|
|
144
|
-
NUGET
|
|
145
|
-
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
|
|
151
|
-
|
|
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
|
|
286
|
-
ASSET
|
|
287
|
-
DOMAIN
|
|
288
|
-
PACKAGE
|
|
289
|
-
PACKAGE_VERSION
|
|
290
|
-
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
|
|
406
|
-
CANNOT_PARSE
|
|
407
|
-
ENCRYPTION_KEY_ERROR
|
|
408
|
-
FIELD_VALIDATION_FAILED
|
|
409
|
-
OTHER
|
|
410
|
-
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
|
|
543
|
-
ALREADY_EXISTS
|
|
544
|
-
MISMATCHED_REVISION
|
|
545
|
-
MISMATCHED_STATUS
|
|
546
|
-
NOT_ALLOWED
|
|
547
|
-
NOT_FOUND
|
|
548
|
-
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
|
|
604
|
-
ARCHIVED
|
|
605
|
-
DELETED
|
|
606
|
-
DISPOSED
|
|
607
|
-
PUBLISHED
|
|
608
|
-
UNFINISHED
|
|
609
|
-
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
|
|
729
|
-
ACTIVE
|
|
730
|
-
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
|
|
1534
|
-
EXTERNAL
|
|
1535
|
-
INTERNAL
|
|
1536
|
-
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
|
|
2780
|
-
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
|
*/
|
|
@@ -8,20 +8,23 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
ALLOW
|
|
13
|
-
BLOCK
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
export declare const AllowPublish: {
|
|
12
|
+
readonly ALLOW: "ALLOW";
|
|
13
|
+
readonly BLOCK: "BLOCK";
|
|
14
|
+
};
|
|
15
|
+
export type AllowPublish = (typeof AllowPublish)[keyof typeof AllowPublish];
|
|
16
|
+
export declare const AllowUpstream: {
|
|
17
|
+
readonly ALLOW: "ALLOW";
|
|
18
|
+
readonly BLOCK: "BLOCK";
|
|
19
|
+
};
|
|
20
|
+
export type AllowUpstream = (typeof AllowUpstream)[keyof typeof AllowUpstream];
|
|
21
|
+
export declare const HashAlgorithm: {
|
|
22
|
+
readonly MD5: "MD5";
|
|
23
|
+
readonly SHA1: "SHA-1";
|
|
24
|
+
readonly SHA256: "SHA-256";
|
|
25
|
+
readonly SHA512: "SHA-512";
|
|
26
|
+
};
|
|
27
|
+
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
25
28
|
export interface AssetSummary {
|
|
26
29
|
name: string | undefined;
|
|
27
30
|
size?: number;
|
|
@@ -33,16 +36,19 @@ export interface AssociateExternalConnectionRequest {
|
|
|
33
36
|
repository: string | undefined;
|
|
34
37
|
externalConnection: string | undefined;
|
|
35
38
|
}
|
|
36
|
-
export declare
|
|
37
|
-
GENERIC
|
|
38
|
-
MAVEN
|
|
39
|
-
NPM
|
|
40
|
-
NUGET
|
|
41
|
-
PYPI
|
|
42
|
-
}
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
export declare const PackageFormat: {
|
|
40
|
+
readonly GENERIC: "generic";
|
|
41
|
+
readonly MAVEN: "maven";
|
|
42
|
+
readonly NPM: "npm";
|
|
43
|
+
readonly NUGET: "nuget";
|
|
44
|
+
readonly PYPI: "pypi";
|
|
45
|
+
};
|
|
46
|
+
export type PackageFormat = (typeof PackageFormat)[keyof typeof PackageFormat];
|
|
47
|
+
export declare const ExternalConnectionStatus: {
|
|
48
|
+
readonly AVAILABLE: "Available";
|
|
49
|
+
};
|
|
50
|
+
export type ExternalConnectionStatus =
|
|
51
|
+
(typeof ExternalConnectionStatus)[keyof typeof ExternalConnectionStatus];
|
|
46
52
|
export interface RepositoryExternalConnectionInfo {
|
|
47
53
|
externalConnectionName?: string;
|
|
48
54
|
packageFormat?: PackageFormat | string;
|
|
@@ -65,13 +71,14 @@ export interface RepositoryDescription {
|
|
|
65
71
|
export interface AssociateExternalConnectionResult {
|
|
66
72
|
repository?: RepositoryDescription;
|
|
67
73
|
}
|
|
68
|
-
export declare
|
|
69
|
-
ASSET
|
|
70
|
-
DOMAIN
|
|
71
|
-
PACKAGE
|
|
72
|
-
PACKAGE_VERSION
|
|
73
|
-
REPOSITORY
|
|
74
|
-
}
|
|
74
|
+
export declare const ResourceType: {
|
|
75
|
+
readonly ASSET: "asset";
|
|
76
|
+
readonly DOMAIN: "domain";
|
|
77
|
+
readonly PACKAGE: "package";
|
|
78
|
+
readonly PACKAGE_VERSION: "package-version";
|
|
79
|
+
readonly REPOSITORY: "repository";
|
|
80
|
+
};
|
|
81
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
75
82
|
export declare class ConflictException extends __BaseException {
|
|
76
83
|
readonly name: "ConflictException";
|
|
77
84
|
readonly $fault: "client";
|
|
@@ -112,13 +119,15 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
112
119
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
113
120
|
);
|
|
114
121
|
}
|
|
115
|
-
export declare
|
|
116
|
-
CANNOT_PARSE
|
|
117
|
-
ENCRYPTION_KEY_ERROR
|
|
118
|
-
FIELD_VALIDATION_FAILED
|
|
119
|
-
OTHER
|
|
120
|
-
UNKNOWN_OPERATION
|
|
121
|
-
}
|
|
122
|
+
export declare const ValidationExceptionReason: {
|
|
123
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
124
|
+
readonly ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR";
|
|
125
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
126
|
+
readonly OTHER: "OTHER";
|
|
127
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
128
|
+
};
|
|
129
|
+
export type ValidationExceptionReason =
|
|
130
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
122
131
|
export declare class ValidationException extends __BaseException {
|
|
123
132
|
readonly name: "ValidationException";
|
|
124
133
|
readonly $fault: "client";
|
|
@@ -140,26 +149,30 @@ export interface CopyPackageVersionsRequest {
|
|
|
140
149
|
allowOverwrite?: boolean;
|
|
141
150
|
includeFromUpstream?: boolean;
|
|
142
151
|
}
|
|
143
|
-
export declare
|
|
144
|
-
ALREADY_EXISTS
|
|
145
|
-
MISMATCHED_REVISION
|
|
146
|
-
MISMATCHED_STATUS
|
|
147
|
-
NOT_ALLOWED
|
|
148
|
-
NOT_FOUND
|
|
149
|
-
SKIPPED
|
|
150
|
-
}
|
|
152
|
+
export declare const PackageVersionErrorCode: {
|
|
153
|
+
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
154
|
+
readonly MISMATCHED_REVISION: "MISMATCHED_REVISION";
|
|
155
|
+
readonly MISMATCHED_STATUS: "MISMATCHED_STATUS";
|
|
156
|
+
readonly NOT_ALLOWED: "NOT_ALLOWED";
|
|
157
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
158
|
+
readonly SKIPPED: "SKIPPED";
|
|
159
|
+
};
|
|
160
|
+
export type PackageVersionErrorCode =
|
|
161
|
+
(typeof PackageVersionErrorCode)[keyof typeof PackageVersionErrorCode];
|
|
151
162
|
export interface PackageVersionError {
|
|
152
163
|
errorCode?: PackageVersionErrorCode | string;
|
|
153
164
|
errorMessage?: string;
|
|
154
165
|
}
|
|
155
|
-
export declare
|
|
156
|
-
ARCHIVED
|
|
157
|
-
DELETED
|
|
158
|
-
DISPOSED
|
|
159
|
-
PUBLISHED
|
|
160
|
-
UNFINISHED
|
|
161
|
-
UNLISTED
|
|
162
|
-
}
|
|
166
|
+
export declare const PackageVersionStatus: {
|
|
167
|
+
readonly ARCHIVED: "Archived";
|
|
168
|
+
readonly DELETED: "Deleted";
|
|
169
|
+
readonly DISPOSED: "Disposed";
|
|
170
|
+
readonly PUBLISHED: "Published";
|
|
171
|
+
readonly UNFINISHED: "Unfinished";
|
|
172
|
+
readonly UNLISTED: "Unlisted";
|
|
173
|
+
};
|
|
174
|
+
export type PackageVersionStatus =
|
|
175
|
+
(typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
|
|
163
176
|
export interface SuccessfulPackageVersionInfo {
|
|
164
177
|
revision?: string;
|
|
165
178
|
status?: PackageVersionStatus | string;
|
|
@@ -177,10 +190,11 @@ export interface CreateDomainRequest {
|
|
|
177
190
|
encryptionKey?: string;
|
|
178
191
|
tags?: Tag[];
|
|
179
192
|
}
|
|
180
|
-
export declare
|
|
181
|
-
ACTIVE
|
|
182
|
-
DELETED
|
|
183
|
-
}
|
|
193
|
+
export declare const DomainStatus: {
|
|
194
|
+
readonly ACTIVE: "Active";
|
|
195
|
+
readonly DELETED: "Deleted";
|
|
196
|
+
};
|
|
197
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
184
198
|
export interface DomainDescription {
|
|
185
199
|
name?: string;
|
|
186
200
|
owner?: string;
|
|
@@ -325,11 +339,13 @@ export interface DomainEntryPoint {
|
|
|
325
339
|
repositoryName?: string;
|
|
326
340
|
externalConnectionName?: string;
|
|
327
341
|
}
|
|
328
|
-
export declare
|
|
329
|
-
EXTERNAL
|
|
330
|
-
INTERNAL
|
|
331
|
-
UNKNOWN
|
|
332
|
-
}
|
|
342
|
+
export declare const PackageVersionOriginType: {
|
|
343
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
344
|
+
readonly INTERNAL: "INTERNAL";
|
|
345
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
346
|
+
};
|
|
347
|
+
export type PackageVersionOriginType =
|
|
348
|
+
(typeof PackageVersionOriginType)[keyof typeof PackageVersionOriginType];
|
|
333
349
|
export interface PackageVersionOrigin {
|
|
334
350
|
domainEntryPoint?: DomainEntryPoint;
|
|
335
351
|
originType?: PackageVersionOriginType | string;
|
|
@@ -528,9 +544,11 @@ export interface ListPackageVersionDependenciesResult {
|
|
|
528
544
|
nextToken?: string;
|
|
529
545
|
dependencies?: PackageDependency[];
|
|
530
546
|
}
|
|
531
|
-
export declare
|
|
532
|
-
PUBLISHED_TIME
|
|
533
|
-
}
|
|
547
|
+
export declare const PackageVersionSortType: {
|
|
548
|
+
readonly PUBLISHED_TIME: "PUBLISHED_TIME";
|
|
549
|
+
};
|
|
550
|
+
export type PackageVersionSortType =
|
|
551
|
+
(typeof PackageVersionSortType)[keyof typeof PackageVersionSortType];
|
|
534
552
|
export interface ListPackageVersionsRequest {
|
|
535
553
|
domain: string | undefined;
|
|
536
554
|
domainOwner?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeartifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
54
|
-
"@aws-sdk/util-stream-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-stream-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-stream-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
57
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"concurrently": "7.0.0",
|