@aws-sdk/client-ssm-incidents 3.928.0 → 3.930.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 (55) hide show
  1. package/dist-cjs/index.js +1242 -1559
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SSMIncidentsClient.js +2 -0
  4. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +3 -9
  5. package/dist-es/commands/CreateReplicationSetCommand.js +3 -9
  6. package/dist-es/commands/CreateResponsePlanCommand.js +3 -9
  7. package/dist-es/commands/CreateTimelineEventCommand.js +3 -9
  8. package/dist-es/commands/DeleteIncidentRecordCommand.js +3 -9
  9. package/dist-es/commands/DeleteReplicationSetCommand.js +3 -9
  10. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  11. package/dist-es/commands/DeleteResponsePlanCommand.js +3 -9
  12. package/dist-es/commands/DeleteTimelineEventCommand.js +3 -9
  13. package/dist-es/commands/GetIncidentRecordCommand.js +3 -9
  14. package/dist-es/commands/GetReplicationSetCommand.js +3 -9
  15. package/dist-es/commands/GetResourcePoliciesCommand.js +3 -9
  16. package/dist-es/commands/GetResponsePlanCommand.js +3 -9
  17. package/dist-es/commands/GetTimelineEventCommand.js +3 -9
  18. package/dist-es/commands/ListIncidentFindingsCommand.js +3 -9
  19. package/dist-es/commands/ListIncidentRecordsCommand.js +3 -9
  20. package/dist-es/commands/ListRelatedItemsCommand.js +3 -9
  21. package/dist-es/commands/ListReplicationSetsCommand.js +3 -9
  22. package/dist-es/commands/ListResponsePlansCommand.js +3 -9
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  24. package/dist-es/commands/ListTimelineEventsCommand.js +3 -9
  25. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  26. package/dist-es/commands/StartIncidentCommand.js +3 -9
  27. package/dist-es/commands/TagResourceCommand.js +3 -9
  28. package/dist-es/commands/UntagResourceCommand.js +3 -9
  29. package/dist-es/commands/UpdateDeletionProtectionCommand.js +3 -9
  30. package/dist-es/commands/UpdateIncidentRecordCommand.js +3 -9
  31. package/dist-es/commands/UpdateRelatedItemsCommand.js +3 -9
  32. package/dist-es/commands/UpdateReplicationSetCommand.js +3 -9
  33. package/dist-es/commands/UpdateResponsePlanCommand.js +3 -9
  34. package/dist-es/commands/UpdateTimelineEventCommand.js +3 -9
  35. package/dist-es/models/models_0.js +0 -126
  36. package/dist-es/runtimeConfig.shared.js +2 -0
  37. package/dist-es/schemas/schemas_0.js +1172 -0
  38. package/dist-types/SSMIncidentsClient.d.ts +10 -1
  39. package/dist-types/models/models_0.d.ts +52 -13
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  44. package/dist-types/schemas/schemas_0.d.ts +171 -0
  45. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +4 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +0 -13
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +177 -0
  52. package/package.json +34 -35
  53. package/dist-es/protocols/Aws_restJson1.js +0 -1200
  54. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
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
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class SSMIncidentsClient extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,14 +111,14 @@ class SSMIncidentsClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class SSMIncidentsServiceException extends smithyClient.ServiceException {
114
+ let SSMIncidentsServiceException$1 = class SSMIncidentsServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, SSMIncidentsServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
- class AccessDeniedException extends SSMIncidentsServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends SSMIncidentsServiceException$1 {
123
122
  name = "AccessDeniedException";
124
123
  $fault = "client";
125
124
  constructor(opts) {
@@ -130,60 +129,16 @@ class AccessDeniedException extends SSMIncidentsServiceException {
130
129
  });
131
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
131
  }
133
- }
132
+ };
134
133
  const VariableType = {
135
134
  INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
136
135
  INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
137
136
  };
138
- exports.DynamicSsmParameterValue = void 0;
139
- (function (DynamicSsmParameterValue) {
140
- DynamicSsmParameterValue.visit = (value, visitor) => {
141
- if (value.variable !== undefined)
142
- return visitor.variable(value.variable);
143
- return visitor._(value.$unknown[0], value.$unknown[1]);
144
- };
145
- })(exports.DynamicSsmParameterValue || (exports.DynamicSsmParameterValue = {}));
146
137
  const SsmTargetAccount = {
147
138
  IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
148
139
  RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
149
140
  };
