@aws-sdk/client-codestar-notifications 3.51.0 → 3.54.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/CodestarNotificationsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +114 -1
- package/dist-cjs/protocols/Aws_restJson1.js +139 -375
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodestarNotificationsServiceException.js +12 -0
- package/dist-es/models/models_0.js +106 -1
- package/dist-es/protocols/Aws_restJson1.js +259 -436
- package/dist-types/CodestarNotificationsClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodestarNotificationsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -25
- 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/CodestarNotificationsClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CodestarNotificationsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -25
- 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 +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.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codestar-notifications
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-codestar-notifications
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-codestar-notifications
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodestarNotificationsServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CodestarNotifications"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CodestarNotificationsClient"), 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 CodestarNotificationsServiceException_1 = require("./models/CodestarNotificationsServiceException");
|
|
11
|
+
Object.defineProperty(exports, "CodestarNotificationsServiceException", { enumerable: true, get: function () { return CodestarNotificationsServiceException_1.CodestarNotificationsServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodestarNotificationsServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CodestarNotificationsServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CodestarNotificationsServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException;
|
|
@@ -1,7 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateNotificationRuleResult = exports.UpdateNotificationRuleRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.UnsubscribeResult = exports.UnsubscribeRequest = exports.TagResourceResult = exports.TagResourceRequest = exports.SubscribeResult = exports.SubscribeRequest = exports.ListTargetsResult = exports.ListTargetsRequest = exports.ListTargetsFilter = exports.ListTargetsFilterName = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListNotificationRulesResult = exports.NotificationRuleSummary = exports.ListNotificationRulesRequest = exports.ListNotificationRulesFilter = exports.ListNotificationRulesFilterName = exports.ListEventTypesResult = exports.ListEventTypesRequest = exports.ListEventTypesFilter = exports.ListEventTypesFilterName = exports.DescribeNotificationRuleResult = exports.TargetSummary = exports.TargetStatus = exports.EventTypeSummary = exports.DescribeNotificationRuleRequest = exports.DeleteTargetResult = exports.DeleteTargetRequest = exports.DeleteNotificationRuleResult = exports.DeleteNotificationRuleRequest = exports.CreateNotificationRuleResult = exports.CreateNotificationRuleRequest = exports.Target = exports.NotificationRuleStatus = exports.DetailType = void 0;
|
|
3
|
+
exports.UpdateNotificationRuleResult = exports.UpdateNotificationRuleRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.UnsubscribeResult = exports.UnsubscribeRequest = exports.TagResourceResult = exports.TagResourceRequest = exports.SubscribeResult = exports.SubscribeRequest = exports.ListTargetsResult = exports.ListTargetsRequest = exports.ListTargetsFilter = exports.ListTargetsFilterName = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListNotificationRulesResult = exports.NotificationRuleSummary = exports.ListNotificationRulesRequest = exports.ListNotificationRulesFilter = exports.ListNotificationRulesFilterName = exports.ListEventTypesResult = exports.ListEventTypesRequest = exports.ListEventTypesFilter = exports.ListEventTypesFilterName = exports.InvalidNextTokenException = exports.ResourceNotFoundException = exports.DescribeNotificationRuleResult = exports.TargetSummary = exports.TargetStatus = exports.EventTypeSummary = exports.DescribeNotificationRuleRequest = exports.DeleteTargetResult = exports.DeleteTargetRequest = exports.DeleteNotificationRuleResult = exports.DeleteNotificationRuleRequest = exports.ValidationException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.CreateNotificationRuleResult = exports.CreateNotificationRuleRequest = exports.Target = exports.NotificationRuleStatus = exports.DetailType = exports.ConfigurationException = exports.ConcurrentModificationException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const CodestarNotificationsServiceException_1 = require("./CodestarNotificationsServiceException");
|
|
6
|
+
class AccessDeniedException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConcurrentModificationException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConcurrentModificationException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "ConcurrentModificationException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
34
|
+
class ConfigurationException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "ConfigurationException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
this.name = "ConfigurationException";
|
|
42
|
+
this.$fault = "client";
|
|
43
|
+
Object.setPrototypeOf(this, ConfigurationException.prototype);
|
|
44
|
+
this.Message = opts.Message;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.ConfigurationException = ConfigurationException;
|
|
5
48
|
var DetailType;
|
|
6
49
|
(function (DetailType) {
|
|
7
50
|
DetailType["BASIC"] = "BASIC";
|
|
@@ -33,6 +76,48 @@ var CreateNotificationRuleResult;
|
|
|
33
76
|
...obj,
|
|
34
77
|
});
|
|
35
78
|
})(CreateNotificationRuleResult = exports.CreateNotificationRuleResult || (exports.CreateNotificationRuleResult = {}));
|
|
79
|
+
class LimitExceededException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "LimitExceededException",
|
|
83
|
+
$fault: "client",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
this.name = "LimitExceededException";
|
|
87
|
+
this.$fault = "client";
|
|
88
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
89
|
+
this.Message = opts.Message;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.LimitExceededException = LimitExceededException;
|
|
93
|
+
class ResourceAlreadyExistsException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ResourceAlreadyExistsException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
this.name = "ResourceAlreadyExistsException";
|
|
101
|
+
this.$fault = "client";
|
|
102
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
107
|
+
class ValidationException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ValidationException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
this.name = "ValidationException";
|
|
115
|
+
this.$fault = "client";
|
|
116
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
117
|
+
this.Message = opts.Message;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.ValidationException = ValidationException;
|
|
36
121
|
var DeleteNotificationRuleRequest;
|
|
37
122
|
(function (DeleteNotificationRuleRequest) {
|
|
38
123
|
DeleteNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -93,6 +178,34 @@ var DescribeNotificationRuleResult;
|
|
|
93
178
|
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummary.filterSensitiveLog(item)) }),
|
|
94
179
|
});
|
|
95
180
|
})(DescribeNotificationRuleResult = exports.DescribeNotificationRuleResult || (exports.DescribeNotificationRuleResult = {}));
|
|
181
|
+
class ResourceNotFoundException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
182
|
+
constructor(opts) {
|
|
183
|
+
super({
|
|
184
|
+
name: "ResourceNotFoundException",
|
|
185
|
+
$fault: "client",
|
|
186
|
+
...opts,
|
|
187
|
+
});
|
|
188
|
+
this.name = "ResourceNotFoundException";
|
|
189
|
+
this.$fault = "client";
|
|
190
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
195
|
+
class InvalidNextTokenException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "InvalidNextTokenException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
this.name = "InvalidNextTokenException";
|
|
203
|
+
this.$fault = "client";
|
|
204
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
205
|
+
this.Message = opts.Message;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
96
209
|
var ListEventTypesFilterName;
|
|
97
210
|
(function (ListEventTypesFilterName) {
|
|
98
211
|
ListEventTypesFilterName["RESOURCE_TYPE"] = "RESOURCE_TYPE";
|