@aws-sdk/client-workspaces-web 3.54.0 → 3.56.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 (63) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/WorkSpacesWebClient.js +13 -13
  3. package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateTrustStoreCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateUserSettingsCommand.js +3 -3
  7. package/dist-cjs/commands/CreateBrowserSettingsCommand.js +3 -3
  8. package/dist-cjs/commands/CreateIdentityProviderCommand.js +3 -3
  9. package/dist-cjs/commands/CreateNetworkSettingsCommand.js +3 -3
  10. package/dist-cjs/commands/CreatePortalCommand.js +3 -3
  11. package/dist-cjs/commands/CreateTrustStoreCommand.js +3 -3
  12. package/dist-cjs/commands/CreateUserSettingsCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +3 -3
  16. package/dist-cjs/commands/DeletePortalCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteTrustStoreCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteUserSettingsCommand.js +3 -3
  19. package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +3 -3
  20. package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +3 -3
  21. package/dist-cjs/commands/DisassociateTrustStoreCommand.js +3 -3
  22. package/dist-cjs/commands/DisassociateUserSettingsCommand.js +3 -3
  23. package/dist-cjs/commands/GetBrowserSettingsCommand.js +3 -3
  24. package/dist-cjs/commands/GetIdentityProviderCommand.js +3 -3
  25. package/dist-cjs/commands/GetNetworkSettingsCommand.js +3 -3
  26. package/dist-cjs/commands/GetPortalCommand.js +3 -3
  27. package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +3 -3
  28. package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +3 -3
  29. package/dist-cjs/commands/GetTrustStoreCommand.js +3 -3
  30. package/dist-cjs/commands/GetUserSettingsCommand.js +3 -3
  31. package/dist-cjs/commands/ListBrowserSettingsCommand.js +3 -3
  32. package/dist-cjs/commands/ListIdentityProvidersCommand.js +3 -3
  33. package/dist-cjs/commands/ListNetworkSettingsCommand.js +3 -3
  34. package/dist-cjs/commands/ListPortalsCommand.js +3 -3
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  36. package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +3 -3
  37. package/dist-cjs/commands/ListTrustStoresCommand.js +3 -3
  38. package/dist-cjs/commands/ListUserSettingsCommand.js +3 -3
  39. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  40. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  41. package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +3 -3
  42. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +3 -3
  43. package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +3 -3
  44. package/dist-cjs/commands/UpdatePortalCommand.js +3 -3
  45. package/dist-cjs/commands/UpdateTrustStoreCommand.js +3 -3
  46. package/dist-cjs/commands/UpdateUserSettingsCommand.js +3 -3
  47. package/dist-cjs/endpoints.js +1 -1
  48. package/dist-cjs/protocols/Aws_restJson1.js +246 -246
  49. package/dist-cjs/runtimeConfig.browser.js +4 -4
  50. package/dist-cjs/runtimeConfig.js +9 -9
  51. package/dist-cjs/runtimeConfig.native.js +1 -1
  52. package/dist-es/WorkSpacesWeb.js +44 -44
  53. package/dist-es/pagination/ListBrowserSettingsPaginator.js +4 -4
  54. package/dist-es/pagination/ListIdentityProvidersPaginator.js +4 -4
  55. package/dist-es/pagination/ListNetworkSettingsPaginator.js +4 -4
  56. package/dist-es/pagination/ListPortalsPaginator.js +4 -4
  57. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +4 -4
  58. package/dist-es/pagination/ListTrustStoresPaginator.js +4 -4
  59. package/dist-es/pagination/ListUserSettingsPaginator.js +4 -4
  60. package/dist-es/protocols/Aws_restJson1.js +44 -44
  61. package/dist-types/runtimeConfig.native.d.ts +2 -2
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  63. package/package.json +34 -34
@@ -18,7 +18,7 @@ const serializeAws_restJson1AssociateBrowserSettingsCommand = async (input, cont
18
18
  }
19
19
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
20
20
  .split("/")
21
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
21
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
22
22
  .join("/"));
23
23
  }
24
24
  else {
@@ -51,7 +51,7 @@ const serializeAws_restJson1AssociateNetworkSettingsCommand = async (input, cont
51
51
  }
52
52
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
53
53
  .split("/")
54
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
54
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
55
55
  .join("/"));
56
56
  }
57
57
  else {
@@ -84,7 +84,7 @@ const serializeAws_restJson1AssociateTrustStoreCommand = async (input, context)
84
84
  }
85
85
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
86
86
  .split("/")
87
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
87
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
88
88
  .join("/"));
89
89
  }
90
90
  else {
@@ -117,7 +117,7 @@ const serializeAws_restJson1AssociateUserSettingsCommand = async (input, context
117
117
  }
118
118
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
119
119
  .split("/")
120
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
120
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
121
121
  .join("/"));
122
122
  }
123
123
  else {
@@ -153,7 +153,7 @@ const serializeAws_restJson1CreateBrowserSettingsCommand = async (input, context
153
153
  additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
154
154
  }),
155
155
  ...(input.browserPolicy !== undefined && input.browserPolicy !== null && { browserPolicy: input.browserPolicy }),
156
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
156
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
157
157
  ...(input.customerManagedKey !== undefined &&
158
158
  input.customerManagedKey !== null && { customerManagedKey: input.customerManagedKey }),
159
159
  ...(input.tags !== undefined &&
@@ -179,7 +179,7 @@ const serializeAws_restJson1CreateIdentityProviderCommand = async (input, contex
179
179
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/identityProviders";
180
180
  let body;
181
181
  body = JSON.stringify({
182
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
182
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
183
183
  ...(input.identityProviderDetails !== undefined &&
184
184
  input.identityProviderDetails !== null && {
185
185
  identityProviderDetails: serializeAws_restJson1IdentityProviderDetails(input.identityProviderDetails, context),
@@ -210,7 +210,7 @@ const serializeAws_restJson1CreateNetworkSettingsCommand = async (input, context
210
210
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/networkSettings";
211
211
  let body;
212
212
  body = JSON.stringify({
213
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
213
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
214
214
  ...(input.securityGroupIds !== undefined &&
215
215
  input.securityGroupIds !== null && {
216
216
  securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
@@ -245,7 +245,7 @@ const serializeAws_restJson1CreatePortalCommand = async (input, context) => {
245
245
  input.additionalEncryptionContext !== null && {
246
246
  additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
247
247
  }),
248
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
248
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
249
249
  ...(input.customerManagedKey !== undefined &&
250
250
  input.customerManagedKey !== null && { customerManagedKey: input.customerManagedKey }),
251
251
  ...(input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName }),
@@ -276,7 +276,7 @@ const serializeAws_restJson1CreateTrustStoreCommand = async (input, context) =>
276
276
  input.certificateList !== null && {
277
277
  certificateList: serializeAws_restJson1CertificateList(input.certificateList, context),
278
278
  }),
279
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
279
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
280
280
  ...(input.tags !== undefined &&
281
281
  input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
282
282
  });
@@ -300,7 +300,7 @@ const serializeAws_restJson1CreateUserSettingsCommand = async (input, context) =
300
300
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/userSettings";
301
301
  let body;
302
302
  body = JSON.stringify({
303
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
303
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
304
304
  ...(input.copyAllowed !== undefined && input.copyAllowed !== null && { copyAllowed: input.copyAllowed }),
305
305
  ...(input.downloadAllowed !== undefined &&
306
306
  input.downloadAllowed !== null && { downloadAllowed: input.downloadAllowed }),
@@ -332,7 +332,7 @@ const serializeAws_restJson1DeleteBrowserSettingsCommand = async (input, context
332
332
  }
333
333
  resolvedPath = resolvedPath.replace("{browserSettingsArn+}", labelValue
334
334
  .split("/")
335
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
335
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
336
336
  .join("/"));
337
337
  }
338
338
  else {
@@ -361,7 +361,7 @@ const serializeAws_restJson1DeleteIdentityProviderCommand = async (input, contex
361
361
  }
362
362
  resolvedPath = resolvedPath.replace("{identityProviderArn+}", labelValue
363
363
  .split("/")
364
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
364
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
365
365
  .join("/"));
366
366
  }
367
367
  else {
@@ -390,7 +390,7 @@ const serializeAws_restJson1DeleteNetworkSettingsCommand = async (input, context
390
390
  }
391
391
  resolvedPath = resolvedPath.replace("{networkSettingsArn+}", labelValue
392
392
  .split("/")
393
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
393
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
394
394
  .join("/"));
395
395
  }
396
396
  else {
@@ -419,7 +419,7 @@ const serializeAws_restJson1DeletePortalCommand = async (input, context) => {
419
419
  }
420
420
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
421
421
  .split("/")
422
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
422
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
423
423
  .join("/"));
424
424
  }
425
425
  else {
@@ -448,7 +448,7 @@ const serializeAws_restJson1DeleteTrustStoreCommand = async (input, context) =>
448
448
  }
449
449
  resolvedPath = resolvedPath.replace("{trustStoreArn+}", labelValue
450
450
  .split("/")
451
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
451
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
452
452
  .join("/"));
453
453
  }
454
454
  else {
@@ -477,7 +477,7 @@ const serializeAws_restJson1DeleteUserSettingsCommand = async (input, context) =
477
477
  }
478
478
  resolvedPath = resolvedPath.replace("{userSettingsArn+}", labelValue
479
479
  .split("/")
480
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
480
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
481
481
  .join("/"));
482
482
  }
483
483
  else {
@@ -506,7 +506,7 @@ const serializeAws_restJson1DisassociateBrowserSettingsCommand = async (input, c
506
506
  }
507
507
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
508
508
  .split("/")
509
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
509
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
510
510
  .join("/"));
511
511
  }
512
512
  else {
@@ -535,7 +535,7 @@ const serializeAws_restJson1DisassociateNetworkSettingsCommand = async (input, c
535
535
  }
536
536
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
537
537
  .split("/")
538
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
538
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
539
539
  .join("/"));
540
540
  }
541
541
  else {
@@ -564,7 +564,7 @@ const serializeAws_restJson1DisassociateTrustStoreCommand = async (input, contex
564
564
  }
565
565
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
566
566
  .split("/")
567
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
567
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
568
568
  .join("/"));
569
569
  }
570
570
  else {
@@ -593,7 +593,7 @@ const serializeAws_restJson1DisassociateUserSettingsCommand = async (input, cont
593
593
  }
594
594
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
595
595
  .split("/")
596
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
596
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
597
597
  .join("/"));
598
598
  }
599
599
  else {
@@ -622,7 +622,7 @@ const serializeAws_restJson1GetBrowserSettingsCommand = async (input, context) =
622
622
  }
623
623
  resolvedPath = resolvedPath.replace("{browserSettingsArn+}", labelValue
624
624
  .split("/")
625
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
625
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
626
626
  .join("/"));
627
627
  }
628
628
  else {
@@ -651,7 +651,7 @@ const serializeAws_restJson1GetIdentityProviderCommand = async (input, context)
651
651
  }
652
652
  resolvedPath = resolvedPath.replace("{identityProviderArn+}", labelValue
653
653
  .split("/")
654
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
654
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
655
655
  .join("/"));
656
656
  }