150
- exports.Action = void 0;
151
- (function (Action) {
152
- Action.visit = (value, visitor) => {
153
- if (value.ssmAutomation !== undefined)
154
- return visitor.ssmAutomation(value.ssmAutomation);
155
- return visitor._(value.$unknown[0], value.$unknown[1]);
156
- };
157
- })(exports.Action || (exports.Action = {}));
158
- exports.AttributeValueList = void 0;
159
- (function (AttributeValueList) {
160
- AttributeValueList.visit = (value, visitor) => {
161
- if (value.stringValues !== undefined)
162
- return visitor.stringValues(value.stringValues);
163
- if (value.integerValues !== undefined)
164
- return visitor.integerValues(value.integerValues);
165
- return visitor._(value.$unknown[0], value.$unknown[1]);
166
- };
167
- })(exports.AttributeValueList || (exports.AttributeValueList = {}));
168
- exports.AutomationExecution = void 0;
169
- (function (AutomationExecution) {
170
- AutomationExecution.visit = (value, visitor) => {
171
- if (value.ssmExecutionArn !== undefined)
172
- return visitor.ssmExecutionArn(value.ssmExecutionArn);
173
- return visitor._(value.$unknown[0], value.$unknown[1]);
174
- };
175
- })(exports.AutomationExecution || (exports.AutomationExecution = {}));
176
- exports.FindingDetails = void 0;
177
- (function (FindingDetails) {
178
- FindingDetails.visit = (value, visitor) => {
179
- if (value.codeDeployDeployment !== undefined)
180
- return visitor.codeDeployDeployment(value.codeDeployDeployment);
181
- if (value.cloudFormationStackUpdate !== undefined)
182
- return visitor.cloudFormationStackUpdate(value.cloudFormationStackUpdate);
183
- return visitor._(value.$unknown[0], value.$unknown[1]);
184
- };
185
- })(exports.FindingDetails || (exports.FindingDetails = {}));
186
- class InternalServerException extends SSMIncidentsServiceException {
141
+ let InternalServerException$1 = class InternalServerException extends SSMIncidentsServiceException$1 {
187
142
  name = "InternalServerException";
188
143
  $fault = "server";
189
144
  constructor(opts) {
@@ -194,7 +149,7 @@ class InternalServerException extends SSMIncidentsServiceException {
194
149
  });
195
150
  Object.setPrototypeOf(this, InternalServerException.prototype);
196
151
  }
197
- }
152
+ };
198
153
  const ResourceType = {
199
154
  INCIDENT_RECORD: "INCIDENT_RECORD",
200
155
  REPLICATION_SET: "REPLICATION_SET",
@@ -202,7 +157,7 @@ const ResourceType = {
202
157
  RESPONSE_PLAN: "RESPONSE_PLAN",
203
158
  TIMELINE_EVENT: "TIMELINE_EVENT",
204
159
  };
205
- class ResourceNotFoundException extends SSMIncidentsServiceException {
160
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends SSMIncidentsServiceException$1 {
206
161
  name = "ResourceNotFoundException";
207
162
  $fault = "client";
208
163
  resourceIdentifier;
@@ -217,11 +172,11 @@ class ResourceNotFoundException extends SSMIncidentsServiceException {
217
172
  this.resourceIdentifier = opts.resourceIdentifier;
218
173
  this.resourceType = opts.resourceType;
219
174
  }
220
- }
175
+ };
221
176
  const ServiceCode = {
222
177
  SSM_INCIDENTS: "ssm-incidents",
223
178
  };
224
- class ThrottlingException extends SSMIncidentsServiceException {
179
+ let ThrottlingException$1 = class ThrottlingException extends SSMIncidentsServiceException$1 {
225
180
  name = "ThrottlingException";
226
181
  $fault = "client";
227
182
  serviceCode;
@@ -236,8 +191,8 @@ class ThrottlingException extends SSMIncidentsServiceException {
236
191
  this.serviceCode = opts.serviceCode;
237
192
  this.quotaCode = opts.quotaCode;
238
193
  }
239
- }
240
- class ValidationException extends SSMIncidentsServiceException {
194
+ };
195
+ let ValidationException$1 = class ValidationException extends SSMIncidentsServiceException$1 {
241
196
  name = "ValidationException";
242
197
  $fault = "client";
243
198
  constructor(opts) {
@@ -248,30 +203,8 @@ class ValidationException extends SSMIncidentsServiceException {
248
203
  });
249
204
  Object.setPrototypeOf(this, ValidationException.prototype);
250
205
  }
251
- }
252
- exports.ChatChannel = void 0;
253
- (function (ChatChannel) {
254
- ChatChannel.visit = (value, visitor) => {
255
- if (value.empty !== undefined)
256
- return visitor.empty(value.empty);
257
- if (value.chatbotSns !== undefined)
258
- return visitor.chatbotSns(value.chatbotSns);
259
- return visitor._(value.$unknown[0], value.$unknown[1]);
260
- };
261
- })(exports.ChatChannel || (exports.ChatChannel = {}));
262
- exports.Condition = void 0;
263
- (function (Condition) {
264
- Condition.visit = (value, visitor) => {
265
- if (value.before !== undefined)
266
- return visitor.before(value.before);
267
- if (value.after !== undefined)
268
- return visitor.after(value.after);
269
- if (value.equals !== undefined)
270
- return visitor.equals(value.equals);
271
- return visitor._(value.$unknown[0], value.$unknown[1]);
272
- };
273
- })(exports.Condition || (exports.Condition = {}));
274
- class ConflictException extends SSMIncidentsServiceException {
206
+ };
207
+ let ConflictException$1 = class ConflictException extends SSMIncidentsServiceException$1 {
275
208
  name = "ConflictException";
276
209
  $fault = "client";
277
210
  resourceIdentifier;
@@ -288,8 +221,8 @@ class ConflictException extends SSMIncidentsServiceException {
288
221
  this.resourceType = opts.resourceType;
289
222
  this.retryAfter = opts.retryAfter;
290
223
  }
291
- }
292
- class ServiceQuotaExceededException extends SSMIncidentsServiceException {
224
+ };
225
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SSMIncidentsServiceException$1 {
293
226
  name = "ServiceQuotaExceededException";
294
227
  $fault = "client";
295
228
  resourceIdentifier;
@@ -308,33 +241,7 @@ class ServiceQuotaExceededException extends SSMIncidentsServiceException {
308
241
  this.serviceCode = opts.serviceCode;
309
242
  this.quotaCode = opts.quotaCode;
310
243
  }
311
- }
312
- exports.NotificationTargetItem = void 0;
313
- (function (NotificationTargetItem) {
314
- NotificationTargetItem.visit = (value, visitor) => {
315
- if (value.snsTopicArn !== undefined)
316
- return visitor.snsTopicArn(value.snsTopicArn);
317
- return visitor._(value.$unknown[0], value.$unknown[1]);
318
- };
319
- })(exports.NotificationTargetItem || (exports.NotificationTargetItem = {}));
320
- exports.Integration = void 0;
321
- (function (Integration) {
322
- Integration.visit = (value, visitor) => {
323
- if (value.pagerDutyConfiguration !== undefined)
324
- return visitor.pagerDutyConfiguration(value.pagerDutyConfiguration);
325
- return visitor._(value.$unknown[0], value.$unknown[1]);
326
- };
327
- })(exports.Integration || (exports.Integration = {}));
328
- exports.EventReference = void 0;
329
- (function (EventReference) {
330
- EventReference.visit = (value, visitor) => {
331
- if (value.resource !== undefined)
332
- return visitor.resource(value.resource);
333
- if (value.relatedItemId !== undefined)
334
- return visitor.relatedItemId(value.relatedItemId);
335
- return visitor._(value.$unknown[0], value.$unknown[1]);
336
- };
337
- })(exports.EventReference || (exports.EventReference = {}));
244
+ };
338
245
  const IncidentRecordStatus = {
339
246
  OPEN: "OPEN",
340
247
  RESOLVED: "RESOLVED",
@@ -363,20 +270,6 @@ const ItemType = {
363
270
  PARENT: "PARENT",
364
271
  TASK: "TASK",
365
272
  };
366
- exports.ItemValue = void 0;
367
- (function (ItemValue) {
368
- ItemValue.visit = (value, visitor) => {
369
- if (value.arn !== undefined)
370
- return visitor.arn(value.arn);
371
- if (value.url !== undefined)
372
- return visitor.url(value.url);
373
- if (value.metricDefinition !== undefined)
374
- return visitor.metricDefinition(value.metricDefinition);
375
- if (value.pagerDutyIncidentDetail !== undefined)
376
- return visitor.pagerDutyIncidentDetail(value.pagerDutyIncidentDetail);
377
- return visitor._(value.$unknown[0], value.$unknown[1]);
378
- };
379
- })(exports.ItemValue || (exports.ItemValue = {}));
380
273
  const TimelineEventSort = {
381
274
  EVENT_TIME: "EVENT_TIME",
382
275
  };
@@ -384,1235 +277,1175 @@ const SortOrder = {
384
277
  ASCENDING: "ASCENDING",
385
278
  DESCENDING: "DESCENDING",
386
279
  };
387
- exports.RelatedItemsUpdate = void 0;
388
- (function (RelatedItemsUpdate) {
389
- RelatedItemsUpdate.visit = (value, visitor) => {
390
- if (value.itemToAdd !== undefined)
391
- return visitor.itemToAdd(value.itemToAdd);
392
- if (value.itemToRemove !== undefined)
393
- return visitor.itemToRemove(value.itemToRemove);
394
- return visitor._(value.$unknown[0], value.$unknown[1]);
395
- };
396
- })(exports.RelatedItemsUpdate || (exports.RelatedItemsUpdate = {}));
397
- exports.UpdateReplicationSetAction = void 0;
398
- (function (UpdateReplicationSetAction) {
399
- UpdateReplicationSetAction.visit = (value, visitor) => {
400
- if (value.addRegionAction !== undefined)
401
- return visitor.addRegionAction(value.addRegionAction);
402
- if (value.deleteRegionAction !== undefined)
403
- return visitor.deleteRegionAction(value.deleteRegionAction);
404
- return visitor._(value.$unknown[0], value.$unknown[1]);
405
- };
406
- })(exports.UpdateReplicationSetAction || (exports.UpdateReplicationSetAction = {}));
407
280
 
408
- const se_BatchGetIncidentFindingsCommand = async (input, context) => {
409
- const b = core.requestBuilder(input, context);
410
- const headers = {
411
- "content-type": "application/json",
412
- };
413
- b.bp("/batchGetIncidentFindings");
414
- let body;
415
- body = JSON.stringify(smithyClient.take(input, {
416
- findingIds: (_) => smithyClient._json(_),
417
- incidentRecordArn: [],
418
- }));
419
- b.m("POST").h(headers).b(body);
420
- return b.build();
421
- };
422
- const se_CreateReplicationSetCommand = async (input, context) => {
423
- const b = core.requestBuilder(input, context);
424
- const headers = {
425
- "content-type": "application/json",
426
- };
427
- b.bp("/createReplicationSet");
428
- let body;
429
- body = JSON.stringify(smithyClient.take(input, {
430
- clientToken: [true, (_) => _ ?? uuid.v4()],
431
- regions: (_) => smithyClient._json(_),
432
- tags: (_) => smithyClient._json(_),
433
- }));
434
- b.m("POST").h(headers).b(body);
435
- return b.build();
436
- };
437
- const se_CreateResponsePlanCommand = async (input, context) => {
438
- const b = core.requestBuilder(input, context);
439
- const headers = {
440
- "content-type": "application/json",
441
- };
442
- b.bp("/createResponsePlan");
443
- let body;
444
- body = JSON.stringify(smithyClient.take(input, {
445
- actions: (_) => smithyClient._json(_),
446
- chatChannel: (_) => smithyClient._json(_),
447
- clientToken: [true, (_) => _ ?? uuid.v4()],
448
- displayName: [],
449
- engagements: (_) => smithyClient._json(_),
450
- incidentTemplate: (_) => smithyClient._json(_),
451
- integrations: (_) => smithyClient._json(_),
452
- name: [],
453
- tags: (_) => smithyClient._json(_),
454
- }));
455
- b.m("POST").h(headers).b(body);
456
- return b.build();
457
- };
458
- const se_CreateTimelineEventCommand = async (input, context) => {
459
- const b = core.requestBuilder(input, context);
460
- const headers = {
461
- "content-type": "application/json",
462
- };
463
- b.bp("/createTimelineEvent");
464
- let body;
465
- body = JSON.stringify(smithyClient.take(input, {
466
- clientToken: [true, (_) => _ ?? uuid.v4()],
467
- eventData: [],
468
- eventReferences: (_) => smithyClient._json(_),
469
- eventTime: (_) => _.getTime() / 1_000,
470
- eventType: [],
471
- incidentRecordArn: [],
472
- }));
473
- b.m("POST").h(headers).b(body);
474
- return b.build();
475
- };
476
- const se_DeleteIncidentRecordCommand = async (input, context) => {
477
- const b = core.requestBuilder(input, context);
478
- const headers = {
479
- "content-type": "application/json",
480
- };
481
- b.bp("/deleteIncidentRecord");
482
- let body;
483
- body = JSON.stringify(smithyClient.take(input, {
484
- arn: [],
485
- }));
486
- b.m("POST").h(headers).b(body);
487
- return b.build();
488
- };
489
- const se_DeleteReplicationSetCommand = async (input, context) => {
490
- const b = core.requestBuilder(input, context);
491
- const headers = {};
492
- b.bp("/deleteReplicationSet");
493
- const query = smithyClient.map({
494
- [_a]: [, smithyClient.expectNonNull(input[_a], `arn`)],
495
- });
496
- let body;
497
- b.m("POST").h(headers).q(query).b(body);
498
- return b.build();
499
- };
500
- const se_DeleteResourcePolicyCommand = async (input, context) => {
501
- const b = core.requestBuilder(input, context);
502
- const headers = {
503
- "content-type": "application/json",
504
- };
505
- b.bp("/deleteResourcePolicy");
506
- let body;
507
- body = JSON.stringify(smithyClient.take(input, {
508
- policyId: [],
509
- resourceArn: [],
510
- }));
511
- b.m("POST").h(headers).b(body);
512
- return b.build();
513
- };
514
- const se_DeleteResponsePlanCommand = async (input, context) => {
515
- const b = core.requestBuilder(input, context);
516
- const headers = {
517
- "content-type": "application/json",
518
- };
519
- b.bp("/deleteResponsePlan");
520
- let body;
521
- body = JSON.stringify(smithyClient.take(input, {
522
- arn: [],
523
- }));
524
- b.m("POST").h(headers).b(body);
525
- return b.build();
526
- };
527
- const se_DeleteTimelineEventCommand = async (input, context) => {
528
- const b = core.requestBuilder(input, context);
529
- const headers = {
530
- "content-type": "application/json",
531
- };
532
- b.bp("/deleteTimelineEvent");
533
- let body;
534
- body = JSON.stringify(smithyClient.take(input, {
535
- eventId: [],
536
- incidentRecordArn: [],
537
- }));
538
- b.m("POST").h(headers).b(body);
539
- return b.build();
540
- };
541
- const se_GetIncidentRecordCommand = async (input, context) => {
542
- const b = core.requestBuilder(input, context);
543
- const headers = {};
544
- b.bp("/getIncidentRecord");
545
- const query = smithyClient.map({
546
- [_a]: [, smithyClient.expectNonNull(input[_a], `arn`)],
547
- });
548
- let body;
549
- b.m("GET").h(headers).q(query).b(body);
550
- return b.build();
551
- };
552
- const se_GetReplicationSetCommand = async (input, context) => {
553
- const b = core.requestBuilder(input, context);
554
- const headers = {};
555
- b.bp("/getReplicationSet");
556
- const query = smithyClient.map({
557
- [_a]: [, smithyClient.expectNonNull(input[_a], `arn`)],
558
- });
559
- let body;
560
- b.m("GET").h(headers).q(query).b(body);
561
- return b.build();
562
- };
563
- const se_GetResourcePoliciesCommand = async (input, context) => {
564
- const b = core.requestBuilder(input, context);
565
- const headers = {
566
- "content-type": "application/json",
567
- };
568
- b.bp("/getResourcePolicies");
569
- const query = smithyClient.map({
570
- [_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
571
- });
572
- let body;
573
- body = JSON.stringify(smithyClient.take(input, {
574
- maxResults: [],
575
- nextToken: [],
576
- }));
577
- b.m("POST").h(headers).q(query).b(body);
578
- return b.build();
579
- };
580
- const se_GetResponsePlanCommand = async (input, context) => {
581
- const b = core.requestBuilder(input, context);
582
- const headers = {};
583
- b.bp("/getResponsePlan");
584
- const query = smithyClient.map({
585
- [_a]: [, smithyClient.expectNonNull(input[_a], `arn`)],
586
- });
587
- let body;
588
- b.m("GET").h(headers).q(query).b(body);
589
- return b.build();
590
- };
591
- const se_GetTimelineEventCommand = async (input, context) => {
592
- const b = core.requestBuilder(input, context);
593
- const headers = {};
594
- b.bp("/getTimelineEvent");
595
- const query = smithyClient.map({
596
- [_iRA]: [, smithyClient.expectNonNull(input[_iRA], `incidentRecordArn`)],
597
- [_eI]: [, smithyClient.expectNonNull(input[_eI], `eventId`)],
598
- });
599
- let body;
600
- b.m("GET").h(headers).q(query).b(body);
601
- return b.build();
602
- };
603
- const se_ListIncidentFindingsCommand = async (input, context) => {
604
- const b = core.requestBuilder(input, context);
605
- const headers = {
606
- "content-type": "application/json",
607
- };
608
- b.bp("/listIncidentFindings");
609
- let body;
610
- body = JSON.stringify(smithyClient.take(input, {
611
- incidentRecordArn: [],
612
- maxResults: [],
613
- nextToken: [],
614
- }));
615
- b.m("POST").h(headers).b(body);
616
- return b.build();
617
- };
618
- const se_ListIncidentRecordsCommand = async (input, context) => {
619
- const b = core.requestBuilder(input, context);
620
- const headers = {
621
- "content-type": "application/json",
622
- };
623
- b.bp("/listIncidentRecords");
624
- let body;
625
- body = JSON.stringify(smithyClient.take(input, {
626
- filters: (_) => se_FilterList(_),
627
- maxResults: [],
628
- nextToken: [],
629
- }));
630
- b.m("POST").h(headers).b(body);
631
- return b.build();
632
- };
633
- const se_ListRelatedItemsCommand = async (input, context) => {
634
- const b = core.requestBuilder(input, context);
635
- const headers = {
636
- "content-type": "application/json",
637
- };
638
- b.bp("/listRelatedItems");
639
- let body;
640
- body = JSON.stringify(smithyClient.take(input, {
641
- incidentRecordArn: [],
642
- maxResults: [],
643
- nextToken: [],
644
- }));
645
- b.m("POST").h(headers).b(body);
646
- return b.build();
647
- };
648
- const se_ListReplicationSetsCommand = async (input, context) => {
649
- const b = core.requestBuilder(input, context);
650
- const headers = {
651
- "content-type": "application/json",
652
- };
653
- b.bp("/listReplicationSets");
654
- let body;
655
- body = JSON.stringify(smithyClient.take(input, {
656
- maxResults: [],
657
- nextToken: [],
658
- }));
659
- b.m("POST").h(headers).b(body);
660
- return b.build();
661
- };
662
- const se_ListResponsePlansCommand = async (input, context) => {
663
- const b = core.requestBuilder(input, context);
664
- const headers = {
665
- "content-type": "application/json",
666
- };
667
- b.bp("/listResponsePlans");
668
- let body;
669
- body = JSON.stringify(smithyClient.take(input, {
670
- maxResults: [],
671
- nextToken: [],
672
- }));
673
- b.m("POST").h(headers).b(body);
674
- return b.build();
675
- };
676
- const se_ListTagsForResourceCommand = async (input, context) => {
677
- const b = core.requestBuilder(input, context);
678
- const headers = {};
679
- b.bp("/tags/{resourceArn}");
680
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
681
- let body;
682
- b.m("GET").h(headers).b(body);
683
- return b.build();
684
- };
685
- const se_ListTimelineEventsCommand = async (input, context) => {
686
- const b = core.requestBuilder(input, context);
687
- const headers = {
688
- "content-type": "application/json",
689
- };
690
- b.bp("/listTimelineEvents");
691
- let body;
692
- body = JSON.stringify(smithyClient.take(input, {
693
- filters: (_) => se_FilterList(_),
694
- incidentRecordArn: [],
695
- maxResults: [],
696
- nextToken: [],
697
- sortBy: [],
698
- sortOrder: [],
699
- }));
700
- b.m("POST").h(headers).b(body);
701
- return b.build();
702
- };
703
- const se_PutResourcePolicyCommand = async (input, context) => {
704
- const b = core.requestBuilder(input, context);
705
- const headers = {
706
- "content-type": "application/json",
707
- };
708
- b.bp("/putResourcePolicy");
709
- let body;
710
- body = JSON.stringify(smithyClient.take(input, {
711
- policy: [],
712
- resourceArn: [],
713
- }));
714
- b.m("POST").h(headers).b(body);
715
- return b.build();
716
- };
717
- const se_StartIncidentCommand = async (input, context) => {
718
- const b = core.requestBuilder(input, context);
719
- const headers = {
720
- "content-type": "application/json",
721
- };
722
- b.bp("/startIncident");
723
- let body;
724
- body = JSON.stringify(smithyClient.take(input, {
725
- clientToken: [true, (_) => _ ?? uuid.v4()],
726
- impact: [],
727
- relatedItems: (_) => smithyClient._json(_),
728
- responsePlanArn: [],
729
- title: [],
730
- triggerDetails: (_) => se_TriggerDetails(_),
731
- }));
732
- b.m("POST").h(headers).b(body);
733
- return b.build();
734
- };
735
- const se_TagResourceCommand = async (input, context) => {
736
- const b = core.requestBuilder(input, context);
737
- const headers = {
738
- "content-type": "application/json",
739
- };
740
- b.bp("/tags/{resourceArn}");
741
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
742
- let body;
743
- body = JSON.stringify(smithyClient.take(input, {
744
- tags: (_) => smithyClient._json(_),
745
- }));
746
- b.m("POST").h(headers).b(body);
747
- return b.build();
748
- };
749
- const se_UntagResourceCommand = async (input, context) => {
750
- const b = core.requestBuilder(input, context);
751
- const headers = {};
752
- b.bp("/tags/{resourceArn}");
753
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
754
- const query = smithyClient.map({
755
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
756
- });
757
- let body;
758
- b.m("DELETE").h(headers).q(query).b(body);
759
- return b.build();
760
- };
761
- const se_UpdateDeletionProtectionCommand = async (input, context) => {
762
- const b = core.requestBuilder(input, context);
763
- const headers = {
764
- "content-type": "application/json",
765
- };
766
- b.bp("/updateDeletionProtection");
767
- let body;
768
- body = JSON.stringify(smithyClient.take(input, {
769
- arn: [],
770
- clientToken: [true, (_) => _ ?? uuid.v4()],
771
- deletionProtected: [],
772
- }));
773
- b.m("POST").h(headers).b(body);
774
- return b.build();
775
- };
776
- const se_UpdateIncidentRecordCommand = async (input, context) => {
777
- const b = core.requestBuilder(input, context);
778
- const headers = {
779
- "content-type": "application/json",
780
- };
781
- b.bp("/updateIncidentRecord");
782
- let body;
783
- body = JSON.stringify(smithyClient.take(input, {
784
- arn: [],
785
- chatChannel: (_) => smithyClient._json(_),
786
- clientToken: [true, (_) => _ ?? uuid.v4()],
787
- impact: [],
788
- notificationTargets: (_) => smithyClient._json(_),
789
- status: [],
790
- summary: [],
791
- title: [],
792
- }));
793
- b.m("POST").h(headers).b(body);
794
- return b.build();
795
- };
796
- const se_UpdateRelatedItemsCommand = async (input, context) => {
797
- const b = core.requestBuilder(input, context);
798
- const headers = {
799
- "content-type": "application/json",
800
- };
801
- b.bp("/updateRelatedItems");
802
- let body;
803
- body = JSON.stringify(smithyClient.take(input, {
804
- clientToken: [true, (_) => _ ?? uuid.v4()],
805
- incidentRecordArn: [],
806
- relatedItemsUpdate: (_) => smithyClient._json(_),
807
- }));
808
- b.m("POST").h(headers).b(body);
809
- return b.build();
810
- };
811
- const se_UpdateReplicationSetCommand = async (input, context) => {
812
- const b = core.requestBuilder(input, context);
813
- const headers = {
814
- "content-type": "application/json",
815
- };
816
- b.bp("/updateReplicationSet");
817
- let body;
818
- body = JSON.stringify(smithyClient.take(input, {
819
- actions: (_) => smithyClient._json(_),
820
- arn: [],
821
- clientToken: [true, (_) => _ ?? uuid.v4()],
822
- }));
823
- b.m("POST").h(headers).b(body);
824
- return b.build();
825
- };
826
- const se_UpdateResponsePlanCommand = async (input, context) => {
827
- const b = core.requestBuilder(input, context);
828
- const headers = {
829
- "content-type": "application/json",
830
- };
831
- b.bp("/updateResponsePlan");
832
- let body;
833
- body = JSON.stringify(smithyClient.take(input, {
834
- actions: (_) => smithyClient._json(_),
835
- arn: [],
836
- chatChannel: (_) => smithyClient._json(_),
837
- clientToken: [true, (_) => _ ?? uuid.v4()],
838
- displayName: [],
839
- engagements: (_) => smithyClient._json(_),
840
- incidentTemplateDedupeString: [],
841
- incidentTemplateImpact: [],
842
- incidentTemplateNotificationTargets: (_) => smithyClient._json(_),
843
- incidentTemplateSummary: [],
844
- incidentTemplateTags: (_) => smithyClient._json(_),
845
- incidentTemplateTitle: [],
846
- integrations: (_) => smithyClient._json(_),
847
- }));
848
- b.m("POST").h(headers).b(body);
849
- return b.build();
850
- };
851
- const se_UpdateTimelineEventCommand = async (input, context) => {
852
- const b = core.requestBuilder(input, context);
853
- const headers = {
854
- "content-type": "application/json",
855
- };
856
- b.bp("/updateTimelineEvent");
857
- let body;
858
- body = JSON.stringify(smithyClient.take(input, {
859
- clientToken: [true, (_) => _ ?? uuid.v4()],
860
- eventData: [],
861
- eventId: [],
862
- eventReferences: (_) => smithyClient._json(_),
863
- eventTime: (_) => _.getTime() / 1_000,
864
- eventType: [],
865
- incidentRecordArn: [],
866
- }));
867
- b.m("POST").h(headers).b(body);
868
- return b.build();
869
- };
870
- const de_BatchGetIncidentFindingsCommand = async (output, context) => {
871
- if (output.statusCode !== 200 && output.statusCode >= 300) {
872
- return de_CommandError(output, context);
873
- }
874
- const contents = smithyClient.map({
875
- $metadata: deserializeMetadata(output),
876
- });
877
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
878
- const doc = smithyClient.take(data, {
879
- errors: smithyClient._json,
880
- findings: (_) => de_FindingList(_),
881
- });
882
- Object.assign(contents, doc);
883
- return contents;
884
- };
885
- const de_CreateReplicationSetCommand = async (output, context) => {
886
- if (output.statusCode !== 201 && output.statusCode >= 300) {
887
- return de_CommandError(output, context);
888
- }
889
- const contents = smithyClient.map({
890
- $metadata: deserializeMetadata(output),
891
- });
892
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
893
- const doc = smithyClient.take(data, {
894
- arn: smithyClient.expectString,
895
- });
896
- Object.assign(contents, doc);
897
- return contents;
898
- };
899
- const de_CreateResponsePlanCommand = async (output, context) => {
900
- if (output.statusCode !== 201 && output.statusCode >= 300) {
901
- return de_CommandError(output, context);
902
- }
903
- const contents = smithyClient.map({
904
- $metadata: deserializeMetadata(output),
905
- });
906
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
907
- const doc = smithyClient.take(data, {
908
- arn: smithyClient.expectString,
909
- });
910
- Object.assign(contents, doc);
911
- return contents;
912
- };
913
- const de_CreateTimelineEventCommand = async (output, context) => {
914
- if (output.statusCode !== 201 && output.statusCode >= 300) {
915
- return de_CommandError(output, context);
916
- }
917
- const contents = smithyClient.map({
918
- $metadata: deserializeMetadata(output),
919
- });
920
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
921
- const doc = smithyClient.take(data, {
922
- eventId: smithyClient.expectString,
923
- incidentRecordArn: smithyClient.expectString,
924
- });
925
- Object.assign(contents, doc);
926
- return contents;
927
- };
928
- const de_DeleteIncidentRecordCommand = async (output, context) => {
929
- if (output.statusCode !== 204 && output.statusCode >= 300) {
930
- return de_CommandError(output, context);
931
- }
932
- const contents = smithyClient.map({
933
- $metadata: deserializeMetadata(output),
934
- });
935
- await smithyClient.collectBody(output.body, context);
936
- return contents;
937
- };
938
- const de_DeleteReplicationSetCommand = async (output, context) => {
939
- if (output.statusCode !== 204 && output.statusCode >= 300) {
940
- return de_CommandError(output, context);
941
- }
942
- const contents = smithyClient.map({
943
- $metadata: deserializeMetadata(output),
944
- });
945
- await smithyClient.collectBody(output.body, context);
946
- return contents;
947
- };
948
- const de_DeleteResourcePolicyCommand = async (output, context) => {
949
- if (output.statusCode !== 200 && output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const contents = smithyClient.map({
953
- $metadata: deserializeMetadata(output),
954
- });
955
- await smithyClient.collectBody(output.body, context);
956
- return contents;
957
- };
958
- const de_DeleteResponsePlanCommand = async (output, context) => {
959
- if (output.statusCode !== 204 && output.statusCode >= 300) {
960
- return de_CommandError(output, context);
961
- }
962
- const contents = smithyClient.map({
963
- $metadata: deserializeMetadata(output),
964
- });
965
- await smithyClient.collectBody(output.body, context);
966
- return contents;
967
- };
968
- const de_DeleteTimelineEventCommand = async (output, context) => {
969
- if (output.statusCode !== 204 && output.statusCode >= 300) {
970
- return de_CommandError(output, context);
971
- }
972
- const contents = smithyClient.map({
973
- $metadata: deserializeMetadata(output),
974
- });
975
- await smithyClient.collectBody(output.body, context);
976
- return contents;
977
- };
978
- const de_GetIncidentRecordCommand = async (output, context) => {
979
- if (output.statusCode !== 200 && output.statusCode >= 300) {
980
- return de_CommandError(output, context);
981
- }
982
- const contents = smithyClient.map({
983
- $metadata: deserializeMetadata(output),
984
- });
985
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
986
- const doc = smithyClient.take(data, {
987
- incidentRecord: (_) => de_IncidentRecord(_),
988
- });
989
- Object.assign(contents, doc);
990
- return contents;
991
- };
992
- const de_GetReplicationSetCommand = async (output, context) => {
993
- if (output.statusCode !== 200 && output.statusCode >= 300) {
994
- return de_CommandError(output, context);
995
- }
996
- const contents = smithyClient.map({
997
- $metadata: deserializeMetadata(output),
998
- });
999
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1000
- const doc = smithyClient.take(data, {
1001
- replicationSet: (_) => de_ReplicationSet(_),
1002
- });
1003
- Object.assign(contents, doc);
1004
- return contents;
1005
- };
1006
- const de_GetResourcePoliciesCommand = async (output, context) => {
1007
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
- return de_CommandError(output, context);
1009
- }
1010
- const contents = smithyClient.map({
1011
- $metadata: deserializeMetadata(output),
1012
- });
1013
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1014
- const doc = smithyClient.take(data, {
1015
- nextToken: smithyClient.expectString,
1016
- resourcePolicies: smithyClient._json,
1017
- });
1018
- Object.assign(contents, doc);
1019
- return contents;
1020
- };
1021
- const de_GetResponsePlanCommand = async (output, context) => {
1022
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
- return de_CommandError(output, context);
1024
- }
1025
- const contents = smithyClient.map({
1026
- $metadata: deserializeMetadata(output),
1027
- });
1028
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1029
- const doc = smithyClient.take(data, {
1030
- actions: smithyClient._json,
1031
- arn: smithyClient.expectString,
1032
- chatChannel: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1033
- displayName: smithyClient.expectString,
1034
- engagements: smithyClient._json,
1035
- incidentTemplate: smithyClient._json,
1036
- integrations: smithyClient._json,
1037
- name: smithyClient.expectString,
1038
- });
1039
- Object.assign(contents, doc);
1040
- return contents;
1041
- };
1042
- const de_GetTimelineEventCommand = async (output, context) => {
1043
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1044
- return de_CommandError(output, context);
1045
- }
1046
- const contents = smithyClient.map({
1047
- $metadata: deserializeMetadata(output),
1048
- });
1049
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1050
- const doc = smithyClient.take(data, {
1051
- event: (_) => de_TimelineEvent(_),
1052
- });
1053
- Object.assign(contents, doc);
1054
- return contents;
1055
- };
1056
- const de_ListIncidentFindingsCommand = async (output, context) => {
1057
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1058
- return de_CommandError(output, context);
1059
- }
1060
- const contents = smithyClient.map({
1061
- $metadata: deserializeMetadata(output),
1062
- });
1063
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1064
- const doc = smithyClient.take(data, {
1065
- findings: (_) => de_FindingSummaryList(_),
1066
- nextToken: smithyClient.expectString,
1067
- });
1068
- Object.assign(contents, doc);
1069
- return contents;
1070
- };
1071
- const de_ListIncidentRecordsCommand = async (output, context) => {
1072
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1073
- return de_CommandError(output, context);
1074
- }
1075
- const contents = smithyClient.map({
1076
- $metadata: deserializeMetadata(output),
1077
- });
1078
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1079
- const doc = smithyClient.take(data, {
1080
- incidentRecordSummaries: (_) => de_IncidentRecordSummaryList(_),
1081
- nextToken: smithyClient.expectString,
1082
- });
1083
- Object.assign(contents, doc);
1084
- return contents;
1085
- };
1086
- const de_ListRelatedItemsCommand = async (output, context) => {
1087
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
- return de_CommandError(output, context);
1089
- }
1090
- const contents = smithyClient.map({
1091
- $metadata: deserializeMetadata(output),
1092
- });
1093
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1094
- const doc = smithyClient.take(data, {
1095
- nextToken: smithyClient.expectString,
1096
- relatedItems: smithyClient._json,
1097
- });
1098
- Object.assign(contents, doc);
1099
- return contents;
1100
- };
1101
- const de_ListReplicationSetsCommand = async (output, context) => {
1102
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1103
- return de_CommandError(output, context);
1104
- }
1105
- const contents = smithyClient.map({
1106
- $metadata: deserializeMetadata(output),
1107
- });
1108
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1109
- const doc = smithyClient.take(data, {
1110
- nextToken: smithyClient.expectString,
1111
- replicationSetArns: smithyClient._json,
1112
- });
1113
- Object.assign(contents, doc);
1114
- return contents;
1115
- };
1116
- const de_ListResponsePlansCommand = async (output, context) => {
1117
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1118
- return de_CommandError(output, context);
1119
- }
1120
- const contents = smithyClient.map({
1121
- $metadata: deserializeMetadata(output),
1122
- });
1123
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1124
- const doc = smithyClient.take(data, {
1125
- nextToken: smithyClient.expectString,
1126
- responsePlanSummaries: smithyClient._json,
1127
- });
1128
- Object.assign(contents, doc);
1129
- return contents;
1130
- };
1131
- const de_ListTagsForResourceCommand = async (output, context) => {
1132
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1133
- return de_CommandError(output, context);
1134
- }
1135
- const contents = smithyClient.map({
1136
- $metadata: deserializeMetadata(output),
1137
- });
1138
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1139
- const doc = smithyClient.take(data, {
1140
- tags: smithyClient._json,
1141
- });
1142
- Object.assign(contents, doc);
1143
- return contents;
1144
- };
1145
- const de_ListTimelineEventsCommand = async (output, context) => {
1146
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1147
- return de_CommandError(output, context);
1148
- }
1149
- const contents = smithyClient.map({
1150
- $metadata: deserializeMetadata(output),
1151
- });
1152
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1153
- const doc = smithyClient.take(data, {
1154
- eventSummaries: (_) => de_EventSummaryList(_),
1155
- nextToken: smithyClient.expectString,
1156
- });
1157
- Object.assign(contents, doc);
1158
- return contents;
1159
- };
1160
- const de_PutResourcePolicyCommand = async (output, context) => {
1161
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1162
- return de_CommandError(output, context);
1163
- }
1164
- const contents = smithyClient.map({
1165
- $metadata: deserializeMetadata(output),
1166
- });
1167
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1168
- const doc = smithyClient.take(data, {
1169
- policyId: smithyClient.expectString,
1170
- });
1171
- Object.assign(contents, doc);
1172
- return contents;
1173
- };
1174
- const de_StartIncidentCommand = async (output, context) => {
1175
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1176
- return de_CommandError(output, context);
1177
- }
1178
- const contents = smithyClient.map({
1179
- $metadata: deserializeMetadata(output),
1180
- });
1181
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1182
- const doc = smithyClient.take(data, {
1183
- incidentRecordArn: smithyClient.expectString,
1184
- });
1185
- Object.assign(contents, doc);
1186
- return contents;
1187
- };
1188
- const de_TagResourceCommand = async (output, context) => {
1189
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1190
- return de_CommandError(output, context);
1191
- }
1192
- const contents = smithyClient.map({
1193
- $metadata: deserializeMetadata(output),
1194
- });
1195
- await smithyClient.collectBody(output.body, context);
1196
- return contents;
1197
- };
1198
- const de_UntagResourceCommand = async (output, context) => {
1199
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1200
- return de_CommandError(output, context);
1201
- }
1202
- const contents = smithyClient.map({
1203
- $metadata: deserializeMetadata(output),
1204
- });
1205
- await smithyClient.collectBody(output.body, context);
1206
- return contents;
1207
- };
1208
- const de_UpdateDeletionProtectionCommand = async (output, context) => {
1209
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1210
- return de_CommandError(output, context);
1211
- }
1212
- const contents = smithyClient.map({
1213
- $metadata: deserializeMetadata(output),
1214
- });
1215
- await smithyClient.collectBody(output.body, context);
1216
- return contents;
1217
- };
1218
- const de_UpdateIncidentRecordCommand = async (output, context) => {
1219
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1220
- return de_CommandError(output, context);
1221
- }
1222
- const contents = smithyClient.map({
1223
- $metadata: deserializeMetadata(output),
1224
- });
1225
- await smithyClient.collectBody(output.body, context);
1226
- return contents;
1227
- };
1228
- const de_UpdateRelatedItemsCommand = async (output, context) => {
1229
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1230
- return de_CommandError(output, context);
1231
- }
1232
- const contents = smithyClient.map({
1233
- $metadata: deserializeMetadata(output),
1234
- });
1235
- await smithyClient.collectBody(output.body, context);
1236
- return contents;
1237
- };
1238
- const de_UpdateReplicationSetCommand = async (output, context) => {
1239
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1240
- return de_CommandError(output, context);
1241
- }
1242
- const contents = smithyClient.map({
1243
- $metadata: deserializeMetadata(output),
1244
- });
1245
- await smithyClient.collectBody(output.body, context);
1246
- return contents;
1247
- };
1248
- const de_UpdateResponsePlanCommand = async (output, context) => {
1249
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1250
- return de_CommandError(output, context);
1251
- }
1252
- const contents = smithyClient.map({
1253
- $metadata: deserializeMetadata(output),
1254
- });
1255
- await smithyClient.collectBody(output.body, context);
1256
- return contents;
1257
- };
1258
- const de_UpdateTimelineEventCommand = async (output, context) => {
1259
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1260
- return de_CommandError(output, context);
1261
- }
1262
- const contents = smithyClient.map({
1263
- $metadata: deserializeMetadata(output),
1264
- });
1265
- await smithyClient.collectBody(output.body, context);
1266
- return contents;
1267
- };
1268
- const de_CommandError = async (output, context) => {
1269
- const parsedOutput = {
1270
- ...output,
1271
- body: await core$1.parseJsonErrorBody(output.body, context),
1272
- };
1273
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1274
- switch (errorCode) {
1275
- case "AccessDeniedException":
1276
- case "com.amazonaws.ssmincidents#AccessDeniedException":
1277
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1278
- case "InternalServerException":
1279
- case "com.amazonaws.ssmincidents#InternalServerException":
1280
- throw await de_InternalServerExceptionRes(parsedOutput);
1281
- case "ResourceNotFoundException":
1282
- case "com.amazonaws.ssmincidents#ResourceNotFoundException":
1283
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1284
- case "ThrottlingException":
1285
- case "com.amazonaws.ssmincidents#ThrottlingException":
1286
- throw await de_ThrottlingExceptionRes(parsedOutput);
1287
- case "ValidationException":
1288
- case "com.amazonaws.ssmincidents#ValidationException":
1289
- throw await de_ValidationExceptionRes(parsedOutput);
1290
- case "ConflictException":
1291
- case "com.amazonaws.ssmincidents#ConflictException":
1292
- throw await de_ConflictExceptionRes(parsedOutput);
1293
- case "ServiceQuotaExceededException":
1294
- case "com.amazonaws.ssmincidents#ServiceQuotaExceededException":
1295
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1296
- default:
1297
- const parsedBody = parsedOutput.body;
1298
- return throwDefaultError({
1299
- output,
1300
- parsedBody,
1301
- errorCode,
1302
- });
1303
- }
1304
- };
1305
- const throwDefaultError = smithyClient.withBaseException(SSMIncidentsServiceException);
1306
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1307
- const contents = smithyClient.map({});
1308
- const data = parsedOutput.body;
1309
- const doc = smithyClient.take(data, {
1310
- message: smithyClient.expectString,
1311
- });
1312
- Object.assign(contents, doc);
1313
- const exception = new AccessDeniedException({
1314
- $metadata: deserializeMetadata(parsedOutput),
1315
- ...contents,
1316
- });
1317
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1318
- };
1319
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1320
- const contents = smithyClient.map({});
1321
- const data = parsedOutput.body;
1322
- const doc = smithyClient.take(data, {
1323
- message: smithyClient.expectString,
1324
- resourceIdentifier: smithyClient.expectString,
1325
- resourceType: smithyClient.expectString,
1326
- retryAfter: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1327
- });
1328
- Object.assign(contents, doc);
1329
- const exception = new ConflictException({
1330
- $metadata: deserializeMetadata(parsedOutput),
1331
- ...contents,
1332
- });
1333
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1334
- };
1335
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1336
- const contents = smithyClient.map({});
1337
- const data = parsedOutput.body;
1338
- const doc = smithyClient.take(data, {
1339
- message: smithyClient.expectString,
1340
- });
1341
- Object.assign(contents, doc);
1342
- const exception = new InternalServerException({
1343
- $metadata: deserializeMetadata(parsedOutput),
1344
- ...contents,
1345
- });
1346
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1347
- };
1348
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1349
- const contents = smithyClient.map({});
1350
- const data = parsedOutput.body;
1351
- const doc = smithyClient.take(data, {
1352
- message: smithyClient.expectString,
1353
- resourceIdentifier: smithyClient.expectString,
1354
- resourceType: smithyClient.expectString,
1355
- });
1356
- Object.assign(contents, doc);
1357
- const exception = new ResourceNotFoundException({
1358
- $metadata: deserializeMetadata(parsedOutput),
1359
- ...contents,
1360
- });
1361
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1362
- };
1363
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1364
- const contents = smithyClient.map({});
1365
- const data = parsedOutput.body;
1366
- const doc = smithyClient.take(data, {
1367
- message: smithyClient.expectString,
1368
- quotaCode: smithyClient.expectString,
1369
- resourceIdentifier: smithyClient.expectString,
1370
- resourceType: smithyClient.expectString,
1371
- serviceCode: smithyClient.expectString,
1372
- });
1373
- Object.assign(contents, doc);
1374
- const exception = new ServiceQuotaExceededException({
1375
- $metadata: deserializeMetadata(parsedOutput),
1376
- ...contents,
1377
- });
1378
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1379
- };
1380
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1381
- const contents = smithyClient.map({});
1382
- const data = parsedOutput.body;
1383
- const doc = smithyClient.take(data, {
1384
- message: smithyClient.expectString,
1385
- quotaCode: smithyClient.expectString,
1386
- serviceCode: smithyClient.expectString,
1387
- });
1388
- Object.assign(contents, doc);
1389
- const exception = new ThrottlingException({
1390
- $metadata: deserializeMetadata(parsedOutput),
1391
- ...contents,
1392
- });
1393
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1394
- };
1395
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1396
- const contents = smithyClient.map({});
1397
- const data = parsedOutput.body;
1398
- const doc = smithyClient.take(data, {
1399
- message: smithyClient.expectString,
1400
- });
1401
- Object.assign(contents, doc);
1402
- const exception = new ValidationException({
1403
- $metadata: deserializeMetadata(parsedOutput),
1404
- ...contents,
1405
- });
1406
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1407
- };
1408
- const se_Condition = (input, context) => {
1409
- return exports.Condition.visit(input, {
1410
- after: (value) => ({ after: value.getTime() / 1_000 }),
1411
- before: (value) => ({ before: value.getTime() / 1_000 }),
1412
- equals: (value) => ({ equals: smithyClient._json(value) }),
1413
- _: (name, value) => ({ [name]: value }),
1414
- });
1415
- };
1416
- const se_Filter = (input, context) => {
1417
- return smithyClient.take(input, {
1418
- condition: (_) => se_Condition(_),
1419
- key: [],
1420
- });
1421
- };
1422
- const se_FilterList = (input, context) => {
1423
- return input
1424
- .filter((e) => e != null)
1425
- .map((entry) => {
1426
- return se_Filter(entry);
1427
- });
1428
- };
1429
- const se_TriggerDetails = (input, context) => {
1430
- return smithyClient.take(input, {
1431
- rawData: [],
1432
- source: [],
1433
- timestamp: (_) => _.getTime() / 1_000,
1434
- triggerArn: [],
1435
- });
1436
- };
1437
- const de_CloudFormationStackUpdate = (output, context) => {
1438
- return smithyClient.take(output, {
1439
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1440
- stackArn: smithyClient.expectString,
1441
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1442
- });
1443
- };
1444
- const de_CodeDeployDeployment = (output, context) => {
1445
- return smithyClient.take(output, {
1446
- deploymentGroupArn: smithyClient.expectString,
1447
- deploymentId: smithyClient.expectString,
1448
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1449
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1450
- });
1451
- };
1452
- const de_EventSummary = (output, context) => {
1453
- return smithyClient.take(output, {
1454
- eventId: smithyClient.expectString,
1455
- eventReferences: smithyClient._json,
1456
- eventTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1457
- eventType: smithyClient.expectString,
1458
- eventUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1459
- incidentRecordArn: smithyClient.expectString,
1460
- });
1461
- };
1462
- const de_EventSummaryList = (output, context) => {
1463
- const retVal = (output || [])
1464
- .filter((e) => e != null)
1465
- .map((entry) => {
1466
- return de_EventSummary(entry);
1467
- });
1468
- return retVal;
1469
- };
1470
- const de_Finding = (output, context) => {
1471
- return smithyClient.take(output, {
1472
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1473
- details: (_) => de_FindingDetails(core$1.awsExpectUnion(_)),
1474
- id: smithyClient.expectString,
1475
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1476
- });
1477
- };
1478
- const de_FindingDetails = (output, context) => {
1479
- if (output.cloudFormationStackUpdate != null) {
1480
- return {
1481
- cloudFormationStackUpdate: de_CloudFormationStackUpdate(output.cloudFormationStackUpdate),
1482
- };
1483
- }
1484
- if (output.codeDeployDeployment != null) {
1485
- return {
1486
- codeDeployDeployment: de_CodeDeployDeployment(output.codeDeployDeployment),
1487
- };
1488
- }
1489
- return { $unknown: Object.entries(output)[0] };
1490
- };
1491
- const de_FindingList = (output, context) => {
1492
- const retVal = (output || [])
1493
- .filter((e) => e != null)
1494
- .map((entry) => {
1495
- return de_Finding(entry);
1496
- });
1497
- return retVal;
1498
- };
1499
- const de_FindingSummary = (output, context) => {
1500
- return smithyClient.take(output, {
1501
- id: smithyClient.expectString,
1502
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1503
- });
1504
- };
1505
- const de_FindingSummaryList = (output, context) => {
1506
- const retVal = (output || [])
1507
- .filter((e) => e != null)
1508
- .map((entry) => {
1509
- return de_FindingSummary(entry);
1510
- });
1511
- return retVal;
1512
- };
1513
- const de_IncidentRecord = (output, context) => {
1514
- return smithyClient.take(output, {
1515
- arn: smithyClient.expectString,
1516
- automationExecutions: smithyClient._json,
1517
- chatChannel: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1518
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1519
- dedupeString: smithyClient.expectString,
1520
- impact: smithyClient.expectInt32,
1521
- incidentRecordSource: smithyClient._json,
1522
- lastModifiedBy: smithyClient.expectString,
1523
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1524
- notificationTargets: smithyClient._json,
1525
- resolvedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1526
- status: smithyClient.expectString,
1527
- summary: smithyClient.expectString,
1528
- title: smithyClient.expectString,
1529
- });
1530
- };
1531
- const de_IncidentRecordSummary = (output, context) => {
1532
- return smithyClient.take(output, {
1533
- arn: smithyClient.expectString,
1534
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1535
- impact: smithyClient.expectInt32,
1536
- incidentRecordSource: smithyClient._json,
1537
- resolvedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1538
- status: smithyClient.expectString,
1539
- title: smithyClient.expectString,
1540
- });
1541
- };
1542
- const de_IncidentRecordSummaryList = (output, context) => {
1543
- const retVal = (output || [])
1544
- .filter((e) => e != null)
1545
- .map((entry) => {
1546
- return de_IncidentRecordSummary(entry);
1547
- });
1548
- return retVal;
1549
- };
1550
- const de_RegionInfo = (output, context) => {
1551
- return smithyClient.take(output, {
1552
- sseKmsKeyId: smithyClient.expectString,
1553
- status: smithyClient.expectString,
1554
- statusMessage: smithyClient.expectString,
1555
- statusUpdateDateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1556
- });
1557
- };
1558
- const de_RegionInfoMap = (output, context) => {
1559
- return Object.entries(output).reduce((acc, [key, value]) => {
1560
- if (value === null) {
1561
- return acc;
1562
- }
1563
- acc[key] = de_RegionInfo(value);
1564
- return acc;
1565
- }, {});
1566
- };
1567
- const de_ReplicationSet = (output, context) => {
1568
- return smithyClient.take(output, {
1569
- arn: smithyClient.expectString,
1570
- createdBy: smithyClient.expectString,
1571
- createdTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1572
- deletionProtected: smithyClient.expectBoolean,
1573
- lastModifiedBy: smithyClient.expectString,
1574
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1575
- regionMap: (_) => de_RegionInfoMap(_),
1576
- status: smithyClient.expectString,
1577
- });
1578
- };
1579
- const de_TimelineEvent = (output, context) => {
1580
- return smithyClient.take(output, {
1581
- eventData: smithyClient.expectString,
1582
- eventId: smithyClient.expectString,
1583
- eventReferences: smithyClient._json,
1584
- eventTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1585
- eventType: smithyClient.expectString,
1586
- eventUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1587
- incidentRecordArn: smithyClient.expectString,
1588
- });
1589
- };
1590
- const deserializeMetadata = (output) => ({
1591
- httpStatusCode: output.statusCode,
1592
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1593
- extendedRequestId: output.headers["x-amz-id-2"],
1594
- cfId: output.headers["x-amz-cf-id"],
1595
- });
281
+ const _A = "Action";
282
+ const _ADE = "AccessDeniedException";
283
+ const _AE = "AutomationExecution";
284
+ const _AES = "AutomationExecutionSet";
285
+ const _AL = "ActionsList";
286
+ const _ARA = "AddRegionAction";
287
+ const _AVL = "AttributeValueList";
288
+ const _BGIF = "BatchGetIncidentFindings";
289
+ const _BGIFE = "BatchGetIncidentFindingsError";
290
+ const _BGIFEL = "BatchGetIncidentFindingsErrorList";
291
+ const _BGIFI = "BatchGetIncidentFindingsInput";
292
+ const _BGIFO = "BatchGetIncidentFindingsOutput";
293
+ const _C = "Condition";
294
+ const _CC = "ChatChannel";
295
+ const _CDD = "CodeDeployDeployment";
296
+ const _CE = "ConflictException";
297
+ const _CFSU = "CloudFormationStackUpdate";
298
+ const _CRP = "CreateResponsePlan";
299
+ const _CRPI = "CreateResponsePlanInput";
300
+ const _CRPO = "CreateResponsePlanOutput";
301
+ const _CRS = "CreateReplicationSet";
302
+ const _CRSI = "CreateReplicationSetInput";
303
+ const _CRSO = "CreateReplicationSetOutput";
304
+ const _CTE = "CreateTimelineEvent";
305
+ const _CTEI = "CreateTimelineEventInput";
306
+ const _CTEO = "CreateTimelineEventOutput";
307
+ const _DIR = "DeleteIncidentRecord";
308
+ const _DIRI = "DeleteIncidentRecordInput";
309
+ const _DIRO = "DeleteIncidentRecordOutput";
310
+ const _DRA = "DeleteRegionAction";
311
+ const _DRP = "DeleteResourcePolicy";
312
+ const _DRPI = "DeleteResourcePolicyInput";
313
+ const _DRPIe = "DeleteResponsePlanInput";
314
+ const _DRPO = "DeleteResourcePolicyOutput";
315
+ const _DRPOe = "DeleteResponsePlanOutput";
316
+ const _DRPe = "DeleteResponsePlan";
317
+ const _DRS = "DeleteReplicationSet";
318
+ const _DRSI = "DeleteReplicationSetInput";
319
+ const _DRSO = "DeleteReplicationSetOutput";
320
+ const _DSP = "DynamicSsmParameters";
321
+ const _DSPV = "DynamicSsmParameterValue";
322
+ const _DTE = "DeleteTimelineEvent";
323
+ const _DTEI = "DeleteTimelineEventInput";
324
+ const _DTEO = "DeleteTimelineEventOutput";
325
+ const _ECC = "EmptyChatChannel";
326
+ const _ER = "EventReference";
327
+ const _ERL = "EventReferenceList";
328
+ const _ES = "EventSummary";
329
+ const _ESL = "EventSummaryList";
330
+ const _F = "Filter";
331
+ const _FD = "FindingDetails";
332
+ const _FL = "FilterList";
333
+ const _FLi = "FindingList";
334
+ const _FS = "FindingSummary";
335
+ const _FSL = "FindingSummaryList";
336
+ const _Fi = "Finding";
337
+ const _GIR = "GetIncidentRecord";
338
+ const _GIRI = "GetIncidentRecordInput";
339
+ const _GIRO = "GetIncidentRecordOutput";
340
+ const _GRP = "GetResourcePolicies";
341
+ const _GRPI = "GetResourcePoliciesInput";
342
+ const _GRPIe = "GetResponsePlanInput";
343
+ const _GRPO = "GetResourcePoliciesOutput";
344
+ const _GRPOe = "GetResponsePlanOutput";
345
+ const _GRPe = "GetResponsePlan";
346
+ const _GRS = "GetReplicationSet";
347
+ const _GRSI = "GetReplicationSetInput";
348
+ const _GRSO = "GetReplicationSetOutput";
349
+ const _GTE = "GetTimelineEvent";
350
+ const _GTEI = "GetTimelineEventInput";
351
+ const _GTEO = "GetTimelineEventOutput";
352
+ const _I = "Integrations";
353
+ const _II = "ItemIdentifier";
354
+ const _IR = "IncidentRecord";
355
+ const _IRS = "IncidentRecordSource";
356
+ const _IRSL = "IncidentRecordSummaryList";
357
+ const _IRSn = "IncidentRecordSummary";
358
+ const _ISE = "InternalServerException";
359
+ const _IT = "IncidentTemplate";
360
+ const _IV = "ItemValue";
361
+ const _In = "Integration";
362
+ const _LIF = "ListIncidentFindings";
363
+ const _LIFI = "ListIncidentFindingsInput";
364
+ const _LIFO = "ListIncidentFindingsOutput";
365
+ const _LIR = "ListIncidentRecords";
366
+ const _LIRI = "ListIncidentRecordsInput";
367
+ const _LIRO = "ListIncidentRecordsOutput";
368
+ const _LRI = "ListRelatedItems";
369
+ const _LRII = "ListRelatedItemsInput";
370
+ const _LRIO = "ListRelatedItemsOutput";
371
+ const _LRP = "ListResponsePlans";
372
+ const _LRPI = "ListResponsePlansInput";
373
+ const _LRPO = "ListResponsePlansOutput";
374
+ const _LRS = "ListReplicationSets";
375
+ const _LRSI = "ListReplicationSetsInput";
376
+ const _LRSO = "ListReplicationSetsOutput";
377
+ const _LTE = "ListTimelineEvents";
378
+ const _LTEI = "ListTimelineEventsInput";
379
+ const _LTEO = "ListTimelineEventsOutput";
380
+ const _LTFR = "ListTagsForResource";
381
+ const _LTFRR = "ListTagsForResourceRequest";
382
+ const _LTFRRi = "ListTagsForResourceResponse";
383
+ const _NTI = "NotificationTargetItem";
384
+ const _NTS = "NotificationTargetSet";
385
+ const _PDC = "PagerDutyConfiguration";
386
+ const _PDIC = "PagerDutyIncidentConfiguration";
387
+ const _PDID = "PagerDutyIncidentDetail";
388
+ const _PRP = "PutResourcePolicy";
389
+ const _PRPI = "PutResourcePolicyInput";
390
+ const _PRPO = "PutResourcePolicyOutput";
391
+ const _RI = "RegionInfo";
392
+ const _RIL = "RelatedItemList";
393
+ const _RIM = "RegionInfoMap";
394
+ const _RIU = "RelatedItemsUpdate";
395
+ const _RIe = "RelatedItem";
396
+ const _RMI = "RegionMapInput";
397
+ const _RMIV = "RegionMapInputValue";
398
+ const _RNFE = "ResourceNotFoundException";
399
+ const _RP = "ResourcePolicy";
400
+ const _RPL = "ResourcePolicyList";
401
+ const _RPS = "ResponsePlanSummary";
402
+ const _RPSL = "ResponsePlanSummaryList";
403
+ const _RS = "ReplicationSet";
404
+ const _SA = "SsmAutomation";
405
+ const _SI = "StartIncident";
406
+ const _SII = "StartIncidentInput";
407
+ const _SIO = "StartIncidentOutput";
408
+ const _SP = "SsmParameters";
409
+ const _SQEE = "ServiceQuotaExceededException";
410
+ const _TD = "TriggerDetails";
411
+ const _TE = "ThrottlingException";
412
+ const _TEi = "TimelineEvent";
413
+ const _TR = "TagResource";
414
+ const _TRR = "TagResourceRequest";
415
+ const _TRRa = "TagResourceResponse";
416
+ const _UAL = "UpdateActionList";
417
+ const _UDP = "UpdateDeletionProtection";
418
+ const _UDPI = "UpdateDeletionProtectionInput";
419
+ const _UDPO = "UpdateDeletionProtectionOutput";
420
+ const _UIR = "UpdateIncidentRecord";
421
+ const _UIRI = "UpdateIncidentRecordInput";
422
+ const _UIRO = "UpdateIncidentRecordOutput";
423
+ const _UR = "UntagResource";
424
+ const _URI = "UpdateRelatedItems";
425
+ const _URII = "UpdateRelatedItemsInput";
426
+ const _URIO = "UpdateRelatedItemsOutput";
427
+ const _URP = "UpdateResponsePlan";
428
+ const _URPI = "UpdateResponsePlanInput";
429
+ const _URPO = "UpdateResponsePlanOutput";
430
+ const _URR = "UntagResourceRequest";
431
+ const _URRn = "UntagResourceResponse";
432
+ const _URS = "UpdateReplicationSet";
433
+ const _URSA = "UpdateReplicationSetAction";
434
+ const _URSI = "UpdateReplicationSetInput";
435
+ const _URSO = "UpdateReplicationSetOutput";
436
+ const _UTE = "UpdateTimelineEvent";
437
+ const _UTEI = "UpdateTimelineEventInput";
438
+ const _UTEO = "UpdateTimelineEventOutput";
439
+ const _VE = "ValidationException";
1596
440
  const _a = "arn";
