@aws-sdk/client-codestar-notifications 3.490.0 → 3.495.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.
Files changed (30) hide show
  1. package/dist-cjs/CodestarNotifications.js +1 -37
  2. package/dist-cjs/CodestarNotificationsClient.js +1 -43
  3. package/dist-cjs/commands/CreateNotificationRuleCommand.js +1 -29
  4. package/dist-cjs/commands/DeleteNotificationRuleCommand.js +1 -28
  5. package/dist-cjs/commands/DeleteTargetCommand.js +1 -29
  6. package/dist-cjs/commands/DescribeNotificationRuleCommand.js +1 -29
  7. package/dist-cjs/commands/ListEventTypesCommand.js +1 -28
  8. package/dist-cjs/commands/ListNotificationRulesCommand.js +1 -28
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  10. package/dist-cjs/commands/ListTargetsCommand.js +1 -29
  11. package/dist-cjs/commands/SubscribeCommand.js +1 -29
  12. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  13. package/dist-cjs/commands/UnsubscribeCommand.js +1 -29
  14. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  15. package/dist-cjs/commands/UpdateNotificationRuleCommand.js +1 -29
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1566 -11
  20. package/dist-cjs/models/CodestarNotificationsServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -195
  23. package/dist-cjs/pagination/Interfaces.js +1 -2
  24. package/dist-cjs/pagination/ListEventTypesPaginator.js +1 -7
  25. package/dist-cjs/pagination/ListNotificationRulesPaginator.js +1 -7
  26. package/dist-cjs/pagination/ListTargetsPaginator.js +1 -7
  27. package/dist-cjs/pagination/index.js +1 -7
  28. package/dist-cjs/protocols/Aws_restJson1.js +1 -883
  29. package/dist-cjs/runtimeExtensions.js +1 -22
  30. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CodestarNotificationsServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class CodestarNotificationsServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, CodestarNotificationsServiceException.prototype);
