@aws-sdk/client-codeartifact 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CodeartifactServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +103 -2
- package/dist-cjs/protocols/Aws_restJson1.js +390 -1547
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodeartifactServiceException.js +12 -0
- package/dist-es/models/models_0.js +94 -1
- package/dist-es/protocols/Aws_restJson1.js +839 -1691
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodeartifactServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/Codeartifact.d.ts +175 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +107 -0
- package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CodeartifactServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1288 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPackageVersionAssetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPackageVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPackagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRepositoriesInDomainPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRepositoriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-codeartifact
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeartifactServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Codeartifact"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CodeartifactClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var CodeartifactServiceException_1 = require("./models/CodeartifactServiceException");
|
|
11
|
+
Object.defineProperty(exports, "CodeartifactServiceException", { enumerable: true, get: function () { return CodeartifactServiceException_1.CodeartifactServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeartifactServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CodeartifactServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CodeartifactServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CodeartifactServiceException = CodeartifactServiceException;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.DescribeRepositoryRequest = exports.DescribePackageVersionResult = exports.PackageVersionDescription = exports.LicenseInfo = exports.DescribePackageVersionRequest = exports.DescribeDomainResult = exports.DescribeDomainRequest = exports.DeleteRepositoryPermissionsPolicyResult = exports.DeleteRepositoryPermissionsPolicyRequest = exports.DeleteRepositoryResult = exports.DeleteRepositoryRequest = exports.DeletePackageVersionsResult = exports.DeletePackageVersionsRequest = exports.DeleteDomainPermissionsPolicyResult = exports.ResourcePolicy = exports.DeleteDomainPermissionsPolicyRequest = exports.DeleteDomainResult = exports.DeleteDomainRequest = exports.CreateRepositoryResult = exports.CreateRepositoryRequest = exports.UpstreamRepository = exports.CreateDomainResult = exports.DomainDescription = exports.DomainStatus = exports.CreateDomainRequest = exports.Tag = exports.CopyPackageVersionsResult = exports.SuccessfulPackageVersionInfo = exports.PackageVersionStatus = exports.PackageVersionError = exports.PackageVersionErrorCode = exports.CopyPackageVersionsRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.AssociateExternalConnectionResult = exports.RepositoryDescription = exports.UpstreamRepositoryInfo = exports.RepositoryExternalConnectionInfo = exports.ExternalConnectionStatus = exports.PackageFormat = exports.AssociateExternalConnectionRequest = exports.AssetSummary = exports.HashAlgorithm = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateRepositoryRequest = exports.UpdatePackageVersionsStatusResult = exports.UpdatePackageVersionsStatusRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.TagResourceResult = exports.TagResourceRequest = exports.PutRepositoryPermissionsPolicyResult = exports.PutRepositoryPermissionsPolicyRequest = exports.PutDomainPermissionsPolicyResult = exports.PutDomainPermissionsPolicyRequest = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListRepositoriesInDomainResult = exports.ListRepositoriesInDomainRequest = exports.ListRepositoriesResult = exports.RepositorySummary = exports.ListRepositoriesRequest = exports.ListPackageVersionsResult = exports.PackageVersionSummary = exports.ListPackageVersionsRequest = exports.PackageVersionSortType = exports.ListPackageVersionDependenciesResult = exports.PackageDependency = exports.ListPackageVersionDependenciesRequest = exports.ListPackageVersionAssetsResult = exports.ListPackageVersionAssetsRequest = exports.ListPackagesResult = exports.PackageSummary = exports.ListPackagesRequest = exports.ListDomainsResult = exports.DomainSummary = exports.ListDomainsRequest = exports.GetRepositoryPermissionsPolicyResult = exports.GetRepositoryPermissionsPolicyRequest = exports.GetRepositoryEndpointResult = exports.GetRepositoryEndpointRequest = exports.GetPackageVersionReadmeResult = exports.GetPackageVersionReadmeRequest = exports.GetPackageVersionAssetResult = exports.GetPackageVersionAssetRequest = exports.GetDomainPermissionsPolicyResult = exports.GetDomainPermissionsPolicyRequest = exports.GetAuthorizationTokenResult = exports.GetAuthorizationTokenRequest = exports.DisposePackageVersionsResult = exports.DisposePackageVersionsRequest = exports.DisassociateExternalConnectionResult = exports.DisassociateExternalConnectionRequest = exports.DescribeRepositoryResult = void 0;
|
|
5
|
+
exports.UpdateRepositoryResult = void 0;
|
|
6
|
+
const CodeartifactServiceException_1 = require("./CodeartifactServiceException");
|
|
7
|
+
class AccessDeniedException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
20
|
var HashAlgorithm;
|
|
6
21
|
(function (HashAlgorithm) {
|
|
7
22
|
HashAlgorithm["MD5"] = "MD5";
|
|
@@ -64,6 +79,78 @@ var ResourceType;
|
|
|
64
79
|
ResourceType["PACKAGE_VERSION"] = "package-version";
|
|
65
80
|
ResourceType["REPOSITORY"] = "repository";
|
|
66
81
|
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
82
|
+
class ConflictException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
83
|
+
constructor(opts) {
|
|
84
|
+
super({
|
|
85
|
+
name: "ConflictException",
|
|
86
|
+
$fault: "client",
|
|
87
|
+
...opts,
|
|
88
|
+
});
|
|
89
|
+
this.name = "ConflictException";
|
|
90
|
+
this.$fault = "client";
|
|
91
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
92
|
+
this.resourceId = opts.resourceId;
|
|
93
|
+
this.resourceType = opts.resourceType;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.ConflictException = ConflictException;
|
|
97
|
+
class InternalServerException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "InternalServerException",
|
|
101
|
+
$fault: "server",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
this.name = "InternalServerException";
|
|
105
|
+
this.$fault = "server";
|
|
106
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.InternalServerException = InternalServerException;
|
|
110
|
+
class ResourceNotFoundException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "ResourceNotFoundException",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
this.name = "ResourceNotFoundException";
|
|
118
|
+
this.$fault = "client";
|
|
119
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
120
|
+
this.resourceId = opts.resourceId;
|
|
121
|
+
this.resourceType = opts.resourceType;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
125
|
+
class ServiceQuotaExceededException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
126
|
+
constructor(opts) {
|
|
127
|
+
super({
|
|
128
|
+
name: "ServiceQuotaExceededException",
|
|
129
|
+
$fault: "client",
|
|
130
|
+
...opts,
|
|
131
|
+
});
|
|
132
|
+
this.name = "ServiceQuotaExceededException";
|
|
133
|
+
this.$fault = "client";
|
|
134
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
135
|
+
this.resourceId = opts.resourceId;
|
|
136
|
+
this.resourceType = opts.resourceType;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
140
|
+
class ThrottlingException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "ThrottlingException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
this.name = "ThrottlingException";
|
|
148
|
+
this.$fault = "client";
|
|
149
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
150
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
exports.ThrottlingException = ThrottlingException;
|
|
67
154
|
var ValidationExceptionReason;
|
|
68
155
|
(function (ValidationExceptionReason) {
|
|
69
156
|
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
@@ -72,6 +159,20 @@ var ValidationExceptionReason;
|
|
|
72
159
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
73
160
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
74
161
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
162
|
+
class ValidationException extends CodeartifactServiceException_1.CodeartifactServiceException {
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "ValidationException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
this.name = "ValidationException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
172
|
+
this.reason = opts.reason;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.ValidationException = ValidationException;
|
|
75
176
|
var CopyPackageVersionsRequest;
|
|
76
177
|
(function (CopyPackageVersionsRequest) {
|
|
77
178
|
CopyPackageVersionsRequest.filterSensitiveLog = (obj) => ({
|