441
+ const _aE = "automationExecutions";
442
+ const _aR = "autoResolve";
443
+ const _aRA = "addRegionAction";
444
+ const _ac = "actions";
445
+ const _af = "after";
446
+ const _b = "before";
447
+ const _c = "client";
448
+ const _cB = "createdBy";
449
+ const _cC = "chatChannel";
450
+ const _cDD = "codeDeployDeployment";
451
+ const _cFSU = "cloudFormationStackUpdate";
452
+ const _cS = "chatbotSns";
453
+ const _cT = "clientToken";
454
+ const _cTr = "creationTime";
455
+ const _cTre = "createdTime";
456
+ const _co = "code";
457
+ const _con = "condition";
458
+ const _d = "details";
459
+ const _dGA = "deploymentGroupArn";
460
+ const _dI = "deploymentId";
461
+ const _dN = "displayName";
462
+ const _dNo = "documentName";
463
+ const _dP = "deletionProtected";
464
+ const _dPy = "dynamicParameters";
465
+ const _dRA = "deleteRegionAction";
466
+ const _dS = "dedupeString";
467
+ const _dV = "documentVersion";
468
+ const _e = "error";
469
+ const _eD = "eventData";
1597
470
  const _eI = "eventId";
471
+ const _eR = "eventReferences";
472
+ const _eS = "eventSummaries";
473
+ const _eT = "endTime";
474
+ const _eTv = "eventTime";
475
+ const _eTve = "eventType";
476
+ const _eUT = "eventUpdatedTime";
477
+ const _em = "empty";
478
+ const _en = "engagements";
479
+ const _eq = "equals";
480
+ const _er = "errors";
481
+ const _ev = "event";
482
+ const _f = "findings";
483
+ const _fI = "findingId";
484
+ const _fIi = "findingIds";
485
+ const _fi = "filters";
486
+ const _gI = "generatedId";
487
+ const _h = "http";
488
+ const _hE = "httpError";
489
+ const _hQ = "httpQuery";
490
+ const _i = "integrations";
491
+ const _iB = "invokedBy";
492
+ const _iR = "incidentRecord";
1598
493
  const _iRA = "incidentRecordArn";