10
- }
11
- }
12
- exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,195 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateNotificationRuleRequestFilterSensitiveLog = exports.UnsubscribeRequestFilterSensitiveLog = exports.SubscribeRequestFilterSensitiveLog = exports.ListTargetsResultFilterSensitiveLog = exports.DescribeNotificationRuleResultFilterSensitiveLog = exports.TargetSummaryFilterSensitiveLog = exports.DeleteTargetRequestFilterSensitiveLog = 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
- const smithy_client_1 = require("@smithy/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;
48
- exports.DetailType = {
49
- BASIC: "BASIC",
50
- FULL: "FULL",
51
- };
52
- exports.NotificationRuleStatus = {
53
- DISABLED: "DISABLED",
54
- ENABLED: "ENABLED",
55
- };
56
- class LimitExceededException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
57
- constructor(opts) {
58
- super({
59
- name: "LimitExceededException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- this.name = "LimitExceededException";
64
- this.$fault = "client";
65
- Object.setPrototypeOf(this, LimitExceededException.prototype);
66
- this.Message = opts.Message;
67
- }
68
- }
69
- exports.LimitExceededException = LimitExceededException;
70
- class ResourceAlreadyExistsException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
71
- constructor(opts) {
72
- super({
73
- name: "ResourceAlreadyExistsException",
74
- $fault: "client",
75
- ...opts,
76
- });
77
- this.name = "ResourceAlreadyExistsException";
78
- this.$fault = "client";
79
- Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
80
- this.Message = opts.Message;
81
- }
82
- }
83
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
84
- class ValidationException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
85
- constructor(opts) {
86
- super({
87
- name: "ValidationException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "ValidationException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, ValidationException.prototype);
94
- this.Message = opts.Message;
95
- }
96
- }
97
- exports.ValidationException = ValidationException;
98
- exports.TargetStatus = {
99
- ACTIVE: "ACTIVE",
100
- DEACTIVATED: "DEACTIVATED",
101
- INACTIVE: "INACTIVE",
102
- PENDING: "PENDING",
103
- UNREACHABLE: "UNREACHABLE",
104
- };
105
- class ResourceNotFoundException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
106
- constructor(opts) {
107
- super({
108
- name: "ResourceNotFoundException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- this.name = "ResourceNotFoundException";
113
- this.$fault = "client";
114
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
115
- this.Message = opts.Message;
116
- }
117
- }
118
- exports.ResourceNotFoundException = ResourceNotFoundException;
119
- class InvalidNextTokenException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
120
- constructor(opts) {
121
- super({
122
- name: "InvalidNextTokenException",
123
- $fault: "client",
124
- ...opts,
125
- });
126
- this.name = "InvalidNextTokenException";
127
- this.$fault = "client";
128
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
129
- this.Message = opts.Message;
130
- }
131
- }
132
- exports.InvalidNextTokenException = InvalidNextTokenException;
133
- exports.ListEventTypesFilterName = {
134
- RESOURCE_TYPE: "RESOURCE_TYPE",
135
- SERVICE_NAME: "SERVICE_NAME",
136
- };
137
- exports.ListNotificationRulesFilterName = {
138
- CREATED_BY: "CREATED_BY",
139
- EVENT_TYPE_ID: "EVENT_TYPE_ID",
140
- RESOURCE: "RESOURCE",
141
- TARGET_ADDRESS: "TARGET_ADDRESS",
142
- };
143
- exports.ListTargetsFilterName = {
144
- TARGET_ADDRESS: "TARGET_ADDRESS",
145
- TARGET_STATUS: "TARGET_STATUS",
146
- TARGET_TYPE: "TARGET_TYPE",
147
- };
148
- const TargetFilterSensitiveLog = (obj) => ({
149
- ...obj,
150
- ...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
151
- });
152
- exports.TargetFilterSensitiveLog = TargetFilterSensitiveLog;
153
- const CreateNotificationRuleRequestFilterSensitiveLog = (obj) => ({
154
- ...obj,
155
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
156
- ...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetFilterSensitiveLog)(item)) }),
157
- });
158
- exports.CreateNotificationRuleRequestFilterSensitiveLog = CreateNotificationRuleRequestFilterSensitiveLog;
159
- const DeleteTargetRequestFilterSensitiveLog = (obj) => ({
160
- ...obj,
161
- ...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
162
- });
163
- exports.DeleteTargetRequestFilterSensitiveLog = DeleteTargetRequestFilterSensitiveLog;
164
- const TargetSummaryFilterSensitiveLog = (obj) => ({
165
- ...obj,
166
- ...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
167
- });
168
- exports.TargetSummaryFilterSensitiveLog = TargetSummaryFilterSensitiveLog;
169
- const DescribeNotificationRuleResultFilterSensitiveLog = (obj) => ({
170
- ...obj,
171
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
172
- ...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetSummaryFilterSensitiveLog)(item)) }),
173
- });
174
- exports.DescribeNotificationRuleResultFilterSensitiveLog = DescribeNotificationRuleResultFilterSensitiveLog;
175
- const ListTargetsResultFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- ...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetSummaryFilterSensitiveLog)(item)) }),
178
- });
179
- exports.ListTargetsResultFilterSensitiveLog = ListTargetsResultFilterSensitiveLog;
180
- const SubscribeRequestFilterSensitiveLog = (obj) => ({
181
- ...obj,
182
- ...(obj.Target && { Target: (0, exports.TargetFilterSensitiveLog)(obj.Target) }),
183
- });
184
- exports.SubscribeRequestFilterSensitiveLog = SubscribeRequestFilterSensitiveLog;
185
- const UnsubscribeRequestFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- ...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
188
- });
189
- exports.UnsubscribeRequestFilterSensitiveLog = UnsubscribeRequestFilterSensitiveLog;
190
- const UpdateNotificationRuleRequestFilterSensitiveLog = (obj) => ({
191
- ...obj,
192
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
193
- ...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.TargetFilterSensitiveLog)(item)) }),
194
- });
195
- exports.UpdateNotificationRuleRequestFilterSensitiveLog = UpdateNotificationRuleRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListEventTypes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CodestarNotificationsClient_1 = require("../CodestarNotificationsClient");
6
- const ListEventTypesCommand_1 = require("../commands/ListEventTypesCommand");
7
- exports.paginateListEventTypes = (0, core_1.createPaginator)(CodestarNotificationsClient_1.CodestarNotificationsClient, ListEventTypesCommand_1.ListEventTypesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListNotificationRules = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CodestarNotificationsClient_1 = require("../CodestarNotificationsClient");
6
- const ListNotificationRulesCommand_1 = require("../commands/ListNotificationRulesCommand");
7
- exports.paginateListNotificationRules = (0, core_1.createPaginator)(CodestarNotificationsClient_1.CodestarNotificationsClient, ListNotificationRulesCommand_1.ListNotificationRulesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTargets = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CodestarNotificationsClient_1 = require("../CodestarNotificationsClient");
6
- const ListTargetsCommand_1 = require("../commands/ListTargetsCommand");
7
- exports.paginateListTargets = (0, core_1.createPaginator)(CodestarNotificationsClient_1.CodestarNotificationsClient, ListTargetsCommand_1.ListTargetsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListEventTypesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListNotificationRulesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListTargetsPaginator"), exports);
1
+ module.exports = require("../index.js");