@aws-sdk/client-codestar-notifications 3.927.0 → 3.929.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/dist-cjs/index.js +492 -694
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CodestarNotificationsClient.js +2 -0
- package/dist-es/commands/CreateNotificationRuleCommand.js +3 -10
- package/dist-es/commands/DeleteNotificationRuleCommand.js +3 -9
- package/dist-es/commands/DeleteTargetCommand.js +3 -10
- package/dist-es/commands/DescribeNotificationRuleCommand.js +3 -10
- package/dist-es/commands/ListEventTypesCommand.js +3 -9
- package/dist-es/commands/ListNotificationRulesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTargetsCommand.js +3 -10
- package/dist-es/commands/SubscribeCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UnsubscribeCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateNotificationRuleCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -40
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +446 -0
- package/dist-types/CodestarNotificationsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +69 -0
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +75 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -534
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -161
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class CodestarNotificationsClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class CodestarNotificationsClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class CodestarNotificationsServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let CodestarNotificationsServiceException$1 = class CodestarNotificationsServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, CodestarNotificationsServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends CodestarNotificationsServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends CodestarNotificationsServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
Message;
|
|
@@ -131,8 +130,8 @@ class AccessDeniedException extends CodestarNotificationsServiceException {
|
|
|
131
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
131
|
this.Message = opts.Message;
|
|
133
132
|
}
|
|
134
|
-
}
|
|
135
|
-
class ConcurrentModificationException extends CodestarNotificationsServiceException {
|
|
133
|
+
};
|
|
134
|
+
let ConcurrentModificationException$1 = class ConcurrentModificationException extends CodestarNotificationsServiceException$1 {
|
|
136
135
|
name = "ConcurrentModificationException";
|
|
137
136
|
$fault = "client";
|
|
138
137
|
Message;
|
|
@@ -145,8 +144,8 @@ class ConcurrentModificationException extends CodestarNotificationsServiceExcept
|
|
|
145
144
|
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
146
145
|
this.Message = opts.Message;
|
|
147
146
|
}
|
|
148
|
-
}
|
|
149
|
-
class ConfigurationException extends CodestarNotificationsServiceException {
|
|
147
|
+
};
|
|
148
|
+
let ConfigurationException$1 = class ConfigurationException extends CodestarNotificationsServiceException$1 {
|
|
150
149
|
name = "ConfigurationException";
|
|
151
150
|
$fault = "client";
|
|
152
151
|
Message;
|
|
@@ -159,7 +158,7 @@ class ConfigurationException extends CodestarNotificationsServiceException {
|
|
|
159
158
|
Object.setPrototypeOf(this, ConfigurationException.prototype);
|
|
160
159
|
this.Message = opts.Message;
|
|
161
160
|
}
|
|
162
|
-
}
|
|
161
|
+
};
|
|
163
162
|
const DetailType = {
|
|
164
163
|
BASIC: "BASIC",
|
|
165
164
|
FULL: "FULL",
|
|
@@ -168,7 +167,7 @@ const NotificationRuleStatus = {
|
|
|
168
167
|
DISABLED: "DISABLED",
|
|
169
168
|
ENABLED: "ENABLED",
|
|
170
169
|
};
|
|
171
|
-
class LimitExceededException extends CodestarNotificationsServiceException {
|
|
170
|
+
let LimitExceededException$1 = class LimitExceededException extends CodestarNotificationsServiceException$1 {
|
|
172
171
|
name = "LimitExceededException";
|
|
173
172
|
$fault = "client";
|
|
174
173
|
Message;
|
|
@@ -181,8 +180,8 @@ class LimitExceededException extends CodestarNotificationsServiceException {
|
|
|
181
180
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
182
181
|
this.Message = opts.Message;
|
|
183
182
|
}
|
|
184
|
-
}
|
|
185
|
-
class ResourceAlreadyExistsException extends CodestarNotificationsServiceException {
|
|
183
|
+
};
|
|
184
|
+
let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends CodestarNotificationsServiceException$1 {
|
|
186
185
|
name = "ResourceAlreadyExistsException";
|
|
187
186
|
$fault = "client";
|
|
188
187
|
Message;
|
|
@@ -195,8 +194,8 @@ class ResourceAlreadyExistsException extends CodestarNotificationsServiceExcepti
|
|
|
195
194
|
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
196
195
|
this.Message = opts.Message;
|
|
197
196
|
}
|
|
198
|
-
}
|
|
199
|
-
class ValidationException extends CodestarNotificationsServiceException {
|
|
197
|
+
};
|
|
198
|
+
let ValidationException$1 = class ValidationException extends CodestarNotificationsServiceException$1 {
|
|
200
199
|
name = "ValidationException";
|
|
201
200
|
$fault = "client";
|
|
202
201
|
Message;
|
|
@@ -209,7 +208,7 @@ class ValidationException extends CodestarNotificationsServiceException {
|
|
|
209
208
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
210
209
|
this.Message = opts.Message;
|
|
211
210
|
}
|
|
212
|
-
}
|
|
211
|
+
};
|
|
213
212
|
const TargetStatus = {
|
|
214
213
|
ACTIVE: "ACTIVE",
|
|
215
214
|
DEACTIVATED: "DEACTIVATED",
|
|
@@ -217,7 +216,7 @@ const TargetStatus = {
|
|
|
217
216
|
PENDING: "PENDING",
|
|
218
217
|
UNREACHABLE: "UNREACHABLE",
|
|
219
218
|
};
|
|
220
|
-
class ResourceNotFoundException extends CodestarNotificationsServiceException {
|
|
219
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodestarNotificationsServiceException$1 {
|
|
221
220
|
name = "ResourceNotFoundException";
|
|
222
221
|
$fault = "client";
|
|
223
222
|
Message;
|
|
@@ -230,8 +229,8 @@ class ResourceNotFoundException extends CodestarNotificationsServiceException {
|
|
|
230
229
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
231
230
|
this.Message = opts.Message;
|
|
232
231
|
}
|
|
233
|
-
}
|
|
234
|
-
class InvalidNextTokenException extends CodestarNotificationsServiceException {
|
|
232
|
+
};
|
|
233
|
+
let InvalidNextTokenException$1 = class InvalidNextTokenException extends CodestarNotificationsServiceException$1 {
|
|
235
234
|
name = "InvalidNextTokenException";
|
|
236
235
|
$fault = "client";
|
|
237
236
|
Message;
|
|
@@ -244,7 +243,7 @@ class InvalidNextTokenException extends CodestarNotificationsServiceException {
|
|
|
244
243
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
245
244
|
this.Message = opts.Message;
|
|
246
245
|
}
|
|
247
|
-
}
|
|
246
|
+
};
|
|
248
247
|
const ListEventTypesFilterName = {
|
|
249
248
|
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
250
249
|
SERVICE_NAME: "SERVICE_NAME",
|
|
@@ -260,588 +259,456 @@ const ListTargetsFilterName = {
|
|
|
260
259
|
TARGET_STATUS: "TARGET_STATUS",
|
|
261
260
|
TARGET_TYPE: "TARGET_TYPE",
|
|
262
261
|
};
|
|
263
|
-
const TargetFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
...(obj.TargetAddress && { TargetAddress: smithyClient.SENSITIVE_STRING }),
|
|
266
|
-
});
|
|
267
|
-
const CreateNotificationRuleRequestFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
270
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetFilterSensitiveLog(item)) }),
|
|
271
|
-
});
|
|
272
|
-
const DeleteTargetRequestFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
...(obj.TargetAddress && { TargetAddress: smithyClient.SENSITIVE_STRING }),
|
|
275
|
-
});
|
|
276
|
-
const TargetSummaryFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
...(obj.TargetAddress && { TargetAddress: smithyClient.SENSITIVE_STRING }),
|
|
279
|
-
});
|
|
280
|
-
const DescribeNotificationRuleResultFilterSensitiveLog = (obj) => ({
|
|
281
|
-
...obj,
|
|
282
|
-
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
283
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummaryFilterSensitiveLog(item)) }),
|
|
284
|
-
});
|
|
285
|
-
const ListTargetsResultFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummaryFilterSensitiveLog(item)) }),
|
|
288
|
-
});
|
|
289
|
-
const SubscribeRequestFilterSensitiveLog = (obj) => ({
|
|
290
|
-
...obj,
|
|
291
|
-
...(obj.Target && { Target: TargetFilterSensitiveLog(obj.Target) }),
|
|
292
|
-
});
|
|
293
|
-
const UnsubscribeRequestFilterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
...(obj.TargetAddress && { TargetAddress: smithyClient.SENSITIVE_STRING }),
|
|
296
|
-
});
|
|
297
|
-
const UpdateNotificationRuleRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
300
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetFilterSensitiveLog(item)) }),
|
|
301
|
-
});
|
|
302
262
|
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
const
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
const
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
const
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
const
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
NextToken: [],
|
|
374
|
-
}));
|
|
375
|
-
b.m("POST").h(headers).b(body);
|
|
376
|
-
return b.build();
|
|
377
|
-
};
|
|
378
|
-
const se_ListNotificationRulesCommand = async (input, context) => {
|
|
379
|
-
const b = core.requestBuilder(input, context);
|
|
380
|
-
const headers = {
|
|
381
|
-
"content-type": "application/json",
|
|
382
|
-
};
|
|
383
|
-
b.bp("/listNotificationRules");
|
|
384
|
-
let body;
|
|
385
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
386
|
-
Filters: (_) => smithyClient._json(_),
|
|
387
|
-
MaxResults: [],
|
|
388
|
-
NextToken: [],
|
|
389
|
-
}));
|
|
390
|
-
b.m("POST").h(headers).b(body);
|
|
391
|
-
return b.build();
|
|
392
|
-
};
|
|
393
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
394
|
-
const b = core.requestBuilder(input, context);
|
|
395
|
-
const headers = {
|
|
396
|
-
"content-type": "application/json",
|
|
397
|
-
};
|
|
398
|
-
b.bp("/listTagsForResource");
|
|
399
|
-
let body;
|
|
400
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
401
|
-
Arn: [],
|
|
402
|
-
}));
|
|
403
|
-
b.m("POST").h(headers).b(body);
|
|
404
|
-
return b.build();
|
|
405
|
-
};
|
|
406
|
-
const se_ListTargetsCommand = async (input, context) => {
|
|
407
|
-
const b = core.requestBuilder(input, context);
|
|
408
|
-
const headers = {
|
|
409
|
-
"content-type": "application/json",
|
|
410
|
-
};
|
|
411
|
-
b.bp("/listTargets");
|
|
412
|
-
let body;
|
|
413
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
414
|
-
Filters: (_) => smithyClient._json(_),
|
|
415
|
-
MaxResults: [],
|
|
416
|
-
NextToken: [],
|
|
417
|
-
}));
|
|
418
|
-
b.m("POST").h(headers).b(body);
|
|
419
|
-
return b.build();
|
|
420
|
-
};
|
|
421
|
-
const se_SubscribeCommand = async (input, context) => {
|
|
422
|
-
const b = core.requestBuilder(input, context);
|
|
423
|
-
const headers = {
|
|
424
|
-
"content-type": "application/json",
|
|
425
|
-
};
|
|
426
|
-
b.bp("/subscribe");
|
|
427
|
-
let body;
|
|
428
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
429
|
-
Arn: [],
|
|
430
|
-
ClientRequestToken: [],
|
|
431
|
-
Target: (_) => smithyClient._json(_),
|
|
432
|
-
}));
|
|
433
|
-
b.m("POST").h(headers).b(body);
|
|
434
|
-
return b.build();
|
|
435
|
-
};
|
|
436
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
437
|
-
const b = core.requestBuilder(input, context);
|
|
438
|
-
const headers = {
|
|
439
|
-
"content-type": "application/json",
|
|
440
|
-
};
|
|
441
|
-
b.bp("/tagResource");
|
|
442
|
-
let body;
|
|
443
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
444
|
-
Arn: [],
|
|
445
|
-
Tags: (_) => smithyClient._json(_),
|
|
446
|
-
}));
|
|
447
|
-
b.m("POST").h(headers).b(body);
|
|
448
|
-
return b.build();
|
|
449
|
-
};
|
|
450
|
-
const se_UnsubscribeCommand = async (input, context) => {
|
|
451
|
-
const b = core.requestBuilder(input, context);
|
|
452
|
-
const headers = {
|
|
453
|
-
"content-type": "application/json",
|
|
454
|
-
};
|
|
455
|
-
b.bp("/unsubscribe");
|
|
456
|
-
let body;
|
|
457
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
458
|
-
Arn: [],
|
|
459
|
-
TargetAddress: [],
|
|
460
|
-
}));
|
|
461
|
-
b.m("POST").h(headers).b(body);
|
|
462
|
-
return b.build();
|
|
463
|
-
};
|
|
464
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
465
|
-
const b = core.requestBuilder(input, context);
|
|
466
|
-
const headers = {};
|
|
467
|
-
b.bp("/untagResource/{Arn}");
|
|
468
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
469
|
-
const query = smithyClient.map({
|
|
470
|
-
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
471
|
-
});
|
|
472
|
-
let body;
|
|
473
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
474
|
-
return b.build();
|
|
475
|
-
};
|
|
476
|
-
const se_UpdateNotificationRuleCommand = async (input, context) => {
|
|
477
|
-
const b = core.requestBuilder(input, context);
|
|
478
|
-
const headers = {
|
|
479
|
-
"content-type": "application/json",
|
|
480
|
-
};
|
|
481
|
-
b.bp("/updateNotificationRule");
|
|
482
|
-
let body;
|
|
483
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
484
|
-
Arn: [],
|
|
485
|
-
DetailType: [],
|
|
486
|
-
EventTypeIds: (_) => smithyClient._json(_),
|
|
487
|
-
Name: [],
|
|
488
|
-
Status: [],
|
|
489
|
-
Targets: (_) => smithyClient._json(_),
|
|
490
|
-
}));
|
|
491
|
-
b.m("POST").h(headers).b(body);
|
|
492
|
-
return b.build();
|
|
493
|
-
};
|
|
494
|
-
const de_CreateNotificationRuleCommand = async (output, context) => {
|
|
495
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
496
|
-
return de_CommandError(output, context);
|
|
497
|
-
}
|
|
498
|
-
const contents = smithyClient.map({
|
|
499
|
-
$metadata: deserializeMetadata(output),
|
|
500
|
-
});
|
|
501
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
502
|
-
const doc = smithyClient.take(data, {
|
|
503
|
-
Arn: smithyClient.expectString,
|
|
504
|
-
});
|
|
505
|
-
Object.assign(contents, doc);
|
|
506
|
-
return contents;
|
|
507
|
-
};
|
|
508
|
-
const de_DeleteNotificationRuleCommand = async (output, context) => {
|
|
509
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
510
|
-
return de_CommandError(output, context);
|
|
511
|
-
}
|
|
512
|
-
const contents = smithyClient.map({
|
|
513
|
-
$metadata: deserializeMetadata(output),
|
|
514
|
-
});
|
|
515
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
516
|
-
const doc = smithyClient.take(data, {
|
|
517
|
-
Arn: smithyClient.expectString,
|
|
518
|
-
});
|
|
519
|
-
Object.assign(contents, doc);
|
|
520
|
-
return contents;
|
|
521
|
-
};
|
|
522
|
-
const de_DeleteTargetCommand = async (output, context) => {
|
|
523
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
524
|
-
return de_CommandError(output, context);
|
|
525
|
-
}
|
|
526
|
-
const contents = smithyClient.map({
|
|
527
|
-
$metadata: deserializeMetadata(output),
|
|
528
|
-
});
|
|
529
|
-
await smithyClient.collectBody(output.body, context);
|
|
530
|
-
return contents;
|
|
531
|
-
};
|
|
532
|
-
const de_DescribeNotificationRuleCommand = async (output, context) => {
|
|
533
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
534
|
-
return de_CommandError(output, context);
|
|
535
|
-
}
|
|
536
|
-
const contents = smithyClient.map({
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
});
|
|
539
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
540
|
-
const doc = smithyClient.take(data, {
|
|
541
|
-
Arn: smithyClient.expectString,
|
|
542
|
-
CreatedBy: smithyClient.expectString,
|
|
543
|
-
CreatedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
544
|
-
DetailType: smithyClient.expectString,
|
|
545
|
-
EventTypes: smithyClient._json,
|
|
546
|
-
LastModifiedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
547
|
-
Name: smithyClient.expectString,
|
|
548
|
-
Resource: smithyClient.expectString,
|
|
549
|
-
Status: smithyClient.expectString,
|
|
550
|
-
Tags: smithyClient._json,
|
|
551
|
-
Targets: smithyClient._json,
|
|
552
|
-
});
|
|
553
|
-
Object.assign(contents, doc);
|
|
554
|
-
return contents;
|
|
555
|
-
};
|
|
556
|
-
const de_ListEventTypesCommand = async (output, context) => {
|
|
557
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
558
|
-
return de_CommandError(output, context);
|
|
559
|
-
}
|
|
560
|
-
const contents = smithyClient.map({
|
|
561
|
-
$metadata: deserializeMetadata(output),
|
|
562
|
-
});
|
|
563
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
564
|
-
const doc = smithyClient.take(data, {
|
|
565
|
-
EventTypes: smithyClient._json,
|
|
566
|
-
NextToken: smithyClient.expectString,
|
|
567
|
-
});
|
|
568
|
-
Object.assign(contents, doc);
|
|
569
|
-
return contents;
|
|
570
|
-
};
|
|
571
|
-
const de_ListNotificationRulesCommand = async (output, context) => {
|
|
572
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
573
|
-
return de_CommandError(output, context);
|
|
574
|
-
}
|
|
575
|
-
const contents = smithyClient.map({
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
});
|
|
578
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
579
|
-
const doc = smithyClient.take(data, {
|
|
580
|
-
NextToken: smithyClient.expectString,
|
|
581
|
-
NotificationRules: smithyClient._json,
|
|
582
|
-
});
|
|
583
|
-
Object.assign(contents, doc);
|
|
584
|
-
return contents;
|
|
585
|
-
};
|
|
586
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
587
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
588
|
-
return de_CommandError(output, context);
|
|
589
|
-
}
|
|
590
|
-
const contents = smithyClient.map({
|
|
591
|
-
$metadata: deserializeMetadata(output),
|
|
592
|
-
});
|
|
593
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
594
|
-
const doc = smithyClient.take(data, {
|
|
595
|
-
Tags: smithyClient._json,
|
|
596
|
-
});
|
|
597
|
-
Object.assign(contents, doc);
|
|
598
|
-
return contents;
|
|
599
|
-
};
|
|
600
|
-
const de_ListTargetsCommand = async (output, context) => {
|
|
601
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
602
|
-
return de_CommandError(output, context);
|
|
603
|
-
}
|
|
604
|
-
const contents = smithyClient.map({
|
|
605
|
-
$metadata: deserializeMetadata(output),
|
|
606
|
-
});
|
|
607
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
608
|
-
const doc = smithyClient.take(data, {
|
|
609
|
-
NextToken: smithyClient.expectString,
|
|
610
|
-
Targets: smithyClient._json,
|
|
611
|
-
});
|
|
612
|
-
Object.assign(contents, doc);
|
|
613
|
-
return contents;
|
|
614
|
-
};
|
|
615
|
-
const de_SubscribeCommand = async (output, context) => {
|
|
616
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
617
|
-
return de_CommandError(output, context);
|
|
618
|
-
}
|
|
619
|
-
const contents = smithyClient.map({
|
|
620
|
-
$metadata: deserializeMetadata(output),
|
|
621
|
-
});
|
|
622
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
623
|
-
const doc = smithyClient.take(data, {
|
|
624
|
-
Arn: smithyClient.expectString,
|
|
625
|
-
});
|
|
626
|
-
Object.assign(contents, doc);
|
|
627
|
-
return contents;
|
|
628
|
-
};
|
|
629
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
630
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
631
|
-
return de_CommandError(output, context);
|
|
632
|
-
}
|
|
633
|
-
const contents = smithyClient.map({
|
|
634
|
-
$metadata: deserializeMetadata(output),
|
|
635
|
-
});
|
|
636
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
637
|
-
const doc = smithyClient.take(data, {
|
|
638
|
-
Tags: smithyClient._json,
|
|
639
|
-
});
|
|
640
|
-
Object.assign(contents, doc);
|
|
641
|
-
return contents;
|
|
642
|
-
};
|
|
643
|
-
const de_UnsubscribeCommand = async (output, context) => {
|
|
644
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
645
|
-
return de_CommandError(output, context);
|
|
646
|
-
}
|
|
647
|
-
const contents = smithyClient.map({
|
|
648
|
-
$metadata: deserializeMetadata(output),
|
|
649
|
-
});
|
|
650
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
651
|
-
const doc = smithyClient.take(data, {
|
|
652
|
-
Arn: smithyClient.expectString,
|
|
653
|
-
});
|
|
654
|
-
Object.assign(contents, doc);
|
|
655
|
-
return contents;
|
|
656
|
-
};
|
|
657
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
658
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
659
|
-
return de_CommandError(output, context);
|
|
660
|
-
}
|
|
661
|
-
const contents = smithyClient.map({
|
|
662
|
-
$metadata: deserializeMetadata(output),
|
|
663
|
-
});
|
|
664
|
-
await smithyClient.collectBody(output.body, context);
|
|
665
|
-
return contents;
|
|
666
|
-
};
|
|
667
|
-
const de_UpdateNotificationRuleCommand = async (output, context) => {
|
|
668
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
669
|
-
return de_CommandError(output, context);
|
|
670
|
-
}
|
|
671
|
-
const contents = smithyClient.map({
|
|
672
|
-
$metadata: deserializeMetadata(output),
|
|
673
|
-
});
|
|
674
|
-
await smithyClient.collectBody(output.body, context);
|
|
675
|
-
return contents;
|
|
676
|
-
};
|
|
677
|
-
const de_CommandError = async (output, context) => {
|
|
678
|
-
const parsedOutput = {
|
|
679
|
-
...output,
|
|
680
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
681
|
-
};
|
|
682
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
683
|
-
switch (errorCode) {
|
|
684
|
-
case "AccessDeniedException":
|
|
685
|
-
case "com.amazonaws.codestarnotifications#AccessDeniedException":
|
|
686
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
687
|
-
case "ConcurrentModificationException":
|
|
688
|
-
case "com.amazonaws.codestarnotifications#ConcurrentModificationException":
|
|
689
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput);
|
|
690
|
-
case "ConfigurationException":
|
|
691
|
-
case "com.amazonaws.codestarnotifications#ConfigurationException":
|
|
692
|
-
throw await de_ConfigurationExceptionRes(parsedOutput);
|
|
693
|
-
case "LimitExceededException":
|
|
694
|
-
case "com.amazonaws.codestarnotifications#LimitExceededException":
|
|
695
|
-
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
696
|
-
case "ResourceAlreadyExistsException":
|
|
697
|
-
case "com.amazonaws.codestarnotifications#ResourceAlreadyExistsException":
|
|
698
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
|
|
699
|
-
case "ValidationException":
|
|
700
|
-
case "com.amazonaws.codestarnotifications#ValidationException":
|
|
701
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
702
|
-
case "ResourceNotFoundException":
|
|
703
|
-
case "com.amazonaws.codestarnotifications#ResourceNotFoundException":
|
|
704
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
705
|
-
case "InvalidNextTokenException":
|
|
706
|
-
case "com.amazonaws.codestarnotifications#InvalidNextTokenException":
|
|
707
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput);
|
|
708
|
-
default:
|
|
709
|
-
const parsedBody = parsedOutput.body;
|
|
710
|
-
return throwDefaultError({
|
|
711
|
-
output,
|
|
712
|
-
parsedBody,
|
|
713
|
-
errorCode,
|
|
714
|
-
});
|
|
715
|
-
}
|
|
716
|
-
};
|
|
717
|
-
const throwDefaultError = smithyClient.withBaseException(CodestarNotificationsServiceException);
|
|
718
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
719
|
-
const contents = smithyClient.map({});
|
|
720
|
-
const data = parsedOutput.body;
|
|
721
|
-
const doc = smithyClient.take(data, {
|
|
722
|
-
Message: smithyClient.expectString,
|
|
723
|
-
});
|
|
724
|
-
Object.assign(contents, doc);
|
|
725
|
-
const exception = new AccessDeniedException({
|
|
726
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
727
|
-
...contents,
|
|
728
|
-
});
|
|
729
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
730
|
-
};
|
|
731
|
-
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
732
|
-
const contents = smithyClient.map({});
|
|
733
|
-
const data = parsedOutput.body;
|
|
734
|
-
const doc = smithyClient.take(data, {
|
|
735
|
-
Message: smithyClient.expectString,
|
|
736
|
-
});
|
|
737
|
-
Object.assign(contents, doc);
|
|
738
|
-
const exception = new ConcurrentModificationException({
|
|
739
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
740
|
-
...contents,
|
|
741
|
-
});
|
|
742
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
743
|
-
};
|
|
744
|
-
const de_ConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
745
|
-
const contents = smithyClient.map({});
|
|
746
|
-
const data = parsedOutput.body;
|
|
747
|
-
const doc = smithyClient.take(data, {
|
|
748
|
-
Message: smithyClient.expectString,
|
|
749
|
-
});
|
|
750
|
-
Object.assign(contents, doc);
|
|
751
|
-
const exception = new ConfigurationException({
|
|
752
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
753
|
-
...contents,
|
|
754
|
-
});
|
|
755
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
756
|
-
};
|
|
757
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
758
|
-
const contents = smithyClient.map({});
|
|
759
|
-
const data = parsedOutput.body;
|
|
760
|
-
const doc = smithyClient.take(data, {
|
|
761
|
-
Message: smithyClient.expectString,
|
|
762
|
-
});
|
|
763
|
-
Object.assign(contents, doc);
|
|
764
|
-
const exception = new InvalidNextTokenException({
|
|
765
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
766
|
-
...contents,
|
|
767
|
-
});
|
|
768
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
769
|
-
};
|
|
770
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
771
|
-
const contents = smithyClient.map({});
|
|
772
|
-
const data = parsedOutput.body;
|
|
773
|
-
const doc = smithyClient.take(data, {
|
|
774
|
-
Message: smithyClient.expectString,
|
|
775
|
-
});
|
|
776
|
-
Object.assign(contents, doc);
|
|
777
|
-
const exception = new LimitExceededException({
|
|
778
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
779
|
-
...contents,
|
|
780
|
-
});
|
|
781
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
782
|
-
};
|
|
783
|
-
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
784
|
-
const contents = smithyClient.map({});
|
|
785
|
-
const data = parsedOutput.body;
|
|
786
|
-
const doc = smithyClient.take(data, {
|
|
787
|
-
Message: smithyClient.expectString,
|
|
788
|
-
});
|
|
789
|
-
Object.assign(contents, doc);
|
|
790
|
-
const exception = new ResourceAlreadyExistsException({
|
|
791
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
792
|
-
...contents,
|
|
793
|
-
});
|
|
794
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
795
|
-
};
|
|
796
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
797
|
-
const contents = smithyClient.map({});
|
|
798
|
-
const data = parsedOutput.body;
|
|
799
|
-
const doc = smithyClient.take(data, {
|
|
800
|
-
Message: smithyClient.expectString,
|
|
801
|
-
});
|
|
802
|
-
Object.assign(contents, doc);
|
|
803
|
-
const exception = new ResourceNotFoundException({
|
|
804
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
805
|
-
...contents,
|
|
806
|
-
});
|
|
807
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
808
|
-
};
|
|
809
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
810
|
-
const contents = smithyClient.map({});
|
|
811
|
-
const data = parsedOutput.body;
|
|
812
|
-
const doc = smithyClient.take(data, {
|
|
813
|
-
Message: smithyClient.expectString,
|
|
814
|
-
});
|
|
815
|
-
Object.assign(contents, doc);
|
|
816
|
-
const exception = new ValidationException({
|
|
817
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
818
|
-
...contents,
|
|
819
|
-
});
|
|
820
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
821
|
-
};
|
|
822
|
-
const deserializeMetadata = (output) => ({
|
|
823
|
-
httpStatusCode: output.statusCode,
|
|
824
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
825
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
826
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
827
|
-
});
|
|
263
|
+
const _A = "Arn";
|
|
264
|
+
const _ADE = "AccessDeniedException";
|
|
265
|
+
const _CB = "CreatedBy";
|
|
266
|
+
const _CE = "ConfigurationException";
|
|
267
|
+
const _CME = "ConcurrentModificationException";
|
|
268
|
+
const _CNR = "CreateNotificationRule";
|
|
269
|
+
const _CNRR = "CreateNotificationRuleRequest";
|
|
270
|
+
const _CNRRr = "CreateNotificationRuleResult";
|
|
271
|
+
const _CRT = "ClientRequestToken";
|
|
272
|
+
const _CT = "CreatedTimestamp";
|
|
273
|
+
const _DNR = "DeleteNotificationRule";
|
|
274
|
+
const _DNRR = "DeleteNotificationRuleRequest";
|
|
275
|
+
const _DNRRe = "DeleteNotificationRuleResult";
|
|
276
|
+
const _DNRRes = "DescribeNotificationRuleRequest";
|
|
277
|
+
const _DNRResc = "DescribeNotificationRuleResult";
|
|
278
|
+
const _DNRe = "DescribeNotificationRule";
|
|
279
|
+
const _DT = "DetailType";
|
|
280
|
+
const _DTR = "DeleteTargetRequest";
|
|
281
|
+
const _DTRe = "DeleteTargetResult";
|
|
282
|
+
const _DTe = "DeleteTarget";
|
|
283
|
+
const _ET = "EventTypes";
|
|
284
|
+
const _ETB = "EventTypeBatch";
|
|
285
|
+
const _ETI = "EventTypeIds";
|
|
286
|
+
const _ETIv = "EventTypeId";
|
|
287
|
+
const _ETN = "EventTypeName";
|
|
288
|
+
const _ETS = "EventTypeSummary";
|
|
289
|
+
const _F = "Filters";
|
|
290
|
+
const _FUA = "ForceUnsubscribeAll";
|
|
291
|
+
const _I = "Id";
|
|
292
|
+
const _INTE = "InvalidNextTokenException";
|
|
293
|
+
const _LEE = "LimitExceededException";
|
|
294
|
+
const _LET = "ListEventTypes";
|
|
295
|
+
const _LETF = "ListEventTypesFilter";
|
|
296
|
+
const _LETFi = "ListEventTypesFilters";
|
|
297
|
+
const _LETR = "ListEventTypesRequest";
|
|
298
|
+
const _LETRi = "ListEventTypesResult";
|
|
299
|
+
const _LMT = "LastModifiedTimestamp";
|
|
300
|
+
const _LNR = "ListNotificationRules";
|
|
301
|
+
const _LNRF = "ListNotificationRulesFilter";
|
|
302
|
+
const _LNRFi = "ListNotificationRulesFilters";
|
|
303
|
+
const _LNRR = "ListNotificationRulesRequest";
|
|
304
|
+
const _LNRRi = "ListNotificationRulesResult";
|
|
305
|
+
const _LT = "ListTargets";
|
|
306
|
+
const _LTF = "ListTargetsFilter";
|
|
307
|
+
const _LTFR = "ListTagsForResource";
|
|
308
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
309
|
+
const _LTFRRi = "ListTagsForResourceResult";
|
|
310
|
+
const _LTFi = "ListTargetsFilters";
|
|
311
|
+
const _LTR = "ListTargetsRequest";
|
|
312
|
+
const _LTRi = "ListTargetsResult";
|
|
313
|
+
const _M = "Message";
|
|
314
|
+
const _MR = "MaxResults";
|
|
315
|
+
const _N = "Name";
|
|
316
|
+
const _NR = "NotificationRules";
|
|
317
|
+
const _NRB = "NotificationRuleBatch";
|
|
318
|
+
const _NRN = "NotificationRuleName";
|
|
319
|
+
const _NRS = "NotificationRuleSummary";
|
|
320
|
+
const _NT = "NextToken";
|
|
321
|
+
const _R = "Resource";
|
|
322
|
+
const _RAEE = "ResourceAlreadyExistsException";
|
|
323
|
+
const _RNFE = "ResourceNotFoundException";
|
|
324
|
+
const _RT = "ResourceType";
|
|
325
|
+
const _S = "Status";
|
|
326
|
+
const _SN = "ServiceName";
|
|
327
|
+
const _SR = "SubscribeRequest";
|
|
328
|
+
const _SRu = "SubscribeResult";
|
|
329
|
+
const _Su = "Subscribe";
|
|
330
|
+
const _T = "Targets";
|
|
331
|
+
const _TA = "TargetAddress";
|
|
332
|
+
const _TB = "TargetsBatch";
|
|
828
333
|
const _TK = "TagKeys";
|
|
334
|
+
const _TR = "TagResource";
|
|
335
|
+
const _TRR = "TagResourceRequest";
|
|
336
|
+
const _TRRa = "TagResourceResult";
|
|
337
|
+
const _TS = "TargetSummary";
|
|
338
|
+
const _TSa = "TargetStatus";
|
|
339
|
+
const _TT = "TargetType";
|
|
340
|
+
const _Ta = "Tags";
|
|
341
|
+
const _Tar = "Target";
|
|
342
|
+
const _U = "Unsubscribe";
|
|
343
|
+
const _UNR = "UpdateNotificationRule";
|
|
344
|
+
const _UNRR = "UpdateNotificationRuleRequest";
|
|
345
|
+
const _UNRRp = "UpdateNotificationRuleResult";
|
|
346
|
+
const _UR = "UnsubscribeRequest";
|
|
347
|
+
const _URR = "UntagResourceRequest";
|
|
348
|
+
const _URRn = "UntagResourceResult";
|
|
349
|
+
const _URn = "UnsubscribeResult";
|
|
350
|
+
const _URnt = "UntagResource";
|
|
351
|
+
const _V = "Value";
|
|
352
|
+
const _VE = "ValidationException";
|
|
353
|
+
const _c = "client";
|
|
354
|
+
const _e = "error";
|
|
355
|
+
const _h = "http";
|
|
356
|
+
const _hE = "httpError";
|
|
357
|
+
const _hQ = "httpQuery";
|
|
358
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codestarnotifications";
|
|
829
359
|
const _tK = "tagKeys";
|
|
360
|
+
const n0 = "com.amazonaws.codestarnotifications";
|
|
361
|
+
var NotificationRuleName = [0, n0, _NRN, 8, 0];
|
|
362
|
+
var TargetAddress = [0, n0, _TA, 8, 0];
|
|
363
|
+
var AccessDeniedException = [
|
|
364
|
+
-3,
|
|
365
|
+
n0,
|
|
366
|
+
_ADE,
|
|
367
|
+
{
|
|
368
|
+
[_e]: _c,
|
|
369
|
+
[_hE]: 403,
|
|
370
|
+
},
|
|
371
|
+
[_M],
|
|
372
|
+
[0],
|
|
373
|
+
];
|
|
374
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
375
|
+
var ConcurrentModificationException = [
|
|
376
|
+
-3,
|
|
377
|
+
n0,
|
|
378
|
+
_CME,
|
|
379
|
+
{
|
|
380
|
+
[_e]: _c,
|
|
381
|
+
[_hE]: 400,
|
|
382
|
+
},
|
|
383
|
+
[_M],
|
|
384
|
+
[0],
|
|
385
|
+
];
|
|
386
|
+
schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
|
|
387
|
+
var ConfigurationException = [
|
|
388
|
+
-3,
|
|
389
|
+
n0,
|
|
390
|
+
_CE,
|
|
391
|
+
{
|
|
392
|
+
[_e]: _c,
|
|
393
|
+
[_hE]: 400,
|
|
394
|
+
},
|
|
395
|
+
[_M],
|
|
396
|
+
[0],
|
|
397
|
+
];
|
|
398
|
+
schema.TypeRegistry.for(n0).registerError(ConfigurationException, ConfigurationException$1);
|
|
399
|
+
var CreateNotificationRuleRequest = [
|
|
400
|
+
3,
|
|
401
|
+
n0,
|
|
402
|
+
_CNRR,
|
|
403
|
+
0,
|
|
404
|
+
[_N, _ETI, _R, _T, _DT, _CRT, _Ta, _S],
|
|
405
|
+
[[() => NotificationRuleName, 0], 64 | 0, 0, [() => Targets, 0], 0, [0, 4], 128 | 0, 0],
|
|
406
|
+
];
|
|
407
|
+
var CreateNotificationRuleResult = [3, n0, _CNRRr, 0, [_A], [0]];
|
|
408
|
+
var DeleteNotificationRuleRequest = [3, n0, _DNRR, 0, [_A], [0]];
|
|
409
|
+
var DeleteNotificationRuleResult = [3, n0, _DNRRe, 0, [_A], [0]];
|
|
410
|
+
var DeleteTargetRequest = [3, n0, _DTR, 0, [_TA, _FUA], [[() => TargetAddress, 0], 2]];
|
|
411
|
+
var DeleteTargetResult = [3, n0, _DTRe, 0, [], []];
|
|
412
|
+
var DescribeNotificationRuleRequest = [3, n0, _DNRRes, 0, [_A], [0]];
|
|
413
|
+
var DescribeNotificationRuleResult = [
|
|
414
|
+
3,
|
|
415
|
+
n0,
|
|
416
|
+
_DNRResc,
|
|
417
|
+
0,
|
|
418
|
+
[_A, _N, _ET, _R, _T, _DT, _CB, _S, _CT, _LMT, _Ta],
|
|
419
|
+
[0, [() => NotificationRuleName, 0], () => EventTypeBatch, 0, [() => TargetsBatch, 0], 0, 0, 0, 4, 4, 128 | 0],
|
|
420
|
+
];
|
|
421
|
+
var EventTypeSummary = [3, n0, _ETS, 0, [_ETIv, _SN, _ETN, _RT], [0, 0, 0, 0]];
|
|
422
|
+
var InvalidNextTokenException = [
|
|
423
|
+
-3,
|
|
424
|
+
n0,
|
|
425
|
+
_INTE,
|
|
426
|
+
{
|
|
427
|
+
[_e]: _c,
|
|
428
|
+
[_hE]: 400,
|
|
429
|
+
},
|
|
430
|
+
[_M],
|
|
431
|
+
[0],
|
|
432
|
+
];
|
|
433
|
+
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
|
|
434
|
+
var LimitExceededException = [
|
|
435
|
+
-3,
|
|
436
|
+
n0,
|
|
437
|
+
_LEE,
|
|
438
|
+
{
|
|
439
|
+
[_e]: _c,
|
|
440
|
+
[_hE]: 400,
|
|
441
|
+
},
|
|
442
|
+
[_M],
|
|
443
|
+
[0],
|
|
444
|
+
];
|
|
445
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
446
|
+
var ListEventTypesFilter = [3, n0, _LETF, 0, [_N, _V], [0, 0]];
|
|
447
|
+
var ListEventTypesRequest = [
|
|
448
|
+
3,
|
|
449
|
+
n0,
|
|
450
|
+
_LETR,
|
|
451
|
+
0,
|
|
452
|
+
[_F, _NT, _MR],
|
|
453
|
+
[() => ListEventTypesFilters, 0, 1],
|
|
454
|
+
];
|
|
455
|
+
var ListEventTypesResult = [3, n0, _LETRi, 0, [_ET, _NT], [() => EventTypeBatch, 0]];
|
|
456
|
+
var ListNotificationRulesFilter = [3, n0, _LNRF, 0, [_N, _V], [0, 0]];
|
|
457
|
+
var ListNotificationRulesRequest = [
|
|
458
|
+
3,
|
|
459
|
+
n0,
|
|
460
|
+
_LNRR,
|
|
461
|
+
0,
|
|
462
|
+
[_F, _NT, _MR],
|
|
463
|
+
[() => ListNotificationRulesFilters, 0, 1],
|
|
464
|
+
];
|
|
465
|
+
var ListNotificationRulesResult = [
|
|
466
|
+
3,
|
|
467
|
+
n0,
|
|
468
|
+
_LNRRi,
|
|
469
|
+
0,
|
|
470
|
+
[_NT, _NR],
|
|
471
|
+
[0, () => NotificationRuleBatch],
|
|
472
|
+
];
|
|
473
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_A], [0]];
|
|
474
|
+
var ListTagsForResourceResult = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
|
|
475
|
+
var ListTargetsFilter = [3, n0, _LTF, 0, [_N, _V], [0, 0]];
|
|
476
|
+
var ListTargetsRequest = [
|
|
477
|
+
3,
|
|
478
|
+
n0,
|
|
479
|
+
_LTR,
|
|
480
|
+
0,
|
|
481
|
+
[_F, _NT, _MR],
|
|
482
|
+
[() => ListTargetsFilters, 0, 1],
|
|
483
|
+
];
|
|
484
|
+
var ListTargetsResult = [3, n0, _LTRi, 0, [_T, _NT], [[() => TargetsBatch, 0], 0]];
|
|
485
|
+
var NotificationRuleSummary = [3, n0, _NRS, 0, [_I, _A], [0, 0]];
|
|
486
|
+
var ResourceAlreadyExistsException = [
|
|
487
|
+
-3,
|
|
488
|
+
n0,
|
|
489
|
+
_RAEE,
|
|
490
|
+
{
|
|
491
|
+
[_e]: _c,
|
|
492
|
+
[_hE]: 409,
|
|
493
|
+
},
|
|
494
|
+
[_M],
|
|
495
|
+
[0],
|
|
496
|
+
];
|
|
497
|
+
schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
|
|
498
|
+
var ResourceNotFoundException = [
|
|
499
|
+
-3,
|
|
500
|
+
n0,
|
|
501
|
+
_RNFE,
|
|
502
|
+
{
|
|
503
|
+
[_e]: _c,
|
|
504
|
+
[_hE]: 404,
|
|
505
|
+
},
|
|
506
|
+
[_M],
|
|
507
|
+
[0],
|
|
508
|
+
];
|
|
509
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
510
|
+
var SubscribeRequest = [3, n0, _SR, 0, [_A, _Tar, _CRT], [0, [() => Target, 0], 0]];
|
|
511
|
+
var SubscribeResult = [3, n0, _SRu, 0, [_A], [0]];
|
|
512
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_A, _Ta], [0, 128 | 0]];
|
|
513
|
+
var TagResourceResult = [3, n0, _TRRa, 0, [_Ta], [128 | 0]];
|
|
514
|
+
var Target = [3, n0, _Tar, 0, [_TT, _TA], [0, [() => TargetAddress, 0]]];
|
|
515
|
+
var TargetSummary = [3, n0, _TS, 0, [_TA, _TT, _TSa], [[() => TargetAddress, 0], 0, 0]];
|
|
516
|
+
var UnsubscribeRequest = [3, n0, _UR, 0, [_A, _TA], [0, [() => TargetAddress, 0]]];
|
|
517
|
+
var UnsubscribeResult = [3, n0, _URn, 0, [_A], [0]];
|
|
518
|
+
var UntagResourceRequest = [
|
|
519
|
+
3,
|
|
520
|
+
n0,
|
|
521
|
+
_URR,
|
|
522
|
+
0,
|
|
523
|
+
[_A, _TK],
|
|
524
|
+
[
|
|
525
|
+
[0, 1],
|
|
526
|
+
[
|
|
527
|
+
64 | 0,
|
|
528
|
+
{
|
|
529
|
+
[_hQ]: _tK,
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
],
|
|
533
|
+
];
|
|
534
|
+
var UntagResourceResult = [3, n0, _URRn, 0, [], []];
|
|
535
|
+
var UpdateNotificationRuleRequest = [
|
|
536
|
+
3,
|
|
537
|
+
n0,
|
|
538
|
+
_UNRR,
|
|
539
|
+
0,
|
|
540
|
+
[_A, _N, _S, _ETI, _T, _DT],
|
|
541
|
+
[0, [() => NotificationRuleName, 0], 0, 64 | 0, [() => Targets, 0], 0],
|
|
542
|
+
];
|
|
543
|
+
var UpdateNotificationRuleResult = [3, n0, _UNRRp, 0, [], []];
|
|
544
|
+
var ValidationException = [
|
|
545
|
+
-3,
|
|
546
|
+
n0,
|
|
547
|
+
_VE,
|
|
548
|
+
{
|
|
549
|
+
[_e]: _c,
|
|
550
|
+
[_hE]: 400,
|
|
551
|
+
},
|
|
552
|
+
[_M],
|
|
553
|
+
[0],
|
|
554
|
+
];
|
|
555
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
556
|
+
var CodestarNotificationsServiceException = [
|
|
557
|
+
-3,
|
|
558
|
+
_s,
|
|
559
|
+
"CodestarNotificationsServiceException",
|
|
560
|
+
0,
|
|
561
|
+
[],
|
|
562
|
+
[],
|
|
563
|
+
];
|
|
564
|
+
schema.TypeRegistry.for(_s).registerError(CodestarNotificationsServiceException, CodestarNotificationsServiceException$1);
|
|
565
|
+
var EventTypeBatch = [1, n0, _ETB, 0, () => EventTypeSummary];
|
|
566
|
+
var ListEventTypesFilters = [1, n0, _LETFi, 0, () => ListEventTypesFilter];
|
|
567
|
+
var ListNotificationRulesFilters = [1, n0, _LNRFi, 0, () => ListNotificationRulesFilter];
|
|
568
|
+
var ListTargetsFilters = [1, n0, _LTFi, 0, () => ListTargetsFilter];
|
|
569
|
+
var NotificationRuleBatch = [1, n0, _NRB, 0, () => NotificationRuleSummary];
|
|
570
|
+
var Targets = [1, n0, _T, 0, [() => Target, 0]];
|
|
571
|
+
var TargetsBatch = [1, n0, _TB, 0, [() => TargetSummary, 0]];
|
|
572
|
+
var CreateNotificationRule = [
|
|
573
|
+
9,
|
|
574
|
+
n0,
|
|
575
|
+
_CNR,
|
|
576
|
+
{
|
|
577
|
+
[_h]: ["POST", "/createNotificationRule", 200],
|
|
578
|
+
},
|
|
579
|
+
() => CreateNotificationRuleRequest,
|
|
580
|
+
() => CreateNotificationRuleResult,
|
|
581
|
+
];
|
|
582
|
+
var DeleteNotificationRule = [
|
|
583
|
+
9,
|
|
584
|
+
n0,
|
|
585
|
+
_DNR,
|
|
586
|
+
{
|
|
587
|
+
[_h]: ["POST", "/deleteNotificationRule", 200],
|
|
588
|
+
},
|
|
589
|
+
() => DeleteNotificationRuleRequest,
|
|
590
|
+
() => DeleteNotificationRuleResult,
|
|
591
|
+
];
|
|
592
|
+
var DeleteTarget = [
|
|
593
|
+
9,
|
|
594
|
+
n0,
|
|
595
|
+
_DTe,
|
|
596
|
+
{
|
|
597
|
+
[_h]: ["POST", "/deleteTarget", 200],
|
|
598
|
+
},
|
|
599
|
+
() => DeleteTargetRequest,
|
|
600
|
+
() => DeleteTargetResult,
|
|
601
|
+
];
|
|
602
|
+
var DescribeNotificationRule = [
|
|
603
|
+
9,
|
|
604
|
+
n0,
|
|
605
|
+
_DNRe,
|
|
606
|
+
{
|
|
607
|
+
[_h]: ["POST", "/describeNotificationRule", 200],
|
|
608
|
+
},
|
|
609
|
+
() => DescribeNotificationRuleRequest,
|
|
610
|
+
() => DescribeNotificationRuleResult,
|
|
611
|
+
];
|
|
612
|
+
var ListEventTypes = [
|
|
613
|
+
9,
|
|
614
|
+
n0,
|
|
615
|
+
_LET,
|
|
616
|
+
{
|
|
617
|
+
[_h]: ["POST", "/listEventTypes", 200],
|
|
618
|
+
},
|
|
619
|
+
() => ListEventTypesRequest,
|
|
620
|
+
() => ListEventTypesResult,
|
|
621
|
+
];
|
|
622
|
+
var ListNotificationRules = [
|
|
623
|
+
9,
|
|
624
|
+
n0,
|
|
625
|
+
_LNR,
|
|
626
|
+
{
|
|
627
|
+
[_h]: ["POST", "/listNotificationRules", 200],
|
|
628
|
+
},
|
|
629
|
+
() => ListNotificationRulesRequest,
|
|
630
|
+
() => ListNotificationRulesResult,
|
|
631
|
+
];
|
|
632
|
+
var ListTagsForResource = [
|
|
633
|
+
9,
|
|
634
|
+
n0,
|
|
635
|
+
_LTFR,
|
|
636
|
+
{
|
|
637
|
+
[_h]: ["POST", "/listTagsForResource", 200],
|
|
638
|
+
},
|
|
639
|
+
() => ListTagsForResourceRequest,
|
|
640
|
+
() => ListTagsForResourceResult,
|
|
641
|
+
];
|
|
642
|
+
var ListTargets = [
|
|
643
|
+
9,
|
|
644
|
+
n0,
|
|
645
|
+
_LT,
|
|
646
|
+
{
|
|
647
|
+
[_h]: ["POST", "/listTargets", 200],
|
|
648
|
+
},
|
|
649
|
+
() => ListTargetsRequest,
|
|
650
|
+
() => ListTargetsResult,
|
|
651
|
+
];
|
|
652
|
+
var Subscribe = [
|
|
653
|
+
9,
|
|
654
|
+
n0,
|
|
655
|
+
_Su,
|
|
656
|
+
{
|
|
657
|
+
[_h]: ["POST", "/subscribe", 200],
|
|
658
|
+
},
|
|
659
|
+
() => SubscribeRequest,
|
|
660
|
+
() => SubscribeResult,
|
|
661
|
+
];
|
|
662
|
+
var TagResource = [
|
|
663
|
+
9,
|
|
664
|
+
n0,
|
|
665
|
+
_TR,
|
|
666
|
+
{
|
|
667
|
+
[_h]: ["POST", "/tagResource", 200],
|
|
668
|
+
},
|
|
669
|
+
() => TagResourceRequest,
|
|
670
|
+
() => TagResourceResult,
|
|
671
|
+
];
|
|
672
|
+
var Unsubscribe = [
|
|
673
|
+
9,
|
|
674
|
+
n0,
|
|
675
|
+
_U,
|
|
676
|
+
{
|
|
677
|
+
[_h]: ["POST", "/unsubscribe", 200],
|
|
678
|
+
},
|
|
679
|
+
() => UnsubscribeRequest,
|
|
680
|
+
() => UnsubscribeResult,
|
|
681
|
+
];
|
|
682
|
+
var UntagResource = [
|
|
683
|
+
9,
|
|
684
|
+
n0,
|
|
685
|
+
_URnt,
|
|
686
|
+
{
|
|
687
|
+
[_h]: ["POST", "/untagResource/{Arn}", 200],
|
|
688
|
+
},
|
|
689
|
+
() => UntagResourceRequest,
|
|
690
|
+
() => UntagResourceResult,
|
|
691
|
+
];
|
|
692
|
+
var UpdateNotificationRule = [
|
|
693
|
+
9,
|
|
694
|
+
n0,
|
|
695
|
+
_UNR,
|
|
696
|
+
{
|
|
697
|
+
[_h]: ["POST", "/updateNotificationRule", 200],
|
|
698
|
+
},
|
|
699
|
+
() => UpdateNotificationRuleRequest,
|
|
700
|
+
() => UpdateNotificationRuleResult,
|
|
701
|
+
];
|
|
830
702
|
|
|
831
703
|
class CreateNotificationRuleCommand extends smithyClient.Command
|
|
832
704
|
.classBuilder()
|
|
833
705
|
.ep(commonParams)
|
|
834
706
|
.m(function (Command, cs, config, o) {
|
|
835
|
-
return [
|
|
836
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
837
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
838
|
-
];
|
|
707
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
839
708
|
})
|
|
840
709
|
.s("CodeStarNotifications_20191015", "CreateNotificationRule", {})
|
|
841
710
|
.n("CodestarNotificationsClient", "CreateNotificationRuleCommand")
|
|
842
|
-
.
|
|
843
|
-
.ser(se_CreateNotificationRuleCommand)
|
|
844
|
-
.de(de_CreateNotificationRuleCommand)
|
|
711
|
+
.sc(CreateNotificationRule)
|
|
845
712
|
.build() {
|
|
846
713
|
}
|
|
847
714
|
|
|
@@ -849,16 +716,11 @@ class DeleteNotificationRuleCommand extends smithyClient.Command
|
|
|
849
716
|
.classBuilder()
|
|
850
717
|
.ep(commonParams)
|
|
851
718
|
.m(function (Command, cs, config, o) {
|
|
852
|
-
return [
|
|
853
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
854
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
855
|
-
];
|
|
719
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
856
720
|
})
|
|
857
721
|
.s("CodeStarNotifications_20191015", "DeleteNotificationRule", {})
|
|
858
722
|
.n("CodestarNotificationsClient", "DeleteNotificationRuleCommand")
|
|
859
|
-
.
|
|
860
|
-
.ser(se_DeleteNotificationRuleCommand)
|
|
861
|
-
.de(de_DeleteNotificationRuleCommand)
|
|
723
|
+
.sc(DeleteNotificationRule)
|
|
862
724
|
.build() {
|
|
863
725
|
}
|
|
864
726
|
|
|
@@ -866,16 +728,11 @@ class DeleteTargetCommand extends smithyClient.Command
|
|
|
866
728
|
.classBuilder()
|
|
867
729
|
.ep(commonParams)
|
|
868
730
|
.m(function (Command, cs, config, o) {
|
|
869
|
-
return [
|
|
870
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
871
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
872
|
-
];
|
|
731
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
873
732
|
})
|
|
874
733
|
.s("CodeStarNotifications_20191015", "DeleteTarget", {})
|
|
875
734
|
.n("CodestarNotificationsClient", "DeleteTargetCommand")
|
|
876
|
-
.
|
|
877
|
-
.ser(se_DeleteTargetCommand)
|
|
878
|
-
.de(de_DeleteTargetCommand)
|
|
735
|
+
.sc(DeleteTarget)
|
|
879
736
|
.build() {
|
|
880
737
|
}
|
|
881
738
|
|
|
@@ -883,16 +740,11 @@ class DescribeNotificationRuleCommand extends smithyClient.Command
|
|
|
883
740
|
.classBuilder()
|
|
884
741
|
.ep(commonParams)
|
|
885
742
|
.m(function (Command, cs, config, o) {
|
|
886
|
-
return [
|
|
887
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
888
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
889
|
-
];
|
|
743
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
890
744
|
})
|
|
891
745
|
.s("CodeStarNotifications_20191015", "DescribeNotificationRule", {})
|
|
892
746
|
.n("CodestarNotificationsClient", "DescribeNotificationRuleCommand")
|
|
893
|
-
.
|
|
894
|
-
.ser(se_DescribeNotificationRuleCommand)
|
|
895
|
-
.de(de_DescribeNotificationRuleCommand)
|
|
747
|
+
.sc(DescribeNotificationRule)
|
|
896
748
|
.build() {
|
|
897
749
|
}
|
|
898
750
|
|
|
@@ -900,16 +752,11 @@ class ListEventTypesCommand extends smithyClient.Command
|
|
|
900
752
|
.classBuilder()
|
|
901
753
|
.ep(commonParams)
|
|
902
754
|
.m(function (Command, cs, config, o) {
|
|
903
|
-
return [
|
|
904
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
905
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
906
|
-
];
|
|
755
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
907
756
|
})
|
|
908
757
|
.s("CodeStarNotifications_20191015", "ListEventTypes", {})
|
|
909
758
|
.n("CodestarNotificationsClient", "ListEventTypesCommand")
|
|
910
|
-
.
|
|
911
|
-
.ser(se_ListEventTypesCommand)
|
|
912
|
-
.de(de_ListEventTypesCommand)
|
|
759
|
+
.sc(ListEventTypes)
|
|
913
760
|
.build() {
|
|
914
761
|
}
|
|
915
762
|
|
|
@@ -917,16 +764,11 @@ class ListNotificationRulesCommand extends smithyClient.Command
|
|
|
917
764
|
.classBuilder()
|
|
918
765
|
.ep(commonParams)
|
|
919
766
|
.m(function (Command, cs, config, o) {
|
|
920
|
-
return [
|
|
921
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
922
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
923
|
-
];
|
|
767
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
924
768
|
})
|
|
925
769
|
.s("CodeStarNotifications_20191015", "ListNotificationRules", {})
|
|
926
770
|
.n("CodestarNotificationsClient", "ListNotificationRulesCommand")
|
|
927
|
-
.
|
|
928
|
-
.ser(se_ListNotificationRulesCommand)
|
|
929
|
-
.de(de_ListNotificationRulesCommand)
|
|
771
|
+
.sc(ListNotificationRules)
|
|
930
772
|
.build() {
|
|
931
773
|
}
|
|
932
774
|
|
|
@@ -934,16 +776,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
934
776
|
.classBuilder()
|
|
935
777
|
.ep(commonParams)
|
|
936
778
|
.m(function (Command, cs, config, o) {
|
|
937
|
-
return [
|
|
938
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
939
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
940
|
-
];
|
|
779
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
941
780
|
})
|
|
942
781
|
.s("CodeStarNotifications_20191015", "ListTagsForResource", {})
|
|
943
782
|
.n("CodestarNotificationsClient", "ListTagsForResourceCommand")
|
|
944
|
-
.
|
|
945
|
-
.ser(se_ListTagsForResourceCommand)
|
|
946
|
-
.de(de_ListTagsForResourceCommand)
|
|
783
|
+
.sc(ListTagsForResource)
|
|
947
784
|
.build() {
|
|
948
785
|
}
|
|
949
786
|
|
|
@@ -951,16 +788,11 @@ class ListTargetsCommand extends smithyClient.Command
|
|
|
951
788
|
.classBuilder()
|
|
952
789
|
.ep(commonParams)
|
|
953
790
|
.m(function (Command, cs, config, o) {
|
|
954
|
-
return [
|
|
955
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
956
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
957
|
-
];
|
|
791
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
958
792
|
})
|
|
959
793
|
.s("CodeStarNotifications_20191015", "ListTargets", {})
|
|
960
794
|
.n("CodestarNotificationsClient", "ListTargetsCommand")
|
|
961
|
-
.
|
|
962
|
-
.ser(se_ListTargetsCommand)
|
|
963
|
-
.de(de_ListTargetsCommand)
|
|
795
|
+
.sc(ListTargets)
|
|
964
796
|
.build() {
|
|
965
797
|
}
|
|
966
798
|
|
|
@@ -968,16 +800,11 @@ class SubscribeCommand extends smithyClient.Command
|
|
|
968
800
|
.classBuilder()
|
|
969
801
|
.ep(commonParams)
|
|
970
802
|
.m(function (Command, cs, config, o) {
|
|
971
|
-
return [
|
|
972
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
973
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
974
|
-
];
|
|
803
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
975
804
|
})
|
|
976
805
|
.s("CodeStarNotifications_20191015", "Subscribe", {})
|
|
977
806
|
.n("CodestarNotificationsClient", "SubscribeCommand")
|
|
978
|
-
.
|
|
979
|
-
.ser(se_SubscribeCommand)
|
|
980
|
-
.de(de_SubscribeCommand)
|
|
807
|
+
.sc(Subscribe)
|
|
981
808
|
.build() {
|
|
982
809
|
}
|
|
983
810
|
|
|
@@ -985,16 +812,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
985
812
|
.classBuilder()
|
|
986
813
|
.ep(commonParams)
|
|
987
814
|
.m(function (Command, cs, config, o) {
|
|
988
|
-
return [
|
|
989
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
990
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
991
|
-
];
|
|
815
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
992
816
|
})
|
|
993
817
|
.s("CodeStarNotifications_20191015", "TagResource", {})
|
|
994
818
|
.n("CodestarNotificationsClient", "TagResourceCommand")
|
|
995
|
-
.
|
|
996
|
-
.ser(se_TagResourceCommand)
|
|
997
|
-
.de(de_TagResourceCommand)
|
|
819
|
+
.sc(TagResource)
|
|
998
820
|
.build() {
|
|
999
821
|
}
|
|
1000
822
|
|
|
@@ -1002,16 +824,11 @@ class UnsubscribeCommand extends smithyClient.Command
|
|
|
1002
824
|
.classBuilder()
|
|
1003
825
|
.ep(commonParams)
|
|
1004
826
|
.m(function (Command, cs, config, o) {
|
|
1005
|
-
return [
|
|
1006
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1007
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1008
|
-
];
|
|
827
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1009
828
|
})
|
|
1010
829
|
.s("CodeStarNotifications_20191015", "Unsubscribe", {})
|
|
1011
830
|
.n("CodestarNotificationsClient", "UnsubscribeCommand")
|
|
1012
|
-
.
|
|
1013
|
-
.ser(se_UnsubscribeCommand)
|
|
1014
|
-
.de(de_UnsubscribeCommand)
|
|
831
|
+
.sc(Unsubscribe)
|
|
1015
832
|
.build() {
|
|
1016
833
|
}
|
|
1017
834
|
|
|
@@ -1019,16 +836,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1019
836
|
.classBuilder()
|
|
1020
837
|
.ep(commonParams)
|
|
1021
838
|
.m(function (Command, cs, config, o) {
|
|
1022
|
-
return [
|
|
1023
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1024
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1025
|
-
];
|
|
839
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1026
840
|
})
|
|
1027
841
|
.s("CodeStarNotifications_20191015", "UntagResource", {})
|
|
1028
842
|
.n("CodestarNotificationsClient", "UntagResourceCommand")
|
|
1029
|
-
.
|
|
1030
|
-
.ser(se_UntagResourceCommand)
|
|
1031
|
-
.de(de_UntagResourceCommand)
|
|
843
|
+
.sc(UntagResource)
|
|
1032
844
|
.build() {
|
|
1033
845
|
}
|
|
1034
846
|
|
|
@@ -1036,16 +848,11 @@ class UpdateNotificationRuleCommand extends smithyClient.Command
|
|
|
1036
848
|
.classBuilder()
|
|
1037
849
|
.ep(commonParams)
|
|
1038
850
|
.m(function (Command, cs, config, o) {
|
|
1039
|
-
return [
|
|
1040
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1041
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1042
|
-
];
|
|
851
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1043
852
|
})
|
|
1044
853
|
.s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
|
|
1045
854
|
.n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
|
|
1046
|
-
.
|
|
1047
|
-
.ser(se_UpdateNotificationRuleCommand)
|
|
1048
|
-
.de(de_UpdateNotificationRuleCommand)
|
|
855
|
+
.sc(UpdateNotificationRule)
|
|
1049
856
|
.build() {
|
|
1050
857
|
}
|
|
1051
858
|
|
|
@@ -1082,22 +889,19 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1082
889
|
enumerable: true,
|
|
1083
890
|
get: function () { return smithyClient.Client; }
|
|
1084
891
|
});
|
|
1085
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
892
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1086
893
|
exports.CodestarNotifications = CodestarNotifications;
|
|
1087
894
|
exports.CodestarNotificationsClient = CodestarNotificationsClient;
|
|
1088
|
-
exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException;
|
|
1089
|
-
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
1090
|
-
exports.ConfigurationException = ConfigurationException;
|
|
895
|
+
exports.CodestarNotificationsServiceException = CodestarNotificationsServiceException$1;
|
|
896
|
+
exports.ConcurrentModificationException = ConcurrentModificationException$1;
|
|
897
|
+
exports.ConfigurationException = ConfigurationException$1;
|
|
1091
898
|
exports.CreateNotificationRuleCommand = CreateNotificationRuleCommand;
|
|
1092
|
-
exports.CreateNotificationRuleRequestFilterSensitiveLog = CreateNotificationRuleRequestFilterSensitiveLog;
|
|
1093
899
|
exports.DeleteNotificationRuleCommand = DeleteNotificationRuleCommand;
|
|
1094
900
|
exports.DeleteTargetCommand = DeleteTargetCommand;
|
|
1095
|
-
exports.DeleteTargetRequestFilterSensitiveLog = DeleteTargetRequestFilterSensitiveLog;
|
|
1096
901
|
exports.DescribeNotificationRuleCommand = DescribeNotificationRuleCommand;
|
|
1097
|
-
exports.DescribeNotificationRuleResultFilterSensitiveLog = DescribeNotificationRuleResultFilterSensitiveLog;
|
|
1098
902
|
exports.DetailType = DetailType;
|
|
1099
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
1100
|
-
exports.LimitExceededException = LimitExceededException;
|
|
903
|
+
exports.InvalidNextTokenException = InvalidNextTokenException$1;
|
|
904
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
1101
905
|
exports.ListEventTypesCommand = ListEventTypesCommand;
|
|
1102
906
|
exports.ListEventTypesFilterName = ListEventTypesFilterName;
|
|
1103
907
|
exports.ListNotificationRulesCommand = ListNotificationRulesCommand;
|
|
@@ -1105,22 +909,16 @@ exports.ListNotificationRulesFilterName = ListNotificationRulesFilterName;
|
|
|
1105
909
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1106
910
|
exports.ListTargetsCommand = ListTargetsCommand;
|
|
1107
911
|
exports.ListTargetsFilterName = ListTargetsFilterName;
|
|
1108
|
-
exports.ListTargetsResultFilterSensitiveLog = ListTargetsResultFilterSensitiveLog;
|
|
1109
912
|
exports.NotificationRuleStatus = NotificationRuleStatus;
|
|
1110
|
-
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
1111
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
913
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
|
|
914
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1112
915
|
exports.SubscribeCommand = SubscribeCommand;
|
|
1113
|
-
exports.SubscribeRequestFilterSensitiveLog = SubscribeRequestFilterSensitiveLog;
|
|
1114
916
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1115
|
-
exports.TargetFilterSensitiveLog = TargetFilterSensitiveLog;
|
|
1116
917
|
exports.TargetStatus = TargetStatus;
|
|
1117
|
-
exports.TargetSummaryFilterSensitiveLog = TargetSummaryFilterSensitiveLog;
|
|
1118
918
|
exports.UnsubscribeCommand = UnsubscribeCommand;
|
|
1119
|
-
exports.UnsubscribeRequestFilterSensitiveLog = UnsubscribeRequestFilterSensitiveLog;
|
|
1120
919
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1121
920
|
exports.UpdateNotificationRuleCommand = UpdateNotificationRuleCommand;
|
|
1122
|
-
exports.
|
|
1123
|
-
exports.ValidationException = ValidationException;
|
|
921
|
+
exports.ValidationException = ValidationException$1;
|
|
1124
922
|
exports.paginateListEventTypes = paginateListEventTypes;
|
|
1125
923
|
exports.paginateListNotificationRules = paginateListNotificationRules;
|
|
1126
924
|
exports.paginateListTargets = paginateListTargets;
|