@aws-sdk/client-mq 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 (41) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/MqClient.js +13 -13
  3. package/dist-cjs/commands/CreateBrokerCommand.js +3 -3
  4. package/dist-cjs/commands/CreateConfigurationCommand.js +3 -3
  5. package/dist-cjs/commands/CreateTagsCommand.js +3 -3
  6. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteBrokerCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeBrokerCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeConfigurationCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeUserCommand.js +3 -3
  16. package/dist-cjs/commands/ListBrokersCommand.js +3 -3
  17. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +3 -3
  18. package/dist-cjs/commands/ListConfigurationsCommand.js +3 -3
  19. package/dist-cjs/commands/ListTagsCommand.js +3 -3
  20. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  21. package/dist-cjs/commands/RebootBrokerCommand.js +3 -3
  22. package/dist-cjs/commands/UpdateBrokerCommand.js +3 -3
  23. package/dist-cjs/commands/UpdateConfigurationCommand.js +3 -3
  24. package/dist-cjs/commands/UpdateUserCommand.js +3 -3
  25. package/dist-cjs/endpoints.js +1 -1
  26. package/dist-cjs/protocols/Aws_restJson1.js +200 -200
  27. package/dist-cjs/runtimeConfig.browser.js +4 -4
  28. package/dist-cjs/runtimeConfig.js +9 -9
  29. package/dist-cjs/runtimeConfig.native.js +1 -1
  30. package/dist-es/Mq.js +22 -22
  31. package/dist-es/pagination/ListBrokersPaginator.js +4 -4
  32. package/dist-es/protocols/Aws_restJson1.js +22 -22
  33. package/dist-types/MqClient.d.ts +2 -2
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +3 -3
  37. package/dist-types/ts3.4/MqClient.d.ts +2 -2
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  41. package/package.json +34 -34
@@ -24,7 +24,7 @@ const serializeAws_restJson1CreateBrokerCommand = async (input, context) => {
24
24
  input.Configuration !== null && {
25
25
  configuration: serializeAws_restJson1ConfigurationId(input.Configuration, context),
26
26
  }),
27
- creatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
27
+ creatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
28
28
  ...(input.DeploymentMode !== undefined &&
29
29
  input.DeploymentMode !== null && { deploymentMode: input.DeploymentMode }),