657
657
  else {
@@ -680,7 +680,7 @@ const serializeAws_restJson1GetNetworkSettingsCommand = async (input, context) =
680
680
  }
681
681
  resolvedPath = resolvedPath.replace("{networkSettingsArn+}", labelValue
682
682
  .split("/")
683
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
683
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
684
684
  .join("/"));
685
685
  }
686
686
  else {
@@ -709,7 +709,7 @@ const serializeAws_restJson1GetPortalCommand = async (input, context) => {
709
709
  }
710
710
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
711
711
  .split("/")
712
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
712
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
713
713
  .join("/"));
714
714
  }
715
715
  else {
@@ -738,7 +738,7 @@ const serializeAws_restJson1GetPortalServiceProviderMetadataCommand = async (inp
738
738
  }
739
739
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
740
740
  .split("/")
741
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
741
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
742
742
  .join("/"));
743
743
  }
744
744
  else {
@@ -767,7 +767,7 @@ const serializeAws_restJson1GetTrustStoreCommand = async (input, context) => {
767
767
  }
768
768
  resolvedPath = resolvedPath.replace("{trustStoreArn+}", labelValue
769
769
  .split("/")
770
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
770
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
771
771
  .join("/"));
772
772
  }
773
773
  else {
@@ -796,7 +796,7 @@ const serializeAws_restJson1GetTrustStoreCertificateCommand = async (input, cont
796
796
  }
797
797
  resolvedPath = resolvedPath.replace("{trustStoreArn+}", labelValue
798
798
  .split("/")
799
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
799
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
800
800
  .join("/"));
801
801
  }
802
802
  else {
@@ -829,7 +829,7 @@ const serializeAws_restJson1GetUserSettingsCommand = async (input, context) => {
829
829
  }
830
830
  resolvedPath = resolvedPath.replace("{userSettingsArn+}", labelValue
831
831
  .split("/")
832
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
832
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
833
833
  .join("/"));
834
834
  }
835
835
  else {
@@ -879,7 +879,7 @@ const serializeAws_restJson1ListIdentityProvidersCommand = async (input, context
879
879
  }
880
880
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
881
881
  .split("/")
882
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
882
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
883
883
  .join("/"));
884
884
  }
885
885
  else {
@@ -955,7 +955,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
955
955
  }
956
956
  resolvedPath = resolvedPath.replace("{resourceArn+}", labelValue
957
957
  .split("/")
958
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
958
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
959
959
  .join("/"));
960
960
  }
961
961
  else {
@@ -985,7 +985,7 @@ const serializeAws_restJson1ListTrustStoreCertificatesCommand = async (input, co
985
985
  }
986
986
  resolvedPath = resolvedPath.replace("{trustStoreArn+}", labelValue
987
987
  .split("/")
988
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
988
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
989
989
  .join("/"));
990
990
  }
991
991
  else {
@@ -1064,7 +1064,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1064
1064
  }
1065
1065
  resolvedPath = resolvedPath.replace("{resourceArn+}", labelValue
1066
1066
  .split("/")
1067
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1067
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1068
1068
  .join("/"));
1069
1069
  }
1070
1070
  else {
@@ -1072,7 +1072,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1072
1072
  }
1073
1073
  let body;
1074
1074
  body = JSON.stringify({
1075
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1075
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1076
1076
  ...(input.tags !== undefined &&
1077
1077
  input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
1078
1078
  });
@@ -1098,7 +1098,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1098
1098
  }
1099
1099
  resolvedPath = resolvedPath.replace("{resourceArn+}", labelValue
1100
1100
  .split("/")
1101
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1101
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1102
1102
  .join("/"));
1103
1103
  }
1104
1104
  else {
@@ -1134,7 +1134,7 @@ const serializeAws_restJson1UpdateBrowserSettingsCommand = async (input, context
1134
1134
  }
1135
1135
  resolvedPath = resolvedPath.replace("{browserSettingsArn+}", labelValue
1136
1136
  .split("/")
1137
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1137
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1138
1138
  .join("/"));
1139
1139
  }
1140
1140
  else {
@@ -1143,7 +1143,7 @@ const serializeAws_restJson1UpdateBrowserSettingsCommand = async (input, context
1143
1143
  let body;
1144
1144
  body = JSON.stringify({
1145
1145
  ...(input.browserPolicy !== undefined && input.browserPolicy !== null && { browserPolicy: input.browserPolicy }),
1146
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1146
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1147
1147
  });
1148
1148
  return new protocol_http_1.HttpRequest({
1149
1149
  protocol,
@@ -1170,7 +1170,7 @@ const serializeAws_restJson1UpdateIdentityProviderCommand = async (input, contex
1170
1170
  }
1171
1171
  resolvedPath = resolvedPath.replace("{identityProviderArn+}", labelValue
1172
1172
  .split("/")
1173
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1173
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1174
1174
  .join("/"));
1175
1175
  }
1176
1176
  else {
@@ -1178,7 +1178,7 @@ const serializeAws_restJson1UpdateIdentityProviderCommand = async (input, contex
1178
1178
  }
1179
1179
  let body;
1180
1180
  body = JSON.stringify({
1181
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1181
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1182
1182
  ...(input.identityProviderDetails !== undefined &&
1183
1183
  input.identityProviderDetails !== null && {
1184
1184
  identityProviderDetails: serializeAws_restJson1IdentityProviderDetails(input.identityProviderDetails, context),
@@ -1213,7 +1213,7 @@ const serializeAws_restJson1UpdateNetworkSettingsCommand = async (input, context
1213
1213
  }
1214
1214
  resolvedPath = resolvedPath.replace("{networkSettingsArn+}", labelValue
1215
1215
  .split("/")
1216
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1216
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1217
1217
  .join("/"));
1218
1218
  }
1219
1219
  else {
@@ -1221,7 +1221,7 @@ const serializeAws_restJson1UpdateNetworkSettingsCommand = async (input, context
1221
1221
  }
1222
1222
  let body;
1223
1223
  body = JSON.stringify({
1224
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1224
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1225
1225
  ...(input.securityGroupIds !== undefined &&
1226
1226
  input.securityGroupIds !== null && {
1227
1227
  securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
@@ -1254,7 +1254,7 @@ const serializeAws_restJson1UpdatePortalCommand = async (input, context) => {
1254
1254
  }
1255
1255
  resolvedPath = resolvedPath.replace("{portalArn+}", labelValue
1256
1256
  .split("/")
1257
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1257
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1258
1258
  .join("/"));
1259
1259
  }
1260
1260
  else {
@@ -1289,7 +1289,7 @@ const serializeAws_restJson1UpdateTrustStoreCommand = async (input, context) =>
1289
1289
  }
1290
1290
  resolvedPath = resolvedPath.replace("{trustStoreArn+}", labelValue
1291
1291
  .split("/")
1292
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1292
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1293
1293
  .join("/"));
1294
1294
  }
1295
1295
  else {
@@ -1305,7 +1305,7 @@ const serializeAws_restJson1UpdateTrustStoreCommand = async (input, context) =>
1305
1305
  input.certificatesToDelete !== null && {
1306
1306
  certificatesToDelete: serializeAws_restJson1CertificateThumbprintList(input.certificatesToDelete, context),
1307
1307
  }),
1308
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1308
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1309
1309
  });
1310
1310
  return new protocol_http_1.HttpRequest({
1311
1311
  protocol,
@@ -1332,7 +1332,7 @@ const serializeAws_restJson1UpdateUserSettingsCommand = async (input, context) =
1332
1332
  }
1333
1333
  resolvedPath = resolvedPath.replace("{userSettingsArn+}", labelValue
1334
1334
  .split("/")
1335
- .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
1335
+ .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
1336
1336
  .join("/"));
1337
1337
  }
1338
1338
  else {
@@ -1340,7 +1340,7 @@ const serializeAws_restJson1UpdateUserSettingsCommand = async (input, context) =
1340
1340
  }
1341
1341
  let body;
1342
1342
  body = JSON.stringify({
1343
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1343
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1344
1344
  ...(input.copyAllowed !== undefined && input.copyAllowed !== null && { copyAllowed: input.copyAllowed }),
1345
1345
  ...(input.downloadAllowed !== undefined &&
1346
1346
  input.downloadAllowed !== null && { downloadAllowed: input.downloadAllowed }),
@@ -1368,12 +1368,12 @@ const deserializeAws_restJson1AssociateBrowserSettingsCommand = async (output, c
1368
1368
  browserSettingsArn: undefined,
1369
1369
  portalArn: undefined,
1370
1370
  };
1371
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1371
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1372
1372
  if (data.browserSettingsArn !== undefined && data.browserSettingsArn !== null) {
1373
- contents.browserSettingsArn = smithy_client_1.expectString(data.browserSettingsArn);
1373
+ contents.browserSettingsArn = (0, smithy_client_1.expectString)(data.browserSettingsArn);
1374
1374
  }
1375
1375
  if (data.portalArn !== undefined && data.portalArn !== null) {
1376
- contents.portalArn = smithy_client_1.expectString(data.portalArn);
1376
+ contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
1377
1377
  }
1378
1378
  return Promise.resolve(contents);
1379
1379
  };
@@ -1412,7 +1412,7 @@ const deserializeAws_restJson1AssociateBrowserSettingsCommandError = async (outp
1412
1412
  $fault: "client",
1413
1413
  $metadata: deserializeMetadata(output),
1414
1414
  });
1415
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1415
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1416
1416
  }
1417
1417
  };
1418
1418
  const deserializeAws_restJson1AssociateNetworkSettingsCommand = async (output, context) => {
@@ -1424,12 +1424,12 @@ const deserializeAws_restJson1AssociateNetworkSettingsCommand = async (output, c
1424
1424
  networkSettingsArn: undefined,
1425
1425
  portalArn: undefined,
1426
1426
  };
1427
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1427
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1428
1428
  if (data.networkSettingsArn !== undefined && data.networkSettingsArn !== null) {
1429
- contents.networkSettingsArn = smithy_client_1.expectString(data.networkSettingsArn);
1429
+ contents.networkSettingsArn = (0, smithy_client_1.expectString)(data.networkSettingsArn);
1430
1430
  }
1431
1431
  if (data.portalArn !== undefined && data.portalArn !== null) {
1432
- contents.portalArn = smithy_client_1.expectString(data.portalArn);
1432
+ contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
1433
1433
  }
1434
1434
  return Promise.resolve(contents);
1435
1435
  };
@@ -1468,7 +1468,7 @@ const deserializeAws_restJson1AssociateNetworkSettingsCommandError = async (outp
1468
1468
  $fault: "client",
1469
1469
  $metadata: deserializeMetadata(output),
1470
1470
  });
1471
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1471
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1472
1472
  }
1473
1473
  };
1474
1474
  const deserializeAws_restJson1AssociateTrustStoreCommand = async (output, context) => {
@@ -1480,12 +1480,12 @@ const deserializeAws_restJson1AssociateTrustStoreCommand = async (output, contex
1480
1480
  portalArn: undefined,
1481
1481
  trustStoreArn: undefined,
1482
1482
  };
1483
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1483
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1484
1484
  if (data.portalArn !== undefined && data.portalArn !== null) {
1485
- contents.portalArn = smithy_client_1.expectString(data.portalArn);
1485
+ contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
1486
1486
  }
1487
1487
  if (data.trustStoreArn !== undefined && data.trustStoreArn !== null) {
1488
- contents.trustStoreArn = smithy_client_1.expectString(data.trustStoreArn);
1488
+ contents.trustStoreArn = (0, smithy_client_1.expectString)(data.trustStoreArn);
1489
1489
  }
1490
1490
  return Promise.resolve(contents);
1491
1491
  };
@@ -1521,7 +1521,7 @@ const deserializeAws_restJson1AssociateTrustStoreCommandError = async (output, c
1521
1521
  $fault: "client",
1522
1522
  $metadata: deserializeMetadata(output),
1523
1523
  });
1524
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1524
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1525
1525
  }
1526
1526
  };
