@aws-sdk/client-ssm-incidents 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/SSMIncidentsClient.js +13 -13
  3. package/dist-cjs/commands/CreateReplicationSetCommand.js +3 -3
  4. package/dist-cjs/commands/CreateResponsePlanCommand.js +3 -3
  5. package/dist-cjs/commands/CreateTimelineEventCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteIncidentRecordCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteReplicationSetCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteResponsePlanCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteTimelineEventCommand.js +3 -3
  11. package/dist-cjs/commands/GetIncidentRecordCommand.js +3 -3
  12. package/dist-cjs/commands/GetReplicationSetCommand.js +3 -3
  13. package/dist-cjs/commands/GetResourcePoliciesCommand.js +3 -3
  14. package/dist-cjs/commands/GetResponsePlanCommand.js +3 -3
  15. package/dist-cjs/commands/GetTimelineEventCommand.js +3 -3
  16. package/dist-cjs/commands/ListIncidentRecordsCommand.js +3 -3
  17. package/dist-cjs/commands/ListRelatedItemsCommand.js +3 -3
  18. package/dist-cjs/commands/ListReplicationSetsCommand.js +3 -3
  19. package/dist-cjs/commands/ListResponsePlansCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  21. package/dist-cjs/commands/ListTimelineEventsCommand.js +3 -3
  22. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  23. package/dist-cjs/commands/StartIncidentCommand.js +3 -3
  24. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  25. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  26. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +3 -3
  27. package/dist-cjs/commands/UpdateIncidentRecordCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateRelatedItemsCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateReplicationSetCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateResponsePlanCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateTimelineEventCommand.js +3 -3
  32. package/dist-cjs/endpoints.js +1 -1
  33. package/dist-cjs/protocols/Aws_restJson1.js +177 -177
  34. package/dist-cjs/runtimeConfig.browser.js +4 -4
  35. package/dist-cjs/runtimeConfig.js +9 -9
  36. package/dist-cjs/runtimeConfig.native.js +1 -1
  37. package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js +3 -3
  38. package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js +3 -3
  39. package/dist-es/SSMIncidents.js +29 -29
  40. package/dist-es/pagination/GetResourcePoliciesPaginator.js +4 -4
  41. package/dist-es/pagination/ListIncidentRecordsPaginator.js +4 -4
  42. package/dist-es/pagination/ListRelatedItemsPaginator.js +4 -4
  43. package/dist-es/pagination/ListReplicationSetsPaginator.js +4 -4
  44. package/dist-es/pagination/ListResponsePlansPaginator.js +4 -4
  45. package/dist-es/pagination/ListTimelineEventsPaginator.js +4 -4
  46. package/dist-es/protocols/Aws_restJson1.js +29 -29
  47. package/dist-types/SSMIncidentsClient.d.ts +2 -2
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +3 -3
  51. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +2 -2
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  55. package/package.json +35 -35
@@ -16,7 +16,7 @@ const serializeAws_restJson1CreateReplicationSetCommand = async (input, context)
16
16
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/createReplicationSet";
17
17
  let body;
18
18
  body = JSON.stringify({
19
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
19
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
20
20
  ...(input.regions !== undefined &&
21
21
  input.regions !== null && { regions: serializeAws_restJson1RegionMapInput(input.regions, context) }),
22
22
  });
@@ -44,7 +44,7 @@ const serializeAws_restJson1CreateResponsePlanCommand = async (input, context) =
44
44
  input.actions !== null && { actions: serializeAws_restJson1ActionsList(input.actions, context) }),
45
45
  ...(input.chatChannel !== undefined &&
46
46
  input.chatChannel !== null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) }),
47
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
47
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
48
48
  ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
49
49
  ...(input.engagements !== undefined &&
50
50
  input.engagements !== null && { engagements: serializeAws_restJson1EngagementSet(input.engagements, context) }),
@@ -75,7 +75,7 @@ const serializeAws_restJson1CreateTimelineEventCommand = async (input, context)
75
75
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/createTimelineEvent";
76
76
  let body;
77
77
  body = JSON.stringify({
78
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
78
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
79
79
  ...(input.eventData !== undefined && input.eventData !== null && { eventData: input.eventData }),
80
80
  ...(input.eventTime !== undefined &&
81
81
  input.eventTime !== null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
@@ -409,7 +409,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
409
409
  if (labelValue.length <= 0) {
410
410
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
411
411
  }
412
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
412
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
413
413
  }
414
414
  else {
415
415
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -485,7 +485,7 @@ const serializeAws_restJson1StartIncidentCommand = async (input, context) => {
485
485
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/startIncident";
486
486
  let body;
487
487
  body = JSON.stringify({
488
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
488
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
489
489
  ...(input.impact !== undefined && input.impact !== null && { impact: input.impact }),
490
490
  ...(input.relatedItems !== undefined &&
491
491
  input.relatedItems !== null && {
@@ -521,7 +521,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
521
521
  if (labelValue.length <= 0) {
522
522
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
523
523
  }
524
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
524
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
525
525
  }
526
526
  else {
527
527
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -550,7 +550,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
550
550
  if (labelValue.length <= 0) {
551
551
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
552
552
  }
553
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
553
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
554
554
  }
555
555
  else {
556
556
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -581,7 +581,7 @@ const serializeAws_restJson1UpdateDeletionProtectionCommand = async (input, cont
581
581
  let body;
582
582
  body = JSON.stringify({
583
583
  ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }),
584
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
584
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
585
585
  ...(input.deletionProtected !== undefined &&
586
586
  input.deletionProtected !== null && { deletionProtected: input.deletionProtected }),
587
587
  });
@@ -608,7 +608,7 @@ const serializeAws_restJson1UpdateIncidentRecordCommand = async (input, context)
608
608
  ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }),
609
609
  ...(input.chatChannel !== undefined &&
610
610
  input.chatChannel !== null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) }),
611
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
611
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
612
612
  ...(input.impact !== undefined && input.impact !== null && { impact: input.impact }),
613
613
  ...(input.notificationTargets !== undefined &&
614
614
  input.notificationTargets !== null && {
@@ -638,7 +638,7 @@ const serializeAws_restJson1UpdateRelatedItemsCommand = async (input, context) =
638
638
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/updateRelatedItems";
639
639
  let body;
640
640
  body = JSON.stringify({
641
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
641
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
642
642
  ...(input.incidentRecordArn !== undefined &&
643
643
  input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn }),
644
644
  ...(input.relatedItemsUpdate !== undefined &&
@@ -669,7 +669,7 @@ const serializeAws_restJson1UpdateReplicationSetCommand = async (input, context)
669
669
  ...(input.actions !== undefined &&
670
670
  input.actions !== null && { actions: serializeAws_restJson1UpdateActionList(input.actions, context) }),
671
671
  ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }),
672
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
672
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
673
673
  });
674
674
  return new protocol_http_1.HttpRequest({
675
675
  protocol,
@@ -696,7 +696,7 @@ const serializeAws_restJson1UpdateResponsePlanCommand = async (input, context) =
696
696
  ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }),
697
697
  ...(input.chatChannel !== undefined &&
698
698
  input.chatChannel !== null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) }),
699
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
699
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
700
700
  ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
701
701
  ...(input.engagements !== undefined &&
702
702
  input.engagements !== null && { engagements: serializeAws_restJson1EngagementSet(input.engagements, context) }),
@@ -735,7 +735,7 @@ const serializeAws_restJson1UpdateTimelineEventCommand = async (input, context)
735
735
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/updateTimelineEvent";
736
736
  let body;
737
737
  body = JSON.stringify({
738
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
738
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
739
739
  ...(input.eventData !== undefined && input.eventData !== null && { eventData: input.eventData }),
740
740
  ...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }),
741
741
  ...(input.eventTime !== undefined &&
@@ -763,9 +763,9 @@ const deserializeAws_restJson1CreateReplicationSetCommand = async (output, conte
763
763
  $metadata: deserializeMetadata(output),
764
764
  arn: undefined,
765
765
  };
766
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
766
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
767
767
  if (data.arn !== undefined && data.arn !== null) {
768
- contents.arn = smithy_client_1.expectString(data.arn);
768
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
769
769
  }
770
770
  return Promise.resolve(contents);
771
771
  };
@@ -804,7 +804,7 @@ const deserializeAws_restJson1CreateReplicationSetCommandError = async (output,
804
804
  $fault: "client",
805
805
  $metadata: deserializeMetadata(output),
806
806
  });
