@aws-sdk/client-quicksight 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/QuickSight.js +30 -0
  3. package/dist-cjs/QuickSightClient.js +13 -13
  4. package/dist-cjs/commands/CancelIngestionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateAccountCustomizationCommand.js +3 -3
  6. package/dist-cjs/commands/CreateAnalysisCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDashboardCommand.js +3 -3
  8. package/dist-cjs/commands/CreateDataSetCommand.js +3 -3
  9. package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
  10. package/dist-cjs/commands/CreateFolderCommand.js +3 -3
  11. package/dist-cjs/commands/CreateFolderMembershipCommand.js +3 -3
  12. package/dist-cjs/commands/CreateGroupCommand.js +3 -3
  13. package/dist-cjs/commands/CreateGroupMembershipCommand.js +3 -3
  14. package/dist-cjs/commands/CreateIAMPolicyAssignmentCommand.js +3 -3
  15. package/dist-cjs/commands/CreateIngestionCommand.js +3 -3
  16. package/dist-cjs/commands/CreateNamespaceCommand.js +3 -3
  17. package/dist-cjs/commands/CreateTemplateAliasCommand.js +3 -3
  18. package/dist-cjs/commands/CreateTemplateCommand.js +3 -3
  19. package/dist-cjs/commands/CreateThemeAliasCommand.js +3 -3
  20. package/dist-cjs/commands/CreateThemeCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteAccountCustomizationCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteAnalysisCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteDashboardCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteDataSetCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteFolderCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteFolderMembershipCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteGroupCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteGroupMembershipCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteIAMPolicyAssignmentCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteNamespaceCommand.js +3 -3
  32. package/dist-cjs/commands/DeleteTemplateAliasCommand.js +3 -3
  33. package/dist-cjs/commands/DeleteTemplateCommand.js +3 -3
  34. package/dist-cjs/commands/DeleteThemeAliasCommand.js +3 -3
  35. package/dist-cjs/commands/DeleteThemeCommand.js +3 -3
  36. package/dist-cjs/commands/DeleteUserByPrincipalIdCommand.js +3 -3
  37. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeAccountCustomizationCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeAccountSettingsCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeAnalysisCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeAnalysisPermissionsCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeDashboardCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeDashboardPermissionsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeDataSetCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeDataSetPermissionsCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeDataSourceCommand.js +3 -3
  47. package/dist-cjs/commands/DescribeDataSourcePermissionsCommand.js +3 -3
  48. package/dist-cjs/commands/DescribeFolderCommand.js +3 -3
  49. package/dist-cjs/commands/DescribeFolderPermissionsCommand.js +3 -3
  50. package/dist-cjs/commands/DescribeFolderResolvedPermissionsCommand.js +3 -3
  51. package/dist-cjs/commands/DescribeGroupCommand.js +3 -3
  52. package/dist-cjs/commands/DescribeGroupMembershipCommand.js +36 -0
  53. package/dist-cjs/commands/DescribeIAMPolicyAssignmentCommand.js +3 -3
  54. package/dist-cjs/commands/DescribeIngestionCommand.js +3 -3
  55. package/dist-cjs/commands/DescribeIpRestrictionCommand.js +3 -3
  56. package/dist-cjs/commands/DescribeNamespaceCommand.js +3 -3
  57. package/dist-cjs/commands/DescribeTemplateAliasCommand.js +3 -3
  58. package/dist-cjs/commands/DescribeTemplateCommand.js +3 -3
  59. package/dist-cjs/commands/DescribeTemplatePermissionsCommand.js +3 -3
  60. package/dist-cjs/commands/DescribeThemeAliasCommand.js +3 -3
  61. package/dist-cjs/commands/DescribeThemeCommand.js +3 -3
  62. package/dist-cjs/commands/DescribeThemePermissionsCommand.js +3 -3
  63. package/dist-cjs/commands/DescribeUserCommand.js +4 -5
  64. package/dist-cjs/commands/GenerateEmbedUrlForAnonymousUserCommand.js +3 -3
  65. package/dist-cjs/commands/GenerateEmbedUrlForRegisteredUserCommand.js +3 -3
  66. package/dist-cjs/commands/GetDashboardEmbedUrlCommand.js +3 -3
  67. package/dist-cjs/commands/GetSessionEmbedUrlCommand.js +3 -3
  68. package/dist-cjs/commands/ListAnalysesCommand.js +3 -3
  69. package/dist-cjs/commands/ListDashboardVersionsCommand.js +3 -3
  70. package/dist-cjs/commands/ListDashboardsCommand.js +3 -3
  71. package/dist-cjs/commands/ListDataSetsCommand.js +3 -3
  72. package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
  73. package/dist-cjs/commands/ListFolderMembersCommand.js +3 -3
  74. package/dist-cjs/commands/ListFoldersCommand.js +3 -3
  75. package/dist-cjs/commands/ListGroupMembershipsCommand.js +3 -3
  76. package/dist-cjs/commands/ListGroupsCommand.js +3 -3
  77. package/dist-cjs/commands/ListIAMPolicyAssignmentsCommand.js +3 -3
  78. package/dist-cjs/commands/ListIAMPolicyAssignmentsForUserCommand.js +3 -3
  79. package/dist-cjs/commands/ListIngestionsCommand.js +3 -3
  80. package/dist-cjs/commands/ListNamespacesCommand.js +3 -3
  81. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  82. package/dist-cjs/commands/ListTemplateAliasesCommand.js +3 -3
  83. package/dist-cjs/commands/ListTemplateVersionsCommand.js +3 -3
  84. package/dist-cjs/commands/ListTemplatesCommand.js +3 -3
  85. package/dist-cjs/commands/ListThemeAliasesCommand.js +3 -3
  86. package/dist-cjs/commands/ListThemeVersionsCommand.js +3 -3
  87. package/dist-cjs/commands/ListThemesCommand.js +3 -3
  88. package/dist-cjs/commands/ListUserGroupsCommand.js +3 -3
  89. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  90. package/dist-cjs/commands/RegisterUserCommand.js +3 -3
  91. package/dist-cjs/commands/RestoreAnalysisCommand.js +3 -3
  92. package/dist-cjs/commands/SearchAnalysesCommand.js +3 -3
  93. package/dist-cjs/commands/SearchDashboardsCommand.js +3 -3
  94. package/dist-cjs/commands/SearchFoldersCommand.js +3 -3
  95. package/dist-cjs/commands/SearchGroupsCommand.js +36 -0
  96. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  97. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  98. package/dist-cjs/commands/UpdateAccountCustomizationCommand.js +3 -3
  99. package/dist-cjs/commands/UpdateAccountSettingsCommand.js +3 -3
  100. package/dist-cjs/commands/UpdateAnalysisCommand.js +3 -3
  101. package/dist-cjs/commands/UpdateAnalysisPermissionsCommand.js +3 -3
  102. package/dist-cjs/commands/UpdateDashboardCommand.js +3 -3
  103. package/dist-cjs/commands/UpdateDashboardPermissionsCommand.js +3 -3
  104. package/dist-cjs/commands/UpdateDashboardPublishedVersionCommand.js +3 -3
  105. package/dist-cjs/commands/UpdateDataSetCommand.js +3 -3
  106. package/dist-cjs/commands/UpdateDataSetPermissionsCommand.js +3 -3
  107. package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
  108. package/dist-cjs/commands/UpdateDataSourcePermissionsCommand.js +3 -3
  109. package/dist-cjs/commands/UpdateFolderCommand.js +3 -3
  110. package/dist-cjs/commands/UpdateFolderPermissionsCommand.js +3 -3
  111. package/dist-cjs/commands/UpdateGroupCommand.js +3 -3
  112. package/dist-cjs/commands/UpdateIAMPolicyAssignmentCommand.js +3 -3
  113. package/dist-cjs/commands/UpdateIpRestrictionCommand.js +3 -3
  114. package/dist-cjs/commands/UpdateTemplateAliasCommand.js +3 -3
  115. package/dist-cjs/commands/UpdateTemplateCommand.js +3 -3
  116. package/dist-cjs/commands/UpdateTemplatePermissionsCommand.js +3 -3
  117. package/dist-cjs/commands/UpdateThemeAliasCommand.js +3 -3
  118. package/dist-cjs/commands/UpdateThemeCommand.js +3 -3
  119. package/dist-cjs/commands/UpdateThemePermissionsCommand.js +3 -3
  120. package/dist-cjs/commands/UpdateUserCommand.js +3 -3
  121. package/dist-cjs/commands/index.js +2 -0
  122. package/dist-cjs/endpoints.js +1 -1
  123. package/dist-cjs/models/models_0.js +13 -12
  124. package/dist-cjs/models/models_1.js +40 -3
  125. package/dist-cjs/protocols/Aws_restJson1.js +1411 -1156
  126. package/dist-cjs/runtimeConfig.browser.js +4 -4
  127. package/dist-cjs/runtimeConfig.js +9 -9
  128. package/dist-cjs/runtimeConfig.native.js +1 -1
  129. package/dist-es/QuickSight.js +145 -115
  130. package/dist-es/commands/DescribeGroupMembershipCommand.js +39 -0
  131. package/dist-es/commands/DescribeUserCommand.js +1 -2
  132. package/dist-es/commands/SearchGroupsCommand.js +39 -0
  133. package/dist-es/commands/index.js +2 -0
  134. package/dist-es/models/models_0.js +8 -9
  135. package/dist-es/models/models_1.js +29 -0
  136. package/dist-es/pagination/ListAnalysesPaginator.js +4 -4
  137. package/dist-es/pagination/ListDashboardVersionsPaginator.js +4 -4
  138. package/dist-es/pagination/ListDashboardsPaginator.js +4 -4
  139. package/dist-es/pagination/ListDataSetsPaginator.js +4 -4
  140. package/dist-es/pagination/ListDataSourcesPaginator.js +4 -4
  141. package/dist-es/pagination/ListIngestionsPaginator.js +4 -4
  142. package/dist-es/pagination/ListNamespacesPaginator.js +4 -4
  143. package/dist-es/pagination/ListTemplateAliasesPaginator.js +4 -4
  144. package/dist-es/pagination/ListTemplateVersionsPaginator.js +4 -4
  145. package/dist-es/pagination/ListTemplatesPaginator.js +4 -4
  146. package/dist-es/pagination/ListThemeVersionsPaginator.js +4 -4
  147. package/dist-es/pagination/ListThemesPaginator.js +4 -4
  148. package/dist-es/pagination/SearchAnalysesPaginator.js +4 -4
  149. package/dist-es/pagination/SearchDashboardsPaginator.js +4 -4
  150. package/dist-es/protocols/Aws_restJson1.js +422 -115
  151. package/dist-types/QuickSight.d.ts +17 -1
  152. package/dist-types/QuickSightClient.d.ts +6 -4
  153. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  154. package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +37 -0
  155. package/dist-types/commands/DescribeUserCommand.d.ts +1 -2
  156. package/dist-types/commands/SearchGroupsCommand.d.ts +35 -0
  157. package/dist-types/commands/index.d.ts +2 -0
  158. package/dist-types/models/models_0.d.ts +51 -30
  159. package/dist-types/models/models_1.d.ts +117 -6
  160. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  161. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  162. package/dist-types/runtimeConfig.d.ts +1 -1
  163. package/dist-types/runtimeConfig.native.d.ts +3 -3
  164. package/dist-types/ts3.4/QuickSight.d.ts +6 -0
  165. package/dist-types/ts3.4/QuickSightClient.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -2
  168. package/dist-types/ts3.4/commands/SearchGroupsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  170. package/dist-types/ts3.4/models/models_0.d.ts +26 -16
  171. package/dist-types/ts3.4/models/models_1.d.ts +66 -1
  172. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  173. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  174. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  175. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  176. package/package.json +34 -34