1527
1527
  const deserializeAws_restJson1AssociateUserSettingsCommand = async (output, context) => {
@@ -1533,12 +1533,12 @@ const deserializeAws_restJson1AssociateUserSettingsCommand = async (output, cont
1533
1533
  portalArn: undefined,
1534
1534
  userSettingsArn: undefined,
1535
1535
  };
1536
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1536
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1537
1537
  if (data.portalArn !== undefined && data.portalArn !== null) {
1538
- contents.portalArn = smithy_client_1.expectString(data.portalArn);
1538
+ contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
1539
1539
  }
1540
1540
  if (data.userSettingsArn !== undefined && data.userSettingsArn !== null) {
1541
- contents.userSettingsArn = smithy_client_1.expectString(data.userSettingsArn);
1541
+ contents.userSettingsArn = (0, smithy_client_1.expectString)(data.userSettingsArn);
1542
1542
  }
1543
1543
  return Promise.resolve(contents);
1544
1544
  };
@@ -1577,7 +1577,7 @@ const deserializeAws_restJson1AssociateUserSettingsCommandError = async (output,
1577
1577
  $fault: "client",
1578
1578
  $metadata: deserializeMetadata(output),
1579
1579
  });
1580
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1580
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1581
1581
  }
1582
1582
  };
1583
1583
  const deserializeAws_restJson1CreateBrowserSettingsCommand = async (output, context) => {
@@ -1588,9 +1588,9 @@ const deserializeAws_restJson1CreateBrowserSettingsCommand = async (output, cont
1588
1588
  $metadata: deserializeMetadata(output),
1589
1589
  browserSettingsArn: undefined,
1590
1590
  };
1591
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1591
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1592
1592
  if (data.browserSettingsArn !== undefined && data.browserSettingsArn !== null) {
1593
- contents.browserSettingsArn = smithy_client_1.expectString(data.browserSettingsArn);
1593
+ contents.browserSettingsArn = (0, smithy_client_1.expectString)(data.browserSettingsArn);
1594
1594
  }
1595
1595
  return Promise.resolve(contents);
1596
1596
  };
@@ -1632,7 +1632,7 @@ const deserializeAws_restJson1CreateBrowserSettingsCommandError = async (output,
1632
1632
  $fault: "client",
1633
1633
  $metadata: deserializeMetadata(output),
1634
1634
  });
1635
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1635
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1636
1636
  }
1637
1637
  };
1638
1638
  const deserializeAws_restJson1CreateIdentityProviderCommand = async (output, context) => {
@@ -1643,9 +1643,9 @@ const deserializeAws_restJson1CreateIdentityProviderCommand = async (output, con
1643
1643
  $metadata: deserializeMetadata(output),
1644
1644
  identityProviderArn: undefined,
1645
1645
  };
1646
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1646
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1647
1647
  if (data.identityProviderArn !== undefined && data.identityProviderArn !== null) {
1648
- contents.identityProviderArn = smithy_client_1.expectString(data.identityProviderArn);
1648
+ contents.identityProviderArn = (0, smithy_client_1.expectString)(data.identityProviderArn);
1649
1649
  }
1650
1650
  return Promise.resolve(contents);
1651
1651
  };
@@ -1684,7 +1684,7 @@ const deserializeAws_restJson1CreateIdentityProviderCommandError = async (output
1684
1684
  $fault: "client",
1685
1685
  $metadata: deserializeMetadata(output),
1686
1686
  });
1687
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1687
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1688
1688
  }
1689
1689
  };
1690
1690
  const deserializeAws_restJson1CreateNetworkSettingsCommand = async (output, context) => {
@@ -1695,9 +1695,9 @@ const deserializeAws_restJson1CreateNetworkSettingsCommand = async (output, cont
1695
1695
  $metadata: deserializeMetadata(output),
1696
1696
  networkSettingsArn: undefined,
1697
1697
  };
1698
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1698
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1699
1699
  if (data.networkSettingsArn !== undefined && data.networkSettingsArn !== null) {
1700
- contents.networkSettingsArn = smithy_client_1.expectString(data.networkSettingsArn);
1700
+ contents.networkSettingsArn = (0, smithy_client_1.expectString)(data.networkSettingsArn);
1701
1701
  }
1702
1702
  return Promise.resolve(contents);
1703
1703
  };
@@ -1736,7 +1736,7 @@ const deserializeAws_restJson1CreateNetworkSettingsCommandError = async (output,
1736
1736
  $fault: "client",
1737
1737
  $metadata: deserializeMetadata(output),
1738
1738
  });
1739
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1739
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1740
1740
  }
1741
1741
  };
1742
1742
  const deserializeAws_restJson1CreatePortalCommand = async (output, context) => {
@@ -1748,12 +1748,12 @@ const deserializeAws_restJson1CreatePortalCommand = async (output, context) => {
1748
1748
  portalArn: undefined,
1749
1749
  portalEndpoint: undefined,
1750
1750
  };
1751
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1751
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1752
1752
  if (data.portalArn !== undefined && data.portalArn !== null) {
1753
- contents.portalArn = smithy_client_1.expectString(data.portalArn);
1753
+ contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
1754
1754
  }
1755
1755
  if (data.portalEndpoint !== undefined && data.portalEndpoint !== null) {
1756
- contents.portalEndpoint = smithy_client_1.expectString(data.portalEndpoint);
1756
+ contents.portalEndpoint = (0, smithy_client_1.expectString)(data.portalEndpoint);
1757
1757
  }
1758
1758
  return Promise.resolve(contents);
1759
1759
  };
@@ -1795,7 +1795,7 @@ const deserializeAws_restJson1CreatePortalCommandError = async (output, context)
1795
1795
  $fault: "client",
1796
1796
  $metadata: deserializeMetadata(output),
1797
1797
  });
1798
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1798
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1799
1799
  }
1800
1800
  };
1801
1801
  const deserializeAws_restJson1CreateTrustStoreCommand = async (output, context) => {
@@ -1806,9 +1806,9 @@ const deserializeAws_restJson1CreateTrustStoreCommand = async (output, context)
1806
1806
  $metadata: deserializeMetadata(output),
1807
1807
  trustStoreArn: undefined,
1808
1808
  };
1809
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1809
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1810
1810
  if (data.trustStoreArn !== undefined && data.trustStoreArn !== null) {
1811
- contents.trustStoreArn = smithy_client_1.expectString(data.trustStoreArn);
1811
+ contents.trustStoreArn = (0, smithy_client_1.expectString)(data.trustStoreArn);
1812
1812
  }
1813
1813
  return Promise.resolve(contents);
1814
1814
  };
@@ -1847,7 +1847,7 @@ const deserializeAws_restJson1CreateTrustStoreCommandError = async (output, cont
1847
1847
  $fault: "client",
1848
1848
  $metadata: deserializeMetadata(output),
1849
1849
  });
1850
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1850
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1851
1851
  }
1852
1852
  };