807
- throw smithy_client_1.decorateServiceException(response, parsedBody);
807
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
808
808
  }
809
809
  };
810
810
  const deserializeAws_restJson1CreateResponsePlanCommand = async (output, context) => {
@@ -815,9 +815,9 @@ const deserializeAws_restJson1CreateResponsePlanCommand = async (output, context
815
815
  $metadata: deserializeMetadata(output),
816
816
  arn: undefined,
817
817
  };
818
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
818
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
819
819
  if (data.arn !== undefined && data.arn !== null) {
820
- contents.arn = smithy_client_1.expectString(data.arn);
820
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
821
821
  }
822
822
  return Promise.resolve(contents);
823
823
  };
@@ -856,7 +856,7 @@ const deserializeAws_restJson1CreateResponsePlanCommandError = async (output, co
856
856
  $fault: "client",
857
857
  $metadata: deserializeMetadata(output),
858
858
  });
859
- throw smithy_client_1.decorateServiceException(response, parsedBody);
859
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
860
860
  }
861
861
  };
862
862
  const deserializeAws_restJson1CreateTimelineEventCommand = async (output, context) => {
@@ -868,12 +868,12 @@ const deserializeAws_restJson1CreateTimelineEventCommand = async (output, contex
868
868
  eventId: undefined,
869
869
  incidentRecordArn: undefined,
870
870
  };
871
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
871
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
872
872
  if (data.eventId !== undefined && data.eventId !== null) {
873
- contents.eventId = smithy_client_1.expectString(data.eventId);
873
+ contents.eventId = (0, smithy_client_1.expectString)(data.eventId);
874
874
  }
875
875
  if (data.incidentRecordArn !== undefined && data.incidentRecordArn !== null) {
876
- contents.incidentRecordArn = smithy_client_1.expectString(data.incidentRecordArn);
876
+ contents.incidentRecordArn = (0, smithy_client_1.expectString)(data.incidentRecordArn);
877
877
  }
878
878
  return Promise.resolve(contents);
879
879
  };
@@ -912,7 +912,7 @@ const deserializeAws_restJson1CreateTimelineEventCommandError = async (output, c
912
912
  $fault: "client",
913
913
  $metadata: deserializeMetadata(output),
914
914
  });
915
- throw smithy_client_1.decorateServiceException(response, parsedBody);
915
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
916
916
  }
917
917
  };
918
918
  const deserializeAws_restJson1DeleteIncidentRecordCommand = async (output, context) => {
@@ -954,7 +954,7 @@ const deserializeAws_restJson1DeleteIncidentRecordCommandError = async (output,
954
954
  $fault: "client",
955
955
  $metadata: deserializeMetadata(output),
956
956
  });
957
- throw smithy_client_1.decorateServiceException(response, parsedBody);
957
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
958
958
  }
959
959
  };
960
960
  const deserializeAws_restJson1DeleteReplicationSetCommand = async (output, context) => {
@@ -999,7 +999,7 @@ const deserializeAws_restJson1DeleteReplicationSetCommandError = async (output,
999
999
  $fault: "client",
1000
1000
  $metadata: deserializeMetadata(output),
1001
1001
  });
1002
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1002
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1003
1003
  }
1004
1004
  };
1005
1005
  const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
@@ -1044,7 +1044,7 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1044
1044
  $fault: "client",
1045
1045
  $metadata: deserializeMetadata(output),
1046
1046
  });
1047
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1047
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1048
1048
  }
1049
1049
  };
1050
1050
  const deserializeAws_restJson1DeleteResponsePlanCommand = async (output, context) => {
@@ -1086,7 +1086,7 @@ const deserializeAws_restJson1DeleteResponsePlanCommandError = async (output, co
1086
1086
  $fault: "client",
1087
1087
  $metadata: deserializeMetadata(output),
1088
1088
  });
1089
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1089
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1090
1090
  }
1091
1091
  };
1092
1092
  const deserializeAws_restJson1DeleteTimelineEventCommand = async (output, context) => {
@@ -1128,7 +1128,7 @@ const deserializeAws_restJson1DeleteTimelineEventCommandError = async (output, c
1128
1128
  $fault: "client",
1129
1129
  $metadata: deserializeMetadata(output),
1130
1130
  });
1131
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1131
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1132
1132
  }
1133
1133
  };
1134
1134
  const deserializeAws_restJson1GetIncidentRecordCommand = async (output, context) => {
@@ -1139,7 +1139,7 @@ const deserializeAws_restJson1GetIncidentRecordCommand = async (output, context)
1139
1139
  $metadata: deserializeMetadata(output),
1140
1140
  incidentRecord: undefined,
1141
1141
  };
1142
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1142
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1143
1143
  if (data.incidentRecord !== undefined && data.incidentRecord !== null) {
1144
1144
  contents.incidentRecord = deserializeAws_restJson1IncidentRecord(data.incidentRecord, context);
1145
1145
  }
@@ -1177,7 +1177,7 @@ const deserializeAws_restJson1GetIncidentRecordCommandError = async (output, con
1177
1177
  $fault: "client",
1178
1178
  $metadata: deserializeMetadata(output),
1179
1179
  });
1180
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1180
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1181
1181
  }
1182
1182
  };
1183
1183
  const deserializeAws_restJson1GetReplicationSetCommand = async (output, context) => {
@@ -1188,7 +1188,7 @@ const deserializeAws_restJson1GetReplicationSetCommand = async (output, context)
1188
1188
  $metadata: deserializeMetadata(output),
1189
1189
  replicationSet: undefined,
1190
1190
  };
