@aws-sdk/client-ssm-incidents 3.758.0 → 3.774.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 (2) hide show
  1. package/dist-cjs/index.js +92 -114
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  Action: () => Action,
26
26
  AttributeValueList: () => AttributeValueList,
@@ -98,7 +98,7 @@ __export(src_exports, {
98
98
  waitUntilWaitForReplicationSetActive: () => waitUntilWaitForReplicationSetActive,
99
99
  waitUntilWaitForReplicationSetDeleted: () => waitUntilWaitForReplicationSetDeleted
100
100
  });
101
- module.exports = __toCommonJS(src_exports);
101
+ module.exports = __toCommonJS(index_exports);
102
102
 
103
103
  // src/SSMIncidentsClient.ts
104
104
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -225,9 +225,9 @@ var SSMIncidentsClient = class extends import_smithy_client.Client {
225
225
  this.middlewareStack.use(
226
226
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
227
227
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSMIncidentsHttpAuthSchemeParametersProvider,
228
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
228
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
229
229
  "aws.auth#sigv4": config.credentials
230
- })
230
+ }), "identityProviderConfigProvider")
231
231
  })
232
232
  );
233
233
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -297,8 +297,7 @@ var VariableType = {
297
297
  var DynamicSsmParameterValue;
298
298
  ((DynamicSsmParameterValue3) => {
299
299
  DynamicSsmParameterValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
300
- if (value.variable !== void 0)
301
- return visitor.variable(value.variable);
300
+ if (value.variable !== void 0) return visitor.variable(value.variable);
302
301
  return visitor._(value.$unknown[0], value.$unknown[1]);
303
302
  }, "visit");
304
303
  })(DynamicSsmParameterValue || (DynamicSsmParameterValue = {}));