1853
1853
  const deserializeAws_restJson1CreateUserSettingsCommand = async (output, context) => {
@@ -1858,9 +1858,9 @@ const deserializeAws_restJson1CreateUserSettingsCommand = async (output, context
1858
1858
  $metadata: deserializeMetadata(output),
1859
1859
  userSettingsArn: undefined,
1860
1860
  };
1861
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1861
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1862
1862
  if (data.userSettingsArn !== undefined && data.userSettingsArn !== null) {
1863
- contents.userSettingsArn = smithy_client_1.expectString(data.userSettingsArn);
1863
+ contents.userSettingsArn = (0, smithy_client_1.expectString)(data.userSettingsArn);
1864
1864
  }
1865
1865
  return Promise.resolve(contents);
1866
1866
  };
@@ -1899,7 +1899,7 @@ const deserializeAws_restJson1CreateUserSettingsCommandError = async (output, co
1899
1899
  $fault: "client",
1900
1900
  $metadata: deserializeMetadata(output),
1901
1901
  });
1902
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1902
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1903
1903
  }
1904
1904
  };
1905
1905
  const deserializeAws_restJson1DeleteBrowserSettingsCommand = async (output, context) => {
@@ -1944,7 +1944,7 @@ const deserializeAws_restJson1DeleteBrowserSettingsCommandError = async (output,
1944
1944
  $fault: "client",
1945
1945
  $metadata: deserializeMetadata(output),
1946
1946
  });
1947
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1947
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1948
1948
  }
1949
1949
  };
1950
1950
  const deserializeAws_restJson1DeleteIdentityProviderCommand = async (output, context) => {
@@ -1989,7 +1989,7 @@ const deserializeAws_restJson1DeleteIdentityProviderCommandError = async (output
1989
1989
  $fault: "client",
1990
1990
  $metadata: deserializeMetadata(output),
1991
1991
  });
1992
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1992
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1993
1993
  }
1994
1994
  };
1995
1995
  const deserializeAws_restJson1DeleteNetworkSettingsCommand = async (output, context) => {
@@ -2034,7 +2034,7 @@ const deserializeAws_restJson1DeleteNetworkSettingsCommandError = async (output,
2034
2034
  $fault: "client",
2035
2035
  $metadata: deserializeMetadata(output),
2036
2036
  });
2037
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2037
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2038
2038
  }
2039
2039
  };
2040
2040
  const deserializeAws_restJson1DeletePortalCommand = async (output, context) => {
@@ -2079,7 +2079,7 @@ const deserializeAws_restJson1DeletePortalCommandError = async (output, context)
2079
2079
  $fault: "client",
2080
2080
  $metadata: deserializeMetadata(output),
2081
2081
  });
2082
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2082
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2083
2083
  }
2084
2084
  };
2085
2085
  const deserializeAws_restJson1DeleteTrustStoreCommand = async (output, context) => {
@@ -2124,7 +2124,7 @@ const deserializeAws_restJson1DeleteTrustStoreCommandError = async (output, cont
2124
2124
  $fault: "client",
2125
2125
  $metadata: deserializeMetadata(output),
2126
2126
  });
2127
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2127
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2128
2128
  }
2129
2129
  };
2130
2130
  const deserializeAws_restJson1DeleteUserSettingsCommand = async (output, context) => {
@@ -2169,7 +2169,7 @@ const deserializeAws_restJson1DeleteUserSettingsCommandError = async (output, co
2169
2169
  $fault: "client",
2170
2170
  $metadata: deserializeMetadata(output),
2171
2171
  });
2172
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2172
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2173
2173
  }
2174
2174
  };
2175
2175
  const deserializeAws_restJson1DisassociateBrowserSettingsCommand = async (output, context) => {
@@ -2214,7 +2214,7 @@ const deserializeAws_restJson1DisassociateBrowserSettingsCommandError = async (o
2214
2214
  $fault: "client",
2215
2215
  $metadata: deserializeMetadata(output),
2216
2216
  });
2217
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2217
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2218
2218
  }
2219
2219
  };
2220
2220
  const deserializeAws_restJson1DisassociateNetworkSettingsCommand = async (output, context) => {
@@ -2259,7 +2259,7 @@ const deserializeAws_restJson1DisassociateNetworkSettingsCommandError = async (o
2259
2259
  $fault: "client",
2260
2260
  $metadata: deserializeMetadata(output),
2261
2261
  });
2262
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2262
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2263
2263
  }
2264
2264
  };
2265
2265
  const deserializeAws_restJson1DisassociateTrustStoreCommand = async (output, context) => {
@@ -2304,7 +2304,7 @@ const deserializeAws_restJson1DisassociateTrustStoreCommandError = async (output
2304
2304
  $fault: "client",
2305
2305
  $metadata: deserializeMetadata(output),
2306
2306
  });
2307
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2307
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2308
2308
  }
2309
2309
  };
2310
2310
  const deserializeAws_restJson1DisassociateUserSettingsCommand = async (output, context) => {
@@ -2349,7 +2349,7 @@ const deserializeAws_restJson1DisassociateUserSettingsCommandError = async (outp
2349
2349
  $fault: "client",
2350
2350
  $metadata: deserializeMetadata(output),
2351
2351
  });
2352
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2352
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2353
2353
  }
2354
2354
  };
2355
2355
  const deserializeAws_restJson1GetBrowserSettingsCommand = async (output, context) => {
@@ -2360,7 +2360,7 @@ const deserializeAws_restJson1GetBrowserSettingsCommand = async (output, context
2360
2360
  $metadata: deserializeMetadata(output),
2361
2361
  browserSettings: undefined,
2362
2362
  };
2363
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2363
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2364
2364
  if (data.browserSettings !== undefined && data.browserSettings !== null) {
2365
2365
  contents.browserSettings = deserializeAws_restJson1BrowserSettings(data.browserSettings, context);
2366
2366
  }
@@ -2398,7 +2398,7 @@ const deserializeAws_restJson1GetBrowserSettingsCommandError = async (output, co
2398
2398
  $fault: "client",
2399
2399
  $metadata: deserializeMetadata(output),
2400
2400
  });
2401
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2401
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2402
2402
  }
2403
2403
  };
2404
2404
  const deserializeAws_restJson1GetIdentityProviderCommand = async (output, context) => {
@@ -2409,7 +2409,7 @@ const deserializeAws_restJson1GetIdentityProviderCommand = async (output, contex
2409
2409
  $metadata: deserializeMetadata(output),
2410
2410
  identityProvider: undefined,
2411
2411
  };
2412
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2412
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2413
2413
  if (data.identityProvider !== undefined && data.identityProvider !== null) {
2414
2414
  contents.identityProvider = deserializeAws_restJson1IdentityProvider(data.identityProvider, context);
2415
2415
  }
@@ -2447,7 +2447,7 @@ const deserializeAws_restJson1GetIdentityProviderCommandError = async (output, c
2447
2447
  $fault: "client",
2448
2448
  $metadata: deserializeMetadata(output),
2449
2449
  });
2450
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2450
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2451
2451
  }
2452
2452
  };
2453
2453
  const deserializeAws_restJson1GetNetworkSettingsCommand = async (output, context) => {
@@ -2458,7 +2458,7 @@ const deserializeAws_restJson1GetNetworkSettingsCommand = async (output, context
2458
2458
  $metadata: deserializeMetadata(output),
2459
2459
  networkSettings: undefined,
2460
2460
  };
2461
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2461
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2462
2462
  if (data.networkSettings !== undefined && data.networkSettings !== null) {
2463
2463
  contents.networkSettings = deserializeAws_restJson1NetworkSettings(data.networkSettings, context);
2464
2464
  }
@@ -2496,7 +2496,7 @@ const deserializeAws_restJson1GetNetworkSettingsCommandError = async (output, co
2496
2496
  $fault: "client",
2497
2497
  $metadata: deserializeMetadata(output),
2498
2498
  });
2499
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2499
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2500
2500
  }
2501
2501
  };
2502
2502
  const deserializeAws_restJson1GetPortalCommand = async (output, context) => {
@@ -2507,7 +2507,7 @@ const deserializeAws_restJson1GetPortalCommand = async (output, context) => {
2507
2507
  $metadata: deserializeMetadata(output),
2508
2508
  portal: undefined,
2509
2509
  };
2510
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2510
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2511
2511
  if (data.portal !== undefined && data.portal !== null) {
2512
2512
  contents.portal = deserializeAws_restJson1Portal(data.portal, context);
2513
2513
  }
@@ -2545,7 +2545,7 @@ const deserializeAws_restJson1GetPortalCommandError = async (output, context) =>
2545
2545
  $fault: "client",
2546
2546
  $metadata: deserializeMetadata(output),
2547
2547
  });
2548
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2548
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2549
2549
  }
2550
2550
  };
2551
2551
  const deserializeAws_restJson1GetPortalServiceProviderMetadataCommand = async (output, context) => {
@@ -2557,12 +2557,12 @@ const deserializeAws_restJson1GetPortalServiceProviderMetadataCommand = async (o
2557
2557
  portalArn: undefined,
2558
2558
  serviceProviderSamlMetadata: undefined,
2559
2559
  };
2560
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2560
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2561
2561
  if (data.portalArn !== undefined && data.portalArn !== null) {
2562
- contents.portalArn = smithy_client_1.expectString(data.portalArn);
2562
+ contents.portalArn = (0, smithy_client_1.expectString)(data.portalArn);
2563
2563
  }
2564
2564
  if (data.serviceProviderSamlMetadata !== undefined && data.serviceProviderSamlMetadata !== null) {
2565
- contents.serviceProviderSamlMetadata = smithy_client_1.expectString(data.serviceProviderSamlMetadata);
2565
+ contents.serviceProviderSamlMetadata = (0, smithy_client_1.expectString)(data.serviceProviderSamlMetadata);
2566
2566
  }
2567
2567
  return Promise.resolve(contents);
2568
2568
  };
@@ -2598,7 +2598,7 @@ const deserializeAws_restJson1GetPortalServiceProviderMetadataCommandError = asy
2598
2598
  $fault: "client",
2599
2599
  $metadata: deserializeMetadata(output),
2600
2600
  });
2601
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2601
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2602
2602
  }
2603
2603
  };