30
30
  ...(input.EncryptionOptions !== undefined &&
@@ -107,7 +107,7 @@ const serializeAws_restJson1CreateTagsCommand = async (input, context) => {
107
107
  if (labelValue.length <= 0) {
108
108
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
109
109
  }
110
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
110
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
111
111
  }
112
112
  else {
113
113
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -139,7 +139,7 @@ const serializeAws_restJson1CreateUserCommand = async (input, context) => {
139
139
  if (labelValue.length <= 0) {
140
140
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
141
141
  }
142
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
142
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
143
143
  }
144
144
  else {
145
145
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -149,7 +149,7 @@ const serializeAws_restJson1CreateUserCommand = async (input, context) => {
149
149
  if (labelValue.length <= 0) {
150
150
  throw new Error("Empty value provided for input HTTP label: Username.");
151
151
  }
152
- resolvedPath = resolvedPath.replace("{Username}", smithy_client_1.extendedEncodeURIComponent(labelValue));
152
+ resolvedPath = resolvedPath.replace("{Username}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
153
153
  }
154
154
  else {
155
155
  throw new Error("No value provided for input HTTP label: Username.");
@@ -181,7 +181,7 @@ const serializeAws_restJson1DeleteBrokerCommand = async (input, context) => {
181
181
  if (labelValue.length <= 0) {
182
182
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
183
183
  }
184
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
184
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
185
185
  }
186
186
  else {
187
187
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -207,7 +207,7 @@ const serializeAws_restJson1DeleteTagsCommand = async (input, context) => {
207
207
  if (labelValue.length <= 0) {
208
208
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
209
209
  }
210
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
210
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
211
211
  }
212
212
  else {
213
213
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -237,7 +237,7 @@ const serializeAws_restJson1DeleteUserCommand = async (input, context) => {
237
237
  if (labelValue.length <= 0) {
238
238
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
239
239
  }
240
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
240
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
241
241
  }
242
242
  else {
243
243
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -247,7 +247,7 @@ const serializeAws_restJson1DeleteUserCommand = async (input, context) => {
247
247
  if (labelValue.length <= 0) {
248
248
  throw new Error("Empty value provided for input HTTP label: Username.");
249
249
  }
250
- resolvedPath = resolvedPath.replace("{Username}", smithy_client_1.extendedEncodeURIComponent(labelValue));
250
+ resolvedPath = resolvedPath.replace("{Username}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
251
251
  }
252
252
  else {
253
253
  throw new Error("No value provided for input HTTP label: Username.");
@@ -273,7 +273,7 @@ const serializeAws_restJson1DescribeBrokerCommand = async (input, context) => {
273
273
  if (labelValue.length <= 0) {
274
274
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
275
275
  }
276
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
276
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
277
277
  }
278
278
  else {
279
279
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -345,7 +345,7 @@ const serializeAws_restJson1DescribeConfigurationCommand = async (input, context
345
345
  if (labelValue.length <= 0) {
346
346
  throw new Error("Empty value provided for input HTTP label: ConfigurationId.");
347
347
  }
348
- resolvedPath = resolvedPath.replace("{ConfigurationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
348
+ resolvedPath = resolvedPath.replace("{ConfigurationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
349
349
  }
350
350
  else {
351
351
  throw new Error("No value provided for input HTTP label: ConfigurationId.");
@@ -372,7 +372,7 @@ const serializeAws_restJson1DescribeConfigurationRevisionCommand = async (input,
372
372
  if (labelValue.length <= 0) {
373
373
  throw new Error("Empty value provided for input HTTP label: ConfigurationId.");
374
374
  }
375
- resolvedPath = resolvedPath.replace("{ConfigurationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
375
+ resolvedPath = resolvedPath.replace("{ConfigurationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
376
376
  }
377
377
  else {
378
378
  throw new Error("No value provided for input HTTP label: ConfigurationId.");
@@ -382,7 +382,7 @@ const serializeAws_restJson1DescribeConfigurationRevisionCommand = async (input,
382
382
  if (labelValue.length <= 0) {
383
383
  throw new Error("Empty value provided for input HTTP label: ConfigurationRevision.");
384
384
  }
385
- resolvedPath = resolvedPath.replace("{ConfigurationRevision}", smithy_client_1.extendedEncodeURIComponent(labelValue));
385
+ resolvedPath = resolvedPath.replace("{ConfigurationRevision}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
386
386
  }
387
387
  else {
388
388
  throw new Error("No value provided for input HTTP label: ConfigurationRevision.");
@@ -408,7 +408,7 @@ const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
408
408
  if (labelValue.length <= 0) {
409
409
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
410
410
  }
411
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
411
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
412
412
  }
413
413
  else {
414
414
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -418,7 +418,7 @@ const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
418
418
  if (labelValue.length <= 0) {
419
419
  throw new Error("Empty value provided for input HTTP label: Username.");
420
420
  }
421
- resolvedPath = resolvedPath.replace("{Username}", smithy_client_1.extendedEncodeURIComponent(labelValue));
421
+ resolvedPath = resolvedPath.replace("{Username}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
422
422
  }
423
423
  else {
424
424
  throw new Error("No value provided for input HTTP label: Username.");
@@ -466,7 +466,7 @@ const serializeAws_restJson1ListConfigurationRevisionsCommand = async (input, co
466
466
  if (labelValue.length <= 0) {
467
467
  throw new Error("Empty value provided for input HTTP label: ConfigurationId.");
468
468
  }
469
- resolvedPath = resolvedPath.replace("{ConfigurationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
469
+ resolvedPath = resolvedPath.replace("{ConfigurationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
470
470
  }
471
471
  else {
472
472
  throw new Error("No value provided for input HTTP label: ConfigurationId.");
@@ -518,7 +518,7 @@ const serializeAws_restJson1ListTagsCommand = async (input, context) => {
518
518
  if (labelValue.length <= 0) {
519
519
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
520
520
  }
521
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
521
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
522
522
  }
523
523
  else {
524
524
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -544,7 +544,7 @@ const serializeAws_restJson1ListUsersCommand = async (input, context) => {
544
544
  if (labelValue.length <= 0) {
545
545
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
546
546
  }
547
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
547
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
548
548
  }
549
549
  else {
550
550
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -575,7 +575,7 @@ const serializeAws_restJson1RebootBrokerCommand = async (input, context) => {
575
575
  if (labelValue.length <= 0) {
576
576
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
577
577
  }
578
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
578
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
579
579
  }
580
580
  else {
581
581
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -603,7 +603,7 @@ const serializeAws_restJson1UpdateBrokerCommand = async (input, context) => {
603
603
  if (labelValue.length <= 0) {
604
604
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
605
605
  }
606
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
606
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
607
607
  }
608
608
  else {
609
609
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -657,7 +657,7 @@ const serializeAws_restJson1UpdateConfigurationCommand = async (input, context)
657
657
  if (labelValue.length <= 0) {
658
658
  throw new Error("Empty value provided for input HTTP label: ConfigurationId.");
659
659
  }
660
- resolvedPath = resolvedPath.replace("{ConfigurationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
660
+ resolvedPath = resolvedPath.replace("{ConfigurationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
661
661
  }
662
662
  else {
663
663
  throw new Error("No value provided for input HTTP label: ConfigurationId.");
@@ -689,7 +689,7 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
689
689
  if (labelValue.length <= 0) {
690
690
  throw new Error("Empty value provided for input HTTP label: BrokerId.");
691
691
  }
692
- resolvedPath = resolvedPath.replace("{BrokerId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
692
+ resolvedPath = resolvedPath.replace("{BrokerId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
693
693
  }
694
694
  else {
695
695
  throw new Error("No value provided for input HTTP label: BrokerId.");
@@ -699,7 +699,7 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
699
699
  if (labelValue.length <= 0) {
700
700
  throw new Error("Empty value provided for input HTTP label: Username.");
701
701
  }
702
- resolvedPath = resolvedPath.replace("{Username}", smithy_client_1.extendedEncodeURIComponent(labelValue));
702
+ resolvedPath = resolvedPath.replace("{Username}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
703
703
  }
704
704
  else {
705
705
  throw new Error("No value provided for input HTTP label: Username.");
@@ -731,12 +731,12 @@ const deserializeAws_restJson1CreateBrokerCommand = async (output, context) => {
731
731
  BrokerArn: undefined,
732
732
  BrokerId: undefined,
733
733
  };
734
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
734
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
735
735
  if (data.brokerArn !== undefined && data.brokerArn !== null) {
736
- contents.BrokerArn = smithy_client_1.expectString(data.brokerArn);
736
+ contents.BrokerArn = (0, smithy_client_1.expectString)(data.brokerArn);
737
737
  }
738
738
  if (data.brokerId !== undefined && data.brokerId !== null) {
739
- contents.BrokerId = smithy_client_1.expectString(data.brokerId);
739
+ contents.BrokerId = (0, smithy_client_1.expectString)(data.brokerId);
740
740
  }
741
741
  return Promise.resolve(contents);
742
742
  };
@@ -772,7 +772,7 @@ const deserializeAws_restJson1CreateBrokerCommandError = async (output, context)
772
772
  $fault: "client",
773
773
  $metadata: deserializeMetadata(output),
774
774
  });
775
- throw smithy_client_1.decorateServiceException(response, parsedBody);
775
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
776
776
  }
777
777
  };
778
778
  const deserializeAws_restJson1CreateConfigurationCommand = async (output, context) => {
@@ -788,24 +788,24 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
788
788
  LatestRevision: undefined,
789
789
  Name: undefined,
790
790
  };
791
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
791
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
792
792
  if (data.arn !== undefined && data.arn !== null) {
793
- contents.Arn = smithy_client_1.expectString(data.arn);
793
+ contents.Arn = (0, smithy_client_1.expectString)(data.arn);
794
794
  }
795
795
  if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
796
- contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
796
+ contents.AuthenticationStrategy = (0, smithy_client_1.expectString)(data.authenticationStrategy);
797
797
  }
798
798
  if (data.created !== undefined && data.created !== null) {
799
- contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
799
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
800
800
  }
801
801
  if (data.id !== undefined && data.id !== null) {
802
- contents.Id = smithy_client_1.expectString(data.id);
802
+ contents.Id = (0, smithy_client_1.expectString)(data.id);
803
803
  }
804
804
  if (data.latestRevision !== undefined && data.latestRevision !== null) {
805
805
  contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
806
806
  }
807
807
  if (data.name !== undefined && data.name !== null) {
808
- contents.Name = smithy_client_1.expectString(data.name);
808
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
809
809
  }
810
810
  return Promise.resolve(contents);
811
811
  };
@@ -838,7 +838,7 @@ const deserializeAws_restJson1CreateConfigurationCommandError = async (output, c
838
838
  $fault: "client",
839
839
  $metadata: deserializeMetadata(output),
840
840
  });
841
- throw smithy_client_1.decorateServiceException(response, parsedBody);
841
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
842
842
  }
843
843
  };
844
844
  const deserializeAws_restJson1CreateTagsCommand = async (output, context) => {
@@ -880,7 +880,7 @@ const deserializeAws_restJson1CreateTagsCommandError = async (output, context) =
880
880
  $fault: "client",
881
881
  $metadata: deserializeMetadata(output),
882
882
  });
883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
884
884
  }
885
885
  };
886
886
  const deserializeAws_restJson1CreateUserCommand = async (output, context) => {
@@ -925,7 +925,7 @@ const deserializeAws_restJson1CreateUserCommandError = async (output, context) =
925
925
  $fault: "client",
926
926
  $metadata: deserializeMetadata(output),
927
927
  });
928
- throw smithy_client_1.decorateServiceException(response, parsedBody);
928
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
929
929
  }
930
930
  };
931
931
  const deserializeAws_restJson1DeleteBrokerCommand = async (output, context) => {
@@ -936,9 +936,9 @@ const deserializeAws_restJson1DeleteBrokerCommand = async (output, context) => {
936
936
  $metadata: deserializeMetadata(output),
937
937
  BrokerId: undefined,
938
938
  };
939
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
939
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
940
940
  if (data.brokerId !== undefined && data.brokerId !== null) {
941
- contents.BrokerId = smithy_client_1.expectString(data.brokerId);
941
+ contents.BrokerId = (0, smithy_client_1.expectString)(data.brokerId);
942
942
  }
943
943
  return Promise.resolve(contents);
944
944
  };
@@ -971,7 +971,7 @@ const deserializeAws_restJson1DeleteBrokerCommandError = async (output, context)
971
971
  $fault: "client",
972
972
  $metadata: deserializeMetadata(output),
973
973
  });
974
- throw smithy_client_1.decorateServiceException(response, parsedBody);
974
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
975
975
  }
976
976
  };
977
977
  const deserializeAws_restJson1DeleteTagsCommand = async (output, context) => {
@@ -1013,7 +1013,7 @@ const deserializeAws_restJson1DeleteTagsCommandError = async (output, context) =
1013
1013
  $fault: "client",
1014
1014
  $metadata: deserializeMetadata(output),
1015
1015
  });
1016
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1016
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1017
1017
  }
1018
1018
  };
1019
1019
  const deserializeAws_restJson1DeleteUserCommand = async (output, context) => {
@@ -1055,7 +1055,7 @@ const deserializeAws_restJson1DeleteUserCommandError = async (output, context) =
1055
1055
  $fault: "client",
1056
1056
  $metadata: deserializeMetadata(output),
1057
1057
  });
1058
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1058
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1059
1059
  }
1060
1060
  };
1061
1061
  const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) => {
@@ -1093,48 +1093,48 @@ const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) =>
1093
1093
  Tags: undefined,
1094
1094
  Users: undefined,
1095
1095
  };
1096
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1096
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1097
1097
  if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
1098
- contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
1098
+ contents.AuthenticationStrategy = (0, smithy_client_1.expectString)(data.authenticationStrategy);
1099
1099
  }
1100
1100
  if (data.autoMinorVersionUpgrade !== undefined && data.autoMinorVersionUpgrade !== null) {
1101
- contents.AutoMinorVersionUpgrade = smithy_client_1.expectBoolean(data.autoMinorVersionUpgrade);
1101
+ contents.AutoMinorVersionUpgrade = (0, smithy_client_1.expectBoolean)(data.autoMinorVersionUpgrade);
1102
1102
  }
1103
1103
  if (data.brokerArn !== undefined && data.brokerArn !== null) {
1104
- contents.BrokerArn = smithy_client_1.expectString(data.brokerArn);
1104
+ contents.BrokerArn = (0, smithy_client_1.expectString)(data.brokerArn);
1105
1105
  }
1106
1106
  if (data.brokerId !== undefined && data.brokerId !== null) {
1107
- contents.BrokerId = smithy_client_1.expectString(data.brokerId);
1107
+ contents.BrokerId = (0, smithy_client_1.expectString)(data.brokerId);
1108
1108
  }
1109
1109
  if (data.brokerInstances !== undefined && data.brokerInstances !== null) {
1110
1110
  contents.BrokerInstances = deserializeAws_restJson1__listOfBrokerInstance(data.brokerInstances, context);
1111
1111
  }
1112
1112
  if (data.brokerName !== undefined && data.brokerName !== null) {
1113
- contents.BrokerName = smithy_client_1.expectString(data.brokerName);
1113
+ contents.BrokerName = (0, smithy_client_1.expectString)(data.brokerName);
1114
1114
  }
1115
1115
  if (data.brokerState !== undefined && data.brokerState !== null) {
1116
- contents.BrokerState = smithy_client_1.expectString(data.brokerState);
1116
+ contents.BrokerState = (0, smithy_client_1.expectString)(data.brokerState);
1117
1117
  }
1118
1118
  if (data.configurations !== undefined && data.configurations !== null) {
1119
1119
  contents.Configurations = deserializeAws_restJson1Configurations(data.configurations, context);
1120
1120
  }
1121
1121
  if (data.created !== undefined && data.created !== null) {
1122
- contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
1122
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1123
1123
  }
1124
1124
  if (data.deploymentMode !== undefined && data.deploymentMode !== null) {
1125
- contents.DeploymentMode = smithy_client_1.expectString(data.deploymentMode);
1125
+ contents.DeploymentMode = (0, smithy_client_1.expectString)(data.deploymentMode);
1126
1126
  }
1127
1127
  if (data.encryptionOptions !== undefined && data.encryptionOptions !== null) {
1128
1128
  contents.EncryptionOptions = deserializeAws_restJson1EncryptionOptions(data.encryptionOptions, context);
1129
1129
  }
1130
1130
  if (data.engineType !== undefined && data.engineType !== null) {
1131
- contents.EngineType = smithy_client_1.expectString(data.engineType);
1131
+ contents.EngineType = (0, smithy_client_1.expectString)(data.engineType);
1132
1132
  }
1133
1133
  if (data.engineVersion !== undefined && data.engineVersion !== null) {
1134
- contents.EngineVersion = smithy_client_1.expectString(data.engineVersion);
1134
+ contents.EngineVersion = (0, smithy_client_1.expectString)(data.engineVersion);
1135
1135
  }
1136
1136
  if (data.hostInstanceType !== undefined && data.hostInstanceType !== null) {
1137
- contents.HostInstanceType = smithy_client_1.expectString(data.hostInstanceType);
1137
+ contents.HostInstanceType = (0, smithy_client_1.expectString)(data.hostInstanceType);
1138
1138
  }
1139
1139
  if (data.ldapServerMetadata !== undefined && data.ldapServerMetadata !== null) {
1140
1140
  contents.LdapServerMetadata = deserializeAws_restJson1LdapServerMetadataOutput(data.ldapServerMetadata, context);
@@ -1146,13 +1146,13 @@ const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) =>
1146
1146
  contents.MaintenanceWindowStartTime = deserializeAws_restJson1WeeklyStartTime(data.maintenanceWindowStartTime, context);
1147
1147
  }
1148
1148
  if (data.pendingAuthenticationStrategy !== undefined && data.pendingAuthenticationStrategy !== null) {
1149
- contents.PendingAuthenticationStrategy = smithy_client_1.expectString(data.pendingAuthenticationStrategy);
1149
+ contents.PendingAuthenticationStrategy = (0, smithy_client_1.expectString)(data.pendingAuthenticationStrategy);
1150
1150
  }
1151
1151
  if (data.pendingEngineVersion !== undefined && data.pendingEngineVersion !== null) {
1152
- contents.PendingEngineVersion = smithy_client_1.expectString(data.pendingEngineVersion);
1152
+ contents.PendingEngineVersion = (0, smithy_client_1.expectString)(data.pendingEngineVersion);
1153
1153
  }
1154
1154
  if (data.pendingHostInstanceType !== undefined && data.pendingHostInstanceType !== null) {
1155
- contents.PendingHostInstanceType = smithy_client_1.expectString(data.pendingHostInstanceType);
1155
+ contents.PendingHostInstanceType = (0, smithy_client_1.expectString)(data.pendingHostInstanceType);
1156
1156
  }
1157
1157
  if (data.pendingLdapServerMetadata !== undefined && data.pendingLdapServerMetadata !== null) {
1158
1158
  contents.PendingLdapServerMetadata = deserializeAws_restJson1LdapServerMetadataOutput(data.pendingLdapServerMetadata, context);
@@ -1161,13 +1161,13 @@ const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) =>
1161
1161
  contents.PendingSecurityGroups = deserializeAws_restJson1__listOf__string(data.pendingSecurityGroups, context);
1162
1162
  }
1163
1163
  if (data.publiclyAccessible !== undefined && data.publiclyAccessible !== null) {
1164
- contents.PubliclyAccessible = smithy_client_1.expectBoolean(data.publiclyAccessible);
1164
+ contents.PubliclyAccessible = (0, smithy_client_1.expectBoolean)(data.publiclyAccessible);
1165
1165
  }
1166
1166
  if (data.securityGroups !== undefined && data.securityGroups !== null) {
1167
1167
  contents.SecurityGroups = deserializeAws_restJson1__listOf__string(data.securityGroups, context);
1168
1168
  }
1169
1169
  if (data.storageType !== undefined && data.storageType !== null) {
1170
- contents.StorageType = smithy_client_1.expectString(data.storageType);
1170
+ contents.StorageType = (0, smithy_client_1.expectString)(data.storageType);
1171
1171
  }
1172
1172
  if (data.subnetIds !== undefined && data.subnetIds !== null) {
1173
1173
  contents.SubnetIds = deserializeAws_restJson1__listOf__string(data.subnetIds, context);
@@ -1209,7 +1209,7 @@ const deserializeAws_restJson1DescribeBrokerCommandError = async (output, contex
1209
1209
  $fault: "client",
1210
1210
  $metadata: deserializeMetadata(output),
1211
1211
  });
1212
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1212
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1213
1213
  }