1599
- const _rA = "resourceArn";
494
+ const _iRS = "incidentRecordSource";
495
+ const _iRSn = "incidentRecordSummaries";
496
+ const _iT = "incidentTemplate";
497
+ const _iTA = "itemToAdd";
498
+ const _iTDS = "incidentTemplateDedupeString";
499
+ const _iTI = "incidentTemplateImpact";
500
+ const _iTNT = "incidentTemplateNotificationTargets";
501
+ const _iTR = "itemToRemove";
502
+ const _iTS = "incidentTemplateSummary";
503
+ const _iTT = "incidentTemplateTitle";
504
+ const _iTTn = "incidentTemplateTags";
505
+ const _iTn = "incidentTags";
506
+ const _iV = "integerValues";
507
+ const _id = "id";
508
+ const _ide = "identifier";
509
+ const _im = "impact";
510
+ const _k = "key";
511
+ const _lMB = "lastModifiedBy";
512
+ const _lMT = "lastModifiedTime";
513
+ const _m = "message";
514
+ const _mD = "metricDefinition";
515
+ const _mR = "maxResults";
516
+ const _n = "name";
517
+ const _nT = "nextToken";
518
+ const _nTo = "notificationTargets";
519
+ const _p = "policy";
520
+ const _pD = "policyDocument";
521
+ const _pDC = "pagerDutyConfiguration";
522
+ const _pDIC = "pagerDutyIncidentConfiguration";
523
+ const _pDID = "pagerDutyIncidentDetail";
524
+ const _pI = "policyId";
525
+ const _pa = "parameters";
526
+ const _qC = "quotaCode";
527
+ const _r = "regions";
528
+ const _rA = "retryAfter";
529
+ const _rAe = "resourceArn";
530
+ const _rAo = "roleArn";
531
+ const _rD = "rawData";
532
+ const _rI = "resourceIdentifier";
533
+ const _rII = "relatedItemId";
534
+ const _rIU = "relatedItemsUpdate";
535
+ const _rIe = "relatedItems";
536
+ const _rM = "regionMap";
537
+ const _rN = "regionName";
538
+ const _rP = "resourcePolicies";
539
+ const _rPA = "responsePlanArn";
540
+ const _rPS = "responsePlanSummaries";
541
+ const _rRSR = "ramResourceShareRegion";
542
+ const _rS = "replicationSet";
543
+ const _rSA = "replicationSetArns";
544
+ const _rT = "resourceType";
545
+ const _rTe = "resolvedTime";
546
+ const _re = "resource";
547
+ const _s = "summary";
548
+ const _sA = "stackArn";
549
+ const _sAs = "ssmAutomation";
550
+ const _sB = "sortBy";
551
+ const _sC = "serviceCode";
552
+ const _sEA = "ssmExecutionArn";
553
+ const _sI = "secretId";
554
+ const _sIe = "serviceId";
555
+ const _sKKI = "sseKmsKeyId";
556
+ const _sM = "statusMessage";
557
+ const _sO = "sortOrder";
558
+ const _sT = "startTime";
559
+ const _sTA = "snsTopicArn";
560
+ const _sUDT = "statusUpdateDateTime";
561
+ const _sV = "stringValues";
562
+ const _se = "server";
563
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssmincidents";
564
+ const _so = "source";
565
+ const _st = "status";
566
+ const _t = "tags";
567
+ const _tA = "targetAccount";
568
+ const _tAr = "triggerArn";
569
+ const _tD = "triggerDetails";
1600
570
  const _tK = "tagKeys";