2604
2604
  const deserializeAws_restJson1GetTrustStoreCommand = async (output, context) => {
@@ -2609,7 +2609,7 @@ const deserializeAws_restJson1GetTrustStoreCommand = async (output, context) =>
2609
2609
  $metadata: deserializeMetadata(output),
2610
2610
  trustStore: undefined,
2611
2611
  };
2612
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2612
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2613
2613
  if (data.trustStore !== undefined && data.trustStore !== null) {
2614
2614
  contents.trustStore = deserializeAws_restJson1TrustStore(data.trustStore, context);
2615
2615
  }
@@ -2647,7 +2647,7 @@ const deserializeAws_restJson1GetTrustStoreCommandError = async (output, context
2647
2647
  $fault: "client",
2648
2648
  $metadata: deserializeMetadata(output),
2649
2649
  });
2650
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2650
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2651
2651
  }
2652
2652
  };
2653
2653
  const deserializeAws_restJson1GetTrustStoreCertificateCommand = async (output, context) => {
@@ -2659,12 +2659,12 @@ const deserializeAws_restJson1GetTrustStoreCertificateCommand = async (output, c
2659
2659
  certificate: undefined,
2660
2660
  trustStoreArn: undefined,
2661
2661
  };
2662
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2662
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2663
2663
  if (data.certificate !== undefined && data.certificate !== null) {
2664
2664
  contents.certificate = deserializeAws_restJson1Certificate(data.certificate, context);
2665
2665
  }
2666
2666
  if (data.trustStoreArn !== undefined && data.trustStoreArn !== null) {
2667
- contents.trustStoreArn = smithy_client_1.expectString(data.trustStoreArn);
2667
+ contents.trustStoreArn = (0, smithy_client_1.expectString)(data.trustStoreArn);
2668
2668
  }
2669
2669
  return Promise.resolve(contents);
2670
2670
  };
@@ -2700,7 +2700,7 @@ const deserializeAws_restJson1GetTrustStoreCertificateCommandError = async (outp
2700
2700
  $fault: "client",
2701
2701
  $metadata: deserializeMetadata(output),
2702
2702
  });
2703
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2703
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2704
2704
  }
2705
2705
  };
2706
2706
  const deserializeAws_restJson1GetUserSettingsCommand = async (output, context) => {
@@ -2711,7 +2711,7 @@ const deserializeAws_restJson1GetUserSettingsCommand = async (output, context) =
2711
2711
  $metadata: deserializeMetadata(output),
2712
2712
  userSettings: undefined,
2713
2713
  };
2714
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2714
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2715
2715
  if (data.userSettings !== undefined && data.userSettings !== null) {
2716
2716
  contents.userSettings = deserializeAws_restJson1UserSettings(data.userSettings, context);
2717
2717
  }
@@ -2749,7 +2749,7 @@ const deserializeAws_restJson1GetUserSettingsCommandError = async (output, conte
2749
2749
  $fault: "client",
2750
2750
  $metadata: deserializeMetadata(output),
2751
2751
  });
2752
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2752
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2753
2753
  }
2754
2754
  };
2755
2755
  const deserializeAws_restJson1ListBrowserSettingsCommand = async (output, context) => {
@@ -2761,12 +2761,12 @@ const deserializeAws_restJson1ListBrowserSettingsCommand = async (output, contex
2761
2761
  browserSettings: undefined,
2762
2762
  nextToken: undefined,
2763
2763
  };
2764
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2764
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2765
2765
  if (data.browserSettings !== undefined && data.browserSettings !== null) {
2766
2766
  contents.browserSettings = deserializeAws_restJson1BrowserSettingsList(data.browserSettings, context);
2767
2767
  }
2768
2768
  if (data.nextToken !== undefined && data.nextToken !== null) {
2769
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2769
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2770
2770
  }
2771
2771
  return Promise.resolve(contents);
2772
2772
  };
@@ -2799,7 +2799,7 @@ const deserializeAws_restJson1ListBrowserSettingsCommandError = async (output, c
2799
2799
  $fault: "client",
2800
2800
  $metadata: deserializeMetadata(output),
2801
2801
  });
2802
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2802
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2803
2803
  }
2804
2804
  };
2805
2805
  const deserializeAws_restJson1ListIdentityProvidersCommand = async (output, context) => {
@@ -2811,12 +2811,12 @@ const deserializeAws_restJson1ListIdentityProvidersCommand = async (output, cont
2811
2811
  identityProviders: undefined,
2812
2812
  nextToken: undefined,
2813
2813
  };
2814
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2814
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2815
2815
  if (data.identityProviders !== undefined && data.identityProviders !== null) {
2816
2816
  contents.identityProviders = deserializeAws_restJson1IdentityProviderList(data.identityProviders, context);
2817
2817
  }
2818
2818
  if (data.nextToken !== undefined && data.nextToken !== null) {
2819
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2819
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2820
2820
  }
2821
2821
  return Promise.resolve(contents);
2822
2822
  };
@@ -2849,7 +2849,7 @@ const deserializeAws_restJson1ListIdentityProvidersCommandError = async (output,
2849
2849
  $fault: "client",
2850
2850
  $metadata: deserializeMetadata(output),
2851
2851
  });
2852
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2852
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2853
2853
  }
2854
2854
  };
2855
2855
  const deserializeAws_restJson1ListNetworkSettingsCommand = async (output, context) => {
@@ -2861,12 +2861,12 @@ const deserializeAws_restJson1ListNetworkSettingsCommand = async (output, contex
2861
2861
  networkSettings: undefined,
2862
2862
  nextToken: undefined,
2863
2863
  };
2864
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2864
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2865
2865
  if (data.networkSettings !== undefined && data.networkSettings !== null) {
2866
2866
  contents.networkSettings = deserializeAws_restJson1NetworkSettingsList(data.networkSettings, context);
2867
2867
  }
2868
2868
  if (data.nextToken !== undefined && data.nextToken !== null) {
2869
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2869
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2870
2870
  }
2871
2871
  return Promise.resolve(contents);
2872
2872
  };
@@ -2899,7 +2899,7 @@ const deserializeAws_restJson1ListNetworkSettingsCommandError = async (output, c
2899
2899
  $fault: "client",
2900
2900
  $metadata: deserializeMetadata(output),
2901
2901
  });
2902
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2902
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2903
2903
  }
2904
2904
  };
2905
2905
  const deserializeAws_restJson1ListPortalsCommand = async (output, context) => {
@@ -2911,9 +2911,9 @@ const deserializeAws_restJson1ListPortalsCommand = async (output, context) => {
2911
2911
  nextToken: undefined,
2912
2912
  portals: undefined,
2913
2913
  };
2914
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2914
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2915
2915
  if (data.nextToken !== undefined && data.nextToken !== null) {
2916
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2916
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2917
2917
  }
2918
2918
  if (data.portals !== undefined && data.portals !== null) {
2919
2919
  contents.portals = deserializeAws_restJson1PortalList(data.portals, context);
@@ -2949,7 +2949,7 @@ const deserializeAws_restJson1ListPortalsCommandError = async (output, context)
2949
2949
  $fault: "client",
2950
2950
  $metadata: deserializeMetadata(output),
2951
2951
  });
2952
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2952
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2953
2953
  }
2954
2954
  };
2955
2955
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2960,7 +2960,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2960
2960
  $metadata: deserializeMetadata(output),
2961
2961
  tags: undefined,
2962
2962
  };
2963
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2963
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2964
2964
  if (data.tags !== undefined && data.tags !== null) {
2965
2965
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
2966
2966
  }
@@ -2998,7 +2998,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2998
2998
  $fault: "client",
2999
2999
  $metadata: deserializeMetadata(output),
3000
3000
  });
3001
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3001
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3002
3002
  }
3003
3003
  };
3004
3004
  const deserializeAws_restJson1ListTrustStoreCertificatesCommand = async (output, context) => {
@@ -3011,15 +3011,15 @@ const deserializeAws_restJson1ListTrustStoreCertificatesCommand = async (output,
3011
3011
  nextToken: undefined,
3012
3012
  trustStoreArn: undefined,
3013
3013
  };
3014
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3014
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3015
3015
  if (data.certificateList !== undefined && data.certificateList !== null) {
3016
3016
  contents.certificateList = deserializeAws_restJson1CertificateSummaryList(data.certificateList, context);
3017
3017
  }
3018
3018
  if (data.nextToken !== undefined && data.nextToken !== null) {
3019
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3019
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3020
3020
  }
3021
3021
  if (data.trustStoreArn !== undefined && data.trustStoreArn !== null) {
3022
- contents.trustStoreArn = smithy_client_1.expectString(data.trustStoreArn);
3022
+ contents.trustStoreArn = (0, smithy_client_1.expectString)(data.trustStoreArn);
3023
3023
  }
3024
3024
  return Promise.resolve(contents);
3025
3025
  };
@@ -3055,7 +3055,7 @@ const deserializeAws_restJson1ListTrustStoreCertificatesCommandError = async (ou
3055
3055
  $fault: "client",
3056
3056
  $metadata: deserializeMetadata(output),
3057
3057
  });
3058
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3058
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3059
3059
  }
3060
3060
  };
3061
3061
  const deserializeAws_restJson1ListTrustStoresCommand = async (output, context) => {
@@ -3067,9 +3067,9 @@ const deserializeAws_restJson1ListTrustStoresCommand = async (output, context) =
3067
3067
  nextToken: undefined,
3068
3068
  trustStores: undefined,
3069
3069
  };
3070
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3070
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3071
3071
  if (data.nextToken !== undefined && data.nextToken !== null) {
3072
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3072
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3073
3073
  }
3074
3074
  if (data.trustStores !== undefined && data.trustStores !== null) {
3075
3075
  contents.trustStores = deserializeAws_restJson1TrustStoreSummaryList(data.trustStores, context);
@@ -3105,7 +3105,7 @@ const deserializeAws_restJson1ListTrustStoresCommandError = async (output, conte
3105
3105
  $fault: "client",
3106
3106
  $metadata: deserializeMetadata(output),
3107
3107
  });
3108
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3108
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3109
3109
  }
3110
3110
  };