1214
1214
  };
1215
1215
  const deserializeAws_restJson1DescribeBrokerEngineTypesCommand = async (output, context) => {
@@ -1222,15 +1222,15 @@ const deserializeAws_restJson1DescribeBrokerEngineTypesCommand = async (output,
1222
1222
  MaxResults: undefined,
1223
1223
  NextToken: undefined,
1224
1224
  };
1225
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1225
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1226
1226
  if (data.brokerEngineTypes !== undefined && data.brokerEngineTypes !== null) {
1227
1227
  contents.BrokerEngineTypes = deserializeAws_restJson1__listOfBrokerEngineType(data.brokerEngineTypes, context);
1228
1228
  }
1229
1229
  if (data.maxResults !== undefined && data.maxResults !== null) {
1230
- contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
1230
+ contents.MaxResults = (0, smithy_client_1.expectInt32)(data.maxResults);
1231
1231
  }
1232
1232
  if (data.nextToken !== undefined && data.nextToken !== null) {
1233
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1233
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1234
1234
  }
1235
1235
  return Promise.resolve(contents);
1236
1236
  };
@@ -1260,7 +1260,7 @@ const deserializeAws_restJson1DescribeBrokerEngineTypesCommandError = async (out
1260
1260
  $fault: "client",
1261
1261
  $metadata: deserializeMetadata(output),
1262
1262
  });
1263
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1263
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1264
1264
  }
1265
1265
  };
1266
1266
  const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommand = async (output, context) => {
@@ -1273,15 +1273,15 @@ const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommand = async (outp
1273
1273
  MaxResults: undefined,
1274
1274
  NextToken: undefined,
1275
1275
  };
1276
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1276
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1277
1277
  if (data.brokerInstanceOptions !== undefined && data.brokerInstanceOptions !== null) {
1278
1278
  contents.BrokerInstanceOptions = deserializeAws_restJson1__listOfBrokerInstanceOption(data.brokerInstanceOptions, context);
1279
1279
  }
1280
1280
  if (data.maxResults !== undefined && data.maxResults !== null) {
1281
- contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
1281
+ contents.MaxResults = (0, smithy_client_1.expectInt32)(data.maxResults);
1282
1282
  }
1283
1283
  if (data.nextToken !== undefined && data.nextToken !== null) {
1284
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1284
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1285
1285
  }
1286
1286
  return Promise.resolve(contents);
1287
1287
  };
@@ -1311,7 +1311,7 @@ const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommandError = async
1311
1311
  $fault: "client",
1312
1312
  $metadata: deserializeMetadata(output),
1313
1313
  });
1314
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1314
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1315
1315
  }
1316
1316
  };
1317
1317
  const deserializeAws_restJson1DescribeConfigurationCommand = async (output, context) => {
@@ -1331,33 +1331,33 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
1331
1331
  Name: undefined,
1332
1332
  Tags: undefined,
1333
1333
  };
1334
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1334
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1335
1335
  if (data.arn !== undefined && data.arn !== null) {
1336
- contents.Arn = smithy_client_1.expectString(data.arn);
1336
+ contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1337
1337
  }
1338
1338
  if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
1339
- contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
1339
+ contents.AuthenticationStrategy = (0, smithy_client_1.expectString)(data.authenticationStrategy);
1340
1340
  }
1341
1341
  if (data.created !== undefined && data.created !== null) {
1342
- contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
1342
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1343
1343
  }
1344
1344
  if (data.description !== undefined && data.description !== null) {
1345
- contents.Description = smithy_client_1.expectString(data.description);
1345
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
1346
1346
  }
1347
1347
  if (data.engineType !== undefined && data.engineType !== null) {
1348
- contents.EngineType = smithy_client_1.expectString(data.engineType);
1348
+ contents.EngineType = (0, smithy_client_1.expectString)(data.engineType);
1349
1349
  }
1350
1350
  if (data.engineVersion !== undefined && data.engineVersion !== null) {
1351
- contents.EngineVersion = smithy_client_1.expectString(data.engineVersion);
1351
+ contents.EngineVersion = (0, smithy_client_1.expectString)(data.engineVersion);
1352
1352
  }
1353
1353
  if (data.id !== undefined && data.id !== null) {
1354
- contents.Id = smithy_client_1.expectString(data.id);
1354
+ contents.Id = (0, smithy_client_1.expectString)(data.id);
1355
1355
  }
1356
1356
  if (data.latestRevision !== undefined && data.latestRevision !== null) {
1357
1357
  contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
1358
1358
  }
1359
1359
  if (data.name !== undefined && data.name !== null) {
1360
- contents.Name = smithy_client_1.expectString(data.name);
1360
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
1361
1361
  }
1362
1362
  if (data.tags !== undefined && data.tags !== null) {
1363
1363
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1393,7 +1393,7 @@ const deserializeAws_restJson1DescribeConfigurationCommandError = async (output,
1393
1393
  $fault: "client",
1394
1394
  $metadata: deserializeMetadata(output),
1395
1395
  });
1396
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1396
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1397
1397
  }
1398
1398
  };
1399
1399
  const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (output, context) => {
@@ -1407,18 +1407,18 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (outp
1407
1407
  Data: undefined,
1408
1408
  Description: undefined,
1409
1409
  };
1410
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1410
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1411
1411
  if (data.configurationId !== undefined && data.configurationId !== null) {
1412
- contents.ConfigurationId = smithy_client_1.expectString(data.configurationId);
1412
+ contents.ConfigurationId = (0, smithy_client_1.expectString)(data.configurationId);
1413
1413
  }
1414
1414
  if (data.created !== undefined && data.created !== null) {
1415
- contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
1415
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1416
1416
  }
1417
1417
  if (data.data !== undefined && data.data !== null) {
1418
- contents.Data = smithy_client_1.expectString(data.data);
1418
+ contents.Data = (0, smithy_client_1.expectString)(data.data);
1419
1419
  }
1420
1420
  if (data.description !== undefined && data.description !== null) {
1421
- contents.Description = smithy_client_1.expectString(data.description);
1421
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
1422
1422
  }
1423
1423
  return Promise.resolve(contents);
1424
1424
  };
@@ -1451,7 +1451,7 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async
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_restJson1DescribeUserCommand = async (output, context) => {
@@ -1466,12 +1466,12 @@ const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
1466
1466
  Pending: undefined,
1467
1467
  Username: undefined,
1468
1468
  };
1469
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1469
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1470
1470
  if (data.brokerId !== undefined && data.brokerId !== null) {
1471
- contents.BrokerId = smithy_client_1.expectString(data.brokerId);
1471
+ contents.BrokerId = (0, smithy_client_1.expectString)(data.brokerId);
1472
1472
  }
1473
1473
  if (data.consoleAccess !== undefined && data.consoleAccess !== null) {
1474
- contents.ConsoleAccess = smithy_client_1.expectBoolean(data.consoleAccess);
1474
+ contents.ConsoleAccess = (0, smithy_client_1.expectBoolean)(data.consoleAccess);
1475
1475
  }
1476
1476
  if (data.groups !== undefined && data.groups !== null) {
1477
1477
  contents.Groups = deserializeAws_restJson1__listOf__string(data.groups, context);
@@ -1480,7 +1480,7 @@ const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
1480
1480
  contents.Pending = deserializeAws_restJson1UserPendingChanges(data.pending, context);
1481
1481
  }
1482
1482
  if (data.username !== undefined && data.username !== null) {
1483
- contents.Username = smithy_client_1.expectString(data.username);
1483
+ contents.Username = (0, smithy_client_1.expectString)(data.username);
1484
1484
  }
1485
1485
  return Promise.resolve(contents);
1486
1486
  };
@@ -1513,7 +1513,7 @@ const deserializeAws_restJson1DescribeUserCommandError = async (output, context)
1513
1513
  $fault: "client",
1514
1514
  $metadata: deserializeMetadata(output),
1515
1515
  });
1516
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1516
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1517
1517
  }
1518
1518
  };
1519
1519
  const deserializeAws_restJson1ListBrokersCommand = async (output, context) => {
@@ -1525,12 +1525,12 @@ const deserializeAws_restJson1ListBrokersCommand = async (output, context) => {
1525
1525
  BrokerSummaries: undefined,
1526
1526
  NextToken: undefined,
1527
1527
  };
1528
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1528
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1529
1529
  if (data.brokerSummaries !== undefined && data.brokerSummaries !== null) {
1530
1530
  contents.BrokerSummaries = deserializeAws_restJson1__listOfBrokerSummary(data.brokerSummaries, context);
1531
1531
  }
1532
1532
  if (data.nextToken !== undefined && data.nextToken !== null) {
1533
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1533
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1534
1534
  }
1535
1535
  return Promise.resolve(contents);
1536
1536
  };
@@ -1560,7 +1560,7 @@ const deserializeAws_restJson1ListBrokersCommandError = async (output, context)
1560
1560
  $fault: "client",
1561
1561
  $metadata: deserializeMetadata(output),
1562
1562
  });
1563
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1563
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1564
1564
  }
1565
1565
  };
1566
1566
  const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output, context) => {
@@ -1574,15 +1574,15 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output,
1574
1574
  NextToken: undefined,
1575
1575
  Revisions: undefined,
1576
1576
  };
1577
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1577
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1578
1578
  if (data.configurationId !== undefined && data.configurationId !== null) {
1579
- contents.ConfigurationId = smithy_client_1.expectString(data.configurationId);
1579
+ contents.ConfigurationId = (0, smithy_client_1.expectString)(data.configurationId);
1580
1580
  }
1581
1581
  if (data.maxResults !== undefined && data.maxResults !== null) {
1582
- contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
1582
+ contents.MaxResults = (0, smithy_client_1.expectInt32)(data.maxResults);
1583
1583
  }
1584
1584
  if (data.nextToken !== undefined && data.nextToken !== null) {
1585
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1585
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1586
1586
  }
1587
1587
  if (data.revisions !== undefined && data.revisions !== null) {
1588
1588
  contents.Revisions = deserializeAws_restJson1__listOfConfigurationRevision(data.revisions, context);
@@ -1618,7 +1618,7 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (ou
1618
1618
  $fault: "client",
1619
1619
  $metadata: deserializeMetadata(output),
1620
1620
  });
1621
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1621
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1622
1622
  }
1623
1623
  };
1624
1624
  const deserializeAws_restJson1ListConfigurationsCommand = async (output, context) => {
@@ -1631,15 +1631,15 @@ const deserializeAws_restJson1ListConfigurationsCommand = async (output, context
1631
1631
  MaxResults: undefined,
1632
1632
  NextToken: undefined,
1633
1633
  };
1634
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1634
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1635
1635
  if (data.configurations !== undefined && data.configurations !== null) {
1636
1636
  contents.Configurations = deserializeAws_restJson1__listOfConfiguration(data.configurations, context);
1637
1637
  }
1638
1638
  if (data.maxResults !== undefined && data.maxResults !== null) {
1639
- contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
1639
+ contents.MaxResults = (0, smithy_client_1.expectInt32)(data.maxResults);
1640
1640
  }
1641
1641
  if (data.nextToken !== undefined && data.nextToken !== null) {
1642
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1642
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1643
1643
  }
1644
1644
  return Promise.resolve(contents);
1645
1645
  };
@@ -1669,7 +1669,7 @@ const deserializeAws_restJson1ListConfigurationsCommandError = async (output, co
1669
1669
  $fault: "client",
1670
1670
  $metadata: deserializeMetadata(output),
1671
1671
  });
1672
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1672
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1673
1673
  }
1674
1674
  };
1675
1675
  const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
@@ -1680,7 +1680,7 @@ const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
1680
1680
  $metadata: deserializeMetadata(output),
1681
1681
  Tags: undefined,
1682
1682
  };
1683
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1683
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1684
1684
  if (data.tags !== undefined && data.tags !== null) {
1685
1685
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1686
1686
  }
@@ -1715,7 +1715,7 @@ const deserializeAws_restJson1ListTagsCommandError = async (output, context) =>
1715
1715
  $fault: "client",
1716
1716
  $metadata: deserializeMetadata(output),
1717
1717
  });
1718
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1718
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1719
1719
  }
1720
1720
  };
1721
1721
  const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
@@ -1729,15 +1729,15 @@ const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
1729
1729
  NextToken: undefined,
1730
1730
  Users: undefined,
1731
1731
  };
1732
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1732
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1733
1733
  if (data.brokerId !== undefined && data.brokerId !== null) {
1734
- contents.BrokerId = smithy_client_1.expectString(data.brokerId);
1734
+ contents.BrokerId = (0, smithy_client_1.expectString)(data.brokerId);
1735
1735
  }
1736
1736
  if (data.maxResults !== undefined && data.maxResults !== null) {
1737
- contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
1737
+ contents.MaxResults = (0, smithy_client_1.expectInt32)(data.maxResults);
1738
1738
  }
1739
1739
  if (data.nextToken !== undefined && data.nextToken !== null) {
1740
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1740
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1741
1741
  }
1742
1742
  if (data.users !== undefined && data.users !== null) {
1743
1743
  contents.Users = deserializeAws_restJson1__listOfUserSummary(data.users, context);
@@ -1773,7 +1773,7 @@ const deserializeAws_restJson1ListUsersCommandError = async (output, context) =>
1773
1773
  $fault: "client",
1774
1774
  $metadata: deserializeMetadata(output),
1775
1775
  });
1776
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1776
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1777
1777
  }
1778
1778
  };
1779
1779
  const deserializeAws_restJson1RebootBrokerCommand = async (output, context) => {
@@ -1815,7 +1815,7 @@ const deserializeAws_restJson1RebootBrokerCommandError = async (output, context)
1815
1815
  $fault: "client",
1816
1816
  $metadata: deserializeMetadata(output),
1817
1817
  });
1818
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1818
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1819
1819
  }
1820
1820
  };
1821
1821
  const deserializeAws_restJson1UpdateBrokerCommand = async (output, context) => {
@@ -1835,24 +1835,24 @@ const deserializeAws_restJson1UpdateBrokerCommand = async (output, context) => {
1835
1835
  MaintenanceWindowStartTime: undefined,
1836
1836
  SecurityGroups: undefined,
1837
1837
  };
1838
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1838
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1839
1839
  if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
1840
- contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
1840
+ contents.AuthenticationStrategy = (0, smithy_client_1.expectString)(data.authenticationStrategy);
1841
1841
  }
1842
1842
  if (data.autoMinorVersionUpgrade !== undefined && data.autoMinorVersionUpgrade !== null) {
1843
- contents.AutoMinorVersionUpgrade = smithy_client_1.expectBoolean(data.autoMinorVersionUpgrade);
1843
+ contents.AutoMinorVersionUpgrade = (0, smithy_client_1.expectBoolean)(data.autoMinorVersionUpgrade);
1844
1844
  }
1845
1845
  if (data.brokerId !== undefined && data.brokerId !== null) {
1846
- contents.BrokerId = smithy_client_1.expectString(data.brokerId);
1846
+ contents.BrokerId = (0, smithy_client_1.expectString)(data.brokerId);
1847
1847
  }
1848
1848
  if (data.configuration !== undefined && data.configuration !== null) {
1849
1849
  contents.Configuration = deserializeAws_restJson1ConfigurationId(data.configuration, context);
1850
1850
  }
1851
1851
  if (data.engineVersion !== undefined && data.engineVersion !== null) {
1852
- contents.EngineVersion = smithy_client_1.expectString(data.engineVersion);
1852
+ contents.EngineVersion = (0, smithy_client_1.expectString)(data.engineVersion);
1853
1853
  }
1854
1854
  if (data.hostInstanceType !== undefined && data.hostInstanceType !== null) {
1855
- contents.HostInstanceType = smithy_client_1.expectString(data.hostInstanceType);
1855
+ contents.HostInstanceType = (0, smithy_client_1.expectString)(data.hostInstanceType);
1856
1856
  }
1857
1857
  if (data.ldapServerMetadata !== undefined && data.ldapServerMetadata !== null) {
1858
1858
  contents.LdapServerMetadata = deserializeAws_restJson1LdapServerMetadataOutput(data.ldapServerMetadata, context);
@@ -1900,7 +1900,7 @@ const deserializeAws_restJson1UpdateBrokerCommandError = 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_restJson1UpdateConfigurationCommand = async (output, context) => {
@@ -1916,21 +1916,21 @@ const deserializeAws_restJson1UpdateConfigurationCommand = async (output, contex
1916
1916
  Name: undefined,
1917
1917
  Warnings: undefined,
1918
1918
  };
1919
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1919
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1920
1920
  if (data.arn !== undefined && data.arn !== null) {
1921
- contents.Arn = smithy_client_1.expectString(data.arn);
1921
+ contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1922
1922
  }
1923
1923
  if (data.created !== undefined && data.created !== null) {
1924
- contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
1924
+ contents.Created = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.created));
1925
1925
  }
1926
1926
  if (data.id !== undefined && data.id !== null) {
1927
- contents.Id = smithy_client_1.expectString(data.id);
1927
+ contents.Id = (0, smithy_client_1.expectString)(data.id);
1928
1928
  }
1929
1929
  if (data.latestRevision !== undefined && data.latestRevision !== null) {
1930
1930
  contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
1931
1931
  }
1932
1932
  if (data.name !== undefined && data.name !== null) {
1933
- contents.Name = smithy_client_1.expectString(data.name);
1933
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
1934
1934
  }
1935
1935
  if (data.warnings !== undefined && data.warnings !== null) {
1936
1936
  contents.Warnings = deserializeAws_restJson1__listOfSanitizationWarning(data.warnings, context);
@@ -1969,7 +1969,7 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
1969
1969
  $fault: "client",
1970
1970
  $metadata: deserializeMetadata(output),
1971
1971
  });
1972
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1972
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1973
1973
  }
1974
1974
  };
1975
1975
  const deserializeAws_restJson1UpdateUserCommand = async (output, context) => {
@@ -2014,98 +2014,98 @@ const deserializeAws_restJson1UpdateUserCommandError = async (output, context) =
2014
2014
  $fault: "client",
2015
2015
  $metadata: deserializeMetadata(output),
2016
2016
  });
2017
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2017
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2018
2018
  }
2019
2019
  };
2020
2020
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2021
2021
  const contents = {};
2022
2022
  const data = parsedOutput.body;
2023
2023
  if (data.errorAttribute !== undefined && data.errorAttribute !== null) {
2024
- contents.ErrorAttribute = smithy_client_1.expectString(data.errorAttribute);
2024
+ contents.ErrorAttribute = (0, smithy_client_1.expectString)(data.errorAttribute);
2025
2025
  }
2026
2026
  if (data.message !== undefined && data.message !== null) {
2027
- contents.Message = smithy_client_1.expectString(data.message);
2027
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
2028
2028
  }
2029
2029
  const exception = new models_0_1.BadRequestException({
2030
2030
  $metadata: deserializeMetadata(parsedOutput),
2031
2031
  ...contents,
2032
2032
  });
2033
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2033
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2034
2034
  };
2035
2035
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2036
2036
  const contents = {};
2037
2037
  const data = parsedOutput.body;
2038
2038
  if (data.errorAttribute !== undefined && data.errorAttribute !== null) {
2039
- contents.ErrorAttribute = smithy_client_1.expectString(data.errorAttribute);
2039
+ contents.ErrorAttribute = (0, smithy_client_1.expectString)(data.errorAttribute);
2040
2040
  }
2041
2041
  if (data.message !== undefined && data.message !== null) {
2042
- contents.Message = smithy_client_1.expectString(data.message);
2042
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
2043
2043
  }
2044
2044
  const exception = new models_0_1.ConflictException({
2045
2045
  $metadata: deserializeMetadata(parsedOutput),
2046
2046
  ...contents,
2047
2047
  });
2048
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2048
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2049
2049
  };
2050
2050
  const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
2051
2051
  const contents = {};
2052
2052
  const data = parsedOutput.body;
2053
2053
  if (data.errorAttribute !== undefined && data.errorAttribute !== null) {
2054
- contents.ErrorAttribute = smithy_client_1.expectString(data.errorAttribute);
2054
+ contents.ErrorAttribute = (0, smithy_client_1.expectString)(data.errorAttribute);
2055
2055
  }
2056
2056
  if (data.message !== undefined && data.message !== null) {
2057
- contents.Message = smithy_client_1.expectString(data.message);
2057
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
2058
2058
  }
2059
2059
  const exception = new models_0_1.ForbiddenException({
2060
2060
  $metadata: deserializeMetadata(parsedOutput),
2061
2061
  ...contents,
2062
2062
  });
2063
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2063
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2064
2064
  };
2065
2065
  const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
2066
2066
  const contents = {};
2067
2067
  const data = parsedOutput.body;
2068
2068
  if (data.errorAttribute !== undefined && data.errorAttribute !== null) {
2069
- contents.ErrorAttribute = smithy_client_1.expectString(data.errorAttribute);
2069
+ contents.ErrorAttribute = (0, smithy_client_1.expectString)(data.errorAttribute);
2070
2070
  }
2071
2071
  if (data.message !== undefined && data.message !== null) {
2072
- contents.Message = smithy_client_1.expectString(data.message);
2072
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
2073
2073
  }
2074
2074
  const exception = new models_0_1.InternalServerErrorException({
2075
2075
  $metadata: deserializeMetadata(parsedOutput),
2076
2076
  ...contents,
2077
2077
  });
2078
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2078
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2079
2079
  };
2080
2080
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
2081
2081
  const contents = {};
2082
2082
  const data = parsedOutput.body;
2083
2083
  if (data.errorAttribute !== undefined && data.errorAttribute !== null) {
2084
- contents.ErrorAttribute = smithy_client_1.expectString(data.errorAttribute);
2084
+ contents.ErrorAttribute = (0, smithy_client_1.expectString)(data.errorAttribute);
2085
2085
  }
2086
2086
  if (data.message !== undefined && data.message !== null) {
2087
- contents.Message = smithy_client_1.expectString(data.message);
2087
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
2088
2088
  }
2089
2089
  const exception = new models_0_1.NotFoundException({
2090
2090
  $metadata: deserializeMetadata(parsedOutput),
2091
2091
  ...contents,
2092
2092
  });
2093
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2093
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2094
2094
  };
2095
2095
  const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
2096
2096
  const contents = {};
2097
2097
  const data = parsedOutput.body;
2098
2098
  if (data.errorAttribute !== undefined && data.errorAttribute !== null) {
2099
- contents.ErrorAttribute = smithy_client_1.expectString(data.errorAttribute);
2099
+ contents.ErrorAttribute = (0, smithy_client_1.expectString)(data.errorAttribute);
2100
2100
  }
2101
2101
  if (data.message !== undefined && data.message !== null) {
2102
- contents.Message = smithy_client_1.expectString(data.message);
2102
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
2103
2103
  }
2104
2104
  const exception = new models_0_1.UnauthorizedException({
2105
2105
  $metadata: deserializeMetadata(parsedOutput),
2106
2106
  ...contents,
2107
2107
  });
2108
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2108
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2109
2109
  };
2110
2110
  const serializeAws_restJson1__listOf__string = (input, context) => {
2111
2111
  return input
@@ -2202,7 +2202,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2202
2202
  if (entry === null) {
2203
2203
  return null;
2204
2204
  }
2205
- return smithy_client_1.expectString(entry);
2205
+ return (0, smithy_client_1.expectString)(entry);
2206
2206
  });
2207
2207
  return retVal;