1191
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1191
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1192
1192
  if (data.replicationSet !== undefined && data.replicationSet !== null) {
1193
1193
  contents.replicationSet = deserializeAws_restJson1ReplicationSet(data.replicationSet, context);
1194
1194
  }
@@ -1226,7 +1226,7 @@ const deserializeAws_restJson1GetReplicationSetCommandError = async (output, con
1226
1226
  $fault: "client",
1227
1227
  $metadata: deserializeMetadata(output),
1228
1228
  });
1229
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1229
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1230
1230
  }
1231
1231
  };
1232
1232
  const deserializeAws_restJson1GetResourcePoliciesCommand = async (output, context) => {
@@ -1238,9 +1238,9 @@ const deserializeAws_restJson1GetResourcePoliciesCommand = async (output, contex
1238
1238
  nextToken: undefined,
1239
1239
  resourcePolicies: undefined,
1240
1240
  };
1241
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1241
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1242
1242
  if (data.nextToken !== undefined && data.nextToken !== null) {
1243
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1243
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1244
1244
  }
1245
1245
  if (data.resourcePolicies !== undefined && data.resourcePolicies !== null) {
1246
1246
  contents.resourcePolicies = deserializeAws_restJson1ResourcePolicyList(data.resourcePolicies, context);
@@ -1279,7 +1279,7 @@ const deserializeAws_restJson1GetResourcePoliciesCommandError = async (output, c
1279
1279
  $fault: "client",
1280
1280
  $metadata: deserializeMetadata(output),
1281
1281
  });
1282
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1282
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1283
1283
  }
1284
1284
  };
1285
1285
  const deserializeAws_restJson1GetResponsePlanCommand = async (output, context) => {
@@ -1296,18 +1296,18 @@ const deserializeAws_restJson1GetResponsePlanCommand = async (output, context) =
1296
1296
  incidentTemplate: undefined,
1297
1297
  name: undefined,
1298
1298
  };
1299
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1299
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1300
1300
  if (data.actions !== undefined && data.actions !== null) {
1301
1301
  contents.actions = deserializeAws_restJson1ActionsList(data.actions, context);
1302
1302
  }
1303
1303
  if (data.arn !== undefined && data.arn !== null) {
1304
- contents.arn = smithy_client_1.expectString(data.arn);
1304
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
1305
1305
  }
1306
1306
  if (data.chatChannel !== undefined && data.chatChannel !== null) {
1307
- contents.chatChannel = deserializeAws_restJson1ChatChannel(smithy_client_1.expectUnion(data.chatChannel), context);
1307
+ contents.chatChannel = deserializeAws_restJson1ChatChannel((0, smithy_client_1.expectUnion)(data.chatChannel), context);
1308
1308
  }
1309
1309
  if (data.displayName !== undefined && data.displayName !== null) {
1310
- contents.displayName = smithy_client_1.expectString(data.displayName);
1310
+ contents.displayName = (0, smithy_client_1.expectString)(data.displayName);
1311
1311
  }
1312
1312
  if (data.engagements !== undefined && data.engagements !== null) {
1313
1313
  contents.engagements = deserializeAws_restJson1EngagementSet(data.engagements, context);
@@ -1316,7 +1316,7 @@ const deserializeAws_restJson1GetResponsePlanCommand = async (output, context) =
1316
1316
  contents.incidentTemplate = deserializeAws_restJson1IncidentTemplate(data.incidentTemplate, context);
1317
1317
  }
1318
1318
  if (data.name !== undefined && data.name !== null) {
1319
- contents.name = smithy_client_1.expectString(data.name);
1319
+ contents.name = (0, smithy_client_1.expectString)(data.name);
1320
1320
  }
1321
1321
  return Promise.resolve(contents);
1322
1322
  };
@@ -1352,7 +1352,7 @@ const deserializeAws_restJson1GetResponsePlanCommandError = async (output, conte
1352
1352
  $fault: "client",
1353
1353
  $metadata: deserializeMetadata(output),
1354
1354
  });
1355
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1355
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1356
1356
  }
1357
1357
  };
1358
1358
  const deserializeAws_restJson1GetTimelineEventCommand = async (output, context) => {
@@ -1363,7 +1363,7 @@ const deserializeAws_restJson1GetTimelineEventCommand = async (output, context)
1363
1363
  $metadata: deserializeMetadata(output),
1364
1364
  event: undefined,
1365
1365
  };
1366
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1366
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1367
1367
  if (data.event !== undefined && data.event !== null) {
1368
1368
  contents.event = deserializeAws_restJson1TimelineEvent(data.event, context);
1369
1369
  }
@@ -1401,7 +1401,7 @@ const deserializeAws_restJson1GetTimelineEventCommandError = async (output, cont
1401
1401
  $fault: "client",
1402
1402
  $metadata: deserializeMetadata(output),
1403
1403
  });
1404
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1404
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1405
1405
  }
1406
1406
  };
1407
1407
  const deserializeAws_restJson1ListIncidentRecordsCommand = async (output, context) => {
@@ -1413,12 +1413,12 @@ const deserializeAws_restJson1ListIncidentRecordsCommand = async (output, contex
1413
1413
  incidentRecordSummaries: undefined,
1414
1414
  nextToken: undefined,
1415
1415
  };
1416
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1416
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1417
1417
  if (data.incidentRecordSummaries !== undefined && data.incidentRecordSummaries !== null) {
1418
1418
  contents.incidentRecordSummaries = deserializeAws_restJson1IncidentRecordSummaryList(data.incidentRecordSummaries, context);
1419
1419
  }
1420
1420
  if (data.nextToken !== undefined && data.nextToken !== null) {
1421
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1421
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1422
1422
  }
1423
1423
  return Promise.resolve(contents);
1424
1424
  };
@@ -1451,7 +1451,7 @@ const deserializeAws_restJson1ListIncidentRecordsCommandError = async (output, c
1451
1451
  $fault: "client",
1452
1452
  $metadata: deserializeMetadata(output),
1453
1453
  });
1454
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1454
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1455
1455
  }
1456
1456
  };
1457
1457
  const deserializeAws_restJson1ListRelatedItemsCommand = async (output, context) => {
@@ -1463,9 +1463,9 @@ const deserializeAws_restJson1ListRelatedItemsCommand = async (output, context)
1463
1463
  nextToken: undefined,
1464
1464
  relatedItems: undefined,
1465
1465
  };
1466
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1466
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1467
1467
  if (data.nextToken !== undefined && data.nextToken !== null) {
1468
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1468
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1469
1469
  }
1470
1470
  if (data.relatedItems !== undefined && data.relatedItems !== null) {
1471
1471
  contents.relatedItems = deserializeAws_restJson1RelatedItemList(data.relatedItems, context);
@@ -1501,7 +1501,7 @@ const deserializeAws_restJson1ListRelatedItemsCommandError = async (output, cont
1501
1501
  $fault: "client",
1502
1502
  $metadata: deserializeMetadata(output),
1503
1503
  });
1504
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1504
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1505
1505
  }
1506
1506
  };