3111
3111
  const deserializeAws_restJson1ListUserSettingsCommand = async (output, context) => {
@@ -3117,9 +3117,9 @@ const deserializeAws_restJson1ListUserSettingsCommand = async (output, context)
3117
3117
  nextToken: undefined,
3118
3118
  userSettings: undefined,
3119
3119
  };
3120
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3120
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3121
3121
  if (data.nextToken !== undefined && data.nextToken !== null) {
3122
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3122
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3123
3123
  }
3124
3124
  if (data.userSettings !== undefined && data.userSettings !== null) {
3125
3125
  contents.userSettings = deserializeAws_restJson1UserSettingsList(data.userSettings, context);
@@ -3155,7 +3155,7 @@ const deserializeAws_restJson1ListUserSettingsCommandError = async (output, cont
3155
3155
  $fault: "client",
3156
3156
  $metadata: deserializeMetadata(output),
3157
3157
  });
3158
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3158
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3159
3159
  }
3160
3160
  };
3161
3161
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -3203,7 +3203,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3203
3203
  $fault: "client",
3204
3204
  $metadata: deserializeMetadata(output),
3205
3205
  });
3206
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3206
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3207
3207
  }
3208
3208
  };
3209
3209
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -3248,7 +3248,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3248
3248
  $fault: "client",
3249
3249
  $metadata: deserializeMetadata(output),
3250
3250
  });
3251
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3251
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3252
3252
  }
3253
3253
  };
3254
3254
  const deserializeAws_restJson1UpdateBrowserSettingsCommand = async (output, context) => {
@@ -3259,7 +3259,7 @@ const deserializeAws_restJson1UpdateBrowserSettingsCommand = async (output, cont
3259
3259
  $metadata: deserializeMetadata(output),
3260
3260
  browserSettings: undefined,
3261
3261
  };
3262
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3262
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3263
3263
  if (data.browserSettings !== undefined && data.browserSettings !== null) {
3264
3264
  contents.browserSettings = deserializeAws_restJson1BrowserSettings(data.browserSettings, context);
3265
3265
  }
@@ -3297,7 +3297,7 @@ const deserializeAws_restJson1UpdateBrowserSettingsCommandError = async (output,
3297
3297
  $fault: "client",
3298
3298
  $metadata: deserializeMetadata(output),
3299
3299
  });
3300
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3300
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3301
3301
  }
3302
3302
  };
3303
3303
  const deserializeAws_restJson1UpdateIdentityProviderCommand = async (output, context) => {
@@ -3308,7 +3308,7 @@ const deserializeAws_restJson1UpdateIdentityProviderCommand = async (output, con
3308
3308
  $metadata: deserializeMetadata(output),
3309
3309
  identityProvider: undefined,
3310
3310
  };
3311
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3311
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3312
3312
  if (data.identityProvider !== undefined && data.identityProvider !== null) {
3313
3313
  contents.identityProvider = deserializeAws_restJson1IdentityProvider(data.identityProvider, context);
3314
3314
  }
@@ -3346,7 +3346,7 @@ const deserializeAws_restJson1UpdateIdentityProviderCommandError = async (output
3346
3346
  $fault: "client",
3347
3347
  $metadata: deserializeMetadata(output),
3348
3348
  });
3349
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3349
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3350
3350
  }
3351
3351
  };
3352
3352
  const deserializeAws_restJson1UpdateNetworkSettingsCommand = async (output, context) => {
@@ -3357,7 +3357,7 @@ const deserializeAws_restJson1UpdateNetworkSettingsCommand = async (output, cont
3357
3357
  $metadata: deserializeMetadata(output),
3358
3358
  networkSettings: undefined,
3359
3359
  };
3360
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3360
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3361
3361
  if (data.networkSettings !== undefined && data.networkSettings !== null) {
3362
3362
  contents.networkSettings = deserializeAws_restJson1NetworkSettings(data.networkSettings, context);
3363
3363
  }
@@ -3395,7 +3395,7 @@ const deserializeAws_restJson1UpdateNetworkSettingsCommandError = async (output,
3395
3395
  $fault: "client",
3396
3396
  $metadata: deserializeMetadata(output),
3397
3397
  });
3398
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3398
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3399
3399
  }
3400
3400
  };
3401
3401
  const deserializeAws_restJson1UpdatePortalCommand = async (output, context) => {
@@ -3406,7 +3406,7 @@ const deserializeAws_restJson1UpdatePortalCommand = async (output, context) => {
3406
3406
  $metadata: deserializeMetadata(output),
3407
3407
  portal: undefined,
3408
3408
  };
3409
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3409
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3410
3410
  if (data.portal !== undefined && data.portal !== null) {
3411
3411
  contents.portal = deserializeAws_restJson1Portal(data.portal, context);
3412
3412
  }
@@ -3444,7 +3444,7 @@ const deserializeAws_restJson1UpdatePortalCommandError = async (output, context)
3444
3444
  $fault: "client",
3445
3445
  $metadata: deserializeMetadata(output),
3446
3446
  });
3447
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3447
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3448
3448
  }
3449
3449
  };
3450
3450
  const deserializeAws_restJson1UpdateTrustStoreCommand = async (output, context) => {
@@ -3455,9 +3455,9 @@ const deserializeAws_restJson1UpdateTrustStoreCommand = async (output, context)
3455
3455
  $metadata: deserializeMetadata(output),
3456
3456
  trustStoreArn: undefined,
3457
3457
  };
3458
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3458
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3459
3459
  if (data.trustStoreArn !== undefined && data.trustStoreArn !== null) {
3460
- contents.trustStoreArn = smithy_client_1.expectString(data.trustStoreArn);
3460
+ contents.trustStoreArn = (0, smithy_client_1.expectString)(data.trustStoreArn);
3461
3461
  }
3462
3462
  return Promise.resolve(contents);
3463
3463
  };
@@ -3496,7 +3496,7 @@ const deserializeAws_restJson1UpdateTrustStoreCommandError = async (output, cont
3496
3496
  $fault: "client",
3497
3497
  $metadata: deserializeMetadata(output),
3498
3498
  });
3499
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3499
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3500
3500
  }
3501
3501
  };
3502
3502
  const deserializeAws_restJson1UpdateUserSettingsCommand = async (output, context) => {
@@ -3507,7 +3507,7 @@ const deserializeAws_restJson1UpdateUserSettingsCommand = async (output, context
3507
3507
  $metadata: deserializeMetadata(output),
3508
3508
  userSettings: undefined,
3509
3509
  };
3510
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3510
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3511
3511
  if (data.userSettings !== undefined && data.userSettings !== null) {
3512
3512
  contents.userSettings = deserializeAws_restJson1UserSettings(data.userSettings, context);
3513
3513
  }
@@ -3545,131 +3545,131 @@ const deserializeAws_restJson1UpdateUserSettingsCommandError = async (output, co
3545
3545
  $fault: "client",
3546
3546
  $metadata: deserializeMetadata(output),
3547
3547
  });
3548
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3548
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3549
3549
  }
3550
3550
  };
3551
3551
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
3552
3552
  const contents = {};
3553
3553
  const data = parsedOutput.body;
3554
3554
  if (data.message !== undefined && data.message !== null) {
3555
- contents.message = smithy_client_1.expectString(data.message);
3555
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3556
3556
  }
3557
3557
  const exception = new models_0_1.AccessDeniedException({
3558
3558
  $metadata: deserializeMetadata(parsedOutput),
3559
3559
  ...contents,
3560
3560
  });
3561
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3561
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3562
3562
  };
3563
3563
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
3564
3564
  const contents = {};
3565
3565
  const data = parsedOutput.body;
3566
3566
  if (data.message !== undefined && data.message !== null) {
3567
- contents.message = smithy_client_1.expectString(data.message);
3567
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3568
3568
  }
3569
3569
  if (data.resourceId !== undefined && data.resourceId !== null) {
3570
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
3570
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
3571
3571
  }
3572
3572
  if (data.resourceType !== undefined && data.resourceType !== null) {
3573
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
3573
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
3574
3574
  }
3575
3575
  const exception = new models_0_1.ConflictException({
3576
3576
  $metadata: deserializeMetadata(parsedOutput),
3577
3577
  ...contents,
3578
3578
  });
3579
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3579
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3580
3580
  };
3581
3581
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
3582
3582
  const contents = {};
3583
3583
  if (parsedOutput.headers["retry-after"] !== undefined) {
3584
- contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
3584
+ contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
3585
3585
  }
3586
3586
  const data = parsedOutput.body;
3587
3587
  if (data.message !== undefined && data.message !== null) {
3588
- contents.message = smithy_client_1.expectString(data.message);
3588
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3589
3589
  }
3590
3590
  const exception = new models_0_1.InternalServerException({
3591
3591
  $metadata: deserializeMetadata(parsedOutput),
3592
3592
  ...contents,
3593
3593
  });
3594
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3594
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3595
3595
  };
3596
3596
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3597
3597
  const contents = {};
3598
3598
  const data = parsedOutput.body;
3599
3599
  if (data.message !== undefined && data.message !== null) {
3600
- contents.message = smithy_client_1.expectString(data.message);
3600
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3601
3601
  }
3602
3602
  if (data.resourceId !== undefined && data.resourceId !== null) {
3603
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
3603
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
3604
3604
  }
3605
3605
  if (data.resourceType !== undefined && data.resourceType !== null) {
3606
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
3606
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
3607
3607
  }
3608
3608
  const exception = new models_0_1.ResourceNotFoundException({
3609
3609
  $metadata: deserializeMetadata(parsedOutput),
3610
3610
  ...contents,
3611
3611
  });
3612
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3612
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3613
3613
  };
3614
3614
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
3615
3615
  const contents = {};
3616
3616
  const data = parsedOutput.body;
3617
3617
  if (data.message !== undefined && data.message !== null) {
3618
- contents.message = smithy_client_1.expectString(data.message);
3618
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3619
3619
  }
3620
3620
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
3621
- contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
3621
+ contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
3622
3622
  }
3623
3623
  if (data.resourceId !== undefined && data.resourceId !== null) {
3624
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
3624
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
3625
3625
  }