@@ -12,7 +12,7 @@ export var serializeAws_restJson1CancelIngestionCommand = function (input, conte
12
12
  case 1:
13
13
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
14
14
  headers = {};
15
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
15
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
16
16
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}";
17
17
  if (input.AwsAccountId !== undefined) {
18
18
  labelValue = input.AwsAccountId;
@@ -66,7 +66,7 @@ export var serializeAws_restJson1CreateAccountCustomizationCommand = function (i
66
66
  headers = {
67
67
  "content-type": "application/json",
68
68
  };
69
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
69
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
70
70
  if (input.AwsAccountId !== undefined) {
71
71
  labelValue = input.AwsAccountId;
72
72
  if (labelValue.length <= 0) {
@@ -106,7 +106,7 @@ export var serializeAws_restJson1CreateAnalysisCommand = function (input, contex
106
106
  headers = {
107
107
  "content-type": "application/json",
108
108
  };
109
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
109
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
110
110
  "/accounts/{AwsAccountId}/analyses/{AnalysisId}";
111
111
  if (input.AwsAccountId !== undefined) {
112
112
  labelValue = input.AwsAccountId;
@@ -159,7 +159,7 @@ export var serializeAws_restJson1CreateDashboardCommand = function (input, conte
159
159
  headers = {
160
160
  "content-type": "application/json",
161
161
  };
162
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
162
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
163
163
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}";
164
164
  if (input.AwsAccountId !== undefined) {
165
165
  labelValue = input.AwsAccountId;
@@ -216,7 +216,7 @@ export var serializeAws_restJson1CreateDataSetCommand = function (input, context
216
216
  headers = {
217
217
  "content-type": "application/json",
218
218
  };
219
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sets";
219
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sets";
220
220
  if (input.AwsAccountId !== undefined) {
221
221
  labelValue = input.AwsAccountId;
222
222
  if (labelValue.length <= 0) {
@@ -278,7 +278,7 @@ export var serializeAws_restJson1CreateDataSourceCommand = function (input, cont
278
278
  headers = {
279
279
  "content-type": "application/json",
280
280
  };
281
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sources";
281
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sources";
282
282
  if (input.AwsAccountId !== undefined) {
283
283
  labelValue = input.AwsAccountId;
284
284
  if (labelValue.length <= 0) {
@@ -328,7 +328,7 @@ export var serializeAws_restJson1CreateFolderCommand = function (input, context)
328
328
  headers = {
329
329
  "content-type": "application/json",
330
330
  };
331
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
331
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
332
332
  "/accounts/{AwsAccountId}/folders/{FolderId}";
333
333
  if (input.AwsAccountId !== undefined) {
334
334
  labelValue = input.AwsAccountId;
@@ -376,7 +376,7 @@ export var serializeAws_restJson1CreateFolderMembershipCommand = function (input
376
376
  case 1:
377
377
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
378
378
  headers = {};
379
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
379
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
380
380
  "/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}";
381
381
  if (input.AwsAccountId !== undefined) {
382
382
  labelValue = input.AwsAccountId;
@@ -440,7 +440,7 @@ export var serializeAws_restJson1CreateGroupCommand = function (input, context)
440
440
  headers = {
441
441
  "content-type": "application/json",
442
442
  };
443
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
443
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
444
444
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups";
445
445
  if (input.AwsAccountId !== undefined) {
446
446
  labelValue = input.AwsAccountId;
@@ -483,7 +483,7 @@ export var serializeAws_restJson1CreateGroupMembershipCommand = function (input,
483
483
  case 1:
484
484
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
485
485
  headers = {};
486
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
486
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
487
487
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}";
488
488
  if (input.MemberName !== undefined) {
489
489
  labelValue = input.MemberName;
@@ -547,7 +547,7 @@ export var serializeAws_restJson1CreateIAMPolicyAssignmentCommand = function (in
547
547
  headers = {
548
548
  "content-type": "application/json",
549
549
  };
550
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
550
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
551
551
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments";
552
552
  if (input.AwsAccountId !== undefined) {
553
553
  labelValue = input.AwsAccountId;
@@ -595,7 +595,7 @@ export var serializeAws_restJson1CreateIngestionCommand = function (input, conte
595
595
  headers = {
596
596
  "content-type": "application/json",
597
597
  };
598
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
598
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
599
599
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}";
600
600
  if (input.DataSetId !== undefined) {
601
601
  labelValue = input.DataSetId;
@@ -650,7 +650,7 @@ export var serializeAws_restJson1CreateNamespaceCommand = function (input, conte
650
650
  headers = {
651
651
  "content-type": "application/json",
652
652
  };
653
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}";
653
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}";
654
654
  if (input.AwsAccountId !== undefined) {
655
655
  labelValue = input.AwsAccountId;
656
656
  if (labelValue.length <= 0) {
@@ -685,7 +685,7 @@ export var serializeAws_restJson1CreateTemplateCommand = function (input, contex
685
685
  headers = {
686
686
  "content-type": "application/json",
687
687
  };
688
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
688
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
689
689
  "/accounts/{AwsAccountId}/templates/{TemplateId}";
690
690
  if (input.AwsAccountId !== undefined) {
691
691
  labelValue = input.AwsAccountId;
@@ -738,7 +738,7 @@ export var serializeAws_restJson1CreateTemplateAliasCommand = function (input, c
738
738
  headers = {
739
739
  "content-type": "application/json",
740
740
  };
741
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
741
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
742
742
  "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
743
743
  if (input.AwsAccountId !== undefined) {
744
744
  labelValue = input.AwsAccountId;
@@ -794,7 +794,7 @@ export var serializeAws_restJson1CreateThemeCommand = function (input, context)
794
794
  headers = {
795
795
  "content-type": "application/json",
796
796
  };
797
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
797
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
798
798
  if (input.AwsAccountId !== undefined) {
799
799
  labelValue = input.AwsAccountId;
800
800
  if (labelValue.length <= 0) {
@@ -846,7 +846,7 @@ export var serializeAws_restJson1CreateThemeAliasCommand = function (input, cont
846
846
  headers = {
847
847
  "content-type": "application/json",
848
848
  };
849
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
849
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
850
850
  "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
851
851
  if (input.AwsAccountId !== undefined) {
852
852
  labelValue = input.AwsAccountId;
@@ -900,7 +900,7 @@ export var serializeAws_restJson1DeleteAccountCustomizationCommand = function (i
900
900
  case 1:
901
901
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
902
902
  headers = {};
903
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
903
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
904
904
  if (input.AwsAccountId !== undefined) {
905
905
  labelValue = input.AwsAccountId;
906
906
  if (labelValue.length <= 0) {
@@ -933,7 +933,7 @@ export var serializeAws_restJson1DeleteAnalysisCommand = function (input, contex
933
933
  case 1:
934
934
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
935
935
  headers = {};
936
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
936
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
937
937
  "/accounts/{AwsAccountId}/analyses/{AnalysisId}";
938
938
  if (input.AwsAccountId !== undefined) {
939
939
  labelValue = input.AwsAccountId;
@@ -981,7 +981,7 @@ export var serializeAws_restJson1DeleteDashboardCommand = function (input, conte
981
981
  case 1:
982
982
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
983
983
  headers = {};
984
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
984
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
985
985
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}";
986
986
  if (input.AwsAccountId !== undefined) {
987
987
  labelValue = input.AwsAccountId;
@@ -1025,7 +1025,7 @@ export var serializeAws_restJson1DeleteDataSetCommand = function (input, context
1025
1025
  case 1:
1026
1026
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1027
1027
  headers = {};
1028
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1028
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1029
1029
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}";
1030
1030
  if (input.AwsAccountId !== undefined) {
1031
1031
  labelValue = input.AwsAccountId;
@@ -1067,7 +1067,7 @@ export var serializeAws_restJson1DeleteDataSourceCommand = function (input, cont
1067
1067
  case 1:
1068
1068
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1069
1069
  headers = {};
1070
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1070
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1071
1071
  "/accounts/{AwsAccountId}/data-sources/{DataSourceId}";
1072
1072
  if (input.AwsAccountId !== undefined) {
1073
1073
  labelValue = input.AwsAccountId;
@@ -1109,7 +1109,7 @@ export var serializeAws_restJson1DeleteFolderCommand = function (input, context)
1109
1109
  case 1:
1110
1110
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1111
1111
  headers = {};
1112
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1112
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1113
1113
  "/accounts/{AwsAccountId}/folders/{FolderId}";
1114
1114
  if (input.AwsAccountId !== undefined) {
1115
1115
  labelValue = input.AwsAccountId;
@@ -1151,7 +1151,7 @@ export var serializeAws_restJson1DeleteFolderMembershipCommand = function (input
1151
1151
  case 1:
1152
1152
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1153
1153
  headers = {};
1154
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1154
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1155
1155
  "/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}";
1156
1156
  if (input.AwsAccountId !== undefined) {
1157
1157
  labelValue = input.AwsAccountId;
@@ -1213,7 +1213,7 @@ export var serializeAws_restJson1DeleteGroupCommand = function (input, context)
1213
1213
  case 1:
1214
1214
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1215
1215
  headers = {};
1216
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1216
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1217
1217
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}";
1218
1218
  if (input.GroupName !== undefined) {
1219
1219
  labelValue = input.GroupName;
@@ -1265,7 +1265,7 @@ export var serializeAws_restJson1DeleteGroupMembershipCommand = function (input,
1265
1265
  case 1:
1266
1266
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1267
1267
  headers = {};
1268
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1268
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1269
1269
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}";
1270
1270
  if (input.MemberName !== undefined) {
1271
1271
  labelValue = input.MemberName;
@@ -1327,7 +1327,7 @@ export var serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = function (in
1327
1327
  case 1:
1328
1328
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1329
1329
  headers = {};
1330
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1330
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1331
1331
  "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}";
1332
1332
  if (input.AwsAccountId !== undefined) {
1333
1333
  labelValue = input.AwsAccountId;
@@ -1379,7 +1379,7 @@ export var serializeAws_restJson1DeleteNamespaceCommand = function (input, conte
1379
1379
  case 1:
1380
1380
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1381
1381
  headers = {};
1382
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1382
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1383
1383
  "/accounts/{AwsAccountId}/namespaces/{Namespace}";
1384
1384
  if (input.AwsAccountId !== undefined) {
1385
1385
  labelValue = input.AwsAccountId;
@@ -1421,7 +1421,7 @@ export var serializeAws_restJson1DeleteTemplateCommand = function (input, contex
1421
1421
  case 1:
1422
1422
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1423
1423
  headers = {};
1424
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1424
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1425
1425
  "/accounts/{AwsAccountId}/templates/{TemplateId}";
1426
1426
  if (input.AwsAccountId !== undefined) {
1427
1427
  labelValue = input.AwsAccountId;
@@ -1465,7 +1465,7 @@ export var serializeAws_restJson1DeleteTemplateAliasCommand = function (input, c
1465
1465
  case 1:
1466
1466
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1467
1467
  headers = {};
1468
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1468
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1469
1469
  "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
1470
1470
  if (input.AwsAccountId !== undefined) {
1471
1471
  labelValue = input.AwsAccountId;
@@ -1517,7 +1517,7 @@ export var serializeAws_restJson1DeleteThemeCommand = function (input, context)
1517
1517
  case 1:
1518
1518
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1519
1519
  headers = {};
1520
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
1520
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
1521
1521
  if (input.AwsAccountId !== undefined) {
1522
1522
  labelValue = input.AwsAccountId;
1523
1523
  if (labelValue.length <= 0) {
@@ -1560,7 +1560,7 @@ export var serializeAws_restJson1DeleteThemeAliasCommand = function (input, cont
1560
1560
  case 1:
1561
1561
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1562
1562
  headers = {};
1563
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1563
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1564
1564
  "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
1565
1565
  if (input.AwsAccountId !== undefined) {
1566
1566
  labelValue = input.AwsAccountId;
@@ -1612,7 +1612,7 @@ export var serializeAws_restJson1DeleteUserCommand = function (input, context) {
1612
1612
  case 1:
1613
1613
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1614
1614
  headers = {};
1615
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1615
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1616
1616
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
1617
1617
  if (input.UserName !== undefined) {
1618
1618
  labelValue = input.UserName;
@@ -1664,7 +1664,7 @@ export var serializeAws_restJson1DeleteUserByPrincipalIdCommand = function (inpu
1664
1664
  case 1:
1665
1665
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1666
1666
  headers = {};
1667
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1667
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1668
1668
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}";
1669
1669
  if (input.PrincipalId !== undefined) {
1670
1670
  labelValue = input.PrincipalId;
@@ -1716,7 +1716,7 @@ export var serializeAws_restJson1DescribeAccountCustomizationCommand = function
1716
1716
  case 1:
1717
1717
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1718
1718
  headers = {};
1719
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
1719
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
1720
1720
  if (input.AwsAccountId !== undefined) {
1721
1721
  labelValue = input.AwsAccountId;
1722
1722
  if (labelValue.length <= 0) {
@@ -1749,7 +1749,7 @@ export var serializeAws_restJson1DescribeAccountSettingsCommand = function (inpu
1749
1749
  case 1:
1750
1750
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1751
1751
  headers = {};
1752
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/settings";
1752
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/settings";
1753
1753
  if (input.AwsAccountId !== undefined) {
1754
1754
  labelValue = input.AwsAccountId;
1755
1755
  if (labelValue.length <= 0) {
@@ -1780,7 +1780,7 @@ export var serializeAws_restJson1DescribeAnalysisCommand = function (input, cont
1780
1780
  case 1:
1781
1781
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1782
1782
  headers = {};
1783
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1783
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1784
1784
  "/accounts/{AwsAccountId}/analyses/{AnalysisId}";
1785
1785
  if (input.AwsAccountId !== undefined) {
1786
1786
  labelValue = input.AwsAccountId;
@@ -1822,7 +1822,7 @@ export var serializeAws_restJson1DescribeAnalysisPermissionsCommand = function (
1822
1822
  case 1:
1823
1823
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1824
1824
  headers = {};
1825
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1825
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1826
1826
  "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions";
1827
1827
  if (input.AwsAccountId !== undefined) {
1828
1828
  labelValue = input.AwsAccountId;
@@ -1864,7 +1864,7 @@ export var serializeAws_restJson1DescribeDashboardCommand = function (input, con
1864
1864
  case 1:
1865
1865
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1866
1866
  headers = {};
1867
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1867
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1868
1868
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}";
1869
1869
  if (input.AwsAccountId !== undefined) {
1870
1870
  labelValue = input.AwsAccountId;
@@ -1908,7 +1908,7 @@ export var serializeAws_restJson1DescribeDashboardPermissionsCommand = function
1908
1908
  case 1:
1909
1909
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1910
1910
  headers = {};
1911
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1911
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1912
1912
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions";
1913
1913
  if (input.AwsAccountId !== undefined) {
1914
1914
  labelValue = input.AwsAccountId;
@@ -1950,7 +1950,7 @@ export var serializeAws_restJson1DescribeDataSetCommand = function (input, conte
1950
1950
  case 1:
1951
1951
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1952
1952
  headers = {};
1953
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1953
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1954
1954
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}";
1955
1955
  if (input.AwsAccountId !== undefined) {
1956
1956
  labelValue = input.AwsAccountId;
@@ -1992,7 +1992,7 @@ export var serializeAws_restJson1DescribeDataSetPermissionsCommand = function (i
1992
1992
  case 1:
1993
1993
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1994
1994
  headers = {};
1995
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1995
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1996
1996
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions";
1997
1997
  if (input.AwsAccountId !== undefined) {
1998
1998
  labelValue = input.AwsAccountId;
@@ -2034,7 +2034,7 @@ export var serializeAws_restJson1DescribeDataSourceCommand = function (input, co
2034
2034
  case 1:
2035
2035
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2036
2036
  headers = {};
2037
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2037
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2038
2038
  "/accounts/{AwsAccountId}/data-sources/{DataSourceId}";
2039
2039
  if (input.AwsAccountId !== undefined) {
2040
2040
  labelValue = input.AwsAccountId;
@@ -2076,7 +2076,7 @@ export var serializeAws_restJson1DescribeDataSourcePermissionsCommand = function
2076
2076
  case 1:
2077
2077
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2078
2078
  headers = {};
2079
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2079
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2080
2080
  "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions";
2081
2081
  if (input.AwsAccountId !== undefined) {
2082
2082
  labelValue = input.AwsAccountId;
@@ -2118,7 +2118,7 @@ export var serializeAws_restJson1DescribeFolderCommand = function (input, contex
2118
2118
  case 1:
2119
2119
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2120
2120
  headers = {};
2121
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2121
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2122
2122
  "/accounts/{AwsAccountId}/folders/{FolderId}";
2123
2123
  if (input.AwsAccountId !== undefined) {
2124
2124
  labelValue = input.AwsAccountId;
@@ -2160,7 +2160,7 @@ export var serializeAws_restJson1DescribeFolderPermissionsCommand = function (in
2160
2160
  case 1:
2161
2161
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2162
2162
  headers = {};
2163
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2163
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2164
2164
  "/accounts/{AwsAccountId}/folders/{FolderId}/permissions";
2165
2165
  if (input.AwsAccountId !== undefined) {
2166
2166
  labelValue = input.AwsAccountId;
@@ -2202,7 +2202,7 @@ export var serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = func
2202
2202
  case 1:
2203
2203
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2204
2204
  headers = {};
2205
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2205
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2206
2206
  "/accounts/{AwsAccountId}/folders/{FolderId}/resolved-permissions";
2207
2207
  if (input.AwsAccountId !== undefined) {
2208
2208
  labelValue = input.AwsAccountId;
@@ -2244,7 +2244,7 @@ export var serializeAws_restJson1DescribeGroupCommand = function (input, context
2244
2244
  case 1:
2245
2245
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2246
2246
  headers = {};
2247
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2247
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2248
2248
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}";
2249
2249
  if (input.GroupName !== undefined) {
2250
2250
  labelValue = input.GroupName;
@@ -2288,6 +2288,68 @@ export var serializeAws_restJson1DescribeGroupCommand = function (input, context
2288
2288
  }
2289
2289
  });
2290
2290
  }); };
2291
+ export var serializeAws_restJson1DescribeGroupMembershipCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
2292
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, labelValue, labelValue, body;
2293
+ return __generator(this, function (_c) {
2294
+ switch (_c.label) {
2295
+ case 0: return [4, context.endpoint()];
2296
+ case 1:
2297
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2298
+ headers = {};
2299
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2300
+ "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}";
2301
+ if (input.MemberName !== undefined) {
2302
+ labelValue = input.MemberName;
2303
+ if (labelValue.length <= 0) {
2304
+ throw new Error("Empty value provided for input HTTP label: MemberName.");
2305
+ }
2306
+ resolvedPath = resolvedPath.replace("{MemberName}", __extendedEncodeURIComponent(labelValue));
2307
+ }
2308
+ else {
2309
+ throw new Error("No value provided for input HTTP label: MemberName.");
2310
+ }
2311
+ if (input.GroupName !== undefined) {
2312
+ labelValue = input.GroupName;
2313
+ if (labelValue.length <= 0) {
2314
+ throw new Error("Empty value provided for input HTTP label: GroupName.");
2315
+ }
2316
+ resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue));
2317
+ }
2318
+ else {
2319
+ throw new Error("No value provided for input HTTP label: GroupName.");
2320
+ }
2321
+ if (input.AwsAccountId !== undefined) {
2322
+ labelValue = input.AwsAccountId;
2323
+ if (labelValue.length <= 0) {
2324
+ throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
2325
+ }
2326
+ resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue));
2327
+ }
2328
+ else {
2329
+ throw new Error("No value provided for input HTTP label: AwsAccountId.");
2330
+ }
2331
+ if (input.Namespace !== undefined) {
2332
+ labelValue = input.Namespace;
2333
+ if (labelValue.length <= 0) {
2334
+ throw new Error("Empty value provided for input HTTP label: Namespace.");
2335
+ }
2336
+ resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue));
2337
+ }
2338
+ else {
2339
+ throw new Error("No value provided for input HTTP label: Namespace.");
2340
+ }
2341
+ return [2, new __HttpRequest({
2342
+ protocol: protocol,
2343
+ hostname: hostname,
2344
+ port: port,
2345
+ method: "GET",
2346
+ headers: headers,
2347
+ path: resolvedPath,
2348
+ body: body,
2349
+ })];
2350
+ }
2351
+ });
2352
+ }); };
2291
2353
  export var serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
2292
2354
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, labelValue, body;
2293
2355
  return __generator(this, function (_c) {
@@ -2296,7 +2358,7 @@ export var serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = function (
2296
2358
  case 1:
2297
2359
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2298
2360
  headers = {};
2299
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2361
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2300
2362
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}";
2301
2363
  if (input.AwsAccountId !== undefined) {
2302
2364
  labelValue = input.AwsAccountId;
@@ -2348,7 +2410,7 @@ export var serializeAws_restJson1DescribeIngestionCommand = function (input, con
2348
2410
  case 1:
2349
2411
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2350
2412
  headers = {};
2351
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2413
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2352
2414
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}";
2353
2415
  if (input.AwsAccountId !== undefined) {
2354
2416
  labelValue = input.AwsAccountId;
@@ -2400,7 +2462,7 @@ export var serializeAws_restJson1DescribeIpRestrictionCommand = function (input,
2400
2462
  case 1:
2401
2463
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2402
2464
  headers = {};
2403
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/ip-restriction";
2465
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/ip-restriction";
2404
2466
  if (input.AwsAccountId !== undefined) {
2405
2467
  labelValue = input.AwsAccountId;
2406
2468
  if (labelValue.length <= 0) {
@@ -2431,7 +2493,7 @@ export var serializeAws_restJson1DescribeNamespaceCommand = function (input, con
2431
2493
  case 1:
2432
2494
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2433
2495
  headers = {};
2434
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2496
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2435
2497
  "/accounts/{AwsAccountId}/namespaces/{Namespace}";
2436
2498
  if (input.AwsAccountId !== undefined) {
2437
2499
  labelValue = input.AwsAccountId;
@@ -2473,7 +2535,7 @@ export var serializeAws_restJson1DescribeTemplateCommand = function (input, cont
2473
2535
  case 1:
2474
2536
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2475
2537
  headers = {};
2476
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2538
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2477
2539
  "/accounts/{AwsAccountId}/templates/{TemplateId}";
2478
2540
  if (input.AwsAccountId !== undefined) {
2479
2541
  labelValue = input.AwsAccountId;
@@ -2517,7 +2579,7 @@ export var serializeAws_restJson1DescribeTemplateAliasCommand = function (input,
2517
2579
  case 1:
2518
2580
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2519
2581
  headers = {};
2520
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2582
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2521
2583
  "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
2522
2584
  if (input.AwsAccountId !== undefined) {
2523
2585
  labelValue = input.AwsAccountId;
@@ -2569,7 +2631,7 @@ export var serializeAws_restJson1DescribeTemplatePermissionsCommand = function (
2569
2631
  case 1:
2570
2632
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2571
2633
  headers = {};
2572
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2634
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2573
2635
  "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions";
2574
2636
  if (input.AwsAccountId !== undefined) {
2575
2637
  labelValue = input.AwsAccountId;
@@ -2611,7 +2673,7 @@ export var serializeAws_restJson1DescribeThemeCommand = function (input, context
2611
2673
  case 1:
2612
2674
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2613
2675
  headers = {};
2614
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
2676
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
2615
2677
  if (input.AwsAccountId !== undefined) {
2616
2678
  labelValue = input.AwsAccountId;
2617
2679
  if (labelValue.length <= 0) {
@@ -2654,7 +2716,7 @@ export var serializeAws_restJson1DescribeThemeAliasCommand = function (input, co
2654
2716
  case 1:
2655
2717
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2656
2718
  headers = {};
2657
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2719
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2658
2720
  "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
2659
2721
  if (input.AwsAccountId !== undefined) {
2660
2722
  labelValue = input.AwsAccountId;
@@ -2706,7 +2768,7 @@ export var serializeAws_restJson1DescribeThemePermissionsCommand = function (inp
2706
2768
  case 1:
2707
2769
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2708
2770
  headers = {};
2709
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2771
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2710
2772
  "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions";
2711
2773
  if (input.AwsAccountId !== undefined) {
2712
2774
  labelValue = input.AwsAccountId;
@@ -2748,7 +2810,7 @@ export var serializeAws_restJson1DescribeUserCommand = function (input, context)
2748
2810
  case 1:
2749
2811
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2750
2812
  headers = {};
2751
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2813
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2752
2814
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
2753
2815
  if (input.UserName !== undefined) {
2754
2816
  labelValue = input.UserName;
@@ -2802,7 +2864,7 @@ export var serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = funct
2802
2864
  headers = {
2803
2865
  "content-type": "application/json",
2804
2866
  };
2805
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2867
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2806
2868
  "/accounts/{AwsAccountId}/embed-url/anonymous-user";
2807
2869
  if (input.AwsAccountId !== undefined) {
2808
2870
  labelValue = input.AwsAccountId;
@@ -2845,7 +2907,7 @@ export var serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = func
2845
2907
  headers = {
2846
2908
  "content-type": "application/json",
2847
2909
  };
2848
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2910
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2849
2911
  "/accounts/{AwsAccountId}/embed-url/registered-user";
2850
2912
  if (input.AwsAccountId !== undefined) {
2851
2913
  labelValue = input.AwsAccountId;
@@ -2882,7 +2944,7 @@ export var serializeAws_restJson1GetDashboardEmbedUrlCommand = function (input,
2882
2944
  case 1:
2883
2945
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2884
2946
  headers = {};
2885
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2947
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2886
2948
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url";
2887
2949
  if (input.AwsAccountId !== undefined) {
2888
2950
  labelValue = input.AwsAccountId;
@@ -2932,7 +2994,7 @@ export var serializeAws_restJson1GetSessionEmbedUrlCommand = function (input, co
2932
2994
  case 1:
2933
2995
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2934
2996
  headers = {};
2935
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2997
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
2936
2998
  "/accounts/{AwsAccountId}/session-embed-url";
2937
2999
  if (input.AwsAccountId !== undefined) {
2938
3000
  labelValue = input.AwsAccountId;
@@ -2968,7 +3030,7 @@ export var serializeAws_restJson1ListAnalysesCommand = function (input, context)
2968
3030
  case 1:
2969
3031
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2970
3032
  headers = {};
2971
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/analyses";
3033
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/analyses";
2972
3034
  if (input.AwsAccountId !== undefined) {
2973
3035
  labelValue = input.AwsAccountId;
2974
3036
  if (labelValue.length <= 0) {
@@ -3001,7 +3063,7 @@ export var serializeAws_restJson1ListDashboardsCommand = function (input, contex
3001
3063
  case 1:
3002
3064
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3003
3065
  headers = {};
3004
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/dashboards";
3066
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/dashboards";
3005
3067
  if (input.AwsAccountId !== undefined) {
3006
3068
  labelValue = input.AwsAccountId;
3007
3069
  if (labelValue.length <= 0) {
@@ -3034,7 +3096,7 @@ export var serializeAws_restJson1ListDashboardVersionsCommand = function (input,
3034
3096
  case 1:
3035
3097
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3036
3098
  headers = {};
3037
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3099
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3038
3100
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions";
3039
3101
  if (input.AwsAccountId !== undefined) {
3040
3102
  labelValue = input.AwsAccountId;
@@ -3078,7 +3140,7 @@ export var serializeAws_restJson1ListDataSetsCommand = function (input, context)
3078
3140
  case 1:
3079
3141
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3080
3142
  headers = {};
3081
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sets";
3143
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sets";
3082
3144
  if (input.AwsAccountId !== undefined) {
3083
3145
  labelValue = input.AwsAccountId;
3084
3146
  if (labelValue.length <= 0) {
@@ -3111,7 +3173,7 @@ export var serializeAws_restJson1ListDataSourcesCommand = function (input, conte
3111
3173
  case 1:
3112
3174
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3113
3175
  headers = {};
3114
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sources";
3176
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/data-sources";
3115
3177
  if (input.AwsAccountId !== undefined) {
3116
3178
  labelValue = input.AwsAccountId;
3117
3179
  if (labelValue.length <= 0) {
@@ -3144,7 +3206,7 @@ export var serializeAws_restJson1ListFolderMembersCommand = function (input, con
3144
3206
  case 1:
3145
3207
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3146
3208
  headers = {};
3147
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3209
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3148
3210
  "/accounts/{AwsAccountId}/folders/{FolderId}/members";
3149
3211
  if (input.AwsAccountId !== undefined) {
3150
3212
  labelValue = input.AwsAccountId;
@@ -3188,7 +3250,7 @@ export var serializeAws_restJson1ListFoldersCommand = function (input, context)
3188
3250
  case 1:
3189
3251
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3190
3252
  headers = {};
3191
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/folders";
3253
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/folders";
3192
3254
  if (input.AwsAccountId !== undefined) {
3193
3255
  labelValue = input.AwsAccountId;
3194
3256
  if (labelValue.length <= 0) {
@@ -3221,7 +3283,7 @@ export var serializeAws_restJson1ListGroupMembershipsCommand = function (input,
3221
3283
  case 1:
3222
3284
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3223
3285
  headers = {};
3224
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3286
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3225
3287
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members";
3226
3288
  if (input.GroupName !== undefined) {
3227
3289
  labelValue = input.GroupName;
@@ -3275,7 +3337,7 @@ export var serializeAws_restJson1ListGroupsCommand = function (input, context) {
3275
3337
  case 1:
3276
3338
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3277
3339
  headers = {};
3278
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3340
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3279
3341
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups";
3280
3342
  if (input.AwsAccountId !== undefined) {
3281
3343
  labelValue = input.AwsAccountId;
@@ -3321,7 +3383,7 @@ export var serializeAws_restJson1ListIAMPolicyAssignmentsCommand = function (inp
3321
3383
  headers = {
3322
3384
  "content-type": "application/json",
3323
3385
  };
3324
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3386
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3325
3387
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments";
3326
3388
  if (input.AwsAccountId !== undefined) {
3327
3389
  labelValue = input.AwsAccountId;
@@ -3367,7 +3429,7 @@ export var serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = functi
3367
3429
  case 1:
3368
3430
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3369
3431
  headers = {};
3370
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3432
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3371
3433
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments";
3372
3434
  if (input.AwsAccountId !== undefined) {
3373
3435
  labelValue = input.AwsAccountId;
@@ -3421,7 +3483,7 @@ export var serializeAws_restJson1ListIngestionsCommand = function (input, contex
3421
3483
  case 1:
3422
3484
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3423
3485
  headers = {};
3424
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3486
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3425
3487
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions";
3426
3488
  if (input.DataSetId !== undefined) {
3427
3489
  labelValue = input.DataSetId;
@@ -3465,7 +3527,7 @@ export var serializeAws_restJson1ListNamespacesCommand = function (input, contex
3465
3527
  case 1:
3466
3528
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3467
3529
  headers = {};
3468
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/namespaces";
3530
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/namespaces";
3469
3531
  if (input.AwsAccountId !== undefined) {
3470
3532
  labelValue = input.AwsAccountId;
3471
3533
  if (labelValue.length <= 0) {
@@ -3498,7 +3560,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
3498
3560
  case 1:
3499
3561
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3500
3562
  headers = {};
3501
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/{ResourceArn}/tags";
3563
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/{ResourceArn}/tags";
3502
3564
  if (input.ResourceArn !== undefined) {
3503
3565
  labelValue = input.ResourceArn;
3504
3566
  if (labelValue.length <= 0) {
@@ -3529,7 +3591,7 @@ export var serializeAws_restJson1ListTemplateAliasesCommand = function (input, c
3529
3591
  case 1:
3530
3592
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3531
3593
  headers = {};
3532
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3594
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3533
3595
  "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases";
3534
3596
  if (input.AwsAccountId !== undefined) {
3535
3597
  labelValue = input.AwsAccountId;
@@ -3573,7 +3635,7 @@ export var serializeAws_restJson1ListTemplatesCommand = function (input, context
3573
3635
  case 1:
3574
3636
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3575
3637
  headers = {};
3576
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/templates";
3638
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/templates";
3577
3639
  if (input.AwsAccountId !== undefined) {
3578
3640
  labelValue = input.AwsAccountId;
3579
3641
  if (labelValue.length <= 0) {
@@ -3606,7 +3668,7 @@ export var serializeAws_restJson1ListTemplateVersionsCommand = function (input,
3606
3668
  case 1:
3607
3669
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3608
3670
  headers = {};
3609
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3671
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3610
3672
  "/accounts/{AwsAccountId}/templates/{TemplateId}/versions";
3611
3673
  if (input.AwsAccountId !== undefined) {
3612
3674
  labelValue = input.AwsAccountId;
@@ -3650,7 +3712,7 @@ export var serializeAws_restJson1ListThemeAliasesCommand = function (input, cont
3650
3712
  case 1:
3651
3713
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3652
3714
  headers = {};
3653
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3715
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3654
3716
  "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases";
3655
3717
  if (input.AwsAccountId !== undefined) {
3656
3718
  labelValue = input.AwsAccountId;
@@ -3694,7 +3756,7 @@ export var serializeAws_restJson1ListThemesCommand = function (input, context) {
3694
3756
  case 1:
3695
3757
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3696
3758
  headers = {};
3697
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes";
3759
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes";
3698
3760
  if (input.AwsAccountId !== undefined) {
3699
3761
  labelValue = input.AwsAccountId;
3700
3762
  if (labelValue.length <= 0) {
@@ -3727,7 +3789,7 @@ export var serializeAws_restJson1ListThemeVersionsCommand = function (input, con
3727
3789
  case 1:
3728
3790
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3729
3791
  headers = {};
3730
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3792
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3731
3793
  "/accounts/{AwsAccountId}/themes/{ThemeId}/versions";
3732
3794
  if (input.AwsAccountId !== undefined) {
3733
3795
  labelValue = input.AwsAccountId;
@@ -3771,7 +3833,7 @@ export var serializeAws_restJson1ListUserGroupsCommand = function (input, contex
3771
3833
  case 1:
3772
3834
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3773
3835
  headers = {};
3774
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3836
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3775
3837
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups";
3776
3838
  if (input.UserName !== undefined) {
3777
3839
  labelValue = input.UserName;
@@ -3825,7 +3887,7 @@ export var serializeAws_restJson1ListUsersCommand = function (input, context) {
3825
3887
  case 1:
3826
3888
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3827
3889
  headers = {};
3828
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3890
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3829
3891
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users";
3830
3892
  if (input.AwsAccountId !== undefined) {
3831
3893
  labelValue = input.AwsAccountId;
@@ -3871,7 +3933,7 @@ export var serializeAws_restJson1RegisterUserCommand = function (input, context)
3871
3933
  headers = {
3872
3934
  "content-type": "application/json",
3873
3935
  };
3874
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3936
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3875
3937
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users";
3876
3938
  if (input.AwsAccountId !== undefined) {
3877
3939
  labelValue = input.AwsAccountId;
@@ -3920,7 +3982,7 @@ export var serializeAws_restJson1RestoreAnalysisCommand = function (input, conte
3920
3982
  case 1:
3921
3983
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3922
3984
  headers = {};
3923
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3985
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
3924
3986
  "/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}";
3925
3987
  if (input.AwsAccountId !== undefined) {
3926
3988
  labelValue = input.AwsAccountId;
@@ -3964,7 +4026,7 @@ export var serializeAws_restJson1SearchAnalysesCommand = function (input, contex
3964
4026
  headers = {
3965
4027
  "content-type": "application/json",
3966
4028
  };
3967
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/search/analyses";
4029
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/search/analyses";
3968
4030
  if (input.AwsAccountId !== undefined) {
3969
4031
  labelValue = input.AwsAccountId;
3970
4032
  if (labelValue.length <= 0) {
@@ -3999,7 +4061,7 @@ export var serializeAws_restJson1SearchDashboardsCommand = function (input, cont
3999
4061
  headers = {
4000
4062
  "content-type": "application/json",
4001
4063
  };
4002
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4064
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4003
4065
  "/accounts/{AwsAccountId}/search/dashboards";
4004
4066
  if (input.AwsAccountId !== undefined) {
4005
4067
  labelValue = input.AwsAccountId;
@@ -4035,7 +4097,7 @@ export var serializeAws_restJson1SearchFoldersCommand = function (input, context
4035
4097
  headers = {
4036
4098
  "content-type": "application/json",
4037
4099
  };
4038
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/search/folders";
4100
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/search/folders";
4039
4101
  if (input.AwsAccountId !== undefined) {
4040
4102
  labelValue = input.AwsAccountId;
4041
4103
  if (labelValue.length <= 0) {
@@ -4060,6 +4122,54 @@ export var serializeAws_restJson1SearchFoldersCommand = function (input, context
4060
4122
  }
4061
4123
  });
4062
4124
  }); };
4125
+ export var serializeAws_restJson1SearchGroupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
4126
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, query, body;
4127
+ return __generator(this, function (_c) {
4128
+ switch (_c.label) {
4129
+ case 0: return [4, context.endpoint()];
4130
+ case 1:
4131
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
4132
+ headers = {
4133
+ "content-type": "application/json",
4134
+ };
4135
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4136
+ "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups-search";
4137
+ if (input.AwsAccountId !== undefined) {
4138
+ labelValue = input.AwsAccountId;
4139
+ if (labelValue.length <= 0) {
4140
+ throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
4141
+ }
4142
+ resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue));
4143
+ }
4144
+ else {
4145
+ throw new Error("No value provided for input HTTP label: AwsAccountId.");
4146
+ }
4147
+ if (input.Namespace !== undefined) {
4148
+ labelValue = input.Namespace;
4149
+ if (labelValue.length <= 0) {
4150
+ throw new Error("Empty value provided for input HTTP label: Namespace.");
4151
+ }
4152
+ resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue));
4153
+ }
4154
+ else {
4155
+ throw new Error("No value provided for input HTTP label: Namespace.");
4156
+ }
4157
+ query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
4158
+ body = JSON.stringify(__assign({}, (input.Filters !== undefined &&
4159
+ input.Filters !== null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) })));
4160
+ return [2, new __HttpRequest({
4161
+ protocol: protocol,
4162
+ hostname: hostname,
4163
+ port: port,
4164
+ method: "POST",
4165
+ headers: headers,
4166
+ path: resolvedPath,
4167
+ query: query,
4168
+ body: body,
4169
+ })];
4170
+ }
4171
+ });
4172
+ }); };
4063
4173
  export var serializeAws_restJson1TagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
4064
4174
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
4065
4175
  return __generator(this, function (_c) {
@@ -4070,7 +4180,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
4070
4180
  headers = {
4071
4181
  "content-type": "application/json",
4072
4182
  };
4073
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/{ResourceArn}/tags";
4183
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/{ResourceArn}/tags";
4074
4184
  if (input.ResourceArn !== undefined) {
4075
4185
  labelValue = input.ResourceArn;
4076
4186
  if (labelValue.length <= 0) {
@@ -4103,7 +4213,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
4103
4213
  case 1:
4104
4214
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
4105
4215
  headers = {};
4106
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/{ResourceArn}/tags";
4216
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/{ResourceArn}/tags";
4107
4217
  if (input.ResourceArn !== undefined) {
4108
4218
  labelValue = input.ResourceArn;
4109
4219
  if (labelValue.length <= 0) {
@@ -4138,7 +4248,7 @@ export var serializeAws_restJson1UpdateAccountCustomizationCommand = function (i
4138
4248
  headers = {
4139
4249
  "content-type": "application/json",
4140
4250
  };
4141
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
4251
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/customizations";
4142
4252
  if (input.AwsAccountId !== undefined) {
4143
4253
  labelValue = input.AwsAccountId;
4144
4254
  if (labelValue.length <= 0) {
@@ -4177,7 +4287,7 @@ export var serializeAws_restJson1UpdateAccountSettingsCommand = function (input,
4177
4287
  headers = {
4178
4288
  "content-type": "application/json",
4179
4289
  };
4180
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/settings";
4290
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/settings";
4181
4291
  if (input.AwsAccountId !== undefined) {
4182
4292
  labelValue = input.AwsAccountId;
4183
4293
  if (labelValue.length <= 0) {
@@ -4213,7 +4323,7 @@ export var serializeAws_restJson1UpdateAnalysisCommand = function (input, contex
4213
4323
  headers = {
4214
4324
  "content-type": "application/json",
4215
4325
  };
4216
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4326
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4217
4327
  "/accounts/{AwsAccountId}/analyses/{AnalysisId}";
4218
4328
  if (input.AwsAccountId !== undefined) {
4219
4329
  labelValue = input.AwsAccountId;
@@ -4262,7 +4372,7 @@ export var serializeAws_restJson1UpdateAnalysisPermissionsCommand = function (in
4262
4372
  headers = {
4263
4373
  "content-type": "application/json",
4264
4374
  };
4265
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4375
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4266
4376
  "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions";
4267
4377
  if (input.AwsAccountId !== undefined) {
4268
4378
  labelValue = input.AwsAccountId;
@@ -4313,7 +4423,7 @@ export var serializeAws_restJson1UpdateDashboardCommand = function (input, conte
4313
4423
  headers = {
4314
4424
  "content-type": "application/json",
4315
4425
  };
4316
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4426
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4317
4427
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}";
4318
4428
  if (input.AwsAccountId !== undefined) {
4319
4429
  labelValue = input.AwsAccountId;
@@ -4366,7 +4476,7 @@ export var serializeAws_restJson1UpdateDashboardPermissionsCommand = function (i
4366
4476
  headers = {
4367
4477
  "content-type": "application/json",
4368
4478
  };
4369
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4479
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4370
4480
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions";
4371
4481
  if (input.AwsAccountId !== undefined) {
4372
4482
  labelValue = input.AwsAccountId;
@@ -4421,7 +4531,7 @@ export var serializeAws_restJson1UpdateDashboardPublishedVersionCommand = functi
4421
4531
  case 1:
4422
4532
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
4423
4533
  headers = {};
4424
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4534
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4425
4535
  "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}";
4426
4536
  if (input.AwsAccountId !== undefined) {
4427
4537
  labelValue = input.AwsAccountId;
@@ -4475,7 +4585,7 @@ export var serializeAws_restJson1UpdateDataSetCommand = function (input, context
4475
4585
  headers = {
4476
4586
  "content-type": "application/json",
4477
4587
  };
4478
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4588
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4479
4589
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}";
4480
4590
  if (input.AwsAccountId !== undefined) {
4481
4591
  labelValue = input.AwsAccountId;
@@ -4544,7 +4654,7 @@ export var serializeAws_restJson1UpdateDataSetPermissionsCommand = function (inp
4544
4654
  headers = {
4545
4655
  "content-type": "application/json",
4546
4656
  };
4547
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4657
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4548
4658
  "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions";
4549
4659
  if (input.AwsAccountId !== undefined) {
4550
4660
  labelValue = input.AwsAccountId;
@@ -4595,7 +4705,7 @@ export var serializeAws_restJson1UpdateDataSourceCommand = function (input, cont
4595
4705
  headers = {
4596
4706
  "content-type": "application/json",
4597
4707
  };
4598
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4708
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4599
4709
  "/accounts/{AwsAccountId}/data-sources/{DataSourceId}";
4600
4710
  if (input.AwsAccountId !== undefined) {
4601
4711
  labelValue = input.AwsAccountId;
@@ -4652,7 +4762,7 @@ export var serializeAws_restJson1UpdateDataSourcePermissionsCommand = function (
4652
4762
  headers = {
4653
4763
  "content-type": "application/json",
4654
4764
  };
4655
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4765
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4656
4766
  "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions";
4657
4767
  if (input.AwsAccountId !== undefined) {
4658
4768
  labelValue = input.AwsAccountId;
@@ -4703,7 +4813,7 @@ export var serializeAws_restJson1UpdateFolderCommand = function (input, context)
4703
4813
  headers = {
4704
4814
  "content-type": "application/json",
4705
4815
  };
4706
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4816
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4707
4817
  "/accounts/{AwsAccountId}/folders/{FolderId}";
4708
4818
  if (input.AwsAccountId !== undefined) {
4709
4819
  labelValue = input.AwsAccountId;
@@ -4748,7 +4858,7 @@ export var serializeAws_restJson1UpdateFolderPermissionsCommand = function (inpu
4748
4858
  headers = {
4749
4859
  "content-type": "application/json",
4750
4860
  };
4751
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4861
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4752
4862
  "/accounts/{AwsAccountId}/folders/{FolderId}/permissions";
4753
4863
  if (input.AwsAccountId !== undefined) {
4754
4864
  labelValue = input.AwsAccountId;
@@ -4799,7 +4909,7 @@ export var serializeAws_restJson1UpdateGroupCommand = function (input, context)
4799
4909
  headers = {
4800
4910
  "content-type": "application/json",
4801
4911
  };
4802
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4912
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4803
4913
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}";
4804
4914
  if (input.GroupName !== undefined) {
4805
4915
  labelValue = input.GroupName;
@@ -4854,7 +4964,7 @@ export var serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = function (in
4854
4964
  headers = {
4855
4965
  "content-type": "application/json",
4856
4966
  };
4857
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4967
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4858
4968
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}";
4859
4969
  if (input.AwsAccountId !== undefined) {
4860
4970
  labelValue = input.AwsAccountId;
@@ -4911,7 +5021,7 @@ export var serializeAws_restJson1UpdateIpRestrictionCommand = function (input, c
4911
5021
  headers = {
4912
5022
  "content-type": "application/json",
4913
5023
  };
4914
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/ip-restriction";
5024
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/ip-restriction";
4915
5025
  if (input.AwsAccountId !== undefined) {
4916
5026
  labelValue = input.AwsAccountId;
4917
5027
  if (labelValue.length <= 0) {
@@ -4948,7 +5058,7 @@ export var serializeAws_restJson1UpdateTemplateCommand = function (input, contex
4948
5058
  headers = {
4949
5059
  "content-type": "application/json",
4950
5060
  };
4951
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5061
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
4952
5062
  "/accounts/{AwsAccountId}/templates/{TemplateId}";
4953
5063
  if (input.AwsAccountId !== undefined) {
4954
5064
  labelValue = input.AwsAccountId;
@@ -4997,7 +5107,7 @@ export var serializeAws_restJson1UpdateTemplateAliasCommand = function (input, c
4997
5107
  headers = {
4998
5108
  "content-type": "application/json",
4999
5109
  };
5000
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5110
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5001
5111
  "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
5002
5112
  if (input.AwsAccountId !== undefined) {
5003
5113
  labelValue = input.AwsAccountId;
@@ -5053,7 +5163,7 @@ export var serializeAws_restJson1UpdateTemplatePermissionsCommand = function (in
5053
5163
  headers = {
5054
5164
  "content-type": "application/json",
5055
5165
  };
5056
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5166
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5057
5167
  "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions";
5058
5168
  if (input.AwsAccountId !== undefined) {
5059
5169
  labelValue = input.AwsAccountId;
@@ -5104,7 +5214,7 @@ export var serializeAws_restJson1UpdateThemeCommand = function (input, context)
5104
5214
  headers = {
5105
5215
  "content-type": "application/json",
5106
5216
  };
5107
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
5217
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AwsAccountId}/themes/{ThemeId}";
5108
5218
  if (input.AwsAccountId !== undefined) {
5109
5219
  labelValue = input.AwsAccountId;
5110
5220
  if (labelValue.length <= 0) {
@@ -5152,7 +5262,7 @@ export var serializeAws_restJson1UpdateThemeAliasCommand = function (input, cont
5152
5262
  headers = {
5153
5263
  "content-type": "application/json",
5154
5264
  };
5155
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5265
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5156
5266
  "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
5157
5267
  if (input.AwsAccountId !== undefined) {
5158
5268
  labelValue = input.AwsAccountId;
@@ -5208,7 +5318,7 @@ export var serializeAws_restJson1UpdateThemePermissionsCommand = function (input
5208
5318
  headers = {
5209
5319
  "content-type": "application/json",
5210
5320
  };
5211
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5321
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5212
5322
  "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions";
5213
5323
  if (input.AwsAccountId !== undefined) {
5214
5324
  labelValue = input.AwsAccountId;
@@ -5259,7 +5369,7 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
5259
5369
  headers = {
5260
5370
  "content-type": "application/json",
5261
5371
  };
5262
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5372
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
5263
5373
  "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
5264
5374
  if (input.UserName !== undefined) {
5265
5375
  labelValue = input.UserName;
@@ -9691,6 +9801,94 @@ var deserializeAws_restJson1DescribeGroupCommandError = function (output, contex
9691
9801
  }
9692
9802
  });
9693
9803
  }); };
9804
+ export var deserializeAws_restJson1DescribeGroupMembershipCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9805
+ var contents, data, _a, _b;
9806
+ return __generator(this, function (_c) {
9807
+ switch (_c.label) {
9808
+ case 0:
9809
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9810
+ return [2, deserializeAws_restJson1DescribeGroupMembershipCommandError(output, context)];
9811
+ }
9812
+ contents = {
9813
+ $metadata: deserializeMetadata(output),
9814
+ GroupMember: undefined,
9815
+ RequestId: undefined,
9816
+ Status: undefined,
9817
+ };
9818
+ _a = __expectNonNull;
9819
+ _b = __expectObject;
9820
+ return [4, parseBody(output.body, context)];
9821
+ case 1:
9822
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
9823
+ if (data.GroupMember !== undefined && data.GroupMember !== null) {
9824
+ contents.GroupMember = deserializeAws_restJson1GroupMember(data.GroupMember, context);
9825
+ }
9826
+ if (data.RequestId !== undefined && data.RequestId !== null) {
9827
+ contents.RequestId = __expectString(data.RequestId);
9828
+ }
9829
+ if (contents.Status === undefined) {
9830
+ contents.Status = output.statusCode;
9831
+ }
9832
+ return [2, Promise.resolve(contents)];
9833
+ }
9834
+ });
9835
+ }); };
9836
+ var deserializeAws_restJson1DescribeGroupMembershipCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9837
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
9838
+ var _c;
9839
+ return __generator(this, function (_d) {
9840
+ switch (_d.label) {
9841
+ case 0:
9842
+ _a = [__assign({}, output)];
9843
+ _c = {};
9844
+ return [4, parseBody(output.body, context)];
9845
+ case 1:
9846
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
9847
+ errorCode = "UnknownError";
9848
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9849
+ _b = errorCode;
9850
+ switch (_b) {
9851
+ case "AccessDeniedException": return [3, 2];
9852
+ case "com.amazonaws.quicksight#AccessDeniedException": return [3, 2];
9853
+ case "InternalFailureException": return [3, 4];
9854
+ case "com.amazonaws.quicksight#InternalFailureException": return [3, 4];
9855
+ case "InvalidParameterValueException": return [3, 6];
9856
+ case "com.amazonaws.quicksight#InvalidParameterValueException": return [3, 6];
9857
+ case "PreconditionNotMetException": return [3, 8];
9858
+ case "com.amazonaws.quicksight#PreconditionNotMetException": return [3, 8];
9859
+ case "ResourceNotFoundException": return [3, 10];
9860
+ case "com.amazonaws.quicksight#ResourceNotFoundException": return [3, 10];
9861
+ case "ResourceUnavailableException": return [3, 12];
9862
+ case "com.amazonaws.quicksight#ResourceUnavailableException": return [3, 12];
9863
+ case "ThrottlingException": return [3, 14];
9864
+ case "com.amazonaws.quicksight#ThrottlingException": return [3, 14];
9865
+ }
9866
+ return [3, 16];
9867
+ case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
9868
+ case 3: throw _d.sent();
9869
+ case 4: return [4, deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)];
9870
+ case 5: throw _d.sent();
9871
+ case 6: return [4, deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context)];
9872
+ case 7: throw _d.sent();
9873
+ case 8: return [4, deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context)];
9874
+ case 9: throw _d.sent();
9875
+ case 10: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
9876
+ case 11: throw _d.sent();
9877
+ case 12: return [4, deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context)];
9878
+ case 13: throw _d.sent();
9879
+ case 14: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
9880
+ case 15: throw _d.sent();
9881
+ case 16:
9882
+ parsedBody = parsedOutput.body;
9883
+ response = new __BaseException({
9884
+ name: parsedBody.code || parsedBody.Code || errorCode,
9885
+ $fault: "client",
9886
+ $metadata: deserializeMetadata(output),
9887
+ });
9888
+ throw __decorateServiceException(response, parsedBody);
9889
+ }
9890
+ });
9891
+ }); };
9694
9892
  export var deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9695
9893
  var contents, data, _a, _b;
9696
9894
  return __generator(this, function (_c) {
@@ -13455,6 +13653,102 @@ var deserializeAws_restJson1SearchFoldersCommandError = function (output, contex
13455
13653
  }
13456
13654
  });
13457
13655
  }); };
13656
+ export var deserializeAws_restJson1SearchGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
13657
+ var contents, data, _a, _b;
13658
+ return __generator(this, function (_c) {
13659
+ switch (_c.label) {
13660
+ case 0:
13661
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
13662
+ return [2, deserializeAws_restJson1SearchGroupsCommandError(output, context)];
13663
+ }
13664
+ contents = {
13665
+ $metadata: deserializeMetadata(output),
13666
+ GroupList: undefined,
13667
+ NextToken: undefined,
13668
+ RequestId: undefined,
13669
+ Status: undefined,
13670
+ };
13671
+ _a = __expectNonNull;
13672
+ _b = __expectObject;
13673
+ return [4, parseBody(output.body, context)];
13674
+ case 1:
13675
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
13676
+ if (data.GroupList !== undefined && data.GroupList !== null) {
13677
+ contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
13678
+ }
13679
+ if (data.NextToken !== undefined && data.NextToken !== null) {
13680
+ contents.NextToken = __expectString(data.NextToken);
13681
+ }
13682
+ if (data.RequestId !== undefined && data.RequestId !== null) {
13683
+ contents.RequestId = __expectString(data.RequestId);
13684
+ }
13685
+ if (contents.Status === undefined) {
13686
+ contents.Status = output.statusCode;
13687
+ }
13688
+ return [2, Promise.resolve(contents)];
13689
+ }
13690
+ });
13691
+ }); };
13692
+ var deserializeAws_restJson1SearchGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
13693
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
13694
+ var _c;
13695
+ return __generator(this, function (_d) {
13696
+ switch (_d.label) {
13697
+ case 0:
13698
+ _a = [__assign({}, output)];
13699
+ _c = {};
13700
+ return [4, parseBody(output.body, context)];
13701
+ case 1:
13702
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
13703
+ errorCode = "UnknownError";
13704
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
13705
+ _b = errorCode;
13706
+ switch (_b) {
13707
+ case "AccessDeniedException": return [3, 2];
13708
+ case "com.amazonaws.quicksight#AccessDeniedException": return [3, 2];
13709
+ case "InternalFailureException": return [3, 4];
13710
+ case "com.amazonaws.quicksight#InternalFailureException": return [3, 4];
13711
+ case "InvalidNextTokenException": return [3, 6];
13712
+ case "com.amazonaws.quicksight#InvalidNextTokenException": return [3, 6];
13713
+ case "InvalidParameterValueException": return [3, 8];
13714
+ case "com.amazonaws.quicksight#InvalidParameterValueException": return [3, 8];
13715
+ case "PreconditionNotMetException": return [3, 10];
13716
+ case "com.amazonaws.quicksight#PreconditionNotMetException": return [3, 10];
13717
+ case "ResourceNotFoundException": return [3, 12];
13718
+ case "com.amazonaws.quicksight#ResourceNotFoundException": return [3, 12];
13719
+ case "ResourceUnavailableException": return [3, 14];
13720
+ case "com.amazonaws.quicksight#ResourceUnavailableException": return [3, 14];
13721
+ case "ThrottlingException": return [3, 16];
13722
+ case "com.amazonaws.quicksight#ThrottlingException": return [3, 16];
13723
+ }
13724
+ return [3, 18];
13725
+ case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
13726
+ case 3: throw _d.sent();
13727
+ case 4: return [4, deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)];
13728
+ case 5: throw _d.sent();
13729
+ case 6: return [4, deserializeAws_restJson1InvalidNextTokenExceptionResponse(parsedOutput, context)];
13730
+ case 7: throw _d.sent();
13731
+ case 8: return [4, deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context)];
13732
+ case 9: throw _d.sent();
13733
+ case 10: return [4, deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context)];
13734
+ case 11: throw _d.sent();
13735
+ case 12: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
13736
+ case 13: throw _d.sent();
13737
+ case 14: return [4, deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context)];
13738
+ case 15: throw _d.sent();
13739
+ case 16: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
13740
+ case 17: throw _d.sent();
13741
+ case 18:
13742
+ parsedBody = parsedOutput.body;
13743
+ response = new __BaseException({
13744
+ name: parsedBody.code || parsedBody.Code || errorCode,
13745
+ $fault: "client",
13746
+ $metadata: deserializeMetadata(output),
13747
+ });
13748
+ throw __decorateServiceException(response, parsedBody);
13749
+ }
13750
+ });
13751
+ }); };
13458
13752
  export var deserializeAws_restJson1TagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
13459
13753
  var contents, data, _a, _b;
13460
13754
  return __generator(this, function (_c) {
@@ -16455,6 +16749,19 @@ var serializeAws_restJson1GeoSpatialColumnGroup = function (input, context) {
16455
16749
  return __assign(__assign(__assign({}, (input.Columns !== undefined &&
16456
16750
  input.Columns !== null && { Columns: serializeAws_restJson1ColumnList(input.Columns, context) })), (input.CountryCode !== undefined && input.CountryCode !== null && { CountryCode: input.CountryCode })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
16457
16751
  };
16752
+ var serializeAws_restJson1GroupSearchFilter = function (input, context) {
16753
+ return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
16754
+ };
16755
+ var serializeAws_restJson1GroupSearchFilterList = function (input, context) {
16756
+ return input
16757
+ .filter(function (e) { return e != null; })
16758
+ .map(function (entry) {
16759
+ if (entry === null) {
16760
+ return null;
16761
+ }
16762
+ return serializeAws_restJson1GroupSearchFilter(entry, context);
16763
+ });
16764
+ };
16458
16765
  var serializeAws_restJson1GutterStyle = function (input, context) {
16459
16766
  return __assign({}, (input.Show !== undefined && input.Show !== null && { Show: input.Show }));
16460
16767
  };