@aws-sdk/client-codeartifact 3.490.0 → 3.495.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/Codeartifact.js +1 -87
- package/dist-cjs/CodeartifactClient.js +1 -43
- package/dist-cjs/commands/AssociateExternalConnectionCommand.js +1 -28
- package/dist-cjs/commands/CopyPackageVersionsCommand.js +1 -28
- package/dist-cjs/commands/CreateDomainCommand.js +1 -28
- package/dist-cjs/commands/CreateRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DeleteDomainCommand.js +1 -28
- package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeletePackageCommand.js +1 -28
- package/dist-cjs/commands/DeletePackageVersionsCommand.js +1 -28
- package/dist-cjs/commands/DeleteRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeDomainCommand.js +1 -28
- package/dist-cjs/commands/DescribePackageCommand.js +1 -28
- package/dist-cjs/commands/DescribePackageVersionCommand.js +1 -28
- package/dist-cjs/commands/DescribeRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +1 -28
- package/dist-cjs/commands/DisposePackageVersionsCommand.js +1 -28
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +1 -28
- package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetPackageVersionAssetCommand.js +1 -29
- package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +1 -28
- package/dist-cjs/commands/GetRepositoryEndpointCommand.js +1 -28
- package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +1 -28
- package/dist-cjs/commands/ListDomainsCommand.js +1 -28
- package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +1 -28
- package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +1 -28
- package/dist-cjs/commands/ListPackageVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListPackagesCommand.js +1 -28
- package/dist-cjs/commands/ListRepositoriesCommand.js +1 -28
- package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PublishPackageVersionCommand.js +1 -29
- package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +1 -28
- package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +1 -28
- package/dist-cjs/commands/UpdateRepositoryCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -41
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3941 -11
- package/dist-cjs/models/CodeartifactServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -178
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDomainsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPackageVersionAssetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPackagesPaginator.js +1 -7
- package/dist-cjs/pagination/ListRepositoriesInDomainPaginator.js +1 -7
- package/dist-cjs/pagination/ListRepositoriesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2810
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +41 -41
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CodeartifactServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class CodeartifactServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, CodeartifactServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.CodeartifactServiceException = CodeartifactServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,178 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PublishPackageVersionRequestFilterSensitiveLog = exports.GetPackageVersionAssetResultFilterSensitiveLog = exports.PackageVersionSortType = exports.PackageVersionOriginType = exports.DomainStatus = exports.PackageVersionStatus = exports.PackageVersionErrorCode = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.ExternalConnectionStatus = exports.PackageFormat = exports.HashAlgorithm = exports.AllowUpstream = exports.AllowPublish = exports.AccessDeniedException = void 0;
|
|
4
|
-
const CodeartifactServiceException_1 = require("./CodeartifactServiceException");
|
|
5
|
-
class AccessDeniedException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "AccessDeniedException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
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
|
-
SWIFT: "swift",
|
|
39
|
-
};
|
|
40
|
-
exports.ExternalConnectionStatus = {
|
|
41
|
-
AVAILABLE: "Available",
|
|
42
|
-
};
|
|
43
|
-
exports.ResourceType = {
|
|
44
|
-
ASSET: "asset",
|
|
45
|
-
DOMAIN: "domain",
|
|
46
|
-
PACKAGE: "package",
|
|
47
|
-
PACKAGE_VERSION: "package-version",
|
|
48
|
-
REPOSITORY: "repository",
|
|
49
|
-
};
|
|
50
|
-
class ConflictException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
51
|
-
constructor(opts) {
|
|
52
|
-
super({
|
|
53
|
-
name: "ConflictException",
|
|
54
|
-
$fault: "client",
|
|
55
|
-
...opts,
|
|
56
|
-
});
|
|
57
|
-
this.name = "ConflictException";
|
|
58
|
-
this.$fault = "client";
|
|
59
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
60
|
-
this.resourceId = opts.resourceId;
|
|
61
|
-
this.resourceType = opts.resourceType;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.ConflictException = ConflictException;
|
|
65
|
-
class InternalServerException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "InternalServerException",
|
|
69
|
-
$fault: "server",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
this.name = "InternalServerException";
|
|
73
|
-
this.$fault = "server";
|
|
74
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.InternalServerException = InternalServerException;
|
|
78
|
-
class ResourceNotFoundException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "ResourceNotFoundException",
|
|
82
|
-
$fault: "client",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
this.name = "ResourceNotFoundException";
|
|
86
|
-
this.$fault = "client";
|
|
87
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
88
|
-
this.resourceId = opts.resourceId;
|
|
89
|
-
this.resourceType = opts.resourceType;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
93
|
-
class ServiceQuotaExceededException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
94
|
-
constructor(opts) {
|
|
95
|
-
super({
|
|
96
|
-
name: "ServiceQuotaExceededException",
|
|
97
|
-
$fault: "client",
|
|
98
|
-
...opts,
|
|
99
|
-
});
|
|
100
|
-
this.name = "ServiceQuotaExceededException";
|
|
101
|
-
this.$fault = "client";
|
|
102
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
103
|
-
this.resourceId = opts.resourceId;
|
|
104
|
-
this.resourceType = opts.resourceType;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
108
|
-
class ThrottlingException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ThrottlingException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
this.name = "ThrottlingException";
|
|
116
|
-
this.$fault = "client";
|
|
117
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
118
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
exports.ThrottlingException = ThrottlingException;
|
|
122
|
-
exports.ValidationExceptionReason = {
|
|
123
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
124
|
-
ENCRYPTION_KEY_ERROR: "ENCRYPTION_KEY_ERROR",
|
|
125
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
126
|
-
OTHER: "OTHER",
|
|
127
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
128
|
-
};
|
|
129
|
-
class ValidationException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
130
|
-
constructor(opts) {
|
|
131
|
-
super({
|
|
132
|
-
name: "ValidationException",
|
|
133
|
-
$fault: "client",
|
|
134
|
-
...opts,
|
|
135
|
-
});
|
|
136
|
-
this.name = "ValidationException";
|
|
137
|
-
this.$fault = "client";
|
|
138
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
139
|
-
this.reason = opts.reason;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
exports.ValidationException = ValidationException;
|
|
143
|
-
exports.PackageVersionErrorCode = {
|
|
144
|
-
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
145
|
-
MISMATCHED_REVISION: "MISMATCHED_REVISION",
|
|
146
|
-
MISMATCHED_STATUS: "MISMATCHED_STATUS",
|
|
147
|
-
NOT_ALLOWED: "NOT_ALLOWED",
|
|
148
|
-
NOT_FOUND: "NOT_FOUND",
|
|
149
|
-
SKIPPED: "SKIPPED",
|
|
150
|
-
};
|
|
151
|
-
exports.PackageVersionStatus = {
|
|
152
|
-
ARCHIVED: "Archived",
|
|
153
|
-
DELETED: "Deleted",
|
|
154
|
-
DISPOSED: "Disposed",
|
|
155
|
-
PUBLISHED: "Published",
|
|
156
|
-
UNFINISHED: "Unfinished",
|
|
157
|
-
UNLISTED: "Unlisted",
|
|
158
|
-
};
|
|
159
|
-
exports.DomainStatus = {
|
|
160
|
-
ACTIVE: "Active",
|
|
161
|
-
DELETED: "Deleted",
|
|
162
|
-
};
|
|
163
|
-
exports.PackageVersionOriginType = {
|
|
164
|
-
EXTERNAL: "EXTERNAL",
|
|
165
|
-
INTERNAL: "INTERNAL",
|
|
166
|
-
UNKNOWN: "UNKNOWN",
|
|
167
|
-
};
|
|
168
|
-
exports.PackageVersionSortType = {
|
|
169
|
-
PUBLISHED_TIME: "PUBLISHED_TIME",
|
|
170
|
-
};
|
|
171
|
-
const GetPackageVersionAssetResultFilterSensitiveLog = (obj) => ({
|
|
172
|
-
...obj,
|
|
173
|
-
});
|
|
174
|
-
exports.GetPackageVersionAssetResultFilterSensitiveLog = GetPackageVersionAssetResultFilterSensitiveLog;
|
|
175
|
-
const PublishPackageVersionRequestFilterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
});
|
|
178
|
-
exports.PublishPackageVersionRequestFilterSensitiveLog = PublishPackageVersionRequestFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListDomains = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeartifactClient_1 = require("../CodeartifactClient");
|
|
6
|
-
const ListDomainsCommand_1 = require("../commands/ListDomainsCommand");
|
|
7
|
-
exports.paginateListDomains = (0, core_1.createPaginator)(CodeartifactClient_1.CodeartifactClient, ListDomainsCommand_1.ListDomainsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListPackageVersionAssets = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeartifactClient_1 = require("../CodeartifactClient");
|
|
6
|
-
const ListPackageVersionAssetsCommand_1 = require("../commands/ListPackageVersionAssetsCommand");
|
|
7
|
-
exports.paginateListPackageVersionAssets = (0, core_1.createPaginator)(CodeartifactClient_1.CodeartifactClient, ListPackageVersionAssetsCommand_1.ListPackageVersionAssetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListPackageVersions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeartifactClient_1 = require("../CodeartifactClient");
|
|
6
|
-
const ListPackageVersionsCommand_1 = require("../commands/ListPackageVersionsCommand");
|
|
7
|
-
exports.paginateListPackageVersions = (0, core_1.createPaginator)(CodeartifactClient_1.CodeartifactClient, ListPackageVersionsCommand_1.ListPackageVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListPackages = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeartifactClient_1 = require("../CodeartifactClient");
|
|
6
|
-
const ListPackagesCommand_1 = require("../commands/ListPackagesCommand");
|
|
7
|
-
exports.paginateListPackages = (0, core_1.createPaginator)(CodeartifactClient_1.CodeartifactClient, ListPackagesCommand_1.ListPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRepositoriesInDomain = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeartifactClient_1 = require("../CodeartifactClient");
|
|
6
|
-
const ListRepositoriesInDomainCommand_1 = require("../commands/ListRepositoriesInDomainCommand");
|
|
7
|
-
exports.paginateListRepositoriesInDomain = (0, core_1.createPaginator)(CodeartifactClient_1.CodeartifactClient, ListRepositoriesInDomainCommand_1.ListRepositoriesInDomainCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRepositories = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeartifactClient_1 = require("../CodeartifactClient");
|
|
6
|
-
const ListRepositoriesCommand_1 = require("../commands/ListRepositoriesCommand");
|
|
7
|
-
exports.paginateListRepositories = (0, core_1.createPaginator)(CodeartifactClient_1.CodeartifactClient, ListRepositoriesCommand_1.ListRepositoriesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListDomainsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListPackageVersionAssetsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListPackageVersionsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListPackagesPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListRepositoriesInDomainPaginator"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ListRepositoriesPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|