2208
2208
  };
@@ -2301,7 +2301,7 @@ const deserializeAws_restJson1__listOfDeploymentMode = (output, context) => {
2301
2301
  if (entry === null) {
2302
2302
  return null;
2303
2303
  }
2304
- return smithy_client_1.expectString(entry);
2304
+ return (0, smithy_client_1.expectString)(entry);
2305
2305
  });
2306
2306
  return retVal;
2307
2307
  };
@@ -2345,18 +2345,18 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
2345
2345
  }
2346
2346
  return {
2347
2347
  ...acc,
2348
- [key]: smithy_client_1.expectString(value),
2348
+ [key]: (0, smithy_client_1.expectString)(value),
2349
2349
  };
2350
2350
  }, {});
2351
2351
  };
2352
2352
  const deserializeAws_restJson1AvailabilityZone = (output, context) => {
2353
2353
  return {
2354
- Name: smithy_client_1.expectString(output.name),
2354
+ Name: (0, smithy_client_1.expectString)(output.name),
2355
2355
  };
2356
2356
  };
2357
2357
  const deserializeAws_restJson1BrokerEngineType = (output, context) => {
2358
2358
  return {
2359
- EngineType: smithy_client_1.expectString(output.engineType),
2359
+ EngineType: (0, smithy_client_1.expectString)(output.engineType),
2360
2360
  EngineVersions: output.engineVersions !== undefined && output.engineVersions !== null
2361
2361
  ? deserializeAws_restJson1__listOfEngineVersion(output.engineVersions, context)
2362
2362
  : undefined,
@@ -2364,11 +2364,11 @@ const deserializeAws_restJson1BrokerEngineType = (output, context) => {
2364
2364
  };
2365
2365
  const deserializeAws_restJson1BrokerInstance = (output, context) => {
2366
2366
  return {
2367
- ConsoleURL: smithy_client_1.expectString(output.consoleURL),
2367
+ ConsoleURL: (0, smithy_client_1.expectString)(output.consoleURL),
2368
2368
  Endpoints: output.endpoints !== undefined && output.endpoints !== null
2369
2369
  ? deserializeAws_restJson1__listOf__string(output.endpoints, context)
2370
2370
  : undefined,
2371
- IpAddress: smithy_client_1.expectString(output.ipAddress),
2371
+ IpAddress: (0, smithy_client_1.expectString)(output.ipAddress),
2372
2372
  };
2373
2373
  };
2374
2374
  const deserializeAws_restJson1BrokerInstanceOption = (output, context) => {
@@ -2376,9 +2376,9 @@ const deserializeAws_restJson1BrokerInstanceOption = (output, context) => {
2376
2376
  AvailabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
2377
2377
  ? deserializeAws_restJson1__listOfAvailabilityZone(output.availabilityZones, context)
2378
2378
  : undefined,
2379
- EngineType: smithy_client_1.expectString(output.engineType),
2380
- HostInstanceType: smithy_client_1.expectString(output.hostInstanceType),
2381
- StorageType: smithy_client_1.expectString(output.storageType),
2379
+ EngineType: (0, smithy_client_1.expectString)(output.engineType),
2380
+ HostInstanceType: (0, smithy_client_1.expectString)(output.hostInstanceType),
2381
+ StorageType: (0, smithy_client_1.expectString)(output.storageType),
2382
2382
  SupportedDeploymentModes: output.supportedDeploymentModes !== undefined && output.supportedDeploymentModes !== null
2383
2383
  ? deserializeAws_restJson1__listOfDeploymentMode(output.supportedDeploymentModes, context)
2384
2384
  : undefined,
@@ -2389,33 +2389,33 @@ const deserializeAws_restJson1BrokerInstanceOption = (output, context) => {
2389
2389
  };
2390
2390
  const deserializeAws_restJson1BrokerSummary = (output, context) => {
2391
2391
  return {
2392
- BrokerArn: smithy_client_1.expectString(output.brokerArn),
2393
- BrokerId: smithy_client_1.expectString(output.brokerId),
2394
- BrokerName: smithy_client_1.expectString(output.brokerName),
2395
- BrokerState: smithy_client_1.expectString(output.brokerState),
2392
+ BrokerArn: (0, smithy_client_1.expectString)(output.brokerArn),
2393
+ BrokerId: (0, smithy_client_1.expectString)(output.brokerId),
2394
+ BrokerName: (0, smithy_client_1.expectString)(output.brokerName),
2395
+ BrokerState: (0, smithy_client_1.expectString)(output.brokerState),
2396
2396
  Created: output.created !== undefined && output.created !== null
2397
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.created))
2397
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.created))
2398
2398
  : undefined,
2399
- DeploymentMode: smithy_client_1.expectString(output.deploymentMode),
2400
- EngineType: smithy_client_1.expectString(output.engineType),
2401
- HostInstanceType: smithy_client_1.expectString(output.hostInstanceType),
2399
+ DeploymentMode: (0, smithy_client_1.expectString)(output.deploymentMode),
2400
+ EngineType: (0, smithy_client_1.expectString)(output.engineType),
2401
+ HostInstanceType: (0, smithy_client_1.expectString)(output.hostInstanceType),
2402
2402
  };
2403
2403
  };
2404
2404
  const deserializeAws_restJson1Configuration = (output, context) => {
2405
2405
  return {
2406
- Arn: smithy_client_1.expectString(output.arn),
2407
- AuthenticationStrategy: smithy_client_1.expectString(output.authenticationStrategy),
2406
+ Arn: (0, smithy_client_1.expectString)(output.arn),
2407
+ AuthenticationStrategy: (0, smithy_client_1.expectString)(output.authenticationStrategy),
2408
2408
  Created: output.created !== undefined && output.created !== null
2409
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.created))
2409
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.created))
2410
2410
  : undefined,
2411
- Description: smithy_client_1.expectString(output.description),
2412
- EngineType: smithy_client_1.expectString(output.engineType),
2413
- EngineVersion: smithy_client_1.expectString(output.engineVersion),
2414
- Id: smithy_client_1.expectString(output.id),
2411
+ Description: (0, smithy_client_1.expectString)(output.description),
2412
+ EngineType: (0, smithy_client_1.expectString)(output.engineType),
2413
+ EngineVersion: (0, smithy_client_1.expectString)(output.engineVersion),
2414
+ Id: (0, smithy_client_1.expectString)(output.id),
2415
2415
  LatestRevision: output.latestRevision !== undefined && output.latestRevision !== null
2416
2416
  ? deserializeAws_restJson1ConfigurationRevision(output.latestRevision, context)
2417
2417
  : undefined,
2418
- Name: smithy_client_1.expectString(output.name),
2418
+ Name: (0, smithy_client_1.expectString)(output.name),
2419
2419
  Tags: output.tags !== undefined && output.tags !== null
2420
2420
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
2421
2421
  : undefined,
@@ -2423,17 +2423,17 @@ const deserializeAws_restJson1Configuration = (output, context) => {
2423
2423
  };
2424
2424
  const deserializeAws_restJson1ConfigurationId = (output, context) => {
2425
2425
  return {
2426
- Id: smithy_client_1.expectString(output.id),
2427
- Revision: smithy_client_1.expectInt32(output.revision),
2426
+ Id: (0, smithy_client_1.expectString)(output.id),
2427
+ Revision: (0, smithy_client_1.expectInt32)(output.revision),
2428
2428
  };
2429
2429
  };
2430
2430
  const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
2431
2431
  return {
2432
2432
  Created: output.created !== undefined && output.created !== null
2433
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.created))
2433
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.created))
2434
2434
  : undefined,
2435
- Description: smithy_client_1.expectString(output.description),
2436
- Revision: smithy_client_1.expectInt32(output.revision),
2435
+ Description: (0, smithy_client_1.expectString)(output.description),
2436
+ Revision: (0, smithy_client_1.expectInt32)(output.revision),
2437
2437
  };