571
+ const _ti = "title";
572
+ const _tim = "timestamp";
573
+ const _ty = "type";
574
+ const _u = "url";
575
+ const _v = "value";
576
+ const _va = "variable";
577
+ const n0 = "com.amazonaws.ssmincidents";
578
+ var AccessDeniedException = [
579
+ -3,
580
+ n0,
581
+ _ADE,
582
+ {
583
+ [_e]: _c,
584
+ [_hE]: 403,
585
+ },
586
+ [_m],
587
+ [0],
588
+ ];
589
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
590
+ var AddRegionAction = [3, n0, _ARA, 0, [_rN, _sKKI], [0, 0]];
591
+ var BatchGetIncidentFindingsError = [3, n0, _BGIFE, 0, [_fI, _co, _m], [0, 0, 0]];
592
+ var BatchGetIncidentFindingsInput = [3, n0, _BGIFI, 0, [_iRA, _fIi], [0, 64 | 0]];
593
+ var BatchGetIncidentFindingsOutput = [
594
+ 3,
595
+ n0,
596
+ _BGIFO,
597
+ 0,
598
+ [_f, _er],
599
+ [() => FindingList, () => BatchGetIncidentFindingsErrorList],
600
+ ];
601
+ var CloudFormationStackUpdate = [3, n0, _CFSU, 0, [_sT, _eT, _sA], [4, 4, 0]];
602
+ var CodeDeployDeployment = [3, n0, _CDD, 0, [_sT, _eT, _dGA, _dI], [4, 4, 0, 0]];
603
+ var ConflictException = [
604
+ -3,
605
+ n0,
606
+ _CE,
607
+ {
608
+ [_e]: _c,
609
+ [_hE]: 409,
610
+ },
611
+ [_m, _rI, _rT, _rA],
612
+ [0, 0, 0, 4],
613
+ ];
614
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
615
+ var CreateReplicationSetInput = [
616
+ 3,
617
+ n0,
618
+ _CRSI,
619
+ 0,
620
+ [_r, _cT, _t],
621
+ [() => RegionMapInput, [0, 4], 128 | 0],
622
+ ];
623
+ var CreateReplicationSetOutput = [3, n0, _CRSO, 0, [_a], [0]];
624
+ var CreateResponsePlanInput = [
625
+ 3,
626
+ n0,
627
+ _CRPI,
628
+ 0,
629
+ [_cT, _n, _dN, _iT, _cC, _en, _ac, _t, _i],
630
+ [[0, 4], 0, 0, () => IncidentTemplate, () => ChatChannel, 64 | 0, () => ActionsList, 128 | 0, () => Integrations],
631
+ ];
632
+ var CreateResponsePlanOutput = [3, n0, _CRPO, 0, [_a], [0]];
633
+ var CreateTimelineEventInput = [
634
+ 3,
635
+ n0,
636
+ _CTEI,
637
+ 0,
638
+ [_cT, _iRA, _eTv, _eTve, _eD, _eR],
639
+ [[0, 4], 0, 4, 0, 0, () => EventReferenceList],
640
+ ];
641
+ var CreateTimelineEventOutput = [3, n0, _CTEO, 0, [_iRA, _eI], [0, 0]];
642
+ var DeleteIncidentRecordInput = [3, n0, _DIRI, 0, [_a], [0]];
643
+ var DeleteIncidentRecordOutput = [3, n0, _DIRO, 0, [], []];
644
+ var DeleteRegionAction = [3, n0, _DRA, 0, [_rN], [0]];
645
+ var DeleteReplicationSetInput = [
646
+ 3,
647
+ n0,
648
+ _DRSI,
649
+ 0,
650
+ [_a],
651
+ [
652
+ [
653
+ 0,
654
+ {
655
+ [_hQ]: _a,
656
+ },
657
+ ],
658
+ ],
659
+ ];
660
+ var DeleteReplicationSetOutput = [3, n0, _DRSO, 0, [], []];
661
+ var DeleteResourcePolicyInput = [3, n0, _DRPI, 0, [_rAe, _pI], [0, 0]];
662
+ var DeleteResourcePolicyOutput = [3, n0, _DRPO, 0, [], []];
663
+ var DeleteResponsePlanInput = [3, n0, _DRPIe, 0, [_a], [0]];
664
+ var DeleteResponsePlanOutput = [3, n0, _DRPOe, 0, [], []];
665
+ var DeleteTimelineEventInput = [3, n0, _DTEI, 0, [_iRA, _eI], [0, 0]];
666
+ var DeleteTimelineEventOutput = [3, n0, _DTEO, 0, [], []];
667
+ var EmptyChatChannel = [3, n0, _ECC, 0, [], []];
668
+ var EventSummary = [
669
+ 3,
670
+ n0,
671
+ _ES,
672
+ 0,
673
+ [_iRA, _eI, _eTv, _eUT, _eTve, _eR],
674
+ [0, 0, 4, 4, 0, () => EventReferenceList],
675
+ ];
676
+ var Filter = [3, n0, _F, 0, [_k, _con], [0, () => Condition]];
677
+ var Finding = [3, n0, _Fi, 0, [_id, _cTr, _lMT, _d], [0, 4, 4, () => FindingDetails]];
678
+ var FindingSummary = [3, n0, _FS, 0, [_id, _lMT], [0, 4]];
679
+ var GetIncidentRecordInput = [
680
+ 3,
681
+ n0,
682
+ _GIRI,
683
+ 0,
684
+ [_a],
685
+ [
686
+ [
687
+ 0,
688
+ {
689
+ [_hQ]: _a,
690
+ },
691
+ ],
692
+ ],
693
+ ];
694
+ var GetIncidentRecordOutput = [3, n0, _GIRO, 0, [_iR], [() => IncidentRecord]];
695
+ var GetReplicationSetInput = [
696
+ 3,
697
+ n0,
698
+ _GRSI,
699
+ 0,
700
+ [_a],
701
+ [
702
+ [
703
+ 0,
704
+ {
705
+ [_hQ]: _a,
706
+ },
707
+ ],
708
+ ],
709
+ ];
710
+ var GetReplicationSetOutput = [3, n0, _GRSO, 0, [_rS], [() => ReplicationSet]];
711
+ var GetResourcePoliciesInput = [
712
+ 3,
713
+ n0,
714
+ _GRPI,
715
+ 0,
716
+ [_rAe, _mR, _nT],
717
+ [
718
+ [
719
+ 0,
720
+ {
721
+ [_hQ]: _rAe,
722
+ },
723
+ ],
724
+ 1,
725
+ 0,
726
+ ],
727
+ ];
728
+ var GetResourcePoliciesOutput = [
729
+ 3,
730
+ n0,
731
+ _GRPO,
732
+ 0,
733
+ [_rP, _nT],
734
+ [() => ResourcePolicyList, 0],
735
+ ];
736
+ var GetResponsePlanInput = [
737
+ 3,
738
+ n0,
739
+ _GRPIe,
740
+ 0,
741
+ [_a],
742
+ [
743
+ [
744
+ 0,
745
+ {
746
+ [_hQ]: _a,
747
+ },
748
+ ],
749
+ ],
750
+ ];
751
+ var GetResponsePlanOutput = [
752
+ 3,
753
+ n0,
754
+ _GRPOe,
755
+ 0,
756
+ [_a, _n, _dN, _iT, _cC, _en, _ac, _i],
757
+ [0, 0, 0, () => IncidentTemplate, () => ChatChannel, 64 | 0, () => ActionsList, () => Integrations],
758
+ ];
759
+ var GetTimelineEventInput = [
760
+ 3,
761
+ n0,
762
+ _GTEI,
763
+ 0,
764
+ [_iRA, _eI],
765
+ [
766
+ [
767
+ 0,
768
+ {
769
+ [_hQ]: _iRA,
770
+ },
771
+ ],
772
+ [
773
+ 0,
774
+ {
775
+ [_hQ]: _eI,
776
+ },
777
+ ],
778
+ ],
779
+ ];
780
+ var GetTimelineEventOutput = [3, n0, _GTEO, 0, [_ev], [() => TimelineEvent]];
781
+ var IncidentRecord = [
782
+ 3,
783
+ n0,
784
+ _IR,
785
+ 0,
786
+ [_a, _ti, _s, _st, _im, _cTr, _rTe, _lMT, _lMB, _aE, _iRS, _dS, _cC, _nTo],
787
+ [
788
+ 0,
789
+ 0,
790
+ 0,
791
+ 0,
792
+ 1,
793
+ 4,
794
+ 4,
795
+ 4,
796
+ 0,
797
+ () => AutomationExecutionSet,
798
+ () => IncidentRecordSource,
799
+ 0,
800
+ () => ChatChannel,
801
+ () => NotificationTargetSet,
802
+ ],
803
+ ];
804
+ var IncidentRecordSource = [3, n0, _IRS, 0, [_cB, _iB, _rAe, _so], [0, 0, 0, 0]];
805
+ var IncidentRecordSummary = [
806
+ 3,
807
+ n0,
808
+ _IRSn,
809
+ 0,
810
+ [_a, _ti, _st, _im, _cTr, _rTe, _iRS],
811
+ [0, 0, 0, 1, 4, 4, () => IncidentRecordSource],
812
+ ];
813
+ var IncidentTemplate = [
814
+ 3,
815
+ n0,
816
+ _IT,
817
+ 0,
818
+ [_ti, _im, _s, _dS, _nTo, _iTn],
819
+ [0, 1, 0, 0, () => NotificationTargetSet, 128 | 0],
820
+ ];
821
+ var InternalServerException = [
822
+ -3,
823
+ n0,
824
+ _ISE,
825
+ {
826
+ [_e]: _se,
827
+ [_hE]: 500,
828
+ },
829
+ [_m],
830
+ [0],
831
+ ];
832
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
833
+ var ItemIdentifier = [3, n0, _II, 0, [_v, _ty], [() => ItemValue, 0]];
834
+ var ListIncidentFindingsInput = [3, n0, _LIFI, 0, [_iRA, _mR, _nT], [0, 1, 0]];
835
+ var ListIncidentFindingsOutput = [
836
+ 3,
837
+ n0,
838
+ _LIFO,
839
+ 0,
840
+ [_f, _nT],
841
+ [() => FindingSummaryList, 0],
842
+ ];
843
+ var ListIncidentRecordsInput = [
844
+ 3,
845
+ n0,
846
+ _LIRI,
847
+ 0,
848
+ [_fi, _mR, _nT],
849
+ [() => FilterList, 1, 0],
850
+ ];
851
+ var ListIncidentRecordsOutput = [
852
+ 3,
853
+ n0,
854
+ _LIRO,
855
+ 0,
856
+ [_iRSn, _nT],
857
+ [() => IncidentRecordSummaryList, 0],
858
+ ];
859
+ var ListRelatedItemsInput = [3, n0, _LRII, 0, [_iRA, _mR, _nT], [0, 1, 0]];
860
+ var ListRelatedItemsOutput = [3, n0, _LRIO, 0, [_rIe, _nT], [() => RelatedItemList, 0]];
861
+ var ListReplicationSetsInput = [3, n0, _LRSI, 0, [_mR, _nT], [1, 0]];
862
+ var ListReplicationSetsOutput = [3, n0, _LRSO, 0, [_rSA, _nT], [64 | 0, 0]];
863
+ var ListResponsePlansInput = [3, n0, _LRPI, 0, [_mR, _nT], [1, 0]];
864
+ var ListResponsePlansOutput = [
865
+ 3,
866
+ n0,
867
+ _LRPO,
868
+ 0,
869
+ [_rPS, _nT],
870
+ [() => ResponsePlanSummaryList, 0],
871
+ ];
872
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, 1]]];
873
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
874
+ var ListTimelineEventsInput = [
875
+ 3,
876
+ n0,
877
+ _LTEI,
878
+ 0,
879
+ [_iRA, _fi, _sB, _sO, _mR, _nT],
880
+ [0, () => FilterList, 0, 0, 1, 0],
881
+ ];
882
+ var ListTimelineEventsOutput = [3, n0, _LTEO, 0, [_eS, _nT], [() => EventSummaryList, 0]];
883
+ var PagerDutyConfiguration = [
884
+ 3,
885
+ n0,
886
+ _PDC,
887
+ 0,
888
+ [_n, _sI, _pDIC],
889
+ [0, 0, () => PagerDutyIncidentConfiguration],
890
+ ];
891
+ var PagerDutyIncidentConfiguration = [3, n0, _PDIC, 0, [_sIe], [0]];
892
+ var PagerDutyIncidentDetail = [3, n0, _PDID, 0, [_id, _aR, _sI], [0, 2, 0]];
893
+ var PutResourcePolicyInput = [3, n0, _PRPI, 0, [_rAe, _p], [0, 0]];
894
+ var PutResourcePolicyOutput = [3, n0, _PRPO, 0, [_pI], [0]];
895
+ var RegionInfo = [3, n0, _RI, 0, [_sKKI, _st, _sM, _sUDT], [0, 0, 0, 4]];
896
+ var RegionMapInputValue = [3, n0, _RMIV, 0, [_sKKI], [0]];
897
+ var RelatedItem = [3, n0, _RIe, 0, [_ide, _ti, _gI], [() => ItemIdentifier, 0, 0]];
898
+ var ReplicationSet = [
899
+ 3,
900
+ n0,
901
+ _RS,
902
+ 0,
903
+ [_a, _rM, _st, _dP, _cTre, _cB, _lMT, _lMB],
904
+ [0, () => RegionInfoMap, 0, 2, 4, 0, 4, 0],
905
+ ];
906
+ var ResourceNotFoundException = [
907
+ -3,
908
+ n0,
909
+ _RNFE,
910
+ {
911
+ [_e]: _c,
912
+ [_hE]: 404,
913
+ },
914
+ [_m, _rI, _rT],
915
+ [0, 0, 0],
916
+ ];
917
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
918
+ var ResourcePolicy = [3, n0, _RP, 0, [_pD, _pI, _rRSR], [0, 0, 0]];
919
+ var ResponsePlanSummary = [3, n0, _RPS, 0, [_a, _n, _dN], [0, 0, 0]];
920
+ var ServiceQuotaExceededException = [
921
+ -3,
922
+ n0,
923
+ _SQEE,
924
+ {
925
+ [_e]: _c,
926
+ [_hE]: 402,
927
+ },
928
+ [_m, _rI, _rT, _sC, _qC],
929
+ [0, 0, 0, 0, 0],
930
+ ];
931
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
932
+ var SsmAutomation = [
933
+ 3,
934
+ n0,
935
+ _SA,
936
+ 0,
937
+ [_rAo, _dNo, _dV, _tA, _pa, _dPy],
938
+ [0, 0, 0, 0, [2, n0, _SP, 0, 0, 64 | 0], () => DynamicSsmParameters],
939
+ ];
940
+ var StartIncidentInput = [
941
+ 3,
942
+ n0,
943
+ _SII,
944
+ 0,
945
+ [_cT, _rPA, _ti, _im, _tD, _rIe],
946
+ [[0, 4], 0, 0, 1, () => TriggerDetails, () => RelatedItemList],
947
+ ];
948
+ var StartIncidentOutput = [3, n0, _SIO, 0, [_iRA], [0]];
949
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [[0, 1], 128 | 0]];
950
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
951
+ var ThrottlingException = [
952
+ -3,
953
+ n0,
954
+ _TE,
955
+ {
956
+ [_e]: _c,
957
+ [_hE]: 429,
958
+ },
959
+ [_m, _sC, _qC],
960
+ [0, 0, 0],
961
+ ];
962
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
963
+ var TimelineEvent = [
964
+ 3,
965
+ n0,
966
+ _TEi,
967
+ 0,
968
+ [_iRA, _eI, _eTv, _eUT, _eTve, _eD, _eR],
969
+ [0, 0, 4, 4, 0, 0, () => EventReferenceList],
970
+ ];
971
+ var TriggerDetails = [3, n0, _TD, 0, [_so, _tAr, _tim, _rD], [0, 0, 4, 0]];
972
+ var UntagResourceRequest = [
973
+ 3,
974
+ n0,
975
+ _URR,
976
+ 0,
977
+ [_rAe, _tK],
978
+ [
979
+ [0, 1],
980
+ [
981
+ 64 | 0,
982
+ {
983
+ [_hQ]: _tK,
984
+ },
985
+ ],
986
+ ],
987
+ ];
988
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
989
+ var UpdateDeletionProtectionInput = [3, n0, _UDPI, 0, [_a, _dP, _cT], [0, 2, [0, 4]]];
990
+ var UpdateDeletionProtectionOutput = [3, n0, _UDPO, 0, [], []];
991
+ var UpdateIncidentRecordInput = [
992
+ 3,
993
+ n0,
994
+ _UIRI,
995
+ 0,
996
+ [_cT, _a, _ti, _s, _im, _st, _cC, _nTo],
997
+ [[0, 4], 0, 0, 0, 1, 0, () => ChatChannel, () => NotificationTargetSet],
998
+ ];
999
+ var UpdateIncidentRecordOutput = [3, n0, _UIRO, 0, [], []];
1000
+ var UpdateRelatedItemsInput = [
1001
+ 3,
1002
+ n0,
1003
+ _URII,
1004
+ 0,
1005
+ [_cT, _iRA, _rIU],
1006
+ [[0, 4], 0, () => RelatedItemsUpdate],
1007
+ ];
1008
+ var UpdateRelatedItemsOutput = [3, n0, _URIO, 0, [], []];
1009
+ var UpdateReplicationSetInput = [
1010
+ 3,
1011
+ n0,
1012
+ _URSI,
1013
+ 0,
1014
+ [_a, _ac, _cT],
1015
+ [0, () => UpdateActionList, [0, 4]],
1016
+ ];
1017
+ var UpdateReplicationSetOutput = [3, n0, _URSO, 0, [], []];
1018
+ var UpdateResponsePlanInput = [
1019
+ 3,
1020
+ n0,
1021
+ _URPI,
1022
+ 0,
1023
+ [_cT, _a, _dN, _iTT, _iTI, _iTS, _iTDS, _iTNT, _cC, _en, _ac, _iTTn, _i],
1024
+ [
1025
+ [0, 4],
1026
+ 0,
1027
+ 0,
1028
+ 0,
1029
+ 1,
1030
+ 0,
1031
+ 0,
1032
+ () => NotificationTargetSet,
1033
+ () => ChatChannel,
1034
+ 64 | 0,
1035
+ () => ActionsList,
1036
+ 128 | 0,
1037
+ () => Integrations,
1038
+ ],
1039
+ ];
1040
+ var UpdateResponsePlanOutput = [3, n0, _URPO, 0, [], []];
1041
+ var UpdateTimelineEventInput = [
1042
+ 3,
1043
+ n0,
1044
+ _UTEI,
1045
+ 0,
1046
+ [_cT, _iRA, _eI, _eTv, _eTve, _eD, _eR],
1047
+ [[0, 4], 0, 0, 4, 0, 0, () => EventReferenceList],
1048
+ ];
1049
+ var UpdateTimelineEventOutput = [3, n0, _UTEO, 0, [], []];
1050
+ var ValidationException = [
1051
+ -3,
1052
+ n0,
1053
+ _VE,
1054
+ {
1055
+ [_e]: _c,
1056
+ [_hE]: 400,
1057
+ },
1058
+ [_m],
1059
+ [0],
1060
+ ];
1061
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1062
+ var SSMIncidentsServiceException = [-3, _sm, "SSMIncidentsServiceException", 0, [], []];
1063
+ schema.TypeRegistry.for(_sm).registerError(SSMIncidentsServiceException, SSMIncidentsServiceException$1);
1064
+ var ActionsList = [1, n0, _AL, 0, () => Action];
1065
+ var AutomationExecutionSet = [1, n0, _AES, 0, () => AutomationExecution];
1066
+ var BatchGetIncidentFindingsErrorList = [
1067
+ 1,
1068
+ n0,
1069
+ _BGIFEL,
1070
+ 0,
1071
+ () => BatchGetIncidentFindingsError,
1072
+ ];
1073
+ var EventReferenceList = [1, n0, _ERL, 0, () => EventReference];
1074
+ var EventSummaryList = [1, n0, _ESL, 0, () => EventSummary];
1075
+ var FilterList = [1, n0, _FL, 0, () => Filter];
1076
+ var FindingList = [1, n0, _FLi, 0, () => Finding];
1077
+ var FindingSummaryList = [1, n0, _FSL, 0, () => FindingSummary];
1078
+ var IncidentRecordSummaryList = [1, n0, _IRSL, 0, () => IncidentRecordSummary];
1079
+ var Integrations = [1, n0, _I, 0, () => Integration];
1080
+ var NotificationTargetSet = [1, n0, _NTS, 0, () => NotificationTargetItem];
1081
+ var RelatedItemList = [1, n0, _RIL, 0, () => RelatedItem];
1082
+ var ResourcePolicyList = [1, n0, _RPL, 0, () => ResourcePolicy];
1083
+ var ResponsePlanSummaryList = [1, n0, _RPSL, 0, () => ResponsePlanSummary];
1084
+ var UpdateActionList = [1, n0, _UAL, 0, () => UpdateReplicationSetAction];
1085
+ var DynamicSsmParameters = [2, n0, _DSP, 0, 0, () => DynamicSsmParameterValue];
1086
+ var RegionInfoMap = [2, n0, _RIM, 0, 0, () => RegionInfo];
1087
+ var RegionMapInput = [2, n0, _RMI, 0, 0, () => RegionMapInputValue];
1088
+ var Action = [3, n0, _A, 0, [_sAs], [() => SsmAutomation]];
1089
+ var AttributeValueList = [3, n0, _AVL, 0, [_sV, _iV], [64 | 0, 64 | 1]];
1090
+ var AutomationExecution = [3, n0, _AE, 0, [_sEA], [0]];
1091
+ var ChatChannel = [3, n0, _CC, 0, [_em, _cS], [() => EmptyChatChannel, 64 | 0]];
1092
+ var Condition = [3, n0, _C, 0, [_b, _af, _eq], [4, 4, () => AttributeValueList]];
1093
+ var DynamicSsmParameterValue = [3, n0, _DSPV, 0, [_va], [0]];
1094
+ var EventReference = [3, n0, _ER, 0, [_re, _rII], [0, 0]];
1095
+ var FindingDetails = [
1096
+ 3,
1097
+ n0,
1098
+ _FD,
1099
+ 0,
1100
+ [_cDD, _cFSU],
1101
+ [() => CodeDeployDeployment, () => CloudFormationStackUpdate],
1102
+ ];
1103
+ var Integration = [3, n0, _In, 0, [_pDC], [() => PagerDutyConfiguration]];
1104
+ var ItemValue = [
1105
+ 3,
1106
+ n0,
1107
+ _IV,
1108
+ 0,
1109
+ [_a, _u, _mD, _pDID],
1110
+ [0, 0, 0, () => PagerDutyIncidentDetail],
1111
+ ];
1112
+ var NotificationTargetItem = [3, n0, _NTI, 0, [_sTA], [0]];
1113
+ var RelatedItemsUpdate = [
1114
+ 3,
1115
+ n0,
1116
+ _RIU,
1117
+ 0,
1118
+ [_iTA, _iTR],
1119
+ [() => RelatedItem, () => ItemIdentifier],
1120
+ ];
1121
+ var UpdateReplicationSetAction = [
1122
+ 3,
1123
+ n0,
1124
+ _URSA,
1125
+ 0,
1126
+ [_aRA, _dRA],
1127
+ [() => AddRegionAction, () => DeleteRegionAction],
1128
+ ];
1129
+ var BatchGetIncidentFindings = [
1130
+ 9,
1131
+ n0,
1132
+ _BGIF,
1133
+ {
1134
+ [_h]: ["POST", "/batchGetIncidentFindings", 200],
1135
+ },
1136
+ () => BatchGetIncidentFindingsInput,
1137
+ () => BatchGetIncidentFindingsOutput,
1138
+ ];
1139
+ var CreateReplicationSet = [
1140
+ 9,
1141
+ n0,
1142
+ _CRS,
1143
+ {
1144
+ [_h]: ["POST", "/createReplicationSet", 201],
1145
+ },
1146
+ () => CreateReplicationSetInput,
1147
+ () => CreateReplicationSetOutput,
1148
+ ];
1149
+ var CreateResponsePlan = [
1150
+ 9,
1151
+ n0,
1152
+ _CRP,
1153
+ {
1154
+ [_h]: ["POST", "/createResponsePlan", 201],
1155
+ },
1156
+ () => CreateResponsePlanInput,
1157
+ () => CreateResponsePlanOutput,
1158
+ ];
1159
+ var CreateTimelineEvent = [
1160
+ 9,
1161
+ n0,
1162
+ _CTE,
1163
+ {
1164
+ [_h]: ["POST", "/createTimelineEvent", 201],
1165
+ },
1166
+ () => CreateTimelineEventInput,
1167
+ () => CreateTimelineEventOutput,
1168
+ ];
1169
+ var DeleteIncidentRecord = [
1170
+ 9,
1171
+ n0,
1172
+ _DIR,
1173
+ {
1174
+ [_h]: ["POST", "/deleteIncidentRecord", 204],
1175
+ },
1176
+ () => DeleteIncidentRecordInput,
1177
+ () => DeleteIncidentRecordOutput,
1178
+ ];
1179
+ var DeleteReplicationSet = [
1180
+ 9,
1181
+ n0,
1182
+ _DRS,
1183
+ {
1184
+ [_h]: ["POST", "/deleteReplicationSet", 204],
1185
+ },
1186
+ () => DeleteReplicationSetInput,
1187
+ () => DeleteReplicationSetOutput,
1188
+ ];
1189
+ var DeleteResourcePolicy = [
1190
+ 9,
1191
+ n0,
1192
+ _DRP,
1193
+ {
1194
+ [_h]: ["POST", "/deleteResourcePolicy", 200],
1195
+ },
1196
+ () => DeleteResourcePolicyInput,
1197
+ () => DeleteResourcePolicyOutput,
1198
+ ];
1199
+ var DeleteResponsePlan = [
1200
+ 9,
1201
+ n0,
1202
+ _DRPe,
1203
+ {
1204
+ [_h]: ["POST", "/deleteResponsePlan", 204],
1205
+ },
1206
+ () => DeleteResponsePlanInput,
1207
+ () => DeleteResponsePlanOutput,
1208
+ ];
1209
+ var DeleteTimelineEvent = [
1210
+ 9,
1211
+ n0,
1212
+ _DTE,
1213
+ {
1214
+ [_h]: ["POST", "/deleteTimelineEvent", 204],
1215
+ },
1216
+ () => DeleteTimelineEventInput,
1217
+ () => DeleteTimelineEventOutput,
1218
+ ];
1219
+ var GetIncidentRecord = [
1220
+ 9,
1221
+ n0,
1222
+ _GIR,
1223
+ {
1224
+ [_h]: ["GET", "/getIncidentRecord", 200],
1225
+ },
1226
+ () => GetIncidentRecordInput,
1227
+ () => GetIncidentRecordOutput,
1228
+ ];
1229
+ var GetReplicationSet = [
1230
+ 9,
1231
+ n0,
1232
+ _GRS,
1233
+ {
1234
+ [_h]: ["GET", "/getReplicationSet", 200],
1235
+ },
1236
+ () => GetReplicationSetInput,
1237
+ () => GetReplicationSetOutput,
1238
+ ];
1239
+ var GetResourcePolicies = [
1240
+ 9,
1241
+ n0,
1242
+ _GRP,
1243
+ {
1244
+ [_h]: ["POST", "/getResourcePolicies", 200],
1245
+ },
1246
+ () => GetResourcePoliciesInput,
1247
+ () => GetResourcePoliciesOutput,
1248
+ ];
1249
+ var GetResponsePlan = [
1250
+ 9,
1251
+ n0,
1252
+ _GRPe,
1253
+ {
1254
+ [_h]: ["GET", "/getResponsePlan", 200],
1255
+ },
1256
+ () => GetResponsePlanInput,
1257
+ () => GetResponsePlanOutput,
1258
+ ];
1259
+ var GetTimelineEvent = [
1260
+ 9,
1261
+ n0,
1262
+ _GTE,
1263
+ {
1264
+ [_h]: ["GET", "/getTimelineEvent", 200],
1265
+ },
1266
+ () => GetTimelineEventInput,
1267
+ () => GetTimelineEventOutput,
1268
+ ];
1269
+ var ListIncidentFindings = [
1270
+ 9,
1271
+ n0,
1272
+ _LIF,
1273
+ {
1274
+ [_h]: ["POST", "/listIncidentFindings", 200],
1275
+ },
1276
+ () => ListIncidentFindingsInput,
1277
+ () => ListIncidentFindingsOutput,
1278
+ ];
1279
+ var ListIncidentRecords = [
1280
+ 9,
1281
+ n0,
1282
+ _LIR,
1283
+ {
1284
+ [_h]: ["POST", "/listIncidentRecords", 200],
1285
+ },
1286
+ () => ListIncidentRecordsInput,
1287
+ () => ListIncidentRecordsOutput,
1288
+ ];
1289
+ var ListRelatedItems = [
1290
+ 9,
1291
+ n0,
1292
+ _LRI,
1293
+ {
1294
+ [_h]: ["POST", "/listRelatedItems", 200],
1295
+ },
1296
+ () => ListRelatedItemsInput,
1297
+ () => ListRelatedItemsOutput,
1298
+ ];
1299
+ var ListReplicationSets = [
1300
+ 9,
1301
+ n0,
1302
+ _LRS,
1303
+ {
1304
+ [_h]: ["POST", "/listReplicationSets", 200],
1305
+ },
1306
+ () => ListReplicationSetsInput,
1307
+ () => ListReplicationSetsOutput,
1308
+ ];
1309
+ var ListResponsePlans = [
1310
+ 9,
1311
+ n0,
1312
+ _LRP,
1313
+ {
1314
+ [_h]: ["POST", "/listResponsePlans", 200],
1315
+ },
1316
+ () => ListResponsePlansInput,
1317
+ () => ListResponsePlansOutput,
1318
+ ];
1319
+ var ListTagsForResource = [
1320
+ 9,
1321
+ n0,
1322
+ _LTFR,
1323
+ {
1324
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1325
+ },
1326
+ () => ListTagsForResourceRequest,
1327
+ () => ListTagsForResourceResponse,
1328
+ ];
1329
+ var ListTimelineEvents = [
1330
+ 9,
1331
+ n0,
1332
+ _LTE,
1333
+ {
1334
+ [_h]: ["POST", "/listTimelineEvents", 200],
1335
+ },
1336
+ () => ListTimelineEventsInput,
1337
+ () => ListTimelineEventsOutput,
1338
+ ];
1339
+ var PutResourcePolicy = [
1340
+ 9,
1341
+ n0,
1342
+ _PRP,
1343
+ {
1344
+ [_h]: ["POST", "/putResourcePolicy", 200],
1345
+ },
1346
+ () => PutResourcePolicyInput,
1347
+ () => PutResourcePolicyOutput,
1348
+ ];
1349
+ var StartIncident = [
1350
+ 9,
1351
+ n0,
1352
+ _SI,
1353
+ {
1354
+ [_h]: ["POST", "/startIncident", 200],
1355
+ },
1356
+ () => StartIncidentInput,
1357
+ () => StartIncidentOutput,
1358
+ ];
1359
+ var TagResource = [
1360
+ 9,
1361
+ n0,
1362
+ _TR,
1363
+ {
1364
+ [_h]: ["POST", "/tags/{resourceArn}", 204],
1365
+ },
1366
+ () => TagResourceRequest,
1367
+ () => TagResourceResponse,
1368
+ ];
1369
+ var UntagResource = [
1370
+ 9,
1371
+ n0,
1372
+ _UR,
1373
+ {
1374
+ [_h]: ["DELETE", "/tags/{resourceArn}", 204],
1375
+ },
1376
+ () => UntagResourceRequest,
1377
+ () => UntagResourceResponse,
1378
+ ];
1379
+ var UpdateDeletionProtection = [
1380
+ 9,
1381
+ n0,
1382
+ _UDP,
1383
+ {
1384
+ [_h]: ["POST", "/updateDeletionProtection", 204],
1385
+ },
1386
+ () => UpdateDeletionProtectionInput,
1387
+ () => UpdateDeletionProtectionOutput,
1388
+ ];
1389
+ var UpdateIncidentRecord = [
1390
+ 9,
1391
+ n0,
1392
+ _UIR,
1393
+ {
1394
+ [_h]: ["POST", "/updateIncidentRecord", 204],
1395
+ },
1396
+ () => UpdateIncidentRecordInput,
1397
+ () => UpdateIncidentRecordOutput,
1398
+ ];
1399
+ var UpdateRelatedItems = [
1400
+ 9,
1401
+ n0,
1402
+ _URI,
1403
+ {
1404
+ [_h]: ["POST", "/updateRelatedItems", 204],
1405
+ },
1406
+ () => UpdateRelatedItemsInput,
1407
+ () => UpdateRelatedItemsOutput,
1408
+ ];
1409
+ var UpdateReplicationSet = [
1410
+ 9,
1411
+ n0,
1412
+ _URS,
1413
+ {
1414
+ [_h]: ["POST", "/updateReplicationSet", 204],
1415
+ },
1416
+ () => UpdateReplicationSetInput,
1417
+ () => UpdateReplicationSetOutput,
1418
+ ];
1419
+ var UpdateResponsePlan = [
1420
+ 9,
1421
+ n0,
1422
+ _URP,
1423
+ {
1424
+ [_h]: ["POST", "/updateResponsePlan", 204],
1425
+ },
1426
+ () => UpdateResponsePlanInput,
1427
+ () => UpdateResponsePlanOutput,
1428
+ ];
1429
+ var UpdateTimelineEvent = [
1430
+ 9,
1431
+ n0,
1432
+ _UTE,
1433
+ {
1434
+ [_h]: ["POST", "/updateTimelineEvent", 204],
1435
+ },
1436
+ () => UpdateTimelineEventInput,
1437
+ () => UpdateTimelineEventOutput,
1438
+ ];
1601
1439
 