1507
1507
  const deserializeAws_restJson1ListReplicationSetsCommand = async (output, context) => {
@@ -1513,9 +1513,9 @@ const deserializeAws_restJson1ListReplicationSetsCommand = async (output, contex
1513
1513
  nextToken: undefined,
1514
1514
  replicationSetArns: undefined,
1515
1515
  };
1516
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1516
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1517
1517
  if (data.nextToken !== undefined && data.nextToken !== null) {
1518
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1518
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1519
1519
  }
1520
1520
  if (data.replicationSetArns !== undefined && data.replicationSetArns !== null) {
1521
1521
  contents.replicationSetArns = deserializeAws_restJson1ReplicationSetArnList(data.replicationSetArns, context);
@@ -1551,7 +1551,7 @@ const deserializeAws_restJson1ListReplicationSetsCommandError = async (output, c
1551
1551
  $fault: "client",
1552
1552
  $metadata: deserializeMetadata(output),
1553
1553
  });
1554
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1554
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1555
1555
  }
1556
1556
  };
1557
1557
  const deserializeAws_restJson1ListResponsePlansCommand = async (output, context) => {
@@ -1563,9 +1563,9 @@ const deserializeAws_restJson1ListResponsePlansCommand = async (output, context)
1563
1563
  nextToken: undefined,
1564
1564
  responsePlanSummaries: undefined,
1565
1565
  };
1566
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1566
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1567
1567
  if (data.nextToken !== undefined && data.nextToken !== null) {
1568
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1568
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1569
1569
  }
1570
1570
  if (data.responsePlanSummaries !== undefined && data.responsePlanSummaries !== null) {
1571
1571
  contents.responsePlanSummaries = deserializeAws_restJson1ResponsePlanSummaryList(data.responsePlanSummaries, context);
@@ -1601,7 +1601,7 @@ const deserializeAws_restJson1ListResponsePlansCommandError = async (output, con
1601
1601
  $fault: "client",
1602
1602
  $metadata: deserializeMetadata(output),
1603
1603
  });
1604
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1604
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1605
1605
  }
1606
1606
  };
1607
1607
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -1612,7 +1612,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1612
1612
  $metadata: deserializeMetadata(output),
1613
1613
  tags: undefined,
1614
1614
  };
1615
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1615
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1616
1616
  if (data.tags !== undefined && data.tags !== null) {
1617
1617
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1618
1618
  }
@@ -1650,7 +1650,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1650
1650
  $fault: "client",
1651
1651
  $metadata: deserializeMetadata(output),
1652
1652
  });
1653
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1653
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1654
1654
  }
1655
1655
  };
1656
1656
  const deserializeAws_restJson1ListTimelineEventsCommand = async (output, context) => {
@@ -1662,12 +1662,12 @@ const deserializeAws_restJson1ListTimelineEventsCommand = async (output, context
1662
1662
  eventSummaries: undefined,
1663
1663
  nextToken: undefined,
1664
1664
  };
1665
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1665
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1666
1666
  if (data.eventSummaries !== undefined && data.eventSummaries !== null) {
1667
1667
  contents.eventSummaries = deserializeAws_restJson1EventSummaryList(data.eventSummaries, context);
1668
1668
  }
1669
1669
  if (data.nextToken !== undefined && data.nextToken !== null) {
1670
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1670
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1671
1671
  }
1672
1672
  return Promise.resolve(contents);
1673
1673
  };
@@ -1700,7 +1700,7 @@ const deserializeAws_restJson1ListTimelineEventsCommandError = async (output, co
1700
1700
  $fault: "client",
1701
1701
  $metadata: deserializeMetadata(output),
1702
1702
  });
1703
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1703
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1704
1704
  }
1705
1705
  };
1706
1706
  const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
@@ -1711,9 +1711,9 @@ const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context)
1711
1711
  $metadata: deserializeMetadata(output),
1712
1712
  policyId: undefined,
1713
1713
  };
1714
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1714
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1715
1715
  if (data.policyId !== undefined && data.policyId !== null) {
1716
- contents.policyId = smithy_client_1.expectString(data.policyId);
1716
+ contents.policyId = (0, smithy_client_1.expectString)(data.policyId);
1717
1717
  }
1718
1718
  return Promise.resolve(contents);
1719
1719
  };
@@ -1749,7 +1749,7 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
1749
1749
  $fault: "client",
1750
1750
  $metadata: deserializeMetadata(output),
1751
1751
  });
1752
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1752
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1753
1753
  }
1754
1754
  };
1755
1755
  const deserializeAws_restJson1StartIncidentCommand = async (output, context) => {
@@ -1760,9 +1760,9 @@ const deserializeAws_restJson1StartIncidentCommand = async (output, context) =>
1760
1760
  $metadata: deserializeMetadata(output),
1761
1761
  incidentRecordArn: undefined,
1762
1762
  };
1763
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1763
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1764
1764
  if (data.incidentRecordArn !== undefined && data.incidentRecordArn !== null) {
1765
- contents.incidentRecordArn = smithy_client_1.expectString(data.incidentRecordArn);
1765
+ contents.incidentRecordArn = (0, smithy_client_1.expectString)(data.incidentRecordArn);
1766
1766
  }
1767
1767
  return Promise.resolve(contents);
1768
1768
  };
@@ -1801,7 +1801,7 @@ const deserializeAws_restJson1StartIncidentCommandError = async (output, context
1801
1801
  $fault: "client",
1802
1802
  $metadata: deserializeMetadata(output),
1803
1803
  });
1804
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1804
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1805
1805
  }
1806
1806
  };
1807
1807
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -1852,7 +1852,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1852
1852
  $fault: "client",
1853
1853
  $metadata: deserializeMetadata(output),
1854
1854
  });
1855
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1855
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1856
1856
  }
1857
1857
  };
1858
1858
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -1900,7 +1900,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1900
1900
  $fault: "client",
1901
1901
  $metadata: deserializeMetadata(output),
1902
1902
  });
1903
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1903
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1904
1904
  }
1905
1905
  };
1906
1906
  const deserializeAws_restJson1UpdateDeletionProtectionCommand = async (output, context) => {
@@ -1945,7 +1945,7 @@ const deserializeAws_restJson1UpdateDeletionProtectionCommandError = async (outp
1945
1945
  $fault: "client",
1946
1946
  $metadata: deserializeMetadata(output),
1947
1947
  });
1948
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1948
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1949
1949
  }
1950
1950
  };
1951
1951
  const deserializeAws_restJson1UpdateIncidentRecordCommand = async (output, context) => {
@@ -1993,7 +1993,7 @@ const deserializeAws_restJson1UpdateIncidentRecordCommandError = async (output,
1993
1993
  $fault: "client",
1994
1994
  $metadata: deserializeMetadata(output),
1995
1995
  });
1996
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1996
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1997
1997
  }
1998
1998
  };
1999
1999
  const deserializeAws_restJson1UpdateRelatedItemsCommand = async (output, context) => {
@@ -2041,7 +2041,7 @@ const deserializeAws_restJson1UpdateRelatedItemsCommandError = async (output, co
2041
2041
  $fault: "client",
2042
2042
  $metadata: deserializeMetadata(output),
2043
2043
  });
2044
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2044
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2045
2045
  }
2046
2046
  };
2047
2047
  const deserializeAws_restJson1UpdateReplicationSetCommand = async (output, context) => {
@@ -2086,7 +2086,7 @@ const deserializeAws_restJson1UpdateReplicationSetCommandError = async (output,
2086
2086
  $fault: "client",
2087
2087
  $metadata: deserializeMetadata(output),
2088
2088
  });
2089
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2089
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2090
2090
  }
2091
2091
  };
2092
2092
  const deserializeAws_restJson1UpdateResponsePlanCommand = async (output, context) => {
@@ -2134,7 +2134,7 @@ const deserializeAws_restJson1UpdateResponsePlanCommandError = async (output, co
2134
2134
  $fault: "client",
2135
2135
  $metadata: deserializeMetadata(output),
2136
2136
  });
2137
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2137
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2138
2138
  }
2139
2139
  };
2140
2140
  const deserializeAws_restJson1UpdateTimelineEventCommand = async (output, context) => {
@@ -2182,125 +2182,125 @@ const deserializeAws_restJson1UpdateTimelineEventCommandError = async (output, c
2182
2182
  $fault: "client",
2183
2183
  $metadata: deserializeMetadata(output),
2184
2184
  });
2185
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2185
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2186
2186
  }
2187
2187
  };
2188
2188
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2189
2189
  const contents = {};
2190
2190
  const data = parsedOutput.body;
2191
2191
  if (data.message !== undefined && data.message !== null) {
2192
- contents.message = smithy_client_1.expectString(data.message);
2192
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2193
2193
  }
2194
2194
  const exception = new models_0_1.AccessDeniedException({
2195
2195
  $metadata: deserializeMetadata(parsedOutput),
2196
2196
  ...contents,
2197
2197
  });
2198
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2198
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2199
2199
  };
2200
2200
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2201
2201
  const contents = {};
2202
2202
  const data = parsedOutput.body;
2203
2203
  if (data.message !== undefined && data.message !== null) {
2204
- contents.message = smithy_client_1.expectString(data.message);
2204
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2205
2205
  }
2206
2206
  if (data.resourceIdentifier !== undefined && data.resourceIdentifier !== null) {
2207
- contents.resourceIdentifier = smithy_client_1.expectString(data.resourceIdentifier);
2207
+ contents.resourceIdentifier = (0, smithy_client_1.expectString)(data.resourceIdentifier);
2208
2208
  }
2209
2209
  if (data.resourceType !== undefined && data.resourceType !== null) {
2210
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2210
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2211
2211
  }
2212
2212
  if (data.retryAfter !== undefined && data.retryAfter !== null) {
2213
- contents.retryAfter = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.retryAfter)));
2213
+ contents.retryAfter = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.retryAfter)));
2214
2214
  }
2215
2215
  const exception = new models_0_1.ConflictException({
2216
2216
  $metadata: deserializeMetadata(parsedOutput),
2217
2217
  ...contents,
2218
2218
  });
2219
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2219
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2220
2220
  };
2221
2221
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2222
2222
  const contents = {};
2223
2223
  const data = parsedOutput.body;
2224
2224
  if (data.message !== undefined && data.message !== null) {
2225
- contents.message = smithy_client_1.expectString(data.message);
2225
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2226
2226
  }
2227
2227
  const exception = new models_0_1.InternalServerException({
2228
2228
  $metadata: deserializeMetadata(parsedOutput),
2229
2229
  ...contents,
2230
2230
  });
2231
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2231
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2232
2232
  };
2233
2233
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2234
2234
  const contents = {};
2235
2235
  const data = parsedOutput.body;
2236
2236
  if (data.message !== undefined && data.message !== null) {
2237
- contents.message = smithy_client_1.expectString(data.message);
2237
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2238
2238
  }
2239
2239
  if (data.resourceIdentifier !== undefined && data.resourceIdentifier !== null) {
2240
- contents.resourceIdentifier = smithy_client_1.expectString(data.resourceIdentifier);
2240
+ contents.resourceIdentifier = (0, smithy_client_1.expectString)(data.resourceIdentifier);
2241
2241
  }
2242
2242
  if (data.resourceType !== undefined && data.resourceType !== null) {
2243
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2243
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2244
2244
  }
2245
2245
  const exception = new models_0_1.ResourceNotFoundException({
2246
2246
  $metadata: deserializeMetadata(parsedOutput),
2247
2247
  ...contents,
2248
2248
  });
2249
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2249
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2250
2250
  };
2251
2251
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2252
2252
  const contents = {};
2253
2253
  const data = parsedOutput.body;
2254
2254
  if (data.message !== undefined && data.message !== null) {
2255
- contents.message = smithy_client_1.expectString(data.message);
2255
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2256
2256
  }
2257
2257
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
2258
- contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
2258
+ contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
2259
2259
  }
2260
2260
  if (data.resourceIdentifier !== undefined && data.resourceIdentifier !== null) {
2261
- contents.resourceIdentifier = smithy_client_1.expectString(data.resourceIdentifier);
2261
+ contents.resourceIdentifier = (0, smithy_client_1.expectString)(data.resourceIdentifier);
2262
2262
  }
2263
2263
  if (data.resourceType !== undefined && data.resourceType !== null) {
2264
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2264
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2265
2265
  }
2266
2266
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
2267
- contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
2267
+ contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
2268
2268
  }
2269
2269
  const exception = new models_0_1.ServiceQuotaExceededException({
2270
2270
  $metadata: deserializeMetadata(parsedOutput),
2271
2271
  ...contents,
2272
2272
  });
2273
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2273
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2274
2274
  };
2275
2275
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2276
2276
  const contents = {};
2277
2277
  const data = parsedOutput.body;
2278
2278
  if (data.message !== undefined && data.message !== null) {
2279
- contents.message = smithy_client_1.expectString(data.message);
2279
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2280
2280
  }
2281
2281
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
2282
- contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
2282
+ contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
2283
2283
  }
2284
2284
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
2285
- contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
2285
+ contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
2286
2286
  }
2287
2287
  const exception = new models_0_1.ThrottlingException({
2288
2288
  $metadata: deserializeMetadata(parsedOutput),
2289
2289
  ...contents,
2290
2290
  });
2291
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2291
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2292
2292
  };
2293
2293
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2294
2294
  const contents = {};
2295
2295
  const data = parsedOutput.body;
2296
2296
  if (data.message !== undefined && data.message !== null) {
2297
- contents.message = smithy_client_1.expectString(data.message);
2297
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2298
2298
  }
2299
2299
  const exception = new models_0_1.ValidationException({
2300
2300
  $metadata: deserializeMetadata(parsedOutput),
2301
2301
  ...contents,
2302
2302
  });
2303
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2303
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2304
2304
  };
2305
2305
  const serializeAws_restJson1Action = (input, context) => {
2306
2306
  return models_0_1.Action.visit(input, {
@@ -2578,13 +2578,13 @@ const deserializeAws_restJson1ActionsList = (output, context) => {
2578
2578
  if (entry === null) {
2579
2579
  return null;
2580
2580
  }
2581
- return deserializeAws_restJson1Action(smithy_client_1.expectUnion(entry), context);
2581
+ return deserializeAws_restJson1Action((0, smithy_client_1.expectUnion)(entry), context);
2582
2582
  });
2583
2583
  return retVal;
2584
2584
  };
2585
2585
  const deserializeAws_restJson1AutomationExecution = (output, context) => {
2586
- if (smithy_client_1.expectString(output.ssmExecutionArn) !== undefined) {
2587
- return { ssmExecutionArn: smithy_client_1.expectString(output.ssmExecutionArn) };
2586
+ if ((0, smithy_client_1.expectString)(output.ssmExecutionArn) !== undefined) {
2587
+ return { ssmExecutionArn: (0, smithy_client_1.expectString)(output.ssmExecutionArn) };
2588
2588
  }
2589
2589
  return { $unknown: Object.entries(output)[0] };
2590
2590
  };
@@ -2595,7 +2595,7 @@ const deserializeAws_restJson1AutomationExecutionSet = (output, context) => {
2595
2595
  if (entry === null) {
2596
2596
  return null;
2597
2597
  }
2598
- return deserializeAws_restJson1AutomationExecution(smithy_client_1.expectUnion(entry), context);
2598
+ return deserializeAws_restJson1AutomationExecution((0, smithy_client_1.expectUnion)(entry), context);
2599
2599
  });
2600
2600
  return retVal;
2601
2601
  };
@@ -2606,7 +2606,7 @@ const deserializeAws_restJson1ChatbotSnsConfigurationSet = (output, context) =>
2606
2606
  if (entry === null) {
2607
2607
  return null;
2608
2608
  }
2609
- return smithy_client_1.expectString(entry);
2609
+ return (0, smithy_client_1.expectString)(entry);
2610
2610
  });
2611
2611
  return retVal;
2612
2612
  };
@@ -2633,21 +2633,21 @@ const deserializeAws_restJson1EngagementSet = (output, context) => {
2633
2633
  if (entry === null) {
2634
2634
  return null;
2635
2635
  }
2636
- return smithy_client_1.expectString(entry);
2636
+ return (0, smithy_client_1.expectString)(entry);
2637
2637
  });
2638
2638
  return retVal;
2639
2639
  };
2640
2640
  const deserializeAws_restJson1EventSummary = (output, context) => {
2641
2641
  return {
2642
- eventId: smithy_client_1.expectString(output.eventId),
2642
+ eventId: (0, smithy_client_1.expectString)(output.eventId),
2643
2643
  eventTime: output.eventTime !== undefined && output.eventTime !== null
2644
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTime)))
2644
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTime)))
2645
2645
  : undefined,
2646
- eventType: smithy_client_1.expectString(output.eventType),
2646
+ eventType: (0, smithy_client_1.expectString)(output.eventType),
2647
2647
  eventUpdatedTime: output.eventUpdatedTime !== undefined && output.eventUpdatedTime !== null
2648
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventUpdatedTime)))
2648
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventUpdatedTime)))
2649
2649
  : undefined,
2650
- incidentRecordArn: smithy_client_1.expectString(output.incidentRecordArn),
2650
+ incidentRecordArn: (0, smithy_client_1.expectString)(output.incidentRecordArn),
2651
2651
  };
2652
2652
  };
2653
2653
  const deserializeAws_restJson1EventSummaryList = (output, context) => {
@@ -2663,59 +2663,59 @@ const deserializeAws_restJson1EventSummaryList = (output, context) => {
2663
2663
  };
2664
2664
  const deserializeAws_restJson1IncidentRecord = (output, context) => {
2665
2665
  return {
2666
- arn: smithy_client_1.expectString(output.arn),
2666
+ arn: (0, smithy_client_1.expectString)(output.arn),
2667
2667
  automationExecutions: output.automationExecutions !== undefined && output.automationExecutions !== null
2668
2668
  ? deserializeAws_restJson1AutomationExecutionSet(output.automationExecutions, context)
2669
2669
  : undefined,
2670
2670
  chatChannel: output.chatChannel !== undefined && output.chatChannel !== null
2671
- ? deserializeAws_restJson1ChatChannel(smithy_client_1.expectUnion(output.chatChannel), context)
2671
+ ? deserializeAws_restJson1ChatChannel((0, smithy_client_1.expectUnion)(output.chatChannel), context)
2672
2672
  : undefined,
2673
2673
  creationTime: output.creationTime !== undefined && output.creationTime !== null
2674
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
2674
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
2675
2675
  : undefined,
2676
- dedupeString: smithy_client_1.expectString(output.dedupeString),
2677
- impact: smithy_client_1.expectInt32(output.impact),
2676
+ dedupeString: (0, smithy_client_1.expectString)(output.dedupeString),
2677
+ impact: (0, smithy_client_1.expectInt32)(output.impact),
2678
2678
  incidentRecordSource: output.incidentRecordSource !== undefined && output.incidentRecordSource !== null
2679
2679
  ? deserializeAws_restJson1IncidentRecordSource(output.incidentRecordSource, context)
2680
2680
  : undefined,
2681
- lastModifiedBy: smithy_client_1.expectString(output.lastModifiedBy),
2681
+ lastModifiedBy: (0, smithy_client_1.expectString)(output.lastModifiedBy),
2682
2682
  lastModifiedTime: output.lastModifiedTime !== undefined && output.lastModifiedTime !== null
2683
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedTime)))
2683
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedTime)))
2684
2684
  : undefined,
2685
2685
  notificationTargets: output.notificationTargets !== undefined && output.notificationTargets !== null
2686
2686
  ? deserializeAws_restJson1NotificationTargetSet(output.notificationTargets, context)
2687
2687
  : undefined,
2688
2688
  resolvedTime: output.resolvedTime !== undefined && output.resolvedTime !== null
2689
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.resolvedTime)))
2689
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resolvedTime)))
2690
2690
  : undefined,
2691
- status: smithy_client_1.expectString(output.status),
2692
- summary: smithy_client_1.expectString(output.summary),
2693
- title: smithy_client_1.expectString(output.title),
2691
+ status: (0, smithy_client_1.expectString)(output.status),
2692
+ summary: (0, smithy_client_1.expectString)(output.summary),
2693
+ title: (0, smithy_client_1.expectString)(output.title),
2694
2694
  };
2695
2695
  };
2696
2696
  const deserializeAws_restJson1IncidentRecordSource = (output, context) => {
2697
2697
  return {
2698
- createdBy: smithy_client_1.expectString(output.createdBy),
2699
- invokedBy: smithy_client_1.expectString(output.invokedBy),
2700
- resourceArn: smithy_client_1.expectString(output.resourceArn),
2701
- source: smithy_client_1.expectString(output.source),
2698
+ createdBy: (0, smithy_client_1.expectString)(output.createdBy),
2699
+ invokedBy: (0, smithy_client_1.expectString)(output.invokedBy),
2700
+ resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
2701
+ source: (0, smithy_client_1.expectString)(output.source),
2702
2702
  };
2703
2703
  };
