@aws-sdk/client-codestar-notifications 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/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/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/ts3.4/CodestarNotifications.d.ts +70 -0
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +86 -0
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -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/CodestarNotificationsServiceException.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 +465 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEventTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +41 -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/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 CodestarNotificationsServiceException = (function (_super) {
|
|
4
|
+
__extends(CodestarNotificationsServiceException, _super);
|
|
5
|
+
function CodestarNotificationsServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, CodestarNotificationsServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return CodestarNotificationsServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { CodestarNotificationsServiceException };
|
|
@@ -1,5 +1,45 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { CodestarNotificationsServiceException as __BaseException } from "./CodestarNotificationsServiceException";
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.Message = opts.Message;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
return AccessDeniedException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { AccessDeniedException };
|
|
17
|
+
var ConcurrentModificationException = (function (_super) {
|
|
18
|
+
__extends(ConcurrentModificationException, _super);
|
|
19
|
+
function ConcurrentModificationException(opts) {
|
|
20
|
+
var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
|
|
21
|
+
_this.name = "ConcurrentModificationException";
|
|
22
|
+
_this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
|
|
24
|
+
_this.Message = opts.Message;
|
|
25
|
+
return _this;
|
|
26
|
+
}
|
|
27
|
+
return ConcurrentModificationException;
|
|
28
|
+
}(__BaseException));
|
|
29
|
+
export { ConcurrentModificationException };
|
|
30
|
+
var ConfigurationException = (function (_super) {
|
|
31
|
+
__extends(ConfigurationException, _super);
|
|
32
|
+
function ConfigurationException(opts) {
|
|
33
|
+
var _this = _super.call(this, __assign({ name: "ConfigurationException", $fault: "client" }, opts)) || this;
|
|
34
|
+
_this.name = "ConfigurationException";
|
|
35
|
+
_this.$fault = "client";
|
|
36
|
+
Object.setPrototypeOf(_this, ConfigurationException.prototype);
|
|
37
|
+
_this.Message = opts.Message;
|
|
38
|
+
return _this;
|
|
39
|
+
}
|
|
40
|
+
return ConfigurationException;
|
|
41
|
+
}(__BaseException));
|
|
42
|
+
export { ConfigurationException };
|
|
3
43
|
export var DetailType;
|
|
4
44
|
(function (DetailType) {
|
|
5
45
|
DetailType["BASIC"] = "BASIC";
|
|
@@ -22,6 +62,45 @@ export var CreateNotificationRuleResult;
|
|
|
22
62
|
(function (CreateNotificationRuleResult) {
|
|
23
63
|
CreateNotificationRuleResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
24
64
|
})(CreateNotificationRuleResult || (CreateNotificationRuleResult = {}));
|
|
65
|
+
var LimitExceededException = (function (_super) {
|
|
66
|
+
__extends(LimitExceededException, _super);
|
|
67
|
+
function LimitExceededException(opts) {
|
|
68
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
69
|
+
_this.name = "LimitExceededException";
|
|
70
|
+
_this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
72
|
+
_this.Message = opts.Message;
|
|
73
|
+
return _this;
|
|
74
|
+
}
|
|
75
|
+
return LimitExceededException;
|
|
76
|
+
}(__BaseException));
|
|
77
|
+
export { LimitExceededException };
|
|
78
|
+
var ResourceAlreadyExistsException = (function (_super) {
|
|
79
|
+
__extends(ResourceAlreadyExistsException, _super);
|
|
80
|
+
function ResourceAlreadyExistsException(opts) {
|
|
81
|
+
var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistsException", $fault: "client" }, opts)) || this;
|
|
82
|
+
_this.name = "ResourceAlreadyExistsException";
|
|
83
|
+
_this.$fault = "client";
|
|
84
|
+
Object.setPrototypeOf(_this, ResourceAlreadyExistsException.prototype);
|
|
85
|
+
_this.Message = opts.Message;
|
|
86
|
+
return _this;
|
|
87
|
+
}
|
|
88
|
+
return ResourceAlreadyExistsException;
|
|
89
|
+
}(__BaseException));
|
|
90
|
+
export { ResourceAlreadyExistsException };
|
|
91
|
+
var ValidationException = (function (_super) {
|
|
92
|
+
__extends(ValidationException, _super);
|
|
93
|
+
function ValidationException(opts) {
|
|
94
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
95
|
+
_this.name = "ValidationException";
|
|
96
|
+
_this.$fault = "client";
|
|
97
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
98
|
+
_this.Message = opts.Message;
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
return ValidationException;
|
|
102
|
+
}(__BaseException));
|
|
103
|
+
export { ValidationException };
|
|
25
104
|
export var DeleteNotificationRuleRequest;
|
|
26
105
|
(function (DeleteNotificationRuleRequest) {
|
|
27
106
|
DeleteNotificationRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -62,6 +141,32 @@ export var DescribeNotificationRuleResult;
|
|
|
62
141
|
(function (DescribeNotificationRuleResult) {
|
|
63
142
|
DescribeNotificationRuleResult.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Targets && { Targets: obj.Targets.map(function (item) { return TargetSummary.filterSensitiveLog(item); }) }))); };
|
|
64
143
|
})(DescribeNotificationRuleResult || (DescribeNotificationRuleResult = {}));
|
|
144
|
+
var ResourceNotFoundException = (function (_super) {
|
|
145
|
+
__extends(ResourceNotFoundException, _super);
|
|
146
|
+
function ResourceNotFoundException(opts) {
|
|
147
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
148
|
+
_this.name = "ResourceNotFoundException";
|
|
149
|
+
_this.$fault = "client";
|
|
150
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
151
|
+
_this.Message = opts.Message;
|
|
152
|
+
return _this;
|
|
153
|
+
}
|
|
154
|
+
return ResourceNotFoundException;
|
|
155
|
+
}(__BaseException));
|
|
156
|
+
export { ResourceNotFoundException };
|
|
157
|
+
var InvalidNextTokenException = (function (_super) {
|
|
158
|
+
__extends(InvalidNextTokenException, _super);
|
|
159
|
+
function InvalidNextTokenException(opts) {
|
|
160
|
+
var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
|
|
161
|
+
_this.name = "InvalidNextTokenException";
|
|
162
|
+
_this.$fault = "client";
|
|
163
|
+
Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
|
|
164
|
+
_this.Message = opts.Message;
|
|
165
|
+
return _this;
|
|
166
|
+
}
|
|
167
|
+
return InvalidNextTokenException;
|
|
168
|
+
}(__BaseException));
|
|
169
|
+
export { InvalidNextTokenException };
|
|
65
170
|
export var ListEventTypesFilterName;
|
|
66
171
|
(function (ListEventTypesFilterName) {
|
|
67
172
|
ListEventTypesFilterName["RESOURCE_TYPE"] = "RESOURCE_TYPE";
|