1602
1440
  class BatchGetIncidentFindingsCommand extends smithyClient.Command
1603
1441
  .classBuilder()
1604
1442
  .ep(commonParams)
1605
1443
  .m(function (Command, cs, config, o) {
1606
- return [
1607
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1608
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1609
- ];
1444
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
1445
  })
1611
1446
  .s("SSMIncidents", "BatchGetIncidentFindings", {})
1612
1447
  .n("SSMIncidentsClient", "BatchGetIncidentFindingsCommand")
1613
- .f(void 0, void 0)
1614
- .ser(se_BatchGetIncidentFindingsCommand)
1615
- .de(de_BatchGetIncidentFindingsCommand)
1448
+ .sc(BatchGetIncidentFindings)
1616
1449
  .build() {
1617
1450
  }
1618
1451
 
@@ -1620,16 +1453,11 @@ class CreateReplicationSetCommand extends smithyClient.Command
1620
1453
  .classBuilder()
1621
1454
  .ep(commonParams)
1622
1455
  .m(function (Command, cs, config, o) {
1623
- return [
1624
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1625
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1626
- ];
1456
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
1457
  })
1628
1458
  .s("SSMIncidents", "CreateReplicationSet", {})
1629
1459
  .n("SSMIncidentsClient", "CreateReplicationSetCommand")