3626
3626
  if (data.resourceType !== undefined && data.resourceType !== null) {
3627
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
3627
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
3628
3628
  }
3629
3629
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
3630
- contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
3630
+ contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
3631
3631
  }
3632
3632
  const exception = new models_0_1.ServiceQuotaExceededException({
3633
3633
  $metadata: deserializeMetadata(parsedOutput),
3634
3634
  ...contents,
3635
3635
  });
3636
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3636
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3637
3637
  };
3638
3638
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
3639
3639
  const contents = {};
3640
3640
  if (parsedOutput.headers["retry-after"] !== undefined) {
3641
- contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
3641
+ contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
3642
3642
  }
3643
3643
  const data = parsedOutput.body;
3644
3644
  if (data.message !== undefined && data.message !== null) {
3645
- contents.message = smithy_client_1.expectString(data.message);
3645
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3646
3646
  }
3647
3647
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
3648
- contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
3648
+ contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
3649
3649
  }
3650
3650
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
3651
- contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
3651
+ contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
3652
3652
  }
3653
3653
  const exception = new models_0_1.ThrottlingException({
3654
3654
  $metadata: deserializeMetadata(parsedOutput),
3655
3655
  ...contents,
3656
3656
  });
3657
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3657
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3658
3658
  };
3659
3659
  const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
3660
3660
  const contents = {};
3661
3661
  const data = parsedOutput.body;
3662
3662
  if (data.message !== undefined && data.message !== null) {
3663
- contents.message = smithy_client_1.expectString(data.message);
3663
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3664
3664
  }
3665
3665
  if (data.resourceName !== undefined && data.resourceName !== null) {
3666
- contents.resourceName = smithy_client_1.expectString(data.resourceName);
3666
+ contents.resourceName = (0, smithy_client_1.expectString)(data.resourceName);
3667
3667
  }
3668
3668
  const exception = new models_0_1.TooManyTagsException({
3669
3669
  $metadata: deserializeMetadata(parsedOutput),
3670
3670
  ...contents,
3671
3671
  });
3672
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3672
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3673
3673
  };
3674
3674
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
3675
3675
  const contents = {};
@@ -3678,16 +3678,16 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
3678
3678
  contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
3679
3679
  }
3680
3680
  if (data.message !== undefined && data.message !== null) {
3681
- contents.message = smithy_client_1.expectString(data.message);
3681
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3682
3682
  }
3683
3683
  if (data.reason !== undefined && data.reason !== null) {
3684
- contents.reason = smithy_client_1.expectString(data.reason);
3684
+ contents.reason = (0, smithy_client_1.expectString)(data.reason);
3685
3685
  }
3686
3686
  const exception = new models_0_1.ValidationException({
3687
3687
  $metadata: deserializeMetadata(parsedOutput),
3688
3688
  ...contents,
3689
3689
  });
3690
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3690
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3691
3691
  };
3692
3692
  const serializeAws_restJson1CertificateList = (input, context) => {
3693
3693
  return input
@@ -3774,7 +3774,7 @@ const deserializeAws_restJson1ArnList = (output, context) => {
3774
3774
  if (entry === null) {
3775
3775
  return null;
3776
3776
  }
3777
- return smithy_client_1.expectString(entry);
3777
+ return (0, smithy_client_1.expectString)(entry);
3778
3778
  });
3779
3779
  return retVal;
3780
3780
  };
@@ -3783,8 +3783,8 @@ const deserializeAws_restJson1BrowserSettings = (output, context) => {
3783
3783
  associatedPortalArns: output.associatedPortalArns !== undefined && output.associatedPortalArns !== null
3784
3784
  ? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
3785
3785
  : undefined,
3786
- browserPolicy: smithy_client_1.expectString(output.browserPolicy),
3787
- browserSettingsArn: smithy_client_1.expectString(output.browserSettingsArn),
3786
+ browserPolicy: (0, smithy_client_1.expectString)(output.browserPolicy),
3787
+ browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
3788
3788
  };
3789
3789
  };
3790
3790
  const deserializeAws_restJson1BrowserSettingsList = (output, context) => {
@@ -3800,34 +3800,34 @@ const deserializeAws_restJson1BrowserSettingsList = (output, context) => {
3800
3800
  };
3801
3801
  const deserializeAws_restJson1BrowserSettingsSummary = (output, context) => {
3802
3802
  return {
3803
- browserSettingsArn: smithy_client_1.expectString(output.browserSettingsArn),
3803
+ browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
3804
3804
  };
3805
3805
  };
3806
3806
  const deserializeAws_restJson1Certificate = (output, context) => {
3807
3807
  return {
3808
3808
  body: output.body !== undefined && output.body !== null ? context.base64Decoder(output.body) : undefined,
3809
- issuer: smithy_client_1.expectString(output.issuer),
3809
+ issuer: (0, smithy_client_1.expectString)(output.issuer),
3810
3810
  notValidAfter: output.notValidAfter !== undefined && output.notValidAfter !== null
3811
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.notValidAfter)))
3811
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidAfter)))
3812
3812
  : undefined,
3813
3813
  notValidBefore: output.notValidBefore !== undefined && output.notValidBefore !== null
3814
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.notValidBefore)))
3814
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidBefore)))
3815
3815
  : undefined,
3816
- subject: smithy_client_1.expectString(output.subject),
3817
- thumbprint: smithy_client_1.expectString(output.thumbprint),
3816
+ subject: (0, smithy_client_1.expectString)(output.subject),
3817
+ thumbprint: (0, smithy_client_1.expectString)(output.thumbprint),
3818
3818
  };
3819
3819
  };
3820
3820
  const deserializeAws_restJson1CertificateSummary = (output, context) => {
3821
3821
  return {
3822
- issuer: smithy_client_1.expectString(output.issuer),
3822
+ issuer: (0, smithy_client_1.expectString)(output.issuer),
3823
3823
  notValidAfter: output.notValidAfter !== undefined && output.notValidAfter !== null
3824
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.notValidAfter)))
3824
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidAfter)))
3825
3825
  : undefined,
3826
3826
  notValidBefore: output.notValidBefore !== undefined && output.notValidBefore !== null
3827
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.notValidBefore)))
3827
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidBefore)))
3828
3828
  : undefined,
3829
- subject: smithy_client_1.expectString(output.subject),
3830
- thumbprint: smithy_client_1.expectString(output.thumbprint),
3829
+ subject: (0, smithy_client_1.expectString)(output.subject),
3830
+ thumbprint: (0, smithy_client_1.expectString)(output.thumbprint),
3831
3831
  };
3832
3832
  };
3833
3833
  const deserializeAws_restJson1CertificateSummaryList = (output, context) => {
@@ -3843,12 +3843,12 @@ const deserializeAws_restJson1CertificateSummaryList = (output, context) => {
3843
3843
  };
3844
3844
  const deserializeAws_restJson1IdentityProvider = (output, context) => {
3845
3845
  return {
3846
- identityProviderArn: smithy_client_1.expectString(output.identityProviderArn),
3846
+ identityProviderArn: (0, smithy_client_1.expectString)(output.identityProviderArn),
3847
3847
  identityProviderDetails: output.identityProviderDetails !== undefined && output.identityProviderDetails !== null
3848
3848
  ? deserializeAws_restJson1IdentityProviderDetails(output.identityProviderDetails, context)
3849
3849
  : undefined,
3850
- identityProviderName: smithy_client_1.expectString(output.identityProviderName),
3851
- identityProviderType: smithy_client_1.expectString(output.identityProviderType),
3850
+ identityProviderName: (0, smithy_client_1.expectString)(output.identityProviderName),
3851
+ identityProviderType: (0, smithy_client_1.expectString)(output.identityProviderType),
3852
3852
  };
3853
3853
  };
3854
3854
  const deserializeAws_restJson1IdentityProviderDetails = (output, context) => {
@@ -3858,7 +3858,7 @@ const deserializeAws_restJson1IdentityProviderDetails = (output, context) => {
3858
3858
  }
3859
3859
  return {
3860
3860
  ...acc,
3861
- [key]: smithy_client_1.expectString(value),
3861
+ [key]: (0, smithy_client_1.expectString)(value),
3862
3862
  };
3863
3863
  }, {});
3864
3864
  };
@@ -3875,9 +3875,9 @@ const deserializeAws_restJson1IdentityProviderList = (output, context) => {
3875
3875
  };
3876
3876
  const deserializeAws_restJson1IdentityProviderSummary = (output, context) => {
3877
3877
  return {
3878
- identityProviderArn: smithy_client_1.expectString(output.identityProviderArn),
3879
- identityProviderName: smithy_client_1.expectString(output.identityProviderName),
3880
- identityProviderType: smithy_client_1.expectString(output.identityProviderType),
3878
+ identityProviderArn: (0, smithy_client_1.expectString)(output.identityProviderArn),
3879
+ identityProviderName: (0, smithy_client_1.expectString)(output.identityProviderName),
3880
+ identityProviderType: (0, smithy_client_1.expectString)(output.identityProviderType),
3881
3881
  };
3882
3882
  };
3883
3883
  const deserializeAws_restJson1NetworkSettings = (output, context) => {
@@ -3885,14 +3885,14 @@ const deserializeAws_restJson1NetworkSettings = (output, context) => {
3885
3885
  associatedPortalArns: output.associatedPortalArns !== undefined && output.associatedPortalArns !== null
3886
3886
  ? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
3887
3887
  : undefined,
3888
- networkSettingsArn: smithy_client_1.expectString(output.networkSettingsArn),
3888
+ networkSettingsArn: (0, smithy_client_1.expectString)(output.networkSettingsArn),
3889
3889
  securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
3890
3890
  ? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
3891
3891
  : undefined,
3892
3892
  subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
3893
3893
  ? deserializeAws_restJson1SubnetIdList(output.subnetIds, context)
3894
3894
  : undefined,
3895
- vpcId: smithy_client_1.expectString(output.vpcId),
3895
+ vpcId: (0, smithy_client_1.expectString)(output.vpcId),
3896
3896
  };
3897
3897
  };