2438
2438
  };
2439
2439
  const deserializeAws_restJson1Configurations = (output, context) => {
@@ -2451,13 +2451,13 @@ const deserializeAws_restJson1Configurations = (output, context) => {
2451
2451
  };
2452
2452
  const deserializeAws_restJson1EncryptionOptions = (output, context) => {
2453
2453
  return {
2454
- KmsKeyId: smithy_client_1.expectString(output.kmsKeyId),
2455
- UseAwsOwnedKey: smithy_client_1.expectBoolean(output.useAwsOwnedKey),
2454
+ KmsKeyId: (0, smithy_client_1.expectString)(output.kmsKeyId),
2455
+ UseAwsOwnedKey: (0, smithy_client_1.expectBoolean)(output.useAwsOwnedKey),
2456
2456
  };
2457
2457
  };
2458
2458
  const deserializeAws_restJson1EngineVersion = (output, context) => {
2459
2459
  return {
2460
- Name: smithy_client_1.expectString(output.name),
2460
+ Name: (0, smithy_client_1.expectString)(output.name),
2461
2461
  };
2462
2462
  };
2463
2463
  const deserializeAws_restJson1LdapServerMetadataOutput = (output, context) => {
@@ -2465,29 +2465,29 @@ const deserializeAws_restJson1LdapServerMetadataOutput = (output, context) => {
2465
2465
  Hosts: output.hosts !== undefined && output.hosts !== null
2466
2466
  ? deserializeAws_restJson1__listOf__string(output.hosts, context)
2467
2467
  : undefined,
2468
- RoleBase: smithy_client_1.expectString(output.roleBase),
2469
- RoleName: smithy_client_1.expectString(output.roleName),
2470
- RoleSearchMatching: smithy_client_1.expectString(output.roleSearchMatching),
2471
- RoleSearchSubtree: smithy_client_1.expectBoolean(output.roleSearchSubtree),
2472
- ServiceAccountUsername: smithy_client_1.expectString(output.serviceAccountUsername),
2473
- UserBase: smithy_client_1.expectString(output.userBase),
2474
- UserRoleName: smithy_client_1.expectString(output.userRoleName),
2475
- UserSearchMatching: smithy_client_1.expectString(output.userSearchMatching),
2476
- UserSearchSubtree: smithy_client_1.expectBoolean(output.userSearchSubtree),
2468
+ RoleBase: (0, smithy_client_1.expectString)(output.roleBase),
2469
+ RoleName: (0, smithy_client_1.expectString)(output.roleName),
2470
+ RoleSearchMatching: (0, smithy_client_1.expectString)(output.roleSearchMatching),
2471
+ RoleSearchSubtree: (0, smithy_client_1.expectBoolean)(output.roleSearchSubtree),
2472
+ ServiceAccountUsername: (0, smithy_client_1.expectString)(output.serviceAccountUsername),
2473
+ UserBase: (0, smithy_client_1.expectString)(output.userBase),
2474
+ UserRoleName: (0, smithy_client_1.expectString)(output.userRoleName),
2475
+ UserSearchMatching: (0, smithy_client_1.expectString)(output.userSearchMatching),
2476
+ UserSearchSubtree: (0, smithy_client_1.expectBoolean)(output.userSearchSubtree),
2477
2477
  };
2478
2478
  };
2479
2479
  const deserializeAws_restJson1Logs = (output, context) => {
2480
2480
  return {
2481
- Audit: smithy_client_1.expectBoolean(output.audit),
2482
- General: smithy_client_1.expectBoolean(output.general),
2481
+ Audit: (0, smithy_client_1.expectBoolean)(output.audit),
2482
+ General: (0, smithy_client_1.expectBoolean)(output.general),
2483
2483
  };
2484
2484
  };
2485
2485
  const deserializeAws_restJson1LogsSummary = (output, context) => {
2486
2486
  return {
2487
- Audit: smithy_client_1.expectBoolean(output.audit),
2488
- AuditLogGroup: smithy_client_1.expectString(output.auditLogGroup),
2489
- General: smithy_client_1.expectBoolean(output.general),
2490
- GeneralLogGroup: smithy_client_1.expectString(output.generalLogGroup),
2487
+ Audit: (0, smithy_client_1.expectBoolean)(output.audit),
2488
+ AuditLogGroup: (0, smithy_client_1.expectString)(output.auditLogGroup),
2489
+ General: (0, smithy_client_1.expectBoolean)(output.general),
2490
+ GeneralLogGroup: (0, smithy_client_1.expectString)(output.generalLogGroup),
2491
2491
  Pending: output.pending !== undefined && output.pending !== null
2492
2492
  ? deserializeAws_restJson1PendingLogs(output.pending, context)
2493
2493
  : undefined,
@@ -2495,37 +2495,37 @@ const deserializeAws_restJson1LogsSummary = (output, context) => {
2495
2495
  };
2496
2496
  const deserializeAws_restJson1PendingLogs = (output, context) => {
2497
2497
  return {
2498
- Audit: smithy_client_1.expectBoolean(output.audit),
2499
- General: smithy_client_1.expectBoolean(output.general),
2498
+ Audit: (0, smithy_client_1.expectBoolean)(output.audit),
2499
+ General: (0, smithy_client_1.expectBoolean)(output.general),
2500
2500
  };
2501
2501
  };
2502
2502
  const deserializeAws_restJson1SanitizationWarning = (output, context) => {
2503
2503
  return {
2504
- AttributeName: smithy_client_1.expectString(output.attributeName),
2505
- ElementName: smithy_client_1.expectString(output.elementName),
2506
- Reason: smithy_client_1.expectString(output.reason),
2504
+ AttributeName: (0, smithy_client_1.expectString)(output.attributeName),
2505
+ ElementName: (0, smithy_client_1.expectString)(output.elementName),
2506
+ Reason: (0, smithy_client_1.expectString)(output.reason),
2507
2507
  };
2508
2508
  };
2509
2509
  const deserializeAws_restJson1UserPendingChanges = (output, context) => {
2510
2510
  return {
2511
- ConsoleAccess: smithy_client_1.expectBoolean(output.consoleAccess),
2511
+ ConsoleAccess: (0, smithy_client_1.expectBoolean)(output.consoleAccess),
2512
2512
  Groups: output.groups !== undefined && output.groups !== null
2513
2513
  ? deserializeAws_restJson1__listOf__string(output.groups, context)
2514
2514
  : undefined,
2515
- PendingChange: smithy_client_1.expectString(output.pendingChange),
2515
+ PendingChange: (0, smithy_client_1.expectString)(output.pendingChange),
2516
2516
  };
2517
2517
  };
2518
2518
  const deserializeAws_restJson1UserSummary = (output, context) => {
2519
2519
  return {
2520
- PendingChange: smithy_client_1.expectString(output.pendingChange),
2521
- Username: smithy_client_1.expectString(output.username),
2520
+ PendingChange: (0, smithy_client_1.expectString)(output.pendingChange),
2521
+ Username: (0, smithy_client_1.expectString)(output.username),
2522
2522
  };
2523
2523
  };
2524
2524
  const deserializeAws_restJson1WeeklyStartTime = (output, context) => {
2525
2525
  return {
2526
- DayOfWeek: smithy_client_1.expectString(output.dayOfWeek),
2527
- TimeOfDay: smithy_client_1.expectString(output.timeOfDay),
2528
- TimeZone: smithy_client_1.expectString(output.timeZone),
2526
+ DayOfWeek: (0, smithy_client_1.expectString)(output.dayOfWeek),
2527
+ TimeOfDay: (0, smithy_client_1.expectString)(output.timeOfDay),
2528
+ TimeZone: (0, smithy_client_1.expectString)(output.timeZone),
2529
2529
  };
2530
2530
  };
2531
2531
  const deserializeMetadata = (output) => {