1630
- .f(void 0, void 0)
1631
- .ser(se_CreateReplicationSetCommand)
1632
- .de(de_CreateReplicationSetCommand)
1460
+ .sc(CreateReplicationSet)
1633
1461
  .build() {
1634
1462
  }
1635
1463
 
@@ -1637,16 +1465,11 @@ class CreateResponsePlanCommand extends smithyClient.Command
1637
1465
  .classBuilder()
1638
1466
  .ep(commonParams)
1639
1467
  .m(function (Command, cs, config, o) {
1640
- return [
1641
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1642
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1643
- ];
1468
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
1469
  })
1645
1470
  .s("SSMIncidents", "CreateResponsePlan", {})
1646
1471
  .n("SSMIncidentsClient", "CreateResponsePlanCommand")
1647
- .f(void 0, void 0)
1648
- .ser(se_CreateResponsePlanCommand)
1649
- .de(de_CreateResponsePlanCommand)
1472
+ .sc(CreateResponsePlan)
1650
1473
  .build() {
1651
1474
  }
1652
1475
 
@@ -1654,16 +1477,11 @@ class CreateTimelineEventCommand extends smithyClient.Command
1654
1477
  .classBuilder()
1655
1478
  .ep(commonParams)
1656
1479
  .m(function (Command, cs, config, o) {
1657
- return [
1658
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1659
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1660
- ];
1480
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1661
1481
  })
1662
1482
  .s("SSMIncidents", "CreateTimelineEvent", {})
1663
1483
  .n("SSMIncidentsClient", "CreateTimelineEventCommand")
1664
- .f(void 0, void 0)
1665
- .ser(se_CreateTimelineEventCommand)
1666
- .de(de_CreateTimelineEventCommand)
1484
+ .sc(CreateTimelineEvent)
1667
1485
  .build() {
1668
1486
  }
1669
1487
 
@@ -1671,16 +1489,11 @@ class DeleteIncidentRecordCommand extends smithyClient.Command
1671
1489
  .classBuilder()
1672
1490
  .ep(commonParams)
1673
1491
  .m(function (Command, cs, config, o) {
1674
- return [
1675
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1676
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1677
- ];
1492
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
1493
  })
1679
1494
  .s("SSMIncidents", "DeleteIncidentRecord", {})
1680
1495
  .n("SSMIncidentsClient", "DeleteIncidentRecordCommand")
1681
- .f(void 0, void 0)
1682
- .ser(se_DeleteIncidentRecordCommand)
1683
- .de(de_DeleteIncidentRecordCommand)
1496
+ .sc(DeleteIncidentRecord)
1684
1497
  .build() {
1685
1498
  }
1686
1499
 
@@ -1688,16 +1501,11 @@ class DeleteReplicationSetCommand extends smithyClient.Command
1688
1501
  .classBuilder()
1689
1502
  .ep(commonParams)
1690
1503
  .m(function (Command, cs, config, o) {
1691
- return [
1692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1694
- ];
1504
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1695
1505
  })
1696
1506
  .s("SSMIncidents", "DeleteReplicationSet", {})
1697
1507
  .n("SSMIncidentsClient", "DeleteReplicationSetCommand")
1698
- .f(void 0, void 0)
1699
- .ser(se_DeleteReplicationSetCommand)
1700
- .de(de_DeleteReplicationSetCommand)
1508
+ .sc(DeleteReplicationSet)
1701
1509
  .build() {
1702
1510
  }
1703
1511
 
@@ -1705,16 +1513,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
1705
1513
  .classBuilder()
1706
1514
  .ep(commonParams)
1707
1515
  .m(function (Command, cs, config, o) {
1708
- return [
1709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1711
- ];
1516
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
1517
  })
1713
1518
  .s("SSMIncidents", "DeleteResourcePolicy", {})
1714
1519
  .n("SSMIncidentsClient", "DeleteResourcePolicyCommand")
1715
- .f(void 0, void 0)
1716
- .ser(se_DeleteResourcePolicyCommand)
1717
- .de(de_DeleteResourcePolicyCommand)
1520
+ .sc(DeleteResourcePolicy)
1718
1521
  .build() {
1719
1522
  }
1720
1523
 
@@ -1722,16 +1525,11 @@ class DeleteResponsePlanCommand extends smithyClient.Command
1722
1525
  .classBuilder()
1723
1526
  .ep(commonParams)
1724
1527
  .m(function (Command, cs, config, o) {
1725
- return [
1726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1728
- ];
1528
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
1529
  })
1730
1530
  .s("SSMIncidents", "DeleteResponsePlan", {})
1731
1531
  .n("SSMIncidentsClient", "DeleteResponsePlanCommand")
1732
- .f(void 0, void 0)
1733
- .ser(se_DeleteResponsePlanCommand)
1734
- .de(de_DeleteResponsePlanCommand)
1532
+ .sc(DeleteResponsePlan)
1735
1533
  .build() {
1736
1534
  }
1737
1535
 
@@ -1739,16 +1537,11 @@ class DeleteTimelineEventCommand extends smithyClient.Command
1739
1537
  .classBuilder()
1740
1538
  .ep(commonParams)
1741
1539
  .m(function (Command, cs, config, o) {
1742
- return [
1743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1745
- ];
1540
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
1541
  })
1747
1542
  .s("SSMIncidents", "DeleteTimelineEvent", {})
1748
1543
  .n("SSMIncidentsClient", "DeleteTimelineEventCommand")
1749
- .f(void 0, void 0)
1750
- .ser(se_DeleteTimelineEventCommand)
1751
- .de(de_DeleteTimelineEventCommand)
1544
+ .sc(DeleteTimelineEvent)
1752
1545
  .build() {
1753
1546
  }
1754
1547
 
@@ -1756,16 +1549,11 @@ class GetIncidentRecordCommand extends smithyClient.Command
1756
1549
  .classBuilder()
1757
1550
  .ep(commonParams)
1758
1551
  .m(function (Command, cs, config, o) {
1759
- return [
1760
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1761
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1762
- ];
1552
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
1553
  })
1764
1554
  .s("SSMIncidents", "GetIncidentRecord", {})
1765
1555
  .n("SSMIncidentsClient", "GetIncidentRecordCommand")
1766
- .f(void 0, void 0)
1767
- .ser(se_GetIncidentRecordCommand)
1768
- .de(de_GetIncidentRecordCommand)
1556
+ .sc(GetIncidentRecord)
1769
1557
  .build() {
1770
1558
  }
1771
1559
 
@@ -1773,16 +1561,11 @@ class GetReplicationSetCommand extends smithyClient.Command
1773
1561
  .classBuilder()
1774
1562
  .ep(commonParams)
1775
1563
  .m(function (Command, cs, config, o) {
1776
- return [
1777
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1778
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1779
- ];
1564
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1780
1565
  })
1781
1566
  .s("SSMIncidents", "GetReplicationSet", {})
1782
1567
  .n("SSMIncidentsClient", "GetReplicationSetCommand")
1783
- .f(void 0, void 0)
1784
- .ser(se_GetReplicationSetCommand)
1785
- .de(de_GetReplicationSetCommand)
1568
+ .sc(GetReplicationSet)
1786
1569
  .build() {
1787
1570
  }
1788
1571
 
@@ -1790,16 +1573,11 @@ class GetResourcePoliciesCommand extends smithyClient.Command
1790
1573
  .classBuilder()
1791
1574
  .ep(commonParams)
1792
1575
  .m(function (Command, cs, config, o) {
1793
- return [
1794
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1795
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1796
- ];
1576
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
1577
  })
1798
1578
  .s("SSMIncidents", "GetResourcePolicies", {})
1799
1579
  .n("SSMIncidentsClient", "GetResourcePoliciesCommand")
1800
- .f(void 0, void 0)
1801
- .ser(se_GetResourcePoliciesCommand)
1802
- .de(de_GetResourcePoliciesCommand)
1580
+ .sc(GetResourcePolicies)
1803
1581
  .build() {
1804
1582
  }
1805
1583
 
@@ -1807,16 +1585,11 @@ class GetResponsePlanCommand extends smithyClient.Command
1807
1585
  .classBuilder()
1808
1586
  .ep(commonParams)
1809
1587
  .m(function (Command, cs, config, o) {
1810
- return [
1811
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1812
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1813
- ];
1588
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1814
1589
  })
1815
1590
  .s("SSMIncidents", "GetResponsePlan", {})
1816
1591
  .n("SSMIncidentsClient", "GetResponsePlanCommand")
1817
- .f(void 0, void 0)
1818
- .ser(se_GetResponsePlanCommand)
1819
- .de(de_GetResponsePlanCommand)
1592
+ .sc(GetResponsePlan)
1820
1593
  .build() {
1821
1594
  }
1822
1595
 
@@ -1824,16 +1597,11 @@ class GetTimelineEventCommand extends smithyClient.Command
1824
1597
  .classBuilder()
1825
1598
  .ep(commonParams)
1826
1599
  .m(function (Command, cs, config, o) {
1827
- return [
1828
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1829
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1830
- ];
1600
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1831
1601
  })
1832
1602
  .s("SSMIncidents", "GetTimelineEvent", {})
1833
1603
  .n("SSMIncidentsClient", "GetTimelineEventCommand")
1834
- .f(void 0, void 0)
1835
- .ser(se_GetTimelineEventCommand)
1836
- .de(de_GetTimelineEventCommand)
1604
+ .sc(GetTimelineEvent)
1837
1605
  .build() {
1838
1606
  }