2704
2704
  const deserializeAws_restJson1IncidentRecordSummary = (output, context) => {
2705
2705
  return {
2706
- arn: smithy_client_1.expectString(output.arn),
2706
+ arn: (0, smithy_client_1.expectString)(output.arn),
2707
2707
  creationTime: output.creationTime !== undefined && output.creationTime !== null
2708
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
2708
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
2709
2709
  : undefined,
2710
- impact: smithy_client_1.expectInt32(output.impact),
2710
+ impact: (0, smithy_client_1.expectInt32)(output.impact),
2711
2711
  incidentRecordSource: output.incidentRecordSource !== undefined && output.incidentRecordSource !== null
2712
2712
  ? deserializeAws_restJson1IncidentRecordSource(output.incidentRecordSource, context)
2713
2713
  : undefined,
2714
2714
  resolvedTime: output.resolvedTime !== undefined && output.resolvedTime !== null
2715
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.resolvedTime)))
2715
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resolvedTime)))
2716
2716
  : undefined,
2717
- status: smithy_client_1.expectString(output.status),
2718
- title: smithy_client_1.expectString(output.title),
2717
+ status: (0, smithy_client_1.expectString)(output.status),
2718
+ title: (0, smithy_client_1.expectString)(output.title),
2719
2719
  };
2720
2720
  };
2721
2721
  const deserializeAws_restJson1IncidentRecordSummaryList = (output, context) => {
@@ -2731,38 +2731,38 @@ const deserializeAws_restJson1IncidentRecordSummaryList = (output, context) => {
2731
2731
  };
2732
2732
  const deserializeAws_restJson1IncidentTemplate = (output, context) => {
2733
2733
  return {
2734
- dedupeString: smithy_client_1.expectString(output.dedupeString),
2735
- impact: smithy_client_1.expectInt32(output.impact),
2734
+ dedupeString: (0, smithy_client_1.expectString)(output.dedupeString),
2735
+ impact: (0, smithy_client_1.expectInt32)(output.impact),
2736
2736
  notificationTargets: output.notificationTargets !== undefined && output.notificationTargets !== null
2737
2737
  ? deserializeAws_restJson1NotificationTargetSet(output.notificationTargets, context)
2738
2738
  : undefined,
2739
- summary: smithy_client_1.expectString(output.summary),
2740
- title: smithy_client_1.expectString(output.title),
2739
+ summary: (0, smithy_client_1.expectString)(output.summary),
2740
+ title: (0, smithy_client_1.expectString)(output.title),
2741
2741
  };
2742
2742
  };
2743
2743
  const deserializeAws_restJson1ItemIdentifier = (output, context) => {
2744
2744
  return {
2745
- type: smithy_client_1.expectString(output.type),
2745
+ type: (0, smithy_client_1.expectString)(output.type),
2746
2746
  value: output.value !== undefined && output.value !== null
2747
- ? deserializeAws_restJson1ItemValue(smithy_client_1.expectUnion(output.value), context)
2747
+ ? deserializeAws_restJson1ItemValue((0, smithy_client_1.expectUnion)(output.value), context)
2748
2748
  : undefined,
2749
2749
  };
2750
2750
  };
2751
2751
  const deserializeAws_restJson1ItemValue = (output, context) => {
2752
- if (smithy_client_1.expectString(output.arn) !== undefined) {
2753
- return { arn: smithy_client_1.expectString(output.arn) };
2752
+ if ((0, smithy_client_1.expectString)(output.arn) !== undefined) {
2753
+ return { arn: (0, smithy_client_1.expectString)(output.arn) };
2754
2754
  }
2755
- if (smithy_client_1.expectString(output.metricDefinition) !== undefined) {
2756
- return { metricDefinition: smithy_client_1.expectString(output.metricDefinition) };
2755
+ if ((0, smithy_client_1.expectString)(output.metricDefinition) !== undefined) {
2756
+ return { metricDefinition: (0, smithy_client_1.expectString)(output.metricDefinition) };
2757
2757
  }
2758
- if (smithy_client_1.expectString(output.url) !== undefined) {
2759
- return { url: smithy_client_1.expectString(output.url) };
2758
+ if ((0, smithy_client_1.expectString)(output.url) !== undefined) {
2759
+ return { url: (0, smithy_client_1.expectString)(output.url) };
2760
2760
  }
2761
2761
  return { $unknown: Object.entries(output)[0] };
2762
2762
  };
2763
2763
  const deserializeAws_restJson1NotificationTargetItem = (output, context) => {
2764
- if (smithy_client_1.expectString(output.snsTopicArn) !== undefined) {
2765
- return { snsTopicArn: smithy_client_1.expectString(output.snsTopicArn) };
2764
+ if ((0, smithy_client_1.expectString)(output.snsTopicArn) !== undefined) {
2765
+ return { snsTopicArn: (0, smithy_client_1.expectString)(output.snsTopicArn) };
2766
2766
  }
2767
2767
  return { $unknown: Object.entries(output)[0] };
2768
2768
  };
@@ -2773,17 +2773,17 @@ const deserializeAws_restJson1NotificationTargetSet = (output, context) => {
2773
2773
  if (entry === null) {
2774
2774
  return null;
2775
2775
  }
2776
- return deserializeAws_restJson1NotificationTargetItem(smithy_client_1.expectUnion(entry), context);
2776
+ return deserializeAws_restJson1NotificationTargetItem((0, smithy_client_1.expectUnion)(entry), context);
2777
2777
  });
2778
2778
  return retVal;
2779
2779
  };
2780
2780
  const deserializeAws_restJson1RegionInfo = (output, context) => {
2781
2781
  return {
2782
- sseKmsKeyId: smithy_client_1.expectString(output.sseKmsKeyId),
2783
- status: smithy_client_1.expectString(output.status),
2784
- statusMessage: smithy_client_1.expectString(output.statusMessage),
2782
+ sseKmsKeyId: (0, smithy_client_1.expectString)(output.sseKmsKeyId),
2783
+ status: (0, smithy_client_1.expectString)(output.status),
2784
+ statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
2785
2785
  statusUpdateDateTime: output.statusUpdateDateTime !== undefined && output.statusUpdateDateTime !== null
2786
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.statusUpdateDateTime)))
2786
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.statusUpdateDateTime)))
2787
2787
  : undefined,
2788
2788
  };
2789
2789
  };
@@ -2803,7 +2803,7 @@ const deserializeAws_restJson1RelatedItem = (output, context) => {
2803
2803
  identifier: output.identifier !== undefined && output.identifier !== null
2804
2804
  ? deserializeAws_restJson1ItemIdentifier(output.identifier, context)
2805
2805
  : undefined,
2806
- title: smithy_client_1.expectString(output.title),
2806
+ title: (0, smithy_client_1.expectString)(output.title),
2807
2807
  };
2808
2808
  };
