@aws-sdk/client-codestar-notifications 3.128.0 → 3.137.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 +30 -0
- package/dist-cjs/commands/CreateNotificationRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteNotificationRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteTargetCommand.js +2 -2
- package/dist-cjs/commands/DescribeNotificationRuleCommand.js +2 -2
- package/dist-cjs/commands/ListEventTypesCommand.js +2 -2
- package/dist-cjs/commands/ListNotificationRulesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTargetsCommand.js +2 -2
- package/dist-cjs/commands/SubscribeCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UnsubscribeCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateNotificationRuleCommand.js +2 -2
- package/dist-cjs/models/models_0.js +145 -211
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/commands/CreateNotificationRuleCommand.js +3 -3
- package/dist-es/commands/DeleteNotificationRuleCommand.js +3 -3
- package/dist-es/commands/DeleteTargetCommand.js +3 -3
- package/dist-es/commands/DescribeNotificationRuleCommand.js +3 -3
- package/dist-es/commands/ListEventTypesCommand.js +3 -3
- package/dist-es/commands/ListNotificationRulesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTargetsCommand.js +3 -3
- package/dist-es/commands/SubscribeCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UnsubscribeCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateNotificationRuleCommand.js +3 -3
- package/dist-es/models/models_0.js +33 -132
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/models/models_0.d.ts +132 -198
- package/dist-types/ts3.4/models/models_0.d.ts +66 -132
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-codestar-notifications
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-codestar-notifications
|
|
@@ -20,8 +20,8 @@ class CreateNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateNotificationRuleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateNotificationRuleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class DeleteNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteNotificationRuleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteNotificationRuleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class DeleteTargetCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteTargetRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteTargetResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class DescribeNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeNotificationRuleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeNotificationRuleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ListEventTypesCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListEventTypesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListEventTypesResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ListNotificationRulesCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListNotificationRulesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListNotificationRulesResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListTagsForResourceResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ListTargetsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListTargetsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListTargetsResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class SubscribeCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.SubscribeRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.SubscribeResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.TagResourceResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class UnsubscribeCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UnsubscribeRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UnsubscribeResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UntagResourceResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class UpdateNotificationRuleCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateNotificationRuleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateNotificationRuleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UpdateNotificationRuleResultFilterSensitiveLog = exports.UpdateNotificationRuleRequestFilterSensitiveLog = exports.UntagResourceResultFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.UnsubscribeResultFilterSensitiveLog = exports.UnsubscribeRequestFilterSensitiveLog = exports.TagResourceResultFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SubscribeResultFilterSensitiveLog = exports.SubscribeRequestFilterSensitiveLog = exports.ListTargetsResultFilterSensitiveLog = exports.ListTargetsRequestFilterSensitiveLog = exports.ListTargetsFilterFilterSensitiveLog = exports.ListTagsForResourceResultFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListNotificationRulesResultFilterSensitiveLog = exports.NotificationRuleSummaryFilterSensitiveLog = exports.ListNotificationRulesRequestFilterSensitiveLog = exports.ListNotificationRulesFilterFilterSensitiveLog = exports.ListEventTypesResultFilterSensitiveLog = exports.ListEventTypesRequestFilterSensitiveLog = exports.ListEventTypesFilterFilterSensitiveLog = exports.DescribeNotificationRuleResultFilterSensitiveLog = exports.TargetSummaryFilterSensitiveLog = exports.EventTypeSummaryFilterSensitiveLog = exports.DescribeNotificationRuleRequestFilterSensitiveLog = exports.DeleteTargetResultFilterSensitiveLog = exports.DeleteTargetRequestFilterSensitiveLog = exports.DeleteNotificationRuleResultFilterSensitiveLog = exports.DeleteNotificationRuleRequestFilterSensitiveLog = exports.CreateNotificationRuleResultFilterSensitiveLog = exports.CreateNotificationRuleRequestFilterSensitiveLog = exports.TargetFilterSensitiveLog = exports.ListTargetsFilterName = exports.ListNotificationRulesFilterName = exports.ListEventTypesFilterName = exports.InvalidNextTokenException = exports.ResourceNotFoundException = exports.TargetStatus = exports.ValidationException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.NotificationRuleStatus = exports.DetailType = exports.ConfigurationException = exports.ConcurrentModificationException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const CodestarNotificationsServiceException_1 = require("./CodestarNotificationsServiceException");
|
|
6
6
|
class AccessDeniedException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
@@ -55,27 +55,6 @@ var NotificationRuleStatus;
|
|
|
55
55
|
NotificationRuleStatus["DISABLED"] = "DISABLED";
|
|
56
56
|
NotificationRuleStatus["ENABLED"] = "ENABLED";
|
|
57
57
|
})(NotificationRuleStatus = exports.NotificationRuleStatus || (exports.NotificationRuleStatus = {}));
|
|
58
|
-
var Target;
|
|
59
|
-
(function (Target) {
|
|
60
|
-
Target.filterSensitiveLog = (obj) => ({
|
|
61
|
-
...obj,
|
|
62
|
-
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
63
|
-
});
|
|
64
|
-
})(Target = exports.Target || (exports.Target = {}));
|
|
65
|
-
var CreateNotificationRuleRequest;
|
|
66
|
-
(function (CreateNotificationRuleRequest) {
|
|
67
|
-
CreateNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
68
|
-
...obj,
|
|
69
|
-
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
70
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => Target.filterSensitiveLog(item)) }),
|
|
71
|
-
});
|
|
72
|
-
})(CreateNotificationRuleRequest = exports.CreateNotificationRuleRequest || (exports.CreateNotificationRuleRequest = {}));
|
|
73
|
-
var CreateNotificationRuleResult;
|
|
74
|
-
(function (CreateNotificationRuleResult) {
|
|
75
|
-
CreateNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
76
|
-
...obj,
|
|
77
|
-
});
|
|
78
|
-
})(CreateNotificationRuleResult = exports.CreateNotificationRuleResult || (exports.CreateNotificationRuleResult = {}));
|
|
79
58
|
class LimitExceededException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
80
59
|
constructor(opts) {
|
|
81
60
|
super({
|
|
@@ -118,43 +97,6 @@ class ValidationException extends CodestarNotificationsServiceException_1.Codest
|
|
|
118
97
|
}
|
|
119
98
|
}
|
|
120
99
|
exports.ValidationException = ValidationException;
|
|
121
|
-
var DeleteNotificationRuleRequest;
|
|
122
|
-
(function (DeleteNotificationRuleRequest) {
|
|
123
|
-
DeleteNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
})(DeleteNotificationRuleRequest = exports.DeleteNotificationRuleRequest || (exports.DeleteNotificationRuleRequest = {}));
|
|
127
|
-
var DeleteNotificationRuleResult;
|
|
128
|
-
(function (DeleteNotificationRuleResult) {
|
|
129
|
-
DeleteNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
})(DeleteNotificationRuleResult = exports.DeleteNotificationRuleResult || (exports.DeleteNotificationRuleResult = {}));
|
|
133
|
-
var DeleteTargetRequest;
|
|
134
|
-
(function (DeleteTargetRequest) {
|
|
135
|
-
DeleteTargetRequest.filterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
138
|
-
});
|
|
139
|
-
})(DeleteTargetRequest = exports.DeleteTargetRequest || (exports.DeleteTargetRequest = {}));
|
|
140
|
-
var DeleteTargetResult;
|
|
141
|
-
(function (DeleteTargetResult) {
|
|
142
|
-
DeleteTargetResult.filterSensitiveLog = (obj) => ({
|
|
143
|
-
...obj,
|
|
144
|
-
});
|
|
145
|
-
})(DeleteTargetResult = exports.DeleteTargetResult || (exports.DeleteTargetResult = {}));
|
|
146
|
-
var DescribeNotificationRuleRequest;
|
|
147
|
-
(function (DescribeNotificationRuleRequest) {
|
|
148
|
-
DescribeNotificationRuleRequest.filterSensitiveLog = (obj) => ({
|
|
149
|
-
...obj,
|
|
150
|
-
});
|
|
151
|
-
})(DescribeNotificationRuleRequest = exports.DescribeNotificationRuleRequest || (exports.DescribeNotificationRuleRequest = {}));
|
|
152
|
-
var EventTypeSummary;
|
|
153
|
-
(function (EventTypeSummary) {
|
|
154
|
-
EventTypeSummary.filterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
});
|
|
157
|
-
})(EventTypeSummary = exports.EventTypeSummary || (exports.EventTypeSummary = {}));
|
|
158
100
|
var TargetStatus;
|
|
159
101
|
(function (TargetStatus) {
|
|
160
102
|
TargetStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -163,21 +105,6 @@ var TargetStatus;
|
|
|
163
105
|
TargetStatus["PENDING"] = "PENDING";
|
|
164
106
|
TargetStatus["UNREACHABLE"] = "UNREACHABLE";
|
|
165
107
|
})(TargetStatus = exports.TargetStatus || (exports.TargetStatus = {}));
|
|
166
|
-
var TargetSummary;
|
|
167
|
-
(function (TargetSummary) {
|
|
168
|
-
TargetSummary.filterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
171
|
-
});
|
|
172
|
-
})(TargetSummary = exports.TargetSummary || (exports.TargetSummary = {}));
|
|
173
|
-
var DescribeNotificationRuleResult;
|
|
174
|
-
(function (DescribeNotificationRuleResult) {
|
|
175
|
-
DescribeNotificationRuleResult.filterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
178
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummary.filterSensitiveLog(item)) }),
|
|
179
|
-
});
|
|
180
|
-
})(DescribeNotificationRuleResult = exports.DescribeNotificationRuleResult || (exports.DescribeNotificationRuleResult = {}));
|
|
181
108
|
class ResourceNotFoundException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
182
109
|
constructor(opts) {
|
|
183
110
|
super({
|
|
@@ -211,24 +138,6 @@ var ListEventTypesFilterName;
|
|
|
211
138
|
ListEventTypesFilterName["RESOURCE_TYPE"] = "RESOURCE_TYPE";
|
|
212
139
|
ListEventTypesFilterName["SERVICE_NAME"] = "SERVICE_NAME";
|
|
213
140
|
})(ListEventTypesFilterName = exports.ListEventTypesFilterName || (exports.ListEventTypesFilterName = {}));
|
|
214
|
-
var ListEventTypesFilter;
|
|
215
|
-
(function (ListEventTypesFilter) {
|
|
216
|
-
ListEventTypesFilter.filterSensitiveLog = (obj) => ({
|
|
217
|
-
...obj,
|
|
218
|
-
});
|
|
219
|
-
})(ListEventTypesFilter = exports.ListEventTypesFilter || (exports.ListEventTypesFilter = {}));
|
|
220
|
-
var ListEventTypesRequest;
|
|
221
|
-
(function (ListEventTypesRequest) {
|
|
222
|
-
ListEventTypesRequest.filterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
});
|
|
225
|
-
})(ListEventTypesRequest = exports.ListEventTypesRequest || (exports.ListEventTypesRequest = {}));
|
|
226
|
-
var ListEventTypesResult;
|
|
227
|
-
(function (ListEventTypesResult) {
|
|
228
|
-
ListEventTypesResult.filterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
});
|
|
231
|
-
})(ListEventTypesResult = exports.ListEventTypesResult || (exports.ListEventTypesResult = {}));
|
|
232
141
|
var ListNotificationRulesFilterName;
|
|
233
142
|
(function (ListNotificationRulesFilterName) {
|
|
234
143
|
ListNotificationRulesFilterName["CREATED_BY"] = "CREATED_BY";
|
|
@@ -236,128 +145,153 @@ var ListNotificationRulesFilterName;
|
|
|
236
145
|
ListNotificationRulesFilterName["RESOURCE"] = "RESOURCE";
|
|
237
146
|
ListNotificationRulesFilterName["TARGET_ADDRESS"] = "TARGET_ADDRESS";
|
|
238
147
|
})(ListNotificationRulesFilterName = exports.ListNotificationRulesFilterName || (exports.ListNotificationRulesFilterName = {}));
|
|
239
|
-
var ListNotificationRulesFilter;
|
|
240
|
-
(function (ListNotificationRulesFilter) {
|
|
241
|
-
ListNotificationRulesFilter.filterSensitiveLog = (obj) => ({
|
|
242
|
-
...obj,
|
|
243
|
-
});
|
|
244
|
-
})(ListNotificationRulesFilter = exports.ListNotificationRulesFilter || (exports.ListNotificationRulesFilter = {}));
|
|
245
|
-
var ListNotificationRulesRequest;
|
|
246
|
-
(function (ListNotificationRulesRequest) {
|
|
247
|
-
ListNotificationRulesRequest.filterSensitiveLog = (obj) => ({
|
|
248
|
-
...obj,
|
|
249
|
-
});
|
|
250
|
-
})(ListNotificationRulesRequest = exports.ListNotificationRulesRequest || (exports.ListNotificationRulesRequest = {}));
|
|
251
|
-
var NotificationRuleSummary;
|
|
252
|
-
(function (NotificationRuleSummary) {
|
|
253
|
-
NotificationRuleSummary.filterSensitiveLog = (obj) => ({
|
|
254
|
-
...obj,
|
|
255
|
-
});
|
|
256
|
-
})(NotificationRuleSummary = exports.NotificationRuleSummary || (exports.NotificationRuleSummary = {}));
|
|
257
|
-
var ListNotificationRulesResult;
|
|
258
|
-
(function (ListNotificationRulesResult) {
|
|
259
|
-
ListNotificationRulesResult.filterSensitiveLog = (obj) => ({
|
|
260
|
-
...obj,
|
|
261
|
-
});
|
|
262
|
-
})(ListNotificationRulesResult = exports.ListNotificationRulesResult || (exports.ListNotificationRulesResult = {}));
|
|
263
|
-
var ListTagsForResourceRequest;
|
|
264
|
-
(function (ListTagsForResourceRequest) {
|
|
265
|
-
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
266
|
-
...obj,
|
|
267
|
-
});
|
|
268
|
-
})(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
|
|
269
|
-
var ListTagsForResourceResult;
|
|
270
|
-
(function (ListTagsForResourceResult) {
|
|
271
|
-
ListTagsForResourceResult.filterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
});
|
|
274
|
-
})(ListTagsForResourceResult = exports.ListTagsForResourceResult || (exports.ListTagsForResourceResult = {}));
|
|
275
148
|
var ListTargetsFilterName;
|
|
276
149
|
(function (ListTargetsFilterName) {
|
|
277
150
|
ListTargetsFilterName["TARGET_ADDRESS"] = "TARGET_ADDRESS";
|
|
278
151
|
ListTargetsFilterName["TARGET_STATUS"] = "TARGET_STATUS";
|
|
279
152
|
ListTargetsFilterName["TARGET_TYPE"] = "TARGET_TYPE";
|
|
280
153
|
})(ListTargetsFilterName = exports.ListTargetsFilterName || (exports.ListTargetsFilterName = {}));
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
(
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
})
|
|
324
|
-
})
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
154
|
+
const TargetFilterSensitiveLog = (obj) => ({
|
|
155
|
+
...obj,
|
|
156
|
+
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
157
|
+
});
|
|
158
|
+
exports.TargetFilterSensitiveLog = TargetFilterSensitiveLog;
|
|
159
|
+
const CreateNotificationRuleRequestFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
162
|
+
...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetFilterSensitiveLog)(item)) }),
|
|
163
|
+
});
|
|
164
|
+
exports.CreateNotificationRuleRequestFilterSensitiveLog = CreateNotificationRuleRequestFilterSensitiveLog;
|
|
165
|
+
const CreateNotificationRuleResultFilterSensitiveLog = (obj) => ({
|
|
166
|
+
...obj,
|
|
167
|
+
});
|
|
168
|
+
exports.CreateNotificationRuleResultFilterSensitiveLog = CreateNotificationRuleResultFilterSensitiveLog;
|
|
169
|
+
const DeleteNotificationRuleRequestFilterSensitiveLog = (obj) => ({
|
|
170
|
+
...obj,
|
|
171
|
+
});
|
|
172
|
+
exports.DeleteNotificationRuleRequestFilterSensitiveLog = DeleteNotificationRuleRequestFilterSensitiveLog;
|
|
173
|
+
const DeleteNotificationRuleResultFilterSensitiveLog = (obj) => ({
|
|
174
|
+
...obj,
|
|
175
|
+
});
|
|
176
|
+
exports.DeleteNotificationRuleResultFilterSensitiveLog = DeleteNotificationRuleResultFilterSensitiveLog;
|
|
177
|
+
const DeleteTargetRequestFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
180
|
+
});
|
|
181
|
+
exports.DeleteTargetRequestFilterSensitiveLog = DeleteTargetRequestFilterSensitiveLog;
|
|
182
|
+
const DeleteTargetResultFilterSensitiveLog = (obj) => ({
|
|
183
|
+
...obj,
|
|
184
|
+
});
|
|
185
|
+
exports.DeleteTargetResultFilterSensitiveLog = DeleteTargetResultFilterSensitiveLog;
|
|
186
|
+
const DescribeNotificationRuleRequestFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
});
|
|
189
|
+
exports.DescribeNotificationRuleRequestFilterSensitiveLog = DescribeNotificationRuleRequestFilterSensitiveLog;
|
|
190
|
+
const EventTypeSummaryFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
exports.EventTypeSummaryFilterSensitiveLog = EventTypeSummaryFilterSensitiveLog;
|
|
194
|
+
const TargetSummaryFilterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
197
|
+
});
|
|
198
|
+
exports.TargetSummaryFilterSensitiveLog = TargetSummaryFilterSensitiveLog;
|
|
199
|
+
const DescribeNotificationRuleResultFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
202
|
+
...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetSummaryFilterSensitiveLog)(item)) }),
|
|
203
|
+
});
|
|
204
|
+
exports.DescribeNotificationRuleResultFilterSensitiveLog = DescribeNotificationRuleResultFilterSensitiveLog;
|
|
205
|
+
const ListEventTypesFilterFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
});
|
|
208
|
+
exports.ListEventTypesFilterFilterSensitiveLog = ListEventTypesFilterFilterSensitiveLog;
|
|
209
|
+
const ListEventTypesRequestFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
});
|
|
212
|
+
exports.ListEventTypesRequestFilterSensitiveLog = ListEventTypesRequestFilterSensitiveLog;
|
|
213
|
+
const ListEventTypesResultFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
});
|
|
216
|
+
exports.ListEventTypesResultFilterSensitiveLog = ListEventTypesResultFilterSensitiveLog;
|
|
217
|
+
const ListNotificationRulesFilterFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
});
|
|
220
|
+
exports.ListNotificationRulesFilterFilterSensitiveLog = ListNotificationRulesFilterFilterSensitiveLog;
|
|
221
|
+
const ListNotificationRulesRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
});
|
|
224
|
+
exports.ListNotificationRulesRequestFilterSensitiveLog = ListNotificationRulesRequestFilterSensitiveLog;
|
|
225
|
+
const NotificationRuleSummaryFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
});
|
|
228
|
+
exports.NotificationRuleSummaryFilterSensitiveLog = NotificationRuleSummaryFilterSensitiveLog;
|
|
229
|
+
const ListNotificationRulesResultFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
});
|
|
232
|
+
exports.ListNotificationRulesResultFilterSensitiveLog = ListNotificationRulesResultFilterSensitiveLog;
|
|
233
|
+
const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
});
|
|
236
|
+
exports.ListTagsForResourceRequestFilterSensitiveLog = ListTagsForResourceRequestFilterSensitiveLog;
|
|
237
|
+
const ListTagsForResourceResultFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
});
|
|
240
|
+
exports.ListTagsForResourceResultFilterSensitiveLog = ListTagsForResourceResultFilterSensitiveLog;
|
|
241
|
+
const ListTargetsFilterFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
});
|
|
244
|
+
exports.ListTargetsFilterFilterSensitiveLog = ListTargetsFilterFilterSensitiveLog;
|
|
245
|
+
const ListTargetsRequestFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
});
|
|
248
|
+
exports.ListTargetsRequestFilterSensitiveLog = ListTargetsRequestFilterSensitiveLog;
|
|
249
|
+
const ListTargetsResultFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetSummaryFilterSensitiveLog)(item)) }),
|
|
252
|
+
});
|
|
253
|
+
exports.ListTargetsResultFilterSensitiveLog = ListTargetsResultFilterSensitiveLog;
|
|
254
|
+
const SubscribeRequestFilterSensitiveLog = (obj) => ({
|
|
255
|
+
...obj,
|
|
256
|
+
...(obj.Target && { Target: (0, exports.TargetFilterSensitiveLog)(obj.Target) }),
|
|
257
|
+
});
|
|
258
|
+
exports.SubscribeRequestFilterSensitiveLog = SubscribeRequestFilterSensitiveLog;
|
|
259
|
+
const SubscribeResultFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
exports.SubscribeResultFilterSensitiveLog = SubscribeResultFilterSensitiveLog;
|
|
263
|
+
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
});
|
|
266
|
+
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
267
|
+
const TagResourceResultFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
exports.TagResourceResultFilterSensitiveLog = TagResourceResultFilterSensitiveLog;
|
|
271
|
+
const UnsubscribeRequestFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
274
|
+
});
|
|
275
|
+
exports.UnsubscribeRequestFilterSensitiveLog = UnsubscribeRequestFilterSensitiveLog;
|
|
276
|
+
const UnsubscribeResultFilterSensitiveLog = (obj) => ({
|
|
277
|
+
...obj,
|
|
278
|
+
});
|
|
279
|
+
exports.UnsubscribeResultFilterSensitiveLog = UnsubscribeResultFilterSensitiveLog;
|
|
280
|
+
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
});
|
|
283
|
+
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
284
|
+
const UntagResourceResultFilterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
});
|
|
287
|
+
exports.UntagResourceResultFilterSensitiveLog = UntagResourceResultFilterSensitiveLog;
|
|
288
|
+
const UpdateNotificationRuleRequestFilterSensitiveLog = (obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
291
|
+
...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetFilterSensitiveLog)(item)) }),
|
|
292
|
+
});
|
|
293
|
+
exports.UpdateNotificationRuleRequestFilterSensitiveLog = UpdateNotificationRuleRequestFilterSensitiveLog;
|
|
294
|
+
const UpdateNotificationRuleResultFilterSensitiveLog = (obj) => ({
|
|
295
|
+
...obj,
|
|
296
|
+
});
|
|
297
|
+
exports.UpdateNotificationRuleResultFilterSensitiveLog = UpdateNotificationRuleResultFilterSensitiveLog;
|
|
@@ -1185,6 +1185,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1185
1185
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1186
1186
|
const sanitizeErrorCode = (rawValue) => {
|
|
1187
1187
|
let cleanValue = rawValue;
|
|
1188
|
+
if (typeof cleanValue === "number") {
|
|
1189
|
+
cleanValue = cleanValue.toString();
|
|
1190
|
+
}
|
|
1188
1191
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1189
1192
|
cleanValue = cleanValue.split(":")[0];
|
|
1190
1193
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateNotificationRuleRequestFilterSensitiveLog, CreateNotificationRuleResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateNotificationRuleCommand, serializeAws_restJson1CreateNotificationRuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CreateNotificationRuleCommand = (function (_super) {
|
|
7
7
|
__extends(CreateNotificationRuleCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateNotificationRuleCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateNotificationRuleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateNotificationRuleResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|