@aws-sdk/client-ssm-incidents 3.927.0 → 3.929.0

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