1839
1607
 
@@ -1841,16 +1609,11 @@ class ListIncidentFindingsCommand extends smithyClient.Command
1841
1609
  .classBuilder()
1842
1610
  .ep(commonParams)
1843
1611
  .m(function (Command, cs, config, o) {
1844
- return [
1845
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1846
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1847
- ];
1612
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1848
1613
  })
1849
1614
  .s("SSMIncidents", "ListIncidentFindings", {})
1850
1615
  .n("SSMIncidentsClient", "ListIncidentFindingsCommand")
1851
- .f(void 0, void 0)
1852
- .ser(se_ListIncidentFindingsCommand)
1853
- .de(de_ListIncidentFindingsCommand)
1616
+ .sc(ListIncidentFindings)
1854
1617
  .build() {
1855
1618
  }
1856
1619
 
@@ -1858,16 +1621,11 @@ class ListIncidentRecordsCommand extends smithyClient.Command
1858
1621
  .classBuilder()
1859
1622
  .ep(commonParams)
1860
1623
  .m(function (Command, cs, config, o) {
1861
- return [
1862
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1863
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1864
- ];
1624
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1865
1625
  })
1866
1626
  .s("SSMIncidents", "ListIncidentRecords", {})
1867
1627
  .n("SSMIncidentsClient", "ListIncidentRecordsCommand")
1868
- .f(void 0, void 0)
1869
- .ser(se_ListIncidentRecordsCommand)
1870
- .de(de_ListIncidentRecordsCommand)
1628
+ .sc(ListIncidentRecords)
1871
1629
  .build() {
1872
1630
  }
1873
1631
 
@@ -1875,16 +1633,11 @@ class ListRelatedItemsCommand extends smithyClient.Command
1875
1633
  .classBuilder()
1876
1634
  .ep(commonParams)
1877
1635
  .m(function (Command, cs, config, o) {
1878
- return [
1879
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1880
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1881
- ];
1636
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1882
1637
  })
1883
1638
  .s("SSMIncidents", "ListRelatedItems", {})
1884
1639
  .n("SSMIncidentsClient", "ListRelatedItemsCommand")
1885
- .f(void 0, void 0)
1886
- .ser(se_ListRelatedItemsCommand)
1887
- .de(de_ListRelatedItemsCommand)
1640
+ .sc(ListRelatedItems)
1888
1641
  .build() {
1889
1642
  }
1890
1643
 
@@ -1892,16 +1645,11 @@ class ListReplicationSetsCommand extends smithyClient.Command
1892
1645
  .classBuilder()
1893
1646
  .ep(commonParams)
1894
1647
  .m(function (Command, cs, config, o) {
1895
- return [
1896
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1897
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1898
- ];
1648
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1899
1649
  })
1900
1650
  .s("SSMIncidents", "ListReplicationSets", {})
1901
1651
  .n("SSMIncidentsClient", "ListReplicationSetsCommand")
1902
- .f(void 0, void 0)
1903
- .ser(se_ListReplicationSetsCommand)
1904
- .de(de_ListReplicationSetsCommand)
1652
+ .sc(ListReplicationSets)
1905
1653
  .build() {
1906
1654
  }
1907
1655
 
@@ -1909,16 +1657,11 @@ class ListResponsePlansCommand extends smithyClient.Command
1909
1657
  .classBuilder()
1910
1658
  .ep(commonParams)
1911
1659
  .m(function (Command, cs, config, o) {
1912
- return [
1913
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1914
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1915
- ];
1660
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1916
1661
  })
1917
1662
  .s("SSMIncidents", "ListResponsePlans", {})
1918
1663
  .n("SSMIncidentsClient", "ListResponsePlansCommand")
1919
- .f(void 0, void 0)
1920
- .ser(se_ListResponsePlansCommand)
1921
- .de(de_ListResponsePlansCommand)
1664
+ .sc(ListResponsePlans)
1922
1665
  .build() {
1923
1666
  }
1924
1667
 
@@ -1926,16 +1669,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1926
1669
  .classBuilder()
1927
1670
  .ep(commonParams)
1928
1671
  .m(function (Command, cs, config, o) {
1929
- return [
1930
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1931
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1932
- ];
1672
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1933
1673
  })
1934
1674
  .s("SSMIncidents", "ListTagsForResource", {})
1935
1675
  .n("SSMIncidentsClient", "ListTagsForResourceCommand")
1936
- .f(void 0, void 0)
1937
- .ser(se_ListTagsForResourceCommand)
1938
- .de(de_ListTagsForResourceCommand)
1676
+ .sc(ListTagsForResource)
1939
1677
  .build() {
1940
1678
  }
1941
1679
 
@@ -1943,16 +1681,11 @@ class ListTimelineEventsCommand extends smithyClient.Command
1943
1681
  .classBuilder()
1944
1682
  .ep(commonParams)
1945
1683
  .m(function (Command, cs, config, o) {
1946
- return [
1947
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1948
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1949
- ];
1684
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1950
1685
  })
1951
1686
  .s("SSMIncidents", "ListTimelineEvents", {})
1952
1687
  .n("SSMIncidentsClient", "ListTimelineEventsCommand")
1953
- .f(void 0, void 0)
1954
- .ser(se_ListTimelineEventsCommand)
1955
- .de(de_ListTimelineEventsCommand)
1688
+ .sc(ListTimelineEvents)
1956
1689
  .build() {
1957
1690
  }
1958
1691
 
@@ -1960,16 +1693,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
1960
1693
  .classBuilder()
1961
1694
  .ep(commonParams)
1962
1695
  .m(function (Command, cs, config, o) {
1963
- return [
1964
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1965
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1966
- ];
1696
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1967
1697
  })
1968
1698
  .s("SSMIncidents", "PutResourcePolicy", {})
1969
1699
  .n("SSMIncidentsClient", "PutResourcePolicyCommand")
1970
- .f(void 0, void 0)
1971
- .ser(se_PutResourcePolicyCommand)
1972
- .de(de_PutResourcePolicyCommand)
1700
+ .sc(PutResourcePolicy)
1973
1701
  .build() {
1974
1702
  }
1975
1703
 
@@ -1977,16 +1705,11 @@ class StartIncidentCommand extends smithyClient.Command
1977
1705
  .classBuilder()
1978
1706
  .ep(commonParams)
1979
1707
  .m(function (Command, cs, config, o) {
1980
- return [
1981
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1982
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1983
- ];
1708
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1984
1709
  })
1985
1710
  .s("SSMIncidents", "StartIncident", {})
1986
1711
  .n("SSMIncidentsClient", "StartIncidentCommand")
1987
- .f(void 0, void 0)
1988
- .ser(se_StartIncidentCommand)
1989
- .de(de_StartIncidentCommand)
1712
+ .sc(StartIncident)
1990
1713
  .build() {
1991
1714
  }
1992
1715
 
@@ -1994,16 +1717,11 @@ class TagResourceCommand extends smithyClient.Command
1994
1717
  .classBuilder()
1995
1718
  .ep(commonParams)
1996
1719
  .m(function (Command, cs, config, o) {
1997
- return [
1998
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1999
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2000
- ];
1720
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2001
1721
  })
2002
1722
  .s("SSMIncidents", "TagResource", {})
2003
1723
  .n("SSMIncidentsClient", "TagResourceCommand")
2004
- .f(void 0, void 0)
2005
- .ser(se_TagResourceCommand)
2006
- .de(de_TagResourceCommand)
1724
+ .sc(TagResource)
2007
1725
  .build() {
2008
1726
  }
2009
1727
 
@@ -2011,16 +1729,11 @@ class UntagResourceCommand extends smithyClient.Command
2011
1729
  .classBuilder()
2012
1730
  .ep(commonParams)
2013
1731
  .m(function (Command, cs, config, o) {
2014
- return [
2015
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2016
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2017
- ];
1732
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2018
1733
  })
2019
1734
  .s("SSMIncidents", "UntagResource", {})
2020
1735
  .n("SSMIncidentsClient", "UntagResourceCommand")
2021
- .f(void 0, void 0)
2022
- .ser(se_UntagResourceCommand)
2023
- .de(de_UntagResourceCommand)
1736
+ .sc(UntagResource)
2024
1737
  .build() {
2025
1738
  }
2026
1739
 
@@ -2028,16 +1741,11 @@ class UpdateDeletionProtectionCommand extends smithyClient.Command
2028
1741
  .classBuilder()
2029
1742
  .ep(commonParams)
2030
1743
  .m(function (Command, cs, config, o) {
2031
- return [
2032
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2033
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2034
- ];
1744
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2035
1745
  })
2036
1746
  .s("SSMIncidents", "UpdateDeletionProtection", {})
2037
1747
  .n("SSMIncidentsClient", "UpdateDeletionProtectionCommand")
2038
- .f(void 0, void 0)
2039
- .ser(se_UpdateDeletionProtectionCommand)
2040
- .de(de_UpdateDeletionProtectionCommand)
1748
+ .sc(UpdateDeletionProtection)
2041
1749
  .build() {
2042
1750
  }
2043
1751
 
@@ -2045,16 +1753,11 @@ class UpdateIncidentRecordCommand extends smithyClient.Command
2045
1753
  .classBuilder()
2046
1754
  .ep(commonParams)
2047
1755
  .m(function (Command, cs, config, o) {
2048
- return [
2049
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2050
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2051
- ];
1756
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2052
1757
  })
2053
1758
  .s("SSMIncidents", "UpdateIncidentRecord", {})
2054
1759
  .n("SSMIncidentsClient", "UpdateIncidentRecordCommand")
2055
- .f(void 0, void 0)
2056
- .ser(se_UpdateIncidentRecordCommand)
2057
- .de(de_UpdateIncidentRecordCommand)
1760
+ .sc(UpdateIncidentRecord)
2058
1761
  .build() {
2059
1762
  }
2060
1763
 
@@ -2062,16 +1765,11 @@ class UpdateRelatedItemsCommand extends smithyClient.Command
2062
1765
  .classBuilder()
2063
1766
  .ep(commonParams)
2064
1767
  .m(function (Command, cs, config, o) {
2065
- return [
2066
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2067
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2068
- ];
1768
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2069
1769
  })
2070
1770
  .s("SSMIncidents", "UpdateRelatedItems", {})
2071
1771
  .n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
2072
- .f(void 0, void 0)
2073
- .ser(se_UpdateRelatedItemsCommand)
2074
- .de(de_UpdateRelatedItemsCommand)
1772
+ .sc(UpdateRelatedItems)
2075
1773
  .build() {
2076
1774
  }
2077
1775
 
@@ -2079,16 +1777,11 @@ class UpdateReplicationSetCommand extends smithyClient.Command
2079
1777
  .classBuilder()
2080
1778
  .ep(commonParams)
2081
1779
  .m(function (Command, cs, config, o) {
2082
- return [
2083
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2084
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2085
- ];
1780
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2086
1781
  })
2087
1782
  .s("SSMIncidents", "UpdateReplicationSet", {})
2088
1783
  .n("SSMIncidentsClient", "UpdateReplicationSetCommand")
2089
- .f(void 0, void 0)
2090
- .ser(se_UpdateReplicationSetCommand)
2091
- .de(de_UpdateReplicationSetCommand)
1784
+ .sc(UpdateReplicationSet)
2092
1785
  .build() {
2093
1786
  }
2094
1787
 
@@ -2096,16 +1789,11 @@ class UpdateResponsePlanCommand extends smithyClient.Command
2096
1789
  .classBuilder()
2097
1790
  .ep(commonParams)
2098
1791
  .m(function (Command, cs, config, o) {
2099
- return [
2100
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2101
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2102
- ];
1792
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2103
1793
  })
2104
1794
  .s("SSMIncidents", "UpdateResponsePlan", {})
2105
1795
  .n("SSMIncidentsClient", "UpdateResponsePlanCommand")
2106
- .f(void 0, void 0)
2107
- .ser(se_UpdateResponsePlanCommand)
2108
- .de(de_UpdateResponsePlanCommand)
1796
+ .sc(UpdateResponsePlan)
2109
1797
  .build() {
2110
1798
  }
2111
1799
 
@@ -2113,16 +1801,11 @@ class UpdateTimelineEventCommand extends smithyClient.Command
2113
1801
  .classBuilder()
2114
1802
  .ep(commonParams)
2115
1803
  .m(function (Command, cs, config, o) {
2116
- return [
2117
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2118
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2119
- ];
1804
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2120
1805
  })
2121
1806
  .s("SSMIncidents", "UpdateTimelineEvent", {})
2122
1807
  .n("SSMIncidentsClient", "UpdateTimelineEventCommand")
2123
- .f(void 0, void 0)
2124
- .ser(se_UpdateTimelineEventCommand)
2125
- .de(de_UpdateTimelineEventCommand)
1808
+ .sc(UpdateTimelineEvent)
2126
1809
  .build() {
2127
1810
  }
2128
1811
 
@@ -2284,9 +1967,9 @@ Object.defineProperty(exports, "__Client", {
2284
1967
  enumerable: true,
2285
1968
  get: function () { return smithyClient.Client; }
2286
1969
  });
2287
- exports.AccessDeniedException = AccessDeniedException;
1970
+ exports.AccessDeniedException = AccessDeniedException$1;
2288
1971
  exports.BatchGetIncidentFindingsCommand = BatchGetIncidentFindingsCommand;
2289
- exports.ConflictException = ConflictException;
1972
+ exports.ConflictException = ConflictException$1;
2290
1973
  exports.CreateReplicationSetCommand = CreateReplicationSetCommand;
2291
1974
  exports.CreateResponsePlanCommand = CreateResponsePlanCommand;
2292
1975
  exports.CreateTimelineEventCommand = CreateTimelineEventCommand;
@@ -2301,7 +1984,7 @@ exports.GetResourcePoliciesCommand = GetResourcePoliciesCommand;
2301
1984
  exports.GetResponsePlanCommand = GetResponsePlanCommand;
2302
1985
  exports.GetTimelineEventCommand = GetTimelineEventCommand;
2303
1986
  exports.IncidentRecordStatus = IncidentRecordStatus;
2304
- exports.InternalServerException = InternalServerException;
1987
+ exports.InternalServerException = InternalServerException$1;
2305
1988
  exports.ItemType = ItemType;
2306
1989
  exports.ListIncidentFindingsCommand = ListIncidentFindingsCommand;
2307
1990
  exports.ListIncidentRecordsCommand = ListIncidentRecordsCommand;
@@ -2313,18 +1996,18 @@ exports.ListTimelineEventsCommand = ListTimelineEventsCommand;
2313
1996
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2314
1997
  exports.RegionStatus = RegionStatus;
2315
1998
  exports.ReplicationSetStatus = ReplicationSetStatus;
2316
- exports.ResourceNotFoundException = ResourceNotFoundException;
1999
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2317
2000
  exports.ResourceType = ResourceType;
2318
2001
  exports.SSMIncidents = SSMIncidents;
2319
2002
  exports.SSMIncidentsClient = SSMIncidentsClient;
2320
- exports.SSMIncidentsServiceException = SSMIncidentsServiceException;
2003
+ exports.SSMIncidentsServiceException = SSMIncidentsServiceException$1;
2321
2004
  exports.ServiceCode = ServiceCode;
2322
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2005
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2323
2006
  exports.SortOrder = SortOrder;
2324
2007
  exports.SsmTargetAccount = SsmTargetAccount;
2325
2008
  exports.StartIncidentCommand = StartIncidentCommand;
2326
2009
  exports.TagResourceCommand = TagResourceCommand;
2327
- exports.ThrottlingException = ThrottlingException;
2010
+ exports.ThrottlingException = ThrottlingException$1;
2328
2011
  exports.TimelineEventSort = TimelineEventSort;
2329
2012
  exports.UntagResourceCommand = UntagResourceCommand;
2330
2013
  exports.UpdateDeletionProtectionCommand = UpdateDeletionProtectionCommand;
@@ -2333,7 +2016,7 @@ exports.UpdateRelatedItemsCommand = UpdateRelatedItemsCommand;
2333
2016
  exports.UpdateReplicationSetCommand = UpdateReplicationSetCommand;
2334
2017
  exports.UpdateResponsePlanCommand = UpdateResponsePlanCommand;
2335
2018
  exports.UpdateTimelineEventCommand = UpdateTimelineEventCommand;
2336
- exports.ValidationException = ValidationException;
2019
+ exports.ValidationException = ValidationException$1;
2337
2020
  exports.VariableType = VariableType;
2338
2021
  exports.paginateGetResourcePolicies = paginateGetResourcePolicies;
2339
2022
  exports.paginateListIncidentFindings = paginateListIncidentFindings;