@@ -309,34 +308,29 @@ var SsmTargetAccount = {
309
308
  var Action;
310
309
  ((Action3) => {
311
310
  Action3.visit = /* @__PURE__ */ __name((value, visitor) => {
312
- if (value.ssmAutomation !== void 0)
313
- return visitor.ssmAutomation(value.ssmAutomation);
311
+ if (value.ssmAutomation !== void 0) return visitor.ssmAutomation(value.ssmAutomation);
314
312
  return visitor._(value.$unknown[0], value.$unknown[1]);
315
313
  }, "visit");
316
314
  })(Action || (Action = {}));
317
315
  var AttributeValueList;
318
316
  ((AttributeValueList3) => {
319
317
  AttributeValueList3.visit = /* @__PURE__ */ __name((value, visitor) => {
320
- if (value.stringValues !== void 0)
321
- return visitor.stringValues(value.stringValues);
322
- if (value.integerValues !== void 0)
323
- return visitor.integerValues(value.integerValues);
318
+ if (value.stringValues !== void 0) return visitor.stringValues(value.stringValues);
319
+ if (value.integerValues !== void 0) return visitor.integerValues(value.integerValues);
324
320
  return visitor._(value.$unknown[0], value.$unknown[1]);
325
321
  }, "visit");
326
322
  })(AttributeValueList || (AttributeValueList = {}));
327
323
  var AutomationExecution;
328
324
  ((AutomationExecution2) => {
329
325
  AutomationExecution2.visit = /* @__PURE__ */ __name((value, visitor) => {
330
- if (value.ssmExecutionArn !== void 0)
331
- return visitor.ssmExecutionArn(value.ssmExecutionArn);
326
+ if (value.ssmExecutionArn !== void 0) return visitor.ssmExecutionArn(value.ssmExecutionArn);
332
327
  return visitor._(value.$unknown[0], value.$unknown[1]);
333
328
  }, "visit");
334
329
  })(AutomationExecution || (AutomationExecution = {}));
335
330
  var FindingDetails;
336
331
  ((FindingDetails3) => {
337
332
  FindingDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
338
- if (value.codeDeployDeployment !== void 0)
339
- return visitor.codeDeployDeployment(value.codeDeployDeployment);
333
+ if (value.codeDeployDeployment !== void 0) return visitor.codeDeployDeployment(value.codeDeployDeployment);
340
334
  if (value.cloudFormationStackUpdate !== void 0)
341
335
  return visitor.cloudFormationStackUpdate(value.cloudFormationStackUpdate);
342
336
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -451,22 +445,17 @@ var ValidationException = class _ValidationException extends SSMIncidentsService
451
445
  var ChatChannel;
452
446
  ((ChatChannel3) => {
453
447
  ChatChannel3.visit = /* @__PURE__ */ __name((value, visitor) => {
454
- if (value.empty !== void 0)
455
- return visitor.empty(value.empty);
456
- if (value.chatbotSns !== void 0)
457
- return visitor.chatbotSns(value.chatbotSns);
448
+ if (value.empty !== void 0) return visitor.empty(value.empty);
449
+ if (value.chatbotSns !== void 0) return visitor.chatbotSns(value.chatbotSns);
458
450
  return visitor._(value.$unknown[0], value.$unknown[1]);
459
451
  }, "visit");
460
452
  })(ChatChannel || (ChatChannel = {}));
461
453
  var Condition;
462
454
  ((Condition2) => {
463
455
  Condition2.visit = /* @__PURE__ */ __name((value, visitor) => {
464
- if (value.before !== void 0)
465
- return visitor.before(value.before);
466
- if (value.after !== void 0)
467
- return visitor.after(value.after);
468
- if (value.equals !== void 0)
469
- return visitor.equals(value.equals);
456
+ if (value.before !== void 0) return visitor.before(value.before);
457
+ if (value.after !== void 0) return visitor.after(value.after);
458
+ if (value.equals !== void 0) return visitor.equals(value.equals);
470
459
  return visitor._(value.$unknown[0], value.$unknown[1]);
471
460
  }, "visit");
472
461
  })(Condition || (Condition = {}));
@@ -551,26 +540,22 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
551
540
  var NotificationTargetItem;
552
541
  ((NotificationTargetItem3) => {
553
542
  NotificationTargetItem3.visit = /* @__PURE__ */ __name((value, visitor) => {
554
- if (value.snsTopicArn !== void 0)
555
- return visitor.snsTopicArn(value.snsTopicArn);
543
+ if (value.snsTopicArn !== void 0) return visitor.snsTopicArn(value.snsTopicArn);
556
544
  return visitor._(value.$unknown[0], value.$unknown[1]);
557
545
  }, "visit");
558
546
  })(NotificationTargetItem || (NotificationTargetItem = {}));
559
547
  var Integration;
560
548
  ((Integration3) => {
561
549
  Integration3.visit = /* @__PURE__ */ __name((value, visitor) => {
562
- if (value.pagerDutyConfiguration !== void 0)
563
- return visitor.pagerDutyConfiguration(value.pagerDutyConfiguration);
550
+ if (value.pagerDutyConfiguration !== void 0) return visitor.pagerDutyConfiguration(value.pagerDutyConfiguration);
564
551
  return visitor._(value.$unknown[0], value.$unknown[1]);
565
552
  }, "visit");
566
553
  })(Integration || (Integration = {}));
567
554
  var EventReference;
568
555
  ((EventReference3) => {
569
556
  EventReference3.visit = /* @__PURE__ */ __name((value, visitor) => {
570
- if (value.resource !== void 0)
571
- return visitor.resource(value.resource);
572
- if (value.relatedItemId !== void 0)
573
- return visitor.relatedItemId(value.relatedItemId);
557
+ if (value.resource !== void 0) return visitor.resource(value.resource);
558
+ if (value.relatedItemId !== void 0) return visitor.relatedItemId(value.relatedItemId);
574
559
  return visitor._(value.$unknown[0], value.$unknown[1]);
575
560
  }, "visit");
576
561
  })(EventReference || (EventReference = {}));
@@ -632,12 +617,9 @@ var ItemType = {
632
617
  var ItemValue;
633
618
  ((ItemValue3) => {
634
619
  ItemValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
635
- if (value.arn !== void 0)
636
- return visitor.arn(value.arn);
637
- if (value.url !== void 0)
638
- return visitor.url(value.url);
639
- if (value.metricDefinition !== void 0)
640
- return visitor.metricDefinition(value.metricDefinition);
620
+ if (value.arn !== void 0) return visitor.arn(value.arn);
621
+ if (value.url !== void 0) return visitor.url(value.url);
622
+ if (value.metricDefinition !== void 0) return visitor.metricDefinition(value.metricDefinition);
641
623
  if (value.pagerDutyIncidentDetail !== void 0)
642
624
  return visitor.pagerDutyIncidentDetail(value.pagerDutyIncidentDetail);
643
625
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -653,20 +635,16 @@ var SortOrder = {
653
635
  var RelatedItemsUpdate;
654
636
  ((RelatedItemsUpdate3) => {
655
637
  RelatedItemsUpdate3.visit = /* @__PURE__ */ __name((value, visitor) => {
656
- if (value.itemToAdd !== void 0)
657
- return visitor.itemToAdd(value.itemToAdd);
658
- if (value.itemToRemove !== void 0)
659
- return visitor.itemToRemove(value.itemToRemove);
638
+ if (value.itemToAdd !== void 0) return visitor.itemToAdd(value.itemToAdd);
639
+ if (value.itemToRemove !== void 0) return visitor.itemToRemove(value.itemToRemove);
660
640
  return visitor._(value.$unknown[0], value.$unknown[1]);
661
641
  }, "visit");
662
642
  })(RelatedItemsUpdate || (RelatedItemsUpdate = {}));
663
643
  var UpdateReplicationSetAction;
664
644
  ((UpdateReplicationSetAction3) => {
665
645
  UpdateReplicationSetAction3.visit = /* @__PURE__ */ __name((value, visitor) => {
666
- if (value.addRegionAction !== void 0)
667
- return visitor.addRegionAction(value.addRegionAction);
668
- if (value.deleteRegionAction !== void 0)
669
- return visitor.deleteRegionAction(value.deleteRegionAction);
646
+ if (value.addRegionAction !== void 0) return visitor.addRegionAction(value.addRegionAction);
647
+ if (value.deleteRegionAction !== void 0) return visitor.deleteRegionAction(value.deleteRegionAction);
670
648
  return visitor._(value.$unknown[0], value.$unknown[1]);
671
649
  }, "visit");
672
650
  })(UpdateReplicationSetAction || (UpdateReplicationSetAction = {}));
@@ -681,7 +659,7 @@ var se_BatchGetIncidentFindingsCommand = /* @__PURE__ */ __name(async (input, co
681
659
  let body;
682
660
  body = JSON.stringify(
683
661
  (0, import_smithy_client.take)(input, {
684
- findingIds: (_) => (0, import_smithy_client._json)(_),
662
+ findingIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "findingIds"),
685
663
  incidentRecordArn: []
686
664
  })
687
665
  );
@@ -698,8 +676,8 @@ var se_CreateReplicationSetCommand = /* @__PURE__ */ __name(async (input, contex
698
676
  body = JSON.stringify(
699
677
  (0, import_smithy_client.take)(input, {
700
678
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
701
- regions: (_) => (0, import_smithy_client._json)(_),
702
- tags: (_) => (0, import_smithy_client._json)(_)
679
+ regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions"),
680
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
703
681
  })
704
682
  );
705
683
  b.m("POST").h(headers).b(body);
@@ -714,15 +692,15 @@ var se_CreateResponsePlanCommand = /* @__PURE__ */ __name(async (input, context)
714
692
  let body;
715
693
  body = JSON.stringify(
716
694
  (0, import_smithy_client.take)(input, {
717
- actions: (_) => (0, import_smithy_client._json)(_),
718
- chatChannel: (_) => (0, import_smithy_client._json)(_),
695
+ actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actions"),
696
+ chatChannel: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "chatChannel"),
719
697
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
720
698
  displayName: [],
721
- engagements: (_) => (0, import_smithy_client._json)(_),
722
- incidentTemplate: (_) => (0, import_smithy_client._json)(_),
723
- integrations: (_) => (0, import_smithy_client._json)(_),
699
+ engagements: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "engagements"),
700
+ incidentTemplate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incidentTemplate"),
701
+ integrations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "integrations"),
724
702
  name: [],
725
- tags: (_) => (0, import_smithy_client._json)(_)
703
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
726
704
  })
727
705
  );
728
706
  b.m("POST").h(headers).b(body);
@@ -739,8 +717,8 @@ var se_CreateTimelineEventCommand = /* @__PURE__ */ __name(async (input, context
739
717
  (0, import_smithy_client.take)(input, {
740
718
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
741
719
  eventData: [],
742
- eventReferences: (_) => (0, import_smithy_client._json)(_),
743
- eventTime: (_) => _.getTime() / 1e3,
720
+ eventReferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventReferences"),
721
+ eventTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "eventTime"),
744
722
  eventType: [],
745
723
  incidentRecordArn: []
746
724
  })
@@ -911,7 +889,7 @@ var se_ListIncidentRecordsCommand = /* @__PURE__ */ __name(async (input, context
911
889
  let body;
912
890
  body = JSON.stringify(
913
891
  (0, import_smithy_client.take)(input, {
914
- filters: (_) => se_FilterList(_, context),
892
+ filters: /* @__PURE__ */ __name((_) => se_FilterList(_, context), "filters"),
915
893
  maxResults: [],
916
894
  nextToken: []
917
895
  })
@@ -986,7 +964,7 @@ var se_ListTimelineEventsCommand = /* @__PURE__ */ __name(async (input, context)
986
964
  let body;
987
965
  body = JSON.stringify(
988
966
  (0, import_smithy_client.take)(input, {
989
- filters: (_) => se_FilterList(_, context),
967
+ filters: /* @__PURE__ */ __name((_) => se_FilterList(_, context), "filters"),
990
968
  incidentRecordArn: [],
991
969
  maxResults: [],
992
970
  nextToken: [],
@@ -1024,10 +1002,10 @@ var se_StartIncidentCommand = /* @__PURE__ */ __name(async (input, context) => {
1024
1002
  (0, import_smithy_client.take)(input, {
1025
1003
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1026
1004
  impact: [],
1027
- relatedItems: (_) => (0, import_smithy_client._json)(_),
1005
+ relatedItems: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "relatedItems"),
1028
1006
  responsePlanArn: [],
1029
1007
  title: [],
1030
- triggerDetails: (_) => se_TriggerDetails(_, context)
1008
+ triggerDetails: /* @__PURE__ */ __name((_) => se_TriggerDetails(_, context), "triggerDetails")
1031
1009
  })
1032
1010
  );
1033
1011
  b.m("POST").h(headers).b(body);
@@ -1043,7 +1021,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1043
1021
  let body;
1044
1022
  body = JSON.stringify(
1045
1023
  (0, import_smithy_client.take)(input, {
1046
- tags: (_) => (0, import_smithy_client._json)(_)
1024
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1047
1025
  })
1048
1026
  );
1049
1027
  b.m("POST").h(headers).b(body);
@@ -1088,10 +1066,10 @@ var se_UpdateIncidentRecordCommand = /* @__PURE__ */ __name(async (input, contex
1088
1066
  body = JSON.stringify(
1089
1067
  (0, import_smithy_client.take)(input, {
1090
1068
  arn: [],
1091
- chatChannel: (_) => (0, import_smithy_client._json)(_),
1069
+ chatChannel: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "chatChannel"),
1092
1070
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1093
1071
  impact: [],
1094
- notificationTargets: (_) => (0, import_smithy_client._json)(_),
1072
+ notificationTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationTargets"),
1095
1073
  status: [],
1096
1074
  summary: [],
1097
1075
  title: []
@@ -1111,7 +1089,7 @@ var se_UpdateRelatedItemsCommand = /* @__PURE__ */ __name(async (input, context)
1111
1089
  (0, import_smithy_client.take)(input, {
1112
1090
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1113
1091
  incidentRecordArn: [],
1114
- relatedItemsUpdate: (_) => (0, import_smithy_client._json)(_)
1092
+ relatedItemsUpdate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "relatedItemsUpdate")
1115
1093
  })
1116
1094
  );
1117
1095
  b.m("POST").h(headers).b(body);
@@ -1126,7 +1104,7 @@ var se_UpdateReplicationSetCommand = /* @__PURE__ */ __name(async (input, contex
1126
1104
  let body;
1127
1105
  body = JSON.stringify(
1128
1106
  (0, import_smithy_client.take)(input, {
1129
- actions: (_) => (0, import_smithy_client._json)(_),
1107
+ actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actions"),
1130
1108
  arn: [],
1131
1109
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
1132
1110
  })
@@ -1143,19 +1121,19 @@ var se_UpdateResponsePlanCommand = /* @__PURE__ */ __name(async (input, context)
1143
1121
  let body;
1144
1122
  body = JSON.stringify(
1145
1123
  (0, import_smithy_client.take)(input, {
1146
- actions: (_) => (0, import_smithy_client._json)(_),
1124
+ actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actions"),
1147
1125
  arn: [],
1148
- chatChannel: (_) => (0, import_smithy_client._json)(_),
1126
+ chatChannel: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "chatChannel"),
1149
1127
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1150
1128
  displayName: [],
1151
- engagements: (_) => (0, import_smithy_client._json)(_),
1129
+ engagements: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "engagements"),
1152
1130
  incidentTemplateDedupeString: [],
1153
1131
  incidentTemplateImpact: [],
1154
- incidentTemplateNotificationTargets: (_) => (0, import_smithy_client._json)(_),
1132
+ incidentTemplateNotificationTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incidentTemplateNotificationTargets"),
1155
1133
  incidentTemplateSummary: [],
1156
- incidentTemplateTags: (_) => (0, import_smithy_client._json)(_),
1134
+ incidentTemplateTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incidentTemplateTags"),
1157
1135
  incidentTemplateTitle: [],
1158
- integrations: (_) => (0, import_smithy_client._json)(_)
1136
+ integrations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "integrations")
1159
1137
  })
1160
1138
  );
1161
1139
  b.m("POST").h(headers).b(body);
@@ -1173,8 +1151,8 @@ var se_UpdateTimelineEventCommand = /* @__PURE__ */ __name(async (input, context
1173
1151
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1174
1152
  eventData: [],
1175
1153
  eventId: [],
1176
- eventReferences: (_) => (0, import_smithy_client._json)(_),
1177
- eventTime: (_) => _.getTime() / 1e3,
1154
+ eventReferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventReferences"),
1155
+ eventTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "eventTime"),
1178
1156
  eventType: [],
1179
1157
  incidentRecordArn: []
1180
1158
  })
@@ -1192,7 +1170,7 @@ var de_BatchGetIncidentFindingsCommand = /* @__PURE__ */ __name(async (output, c
1192
1170
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1193
1171
  const doc = (0, import_smithy_client.take)(data, {
1194
1172
  errors: import_smithy_client._json,
1195
- findings: (_) => de_FindingList(_, context)
1173
+ findings: /* @__PURE__ */ __name((_) => de_FindingList(_, context), "findings")
1196
1174
  });
1197
1175
  Object.assign(contents, doc);
1198
1176
  return contents;
@@ -1299,7 +1277,7 @@ var de_GetIncidentRecordCommand = /* @__PURE__ */ __name(async (output, context)
1299
1277
  });
1300
1278
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1301
1279
  const doc = (0, import_smithy_client.take)(data, {
1302
- incidentRecord: (_) => de_IncidentRecord(_, context)
1280
+ incidentRecord: /* @__PURE__ */ __name((_) => de_IncidentRecord(_, context), "incidentRecord")
1303
1281
  });
1304
1282
  Object.assign(contents, doc);
1305
1283
  return contents;
@@ -1313,7 +1291,7 @@ var de_GetReplicationSetCommand = /* @__PURE__ */ __name(async (output, context)
1313
1291
  });
1314
1292
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1315
1293
  const doc = (0, import_smithy_client.take)(data, {
1316
- replicationSet: (_) => de_ReplicationSet(_, context)
1294
+ replicationSet: /* @__PURE__ */ __name((_) => de_ReplicationSet(_, context), "replicationSet")
1317
1295
  });
1318
1296
  Object.assign(contents, doc);
1319
1297
  return contents;
@@ -1344,7 +1322,7 @@ var de_GetResponsePlanCommand = /* @__PURE__ */ __name(async (output, context) =
1344
1322
  const doc = (0, import_smithy_client.take)(data, {
1345
1323
  actions: import_smithy_client._json,
1346
1324
  arn: import_smithy_client.expectString,
1347
- chatChannel: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1325
+ chatChannel: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "chatChannel"),
1348
1326
  displayName: import_smithy_client.expectString,
1349
1327
  engagements: import_smithy_client._json,
1350
1328
  incidentTemplate: import_smithy_client._json,
@@ -1363,7 +1341,7 @@ var de_GetTimelineEventCommand = /* @__PURE__ */ __name(async (output, context)
1363
1341
  });
1364
1342
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1365
1343
  const doc = (0, import_smithy_client.take)(data, {
1366
- event: (_) => de_TimelineEvent(_, context)
1344
+ event: /* @__PURE__ */ __name((_) => de_TimelineEvent(_, context), "event")
1367
1345
  });
1368
1346
  Object.assign(contents, doc);
1369
1347
  return contents;
@@ -1377,7 +1355,7 @@ var de_ListIncidentFindingsCommand = /* @__PURE__ */ __name(async (output, conte
1377
1355
  });
1378
1356
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1379
1357
  const doc = (0, import_smithy_client.take)(data, {
1380
- findings: (_) => de_FindingSummaryList(_, context),
1358
+ findings: /* @__PURE__ */ __name((_) => de_FindingSummaryList(_, context), "findings"),
1381
1359
  nextToken: import_smithy_client.expectString
1382
1360
  });
1383
1361
  Object.assign(contents, doc);
@@ -1392,7 +1370,7 @@ var de_ListIncidentRecordsCommand = /* @__PURE__ */ __name(async (output, contex
1392
1370
  });
1393
1371
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1394
1372
  const doc = (0, import_smithy_client.take)(data, {
1395
- incidentRecordSummaries: (_) => de_IncidentRecordSummaryList(_, context),
1373
+ incidentRecordSummaries: /* @__PURE__ */ __name((_) => de_IncidentRecordSummaryList(_, context), "incidentRecordSummaries"),
1396
1374
  nextToken: import_smithy_client.expectString
1397
1375
  });
1398
1376
  Object.assign(contents, doc);
@@ -1466,7 +1444,7 @@ var de_ListTimelineEventsCommand = /* @__PURE__ */ __name(async (output, context
1466
1444
  });
1467
1445
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1468
1446
  const doc = (0, import_smithy_client.take)(data, {
1469
- eventSummaries: (_) => de_EventSummaryList(_, context),
1447
+ eventSummaries: /* @__PURE__ */ __name((_) => de_EventSummaryList(_, context), "eventSummaries"),
1470
1448
  nextToken: import_smithy_client.expectString
1471
1449
  });
1472
1450
  Object.assign(contents, doc);
@@ -1638,7 +1616,7 @@ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, contex
1638
1616
  message: import_smithy_client.expectString,
1639
1617
  resourceIdentifier: import_smithy_client.expectString,
1640
1618
  resourceType: import_smithy_client.expectString,
1641
- retryAfter: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1619
+ retryAfter: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "retryAfter")
1642
1620
  });
1643
1621
  Object.assign(contents, doc);
1644
1622
  const exception = new ConflictException({
@@ -1722,15 +1700,15 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
1722
1700
  }, "de_ValidationExceptionRes");
1723
1701
  var se_Condition = /* @__PURE__ */ __name((input, context) => {
1724
1702
  return Condition.visit(input, {
1725
- after: (value) => ({ after: value.getTime() / 1e3 }),
1726
- before: (value) => ({ before: value.getTime() / 1e3 }),
1727
- equals: (value) => ({ equals: (0, import_smithy_client._json)(value) }),
1728
- _: (name, value) => ({ [name]: value })
1703
+ after: /* @__PURE__ */ __name((value) => ({ after: value.getTime() / 1e3 }), "after"),
1704
+ before: /* @__PURE__ */ __name((value) => ({ before: value.getTime() / 1e3 }), "before"),
1705
+ equals: /* @__PURE__ */ __name((value) => ({ equals: (0, import_smithy_client._json)(value) }), "equals"),
1706
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1729
1707
  });
1730
1708
  }, "se_Condition");
1731
1709
  var se_Filter = /* @__PURE__ */ __name((input, context) => {
1732
1710
  return (0, import_smithy_client.take)(input, {
1733
- condition: (_) => se_Condition(_, context),
1711
+ condition: /* @__PURE__ */ __name((_) => se_Condition(_, context), "condition"),
1734
1712
  key: []
1735
1713
  });
1736
1714
  }, "se_Filter");
@@ -1743,32 +1721,32 @@ var se_TriggerDetails = /* @__PURE__ */ __name((input, context) => {
1743
1721
  return (0, import_smithy_client.take)(input, {
1744
1722
  rawData: [],
1745
1723
  source: [],
1746
- timestamp: (_) => _.getTime() / 1e3,
1724
+ timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "timestamp"),
1747
1725
  triggerArn: []
1748
1726
  });
1749
1727
  }, "se_TriggerDetails");
1750
1728
  var de_CloudFormationStackUpdate = /* @__PURE__ */ __name((output, context) => {
1751
1729
  return (0, import_smithy_client.take)(output, {
1752
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1730
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1753
1731
  stackArn: import_smithy_client.expectString,
1754
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1732
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
1755
1733
  });
1756
1734
  }, "de_CloudFormationStackUpdate");
1757
1735
  var de_CodeDeployDeployment = /* @__PURE__ */ __name((output, context) => {
1758
1736
  return (0, import_smithy_client.take)(output, {
1759
1737
  deploymentGroupArn: import_smithy_client.expectString,
1760
1738
  deploymentId: import_smithy_client.expectString,
1761
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1762
- startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1739
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1740
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
1763
1741
  });
1764
1742
  }, "de_CodeDeployDeployment");
1765
1743
  var de_EventSummary = /* @__PURE__ */ __name((output, context) => {
1766
1744
  return (0, import_smithy_client.take)(output, {
1767
1745
  eventId: import_smithy_client.expectString,
1768
1746
  eventReferences: import_smithy_client._json,
1769
- eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1747
+ eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventTime"),
1770
1748
  eventType: import_smithy_client.expectString,
1771
- eventUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1749
+ eventUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventUpdatedTime"),
1772
1750
  incidentRecordArn: import_smithy_client.expectString
1773
1751
  });
1774
1752
  }, "de_EventSummary");
@@ -1780,10 +1758,10 @@ var de_EventSummaryList = /* @__PURE__ */ __name((output, context) => {
1780
1758
  }, "de_EventSummaryList");
1781
1759
  var de_Finding = /* @__PURE__ */ __name((output, context) => {
1782
1760
  return (0, import_smithy_client.take)(output, {
1783
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1784
- details: (_) => de_FindingDetails((0, import_core2.awsExpectUnion)(_), context),
1761
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1762
+ details: /* @__PURE__ */ __name((_) => de_FindingDetails((0, import_core2.awsExpectUnion)(_), context), "details"),
1785
1763
  id: import_smithy_client.expectString,
1786
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1764
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime")
1787
1765
  });
1788
1766
  }, "de_Finding");
1789
1767
  var de_FindingDetails = /* @__PURE__ */ __name((output, context) => {
@@ -1808,7 +1786,7 @@ var de_FindingList = /* @__PURE__ */ __name((output, context) => {
1808
1786
  var de_FindingSummary = /* @__PURE__ */ __name((output, context) => {
1809
1787
  return (0, import_smithy_client.take)(output, {
1810
1788
  id: import_smithy_client.expectString,
1811
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1789
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime")
1812
1790
  });
1813
1791
  }, "de_FindingSummary");
1814
1792
  var de_FindingSummaryList = /* @__PURE__ */ __name((output, context) => {
@@ -1821,15 +1799,15 @@ var de_IncidentRecord = /* @__PURE__ */ __name((output, context) => {
1821
1799
  return (0, import_smithy_client.take)(output, {
1822
1800
  arn: import_smithy_client.expectString,
1823
1801
  automationExecutions: import_smithy_client._json,
1824
- chatChannel: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1825
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1802
+ chatChannel: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "chatChannel"),
1803
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1826
1804
  dedupeString: import_smithy_client.expectString,
1827
1805
  impact: import_smithy_client.expectInt32,
1828
1806
  incidentRecordSource: import_smithy_client._json,
1829
1807
  lastModifiedBy: import_smithy_client.expectString,
1830
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1808
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1831
1809
  notificationTargets: import_smithy_client._json,
1832
- resolvedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1810
+ resolvedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "resolvedTime"),
1833
1811
  status: import_smithy_client.expectString,
1834
1812
  summary: import_smithy_client.expectString,
1835
1813
  title: import_smithy_client.expectString
@@ -1838,10 +1816,10 @@ var de_IncidentRecord = /* @__PURE__ */ __name((output, context) => {
1838
1816
  var de_IncidentRecordSummary = /* @__PURE__ */ __name((output, context) => {
1839
1817
  return (0, import_smithy_client.take)(output, {
1840
1818
  arn: import_smithy_client.expectString,
1841
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1819
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1842
1820
  impact: import_smithy_client.expectInt32,
1843
1821
  incidentRecordSource: import_smithy_client._json,
1844
- resolvedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1822
+ resolvedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "resolvedTime"),
1845
1823
  status: import_smithy_client.expectString,
1846
1824
  title: import_smithy_client.expectString
1847
1825
  });
@@ -1857,7 +1835,7 @@ var de_RegionInfo = /* @__PURE__ */ __name((output, context) => {
1857
1835
  sseKmsKeyId: import_smithy_client.expectString,
1858
1836
  status: import_smithy_client.expectString,
1859
1837
  statusMessage: import_smithy_client.expectString,
1860
- statusUpdateDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1838
+ statusUpdateDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "statusUpdateDateTime")
1861
1839
  });
1862
1840
  }, "de_RegionInfo");
1863
1841
  var de_RegionInfoMap = /* @__PURE__ */ __name((output, context) => {
@@ -1873,11 +1851,11 @@ var de_ReplicationSet = /* @__PURE__ */ __name((output, context) => {
1873
1851
  return (0, import_smithy_client.take)(output, {
1874
1852
  arn: import_smithy_client.expectString,
1875
1853
  createdBy: import_smithy_client.expectString,
1876
- createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1854
+ createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1877
1855
  deletionProtected: import_smithy_client.expectBoolean,
1878
1856
  lastModifiedBy: import_smithy_client.expectString,
1879
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1880
- regionMap: (_) => de_RegionInfoMap(_, context),
1857
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1858
+ regionMap: /* @__PURE__ */ __name((_) => de_RegionInfoMap(_, context), "regionMap"),
1881
1859
  status: import_smithy_client.expectString
1882
1860
  });
1883
1861
  }, "de_ReplicationSet");
@@ -1886,9 +1864,9 @@ var de_TimelineEvent = /* @__PURE__ */ __name((output, context) => {
1886
1864
  eventData: import_smithy_client.expectString,
1887
1865
  eventId: import_smithy_client.expectString,
1888
1866
  eventReferences: import_smithy_client._json,
1889
- eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1867
+ eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventTime"),
1890
1868
  eventType: import_smithy_client.expectString,
1891
- eventUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1869
+ eventUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventUpdatedTime"),
1892
1870
  incidentRecordArn: import_smithy_client.expectString
1893
1871
  });
1894
1872
  }, "de_TimelineEvent");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm-incidents",
3
3
  "description": "AWS SDK for JavaScript Ssm Incidents Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.774.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ssm-incidents",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",