@aws-sdk/client-codeartifact 3.52.0 → 3.54.1
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/CodeartifactClient.d.ts +2 -2
- 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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CodeartifactClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CodeartifactServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var CodeartifactServiceException = (function (_super) {
|
|
4
|
+
__extends(CodeartifactServiceException, _super);
|
|
5
|
+
function CodeartifactServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, CodeartifactServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return CodeartifactServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { CodeartifactServiceException };
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { CodeartifactServiceException as __BaseException } from "./CodeartifactServiceException";
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return AccessDeniedException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AccessDeniedException };
|
|
2
15
|
export var HashAlgorithm;
|
|
3
16
|
(function (HashAlgorithm) {
|
|
4
17
|
HashAlgorithm["MD5"] = "MD5";
|
|
@@ -49,6 +62,73 @@ export var ResourceType;
|
|
|
49
62
|
ResourceType["PACKAGE_VERSION"] = "package-version";
|
|
50
63
|
ResourceType["REPOSITORY"] = "repository";
|
|
51
64
|
})(ResourceType || (ResourceType = {}));
|
|
65
|
+
var ConflictException = (function (_super) {
|
|
66
|
+
__extends(ConflictException, _super);
|
|
67
|
+
function ConflictException(opts) {
|
|
68
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
69
|
+
_this.name = "ConflictException";
|
|
70
|
+
_this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
72
|
+
_this.resourceId = opts.resourceId;
|
|
73
|
+
_this.resourceType = opts.resourceType;
|
|
74
|
+
return _this;
|
|
75
|
+
}
|
|
76
|
+
return ConflictException;
|
|
77
|
+
}(__BaseException));
|
|
78
|
+
export { ConflictException };
|
|
79
|
+
var InternalServerException = (function (_super) {
|
|
80
|
+
__extends(InternalServerException, _super);
|
|
81
|
+
function InternalServerException(opts) {
|
|
82
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
83
|
+
_this.name = "InternalServerException";
|
|
84
|
+
_this.$fault = "server";
|
|
85
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
86
|
+
return _this;
|
|
87
|
+
}
|
|
88
|
+
return InternalServerException;
|
|
89
|
+
}(__BaseException));
|
|
90
|
+
export { InternalServerException };
|
|
91
|
+
var ResourceNotFoundException = (function (_super) {
|
|
92
|
+
__extends(ResourceNotFoundException, _super);
|
|
93
|
+
function ResourceNotFoundException(opts) {
|
|
94
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
95
|
+
_this.name = "ResourceNotFoundException";
|
|
96
|
+
_this.$fault = "client";
|
|
97
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
98
|
+
_this.resourceId = opts.resourceId;
|
|
99
|
+
_this.resourceType = opts.resourceType;
|
|
100
|
+
return _this;
|
|
101
|
+
}
|
|
102
|
+
return ResourceNotFoundException;
|
|
103
|
+
}(__BaseException));
|
|
104
|
+
export { ResourceNotFoundException };
|
|
105
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
106
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
107
|
+
function ServiceQuotaExceededException(opts) {
|
|
108
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
109
|
+
_this.name = "ServiceQuotaExceededException";
|
|
110
|
+
_this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
112
|
+
_this.resourceId = opts.resourceId;
|
|
113
|
+
_this.resourceType = opts.resourceType;
|
|
114
|
+
return _this;
|
|
115
|
+
}
|
|
116
|
+
return ServiceQuotaExceededException;
|
|
117
|
+
}(__BaseException));
|
|
118
|
+
export { ServiceQuotaExceededException };
|
|
119
|
+
var ThrottlingException = (function (_super) {
|
|
120
|
+
__extends(ThrottlingException, _super);
|
|
121
|
+
function ThrottlingException(opts) {
|
|
122
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
123
|
+
_this.name = "ThrottlingException";
|
|
124
|
+
_this.$fault = "client";
|
|
125
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
126
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
127
|
+
return _this;
|
|
128
|
+
}
|
|
129
|
+
return ThrottlingException;
|
|
130
|
+
}(__BaseException));
|
|
131
|
+
export { ThrottlingException };
|
|
52
132
|
export var ValidationExceptionReason;
|
|
53
133
|
(function (ValidationExceptionReason) {
|
|
54
134
|
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
@@ -57,6 +137,19 @@ export var ValidationExceptionReason;
|
|
|
57
137
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
58
138
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
59
139
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
140
|
+
var ValidationException = (function (_super) {
|
|
141
|
+
__extends(ValidationException, _super);
|
|
142
|
+
function ValidationException(opts) {
|
|
143
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
144
|
+
_this.name = "ValidationException";
|
|
145
|
+
_this.$fault = "client";
|
|
146
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
147
|
+
_this.reason = opts.reason;
|
|
148
|
+
return _this;
|
|
149
|
+
}
|
|
150
|
+
return ValidationException;
|
|
151
|
+
}(__BaseException));
|
|
152
|
+
export { ValidationException };
|
|
60
153
|
export var CopyPackageVersionsRequest;
|
|
61
154
|
(function (CopyPackageVersionsRequest) {
|
|
62
155
|
CopyPackageVersionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|