3898
3898
  const deserializeAws_restJson1NetworkSettingsList = (output, context) => {
@@ -3908,26 +3908,26 @@ const deserializeAws_restJson1NetworkSettingsList = (output, context) => {
3908
3908
  };
3909
3909
  const deserializeAws_restJson1NetworkSettingsSummary = (output, context) => {
3910
3910
  return {
3911
- networkSettingsArn: smithy_client_1.expectString(output.networkSettingsArn),
3912
- vpcId: smithy_client_1.expectString(output.vpcId),
3911
+ networkSettingsArn: (0, smithy_client_1.expectString)(output.networkSettingsArn),
3912
+ vpcId: (0, smithy_client_1.expectString)(output.vpcId),
3913
3913
  };
3914
3914
  };
3915
3915
  const deserializeAws_restJson1Portal = (output, context) => {
3916
3916
  return {
3917
- browserSettingsArn: smithy_client_1.expectString(output.browserSettingsArn),
3918
- browserType: smithy_client_1.expectString(output.browserType),
3917
+ browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
3918
+ browserType: (0, smithy_client_1.expectString)(output.browserType),
3919
3919
  creationDate: output.creationDate !== undefined && output.creationDate !== null
3920
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
3920
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
3921
3921
  : undefined,
3922
- displayName: smithy_client_1.expectString(output.displayName),
3923
- networkSettingsArn: smithy_client_1.expectString(output.networkSettingsArn),
3924
- portalArn: smithy_client_1.expectString(output.portalArn),
3925
- portalEndpoint: smithy_client_1.expectString(output.portalEndpoint),
3926
- portalStatus: smithy_client_1.expectString(output.portalStatus),
3927
- rendererType: smithy_client_1.expectString(output.rendererType),
3928
- statusReason: smithy_client_1.expectString(output.statusReason),
3929
- trustStoreArn: smithy_client_1.expectString(output.trustStoreArn),
3930
- userSettingsArn: smithy_client_1.expectString(output.userSettingsArn),
3922
+ displayName: (0, smithy_client_1.expectString)(output.displayName),
3923
+ networkSettingsArn: (0, smithy_client_1.expectString)(output.networkSettingsArn),
3924
+ portalArn: (0, smithy_client_1.expectString)(output.portalArn),
3925
+ portalEndpoint: (0, smithy_client_1.expectString)(output.portalEndpoint),
3926
+ portalStatus: (0, smithy_client_1.expectString)(output.portalStatus),
3927
+ rendererType: (0, smithy_client_1.expectString)(output.rendererType),
3928
+ statusReason: (0, smithy_client_1.expectString)(output.statusReason),
3929
+ trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
3930
+ userSettingsArn: (0, smithy_client_1.expectString)(output.userSettingsArn),
3931
3931
  };
3932
3932
  };
3933
3933
  const deserializeAws_restJson1PortalList = (output, context) => {
@@ -3943,19 +3943,19 @@ const deserializeAws_restJson1PortalList = (output, context) => {
3943
3943
  };
3944
3944
  const deserializeAws_restJson1PortalSummary = (output, context) => {
3945
3945
  return {
3946
- browserSettingsArn: smithy_client_1.expectString(output.browserSettingsArn),
3947
- browserType: smithy_client_1.expectString(output.browserType),
3946
+ browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
3947
+ browserType: (0, smithy_client_1.expectString)(output.browserType),
3948
3948
  creationDate: output.creationDate !== undefined && output.creationDate !== null
3949
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
3949
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
3950
3950
  : undefined,
3951
- displayName: smithy_client_1.expectString(output.displayName),
3952
- networkSettingsArn: smithy_client_1.expectString(output.networkSettingsArn),
3953
- portalArn: smithy_client_1.expectString(output.portalArn),
3954
- portalEndpoint: smithy_client_1.expectString(output.portalEndpoint),
3955
- portalStatus: smithy_client_1.expectString(output.portalStatus),
3956
- rendererType: smithy_client_1.expectString(output.rendererType),
3957
- trustStoreArn: smithy_client_1.expectString(output.trustStoreArn),
3958
- userSettingsArn: smithy_client_1.expectString(output.userSettingsArn),
3951
+ displayName: (0, smithy_client_1.expectString)(output.displayName),
3952
+ networkSettingsArn: (0, smithy_client_1.expectString)(output.networkSettingsArn),
3953
+ portalArn: (0, smithy_client_1.expectString)(output.portalArn),
3954
+ portalEndpoint: (0, smithy_client_1.expectString)(output.portalEndpoint),
3955
+ portalStatus: (0, smithy_client_1.expectString)(output.portalStatus),
3956
+ rendererType: (0, smithy_client_1.expectString)(output.rendererType),
3957
+ trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
3958
+ userSettingsArn: (0, smithy_client_1.expectString)(output.userSettingsArn),
3959
3959
  };
3960
3960
  };
3961
3961
  const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
@@ -3965,7 +3965,7 @@ const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
3965
3965
  if (entry === null) {
3966
3966
  return null;
3967
3967
  }
3968
- return smithy_client_1.expectString(entry);
3968
+ return (0, smithy_client_1.expectString)(entry);
3969
3969
  });
3970
3970
  return retVal;
3971
3971
  };
@@ -3976,14 +3976,14 @@ const deserializeAws_restJson1SubnetIdList = (output, context) => {
3976
3976
  if (entry === null) {
3977
3977
  return null;
3978
3978
  }
3979
- return smithy_client_1.expectString(entry);
3979
+ return (0, smithy_client_1.expectString)(entry);
3980
3980
  });
3981
3981
  return retVal;
3982
3982
  };
3983
3983
  const deserializeAws_restJson1Tag = (output, context) => {
3984
3984
  return {
3985
- Key: smithy_client_1.expectString(output.Key),
3986
- Value: smithy_client_1.expectString(output.Value),
3985
+ Key: (0, smithy_client_1.expectString)(output.Key),
3986
+ Value: (0, smithy_client_1.expectString)(output.Value),
3987
3987
  };
3988
3988
  };
3989
3989
  const deserializeAws_restJson1TagList = (output, context) => {
@@ -4002,12 +4002,12 @@ const deserializeAws_restJson1TrustStore = (output, context) => {
4002
4002
  associatedPortalArns: output.associatedPortalArns !== undefined && output.associatedPortalArns !== null
4003
4003
  ? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
4004
4004
  : undefined,
4005
- trustStoreArn: smithy_client_1.expectString(output.trustStoreArn),
4005
+ trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
4006
4006
  };
4007
4007
  };
4008
4008
  const deserializeAws_restJson1TrustStoreSummary = (output, context) => {
4009
4009
  return {
4010
- trustStoreArn: smithy_client_1.expectString(output.trustStoreArn),
4010
+ trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
4011
4011
  };
4012
4012
  };
4013
4013
  const deserializeAws_restJson1TrustStoreSummaryList = (output, context) => {
@@ -4026,12 +4026,12 @@ const deserializeAws_restJson1UserSettings = (output, context) => {
4026
4026
  associatedPortalArns: output.associatedPortalArns !== undefined && output.associatedPortalArns !== null
4027
4027
  ? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
4028
4028
  : undefined,
4029
- copyAllowed: smithy_client_1.expectString(output.copyAllowed),
4030
- downloadAllowed: smithy_client_1.expectString(output.downloadAllowed),
4031
- pasteAllowed: smithy_client_1.expectString(output.pasteAllowed),
4032
- printAllowed: smithy_client_1.expectString(output.printAllowed),
4033
- uploadAllowed: smithy_client_1.expectString(output.uploadAllowed),
4034
- userSettingsArn: smithy_client_1.expectString(output.userSettingsArn),
4029
+ copyAllowed: (0, smithy_client_1.expectString)(output.copyAllowed),
4030
+ downloadAllowed: (0, smithy_client_1.expectString)(output.downloadAllowed),
4031
+ pasteAllowed: (0, smithy_client_1.expectString)(output.pasteAllowed),
4032
+ printAllowed: (0, smithy_client_1.expectString)(output.printAllowed),
4033
+ uploadAllowed: (0, smithy_client_1.expectString)(output.uploadAllowed),
4034
+ userSettingsArn: (0, smithy_client_1.expectString)(output.userSettingsArn),
4035
4035
  };
4036
4036
  };
4037
4037
  const deserializeAws_restJson1UserSettingsList = (output, context) => {
@@ -4047,18 +4047,18 @@ const deserializeAws_restJson1UserSettingsList = (output, context) => {
4047
4047
  };
4048
4048
  const deserializeAws_restJson1UserSettingsSummary = (output, context) => {
4049
4049
  return {
4050
- copyAllowed: smithy_client_1.expectString(output.copyAllowed),
4051
- downloadAllowed: smithy_client_1.expectString(output.downloadAllowed),
4052
- pasteAllowed: smithy_client_1.expectString(output.pasteAllowed),
4053
- printAllowed: smithy_client_1.expectString(output.printAllowed),
4054
- uploadAllowed: smithy_client_1.expectString(output.uploadAllowed),
4055
- userSettingsArn: smithy_client_1.expectString(output.userSettingsArn),
4050
+ copyAllowed: (0, smithy_client_1.expectString)(output.copyAllowed),
4051
+ downloadAllowed: (0, smithy_client_1.expectString)(output.downloadAllowed),
4052
+ pasteAllowed: (0, smithy_client_1.expectString)(output.pasteAllowed),
4053
+ printAllowed: (0, smithy_client_1.expectString)(output.printAllowed),
4054
+ uploadAllowed: (0, smithy_client_1.expectString)(output.uploadAllowed),
4055
+ userSettingsArn: (0, smithy_client_1.expectString)(output.userSettingsArn),
4056
4056
  };
4057
4057
  };
4058
4058
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
4059
4059
  return {
4060
- message: smithy_client_1.expectString(output.message),
4061
- name: smithy_client_1.expectString(output.name),
4060
+ message: (0, smithy_client_1.expectString)(output.message),
4061
+ name: (0, smithy_client_1.expectString)(output.name),
4062
4062
  };
4063
4063
  };
4064
4064
  const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {