@aws-sdk/client-codestar-connections 3.52.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CodeStarConnectionsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +72 -1
- package/dist-cjs/protocols/Aws_json1_0.js +94 -264
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodeStarConnectionsServiceException.js +12 -0
- package/dist-es/models/models_0.js +67 -1
- package/dist-es/protocols/Aws_json1_0.js +202 -289
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodeStarConnectionsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +37 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CodeStarConnectionsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -16
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-codestar-connections
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeStarConnectionsServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CodeStarConnections"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CodeStarConnectionsClient"), 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 CodeStarConnectionsServiceException_1 = require("./models/CodeStarConnectionsServiceException");
|
|
11
|
+
Object.defineProperty(exports, "CodeStarConnectionsServiceException", { enumerable: true, get: function () { return CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeStarConnectionsServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CodeStarConnectionsServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CodeStarConnectionsServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CodeStarConnectionsServiceException = CodeStarConnectionsServiceException;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateHostOutput = exports.UpdateHostInput = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListHostsOutput = exports.Host = exports.ListHostsInput = exports.ListConnectionsOutput = exports.ListConnectionsInput = exports.GetHostOutput = exports.GetHostInput = exports.GetConnectionOutput = exports.Connection = exports.ConnectionStatus = exports.GetConnectionInput = exports.DeleteHostOutput = exports.DeleteHostInput = exports.DeleteConnectionOutput = exports.DeleteConnectionInput = exports.CreateHostOutput = exports.CreateHostInput = exports.VpcConfiguration = exports.CreateConnectionOutput = exports.CreateConnectionInput = exports.Tag = exports.ProviderType = void 0;
|
|
3
|
+
exports.UpdateHostOutput = exports.UpdateHostInput = exports.UnsupportedOperationException = exports.ConflictException = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListHostsOutput = exports.Host = exports.ListHostsInput = exports.ListConnectionsOutput = exports.ListConnectionsInput = exports.GetHostOutput = exports.GetHostInput = exports.GetConnectionOutput = exports.Connection = exports.ConnectionStatus = exports.GetConnectionInput = exports.DeleteHostOutput = exports.DeleteHostInput = exports.DeleteConnectionOutput = exports.DeleteConnectionInput = exports.CreateHostOutput = exports.CreateHostInput = exports.VpcConfiguration = exports.ResourceUnavailableException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.CreateConnectionOutput = exports.CreateConnectionInput = exports.Tag = exports.ProviderType = void 0;
|
|
4
|
+
const CodeStarConnectionsServiceException_1 = require("./CodeStarConnectionsServiceException");
|
|
4
5
|
var ProviderType;
|
|
5
6
|
(function (ProviderType) {
|
|
6
7
|
ProviderType["BITBUCKET"] = "Bitbucket";
|
|
@@ -25,6 +26,48 @@ var CreateConnectionOutput;
|
|
|
25
26
|
...obj,
|
|
26
27
|
});
|
|
27
28
|
})(CreateConnectionOutput = exports.CreateConnectionOutput || (exports.CreateConnectionOutput = {}));
|
|
29
|
+
class LimitExceededException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "LimitExceededException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
this.name = "LimitExceededException";
|
|
37
|
+
this.$fault = "client";
|
|
38
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
39
|
+
this.Message = opts.Message;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.LimitExceededException = LimitExceededException;
|
|
43
|
+
class ResourceNotFoundException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "ResourceNotFoundException",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "ResourceNotFoundException";
|
|
51
|
+
this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
53
|
+
this.Message = opts.Message;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
57
|
+
class ResourceUnavailableException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "ResourceUnavailableException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "ResourceUnavailableException";
|
|
65
|
+
this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
|
|
67
|
+
this.Message = opts.Message;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ResourceUnavailableException = ResourceUnavailableException;
|
|
28
71
|
var VpcConfiguration;
|
|
29
72
|
(function (VpcConfiguration) {
|
|
30
73
|
VpcConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -169,6 +212,34 @@ var UntagResourceOutput;
|
|
|
169
212
|
...obj,
|
|
170
213
|
});
|
|
171
214
|
})(UntagResourceOutput = exports.UntagResourceOutput || (exports.UntagResourceOutput = {}));
|
|
215
|
+
class ConflictException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "ConflictException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
this.name = "ConflictException";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
225
|
+
this.Message = opts.Message;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.ConflictException = ConflictException;
|
|
229
|
+
class UnsupportedOperationException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "UnsupportedOperationException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts,
|
|
235
|
+
});
|
|
236
|
+
this.name = "UnsupportedOperationException";
|
|
237
|
+
this.$fault = "client";
|
|
238
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
239
|
+
this.Message = opts.Message;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
172
243
|
var UpdateHostInput;
|
|
173
244
|
(function (UpdateHostInput) {
|
|
174
245
|
UpdateHostInput.filterSensitiveLog = (obj) => ({
|