2809
2809
  const deserializeAws_restJson1RelatedItemList = (output, context) => {
@@ -2819,20 +2819,20 @@ const deserializeAws_restJson1RelatedItemList = (output, context) => {
2819
2819
  };
2820
2820
  const deserializeAws_restJson1ReplicationSet = (output, context) => {
2821
2821
  return {
2822
- arn: smithy_client_1.expectString(output.arn),
2823
- createdBy: smithy_client_1.expectString(output.createdBy),
2822
+ arn: (0, smithy_client_1.expectString)(output.arn),
2823
+ createdBy: (0, smithy_client_1.expectString)(output.createdBy),
2824
2824
  createdTime: output.createdTime !== undefined && output.createdTime !== null
2825
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdTime)))
2825
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdTime)))
2826
2826
  : undefined,
2827
- deletionProtected: smithy_client_1.expectBoolean(output.deletionProtected),
2828
- lastModifiedBy: smithy_client_1.expectString(output.lastModifiedBy),
2827
+ deletionProtected: (0, smithy_client_1.expectBoolean)(output.deletionProtected),
2828
+ lastModifiedBy: (0, smithy_client_1.expectString)(output.lastModifiedBy),
2829
2829
  lastModifiedTime: output.lastModifiedTime !== undefined && output.lastModifiedTime !== null
2830
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastModifiedTime)))
2830
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedTime)))
2831
2831
  : undefined,
2832
2832
  regionMap: output.regionMap !== undefined && output.regionMap !== null
2833
2833
  ? deserializeAws_restJson1RegionInfoMap(output.regionMap, context)
2834
2834
  : undefined,
2835
- status: smithy_client_1.expectString(output.status),
2835
+ status: (0, smithy_client_1.expectString)(output.status),
2836
2836
  };
2837
2837
  };
2838
2838
  const deserializeAws_restJson1ReplicationSetArnList = (output, context) => {
@@ -2842,15 +2842,15 @@ const deserializeAws_restJson1ReplicationSetArnList = (output, context) => {
2842
2842
  if (entry === null) {
2843
2843
  return null;
2844
2844
  }
2845
- return smithy_client_1.expectString(entry);
2845
+ return (0, smithy_client_1.expectString)(entry);
2846
2846
  });
2847
2847
  return retVal;
2848
2848
  };
2849
2849
  const deserializeAws_restJson1ResourcePolicy = (output, context) => {
2850
2850
  return {
2851
- policyDocument: smithy_client_1.expectString(output.policyDocument),
2852
- policyId: smithy_client_1.expectString(output.policyId),
2853
- ramResourceShareRegion: smithy_client_1.expectString(output.ramResourceShareRegion),
2851
+ policyDocument: (0, smithy_client_1.expectString)(output.policyDocument),
2852
+ policyId: (0, smithy_client_1.expectString)(output.policyId),
2853
+ ramResourceShareRegion: (0, smithy_client_1.expectString)(output.ramResourceShareRegion),
2854
2854
  };
2855
2855
  };
2856
2856
  const deserializeAws_restJson1ResourcePolicyList = (output, context) => {
@@ -2866,9 +2866,9 @@ const deserializeAws_restJson1ResourcePolicyList = (output, context) => {
2866
2866
  };
2867
2867
  const deserializeAws_restJson1ResponsePlanSummary = (output, context) => {
2868
2868
  return {
2869
- arn: smithy_client_1.expectString(output.arn),
2870
- displayName: smithy_client_1.expectString(output.displayName),
2871
- name: smithy_client_1.expectString(output.name),
2869
+ arn: (0, smithy_client_1.expectString)(output.arn),
2870
+ displayName: (0, smithy_client_1.expectString)(output.displayName),
2871
+ name: (0, smithy_client_1.expectString)(output.name),
2872
2872
  };
2873
2873
  };
2874
2874
  const deserializeAws_restJson1ResponsePlanSummaryList = (output, context) => {
@@ -2884,13 +2884,13 @@ const deserializeAws_restJson1ResponsePlanSummaryList = (output, context) => {
2884
2884
  };
2885
2885
  const deserializeAws_restJson1SsmAutomation = (output, context) => {
2886
2886
  return {
2887
- documentName: smithy_client_1.expectString(output.documentName),
2888
- documentVersion: smithy_client_1.expectString(output.documentVersion),
2887
+ documentName: (0, smithy_client_1.expectString)(output.documentName),
2888
+ documentVersion: (0, smithy_client_1.expectString)(output.documentVersion),
2889
2889
  parameters: output.parameters !== undefined && output.parameters !== null
2890
2890
  ? deserializeAws_restJson1SsmParameters(output.parameters, context)
2891
2891
  : undefined,
2892
- roleArn: smithy_client_1.expectString(output.roleArn),
2893
- targetAccount: smithy_client_1.expectString(output.targetAccount),
2892
+ roleArn: (0, smithy_client_1.expectString)(output.roleArn),
2893
+ targetAccount: (0, smithy_client_1.expectString)(output.targetAccount),
2894
2894
  };
2895
2895
  };
2896
2896
  const deserializeAws_restJson1SsmParameters = (output, context) => {
@@ -2911,7 +2911,7 @@ const deserializeAws_restJson1SsmParameterValues = (output, context) => {
2911
2911
  if (entry === null) {
2912
2912
  return null;
2913
2913
  }
2914
- return smithy_client_1.expectString(entry);
2914
+ return (0, smithy_client_1.expectString)(entry);
2915
2915
  });
2916
2916
  return retVal;
2917
2917
  };
@@ -2922,22 +2922,22 @@ const deserializeAws_restJson1TagMap = (output, context) => {
2922
2922
  }
2923
2923
  return {
2924
2924
  ...acc,
2925
- [key]: smithy_client_1.expectString(value),
2925
+ [key]: (0, smithy_client_1.expectString)(value),
2926
2926
  };
2927
2927
  }, {});
2928
2928
  };
2929
2929
  const deserializeAws_restJson1TimelineEvent = (output, context) => {
2930
2930
  return {
2931
- eventData: smithy_client_1.expectString(output.eventData),
2932
- eventId: smithy_client_1.expectString(output.eventId),
2931
+ eventData: (0, smithy_client_1.expectString)(output.eventData),
2932
+ eventId: (0, smithy_client_1.expectString)(output.eventId),
2933
2933
  eventTime: output.eventTime !== undefined && output.eventTime !== null
2934
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTime)))
2934
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTime)))
2935
2935
  : undefined,
2936
- eventType: smithy_client_1.expectString(output.eventType),
2936
+ eventType: (0, smithy_client_1.expectString)(output.eventType),
2937
2937
  eventUpdatedTime: output.eventUpdatedTime !== undefined && output.eventUpdatedTime !== null
2938
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventUpdatedTime)))
2938
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventUpdatedTime)))
2939
2939
  : undefined,
2940
- incidentRecordArn: smithy_client_1.expectString(output.incidentRecordArn),
2940
+ incidentRecordArn: (0, smithy_client_1.expectString)(output.incidentRecordArn),
2941
2941
  };
2942
2942
  };
2943
2943
  const deserializeMetadata = (output) => {