@aws-sdk/client-quicksight 3.332.0 → 3.337.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 (145) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/QuickSight.js +12 -0
  3. package/dist-cjs/commands/DescribeAnalysisDefinitionCommand.js +2 -2
  4. package/dist-cjs/commands/DescribeAssetBundleExportJobCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeAssetBundleImportJobCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeDashboardDefinitionCommand.js +2 -2
  7. package/dist-cjs/commands/ListAssetBundleExportJobsCommand.js +45 -0
  8. package/dist-cjs/commands/ListAssetBundleImportJobsCommand.js +45 -0
  9. package/dist-cjs/commands/StartAssetBundleExportJobCommand.js +45 -0
  10. package/dist-cjs/commands/StartAssetBundleImportJobCommand.js +46 -0
  11. package/dist-cjs/commands/index.js +6 -0
  12. package/dist-cjs/models/index.js +1 -0
  13. package/dist-cjs/models/models_1.js +64 -159
  14. package/dist-cjs/models/models_2.js +240 -63
  15. package/dist-cjs/models/models_3.js +20 -1
  16. package/dist-cjs/models/models_4.js +2 -0
  17. package/dist-cjs/pagination/ListAssetBundleExportJobsPaginator.js +29 -0
  18. package/dist-cjs/pagination/ListAssetBundleImportJobsPaginator.js +29 -0
  19. package/dist-cjs/pagination/index.js +2 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +566 -13
  21. package/dist-es/QuickSight.js +12 -0
  22. package/dist-es/commands/DescribeAnalysisDefinitionCommand.js +1 -1
  23. package/dist-es/commands/DescribeAssetBundleExportJobCommand.js +41 -0
  24. package/dist-es/commands/DescribeAssetBundleImportJobCommand.js +42 -0
  25. package/dist-es/commands/DescribeDashboardDefinitionCommand.js +1 -1
  26. package/dist-es/commands/ListAssetBundleExportJobsCommand.js +41 -0
  27. package/dist-es/commands/ListAssetBundleImportJobsCommand.js +41 -0
  28. package/dist-es/commands/StartAssetBundleExportJobCommand.js +41 -0
  29. package/dist-es/commands/StartAssetBundleImportJobCommand.js +42 -0
  30. package/dist-es/commands/index.js +6 -0
  31. package/dist-es/models/index.js +1 -0
  32. package/dist-es/models/models_1.js +58 -149
  33. package/dist-es/models/models_2.js +228 -59
  34. package/dist-es/models/models_3.js +16 -1
  35. package/dist-es/models/models_4.js +1 -0
  36. package/dist-es/pagination/ListAssetBundleExportJobsPaginator.js +25 -0
  37. package/dist-es/pagination/ListAssetBundleImportJobsPaginator.js +25 -0
  38. package/dist-es/pagination/index.js +2 -0
  39. package/dist-es/protocols/Aws_restJson1.js +544 -3
  40. package/dist-types/QuickSight.d.ts +42 -0
  41. package/dist-types/QuickSightClient.d.ts +11 -4
  42. package/dist-types/commands/CancelIngestionCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateAnalysisCommand.d.ts +10 -1
  44. package/dist-types/commands/CreateDashboardCommand.d.ts +10 -1
  45. package/dist-types/commands/CreateTemplateCommand.d.ts +10 -1
  46. package/dist-types/commands/DeleteNamespaceCommand.d.ts +2 -1
  47. package/dist-types/commands/DeleteRefreshScheduleCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteTemplateAliasCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteTemplateCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteThemeAliasCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteThemeCommand.d.ts +1 -1
  52. package/dist-types/commands/DeleteTopicCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteTopicRefreshScheduleCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteUserByPrincipalIdCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteVPCConnectionCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeAccountCustomizationCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeAccountSubscriptionCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeAnalysisCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeAnalysisDefinitionCommand.d.ts +11 -2
  62. package/dist-types/commands/DescribeAnalysisPermissionsCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeAssetBundleExportJobCommand.d.ts +164 -0
  64. package/dist-types/commands/DescribeAssetBundleImportJobCommand.d.ts +284 -0
  65. package/dist-types/commands/DescribeDashboardCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeDashboardDefinitionCommand.d.ts +11 -2
  67. package/dist-types/commands/DescribeDashboardPermissionsCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeTemplateDefinitionCommand.d.ts +10 -1
  69. package/dist-types/commands/ListAssetBundleExportJobsCommand.d.ts +104 -0
  70. package/dist-types/commands/ListAssetBundleImportJobsCommand.d.ts +103 -0
  71. package/dist-types/commands/StartAssetBundleExportJobCommand.d.ts +168 -0
  72. package/dist-types/commands/StartAssetBundleImportJobCommand.d.ts +283 -0
  73. package/dist-types/commands/UpdateAnalysisCommand.d.ts +10 -1
  74. package/dist-types/commands/UpdateDashboardCommand.d.ts +10 -1
  75. package/dist-types/commands/UpdateTemplateCommand.d.ts +10 -1
  76. package/dist-types/commands/UpdateTopicCommand.d.ts +2 -1
  77. package/dist-types/commands/UpdateTopicPermissionsCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateTopicRefreshScheduleCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateUserCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateVPCConnectionCommand.d.ts +1 -1
  81. package/dist-types/commands/index.d.ts +6 -0
  82. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  83. package/dist-types/models/index.d.ts +1 -0
  84. package/dist-types/models/models_1.d.ts +326 -339
  85. package/dist-types/models/models_2.d.ts +4908 -5140
  86. package/dist-types/models/models_3.d.ts +1611 -609
  87. package/dist-types/models/models_4.d.ts +315 -0
  88. package/dist-types/pagination/ListAssetBundleExportJobsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListAssetBundleImportJobsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +2 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +56 -2
  92. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  93. package/dist-types/runtimeConfig.d.ts +9 -9
  94. package/dist-types/runtimeConfig.native.d.ts +13 -13
  95. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  96. package/dist-types/ts3.4/QuickSight.d.ts +102 -0
  97. package/dist-types/ts3.4/QuickSightClient.d.ts +43 -5
  98. package/dist-types/ts3.4/commands/CancelIngestionCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -4
  100. package/dist-types/ts3.4/commands/DeleteRefreshScheduleCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/DeleteTemplateAliasCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DeleteThemeAliasCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DeleteTopicRefreshScheduleCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DeleteUserByPrincipalIdCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteVPCConnectionCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DescribeAccountCustomizationCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeAccountSubscriptionCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeAnalysisCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeAnalysisDefinitionCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DescribeAnalysisPermissionsCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DescribeAssetBundleExportJobCommand.d.ts +41 -0
  117. package/dist-types/ts3.4/commands/DescribeAssetBundleImportJobCommand.d.ts +41 -0
  118. package/dist-types/ts3.4/commands/DescribeDashboardCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DescribeDashboardDefinitionCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DescribeDashboardPermissionsCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/ListAssetBundleExportJobsCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/ListAssetBundleImportJobsCommand.d.ts +41 -0
  123. package/dist-types/ts3.4/commands/StartAssetBundleExportJobCommand.d.ts +41 -0
  124. package/dist-types/ts3.4/commands/StartAssetBundleImportJobCommand.d.ts +41 -0
  125. package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +2 -1
  126. package/dist-types/ts3.4/commands/UpdateTopicPermissionsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/UpdateTopicRefreshScheduleCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UpdateVPCConnectionCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  131. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  132. package/dist-types/ts3.4/models/index.d.ts +1 -0
  133. package/dist-types/ts3.4/models/models_1.d.ts +189 -209
  134. package/dist-types/ts3.4/models/models_2.d.ts +1285 -1251
  135. package/dist-types/ts3.4/models/models_3.d.ts +339 -72
  136. package/dist-types/ts3.4/models/models_4.d.ts +74 -0
  137. package/dist-types/ts3.4/pagination/ListAssetBundleExportJobsPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/ListAssetBundleImportJobsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  140. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +74 -2
  141. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  142. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  143. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  144. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  145. package/package.json +30 -29
@@ -1,8 +1,7 @@
1
- import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
1
  import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
2
+ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { AccessDeniedException, } from "../models/models_0";
4
- import { InternalFailureException, InvalidParameterValueException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, } from "../models/models_1";
5
- import { ConcurrentUpdatingException, ConflictException, LimitExceededException, PreconditionNotMetException, ResourceUnavailableException, TransformOperation, UnsupportedUserEditionException, } from "../models/models_2";
4
+ import { ConcurrentUpdatingException, ConflictException, InternalFailureException, InvalidParameterValueException, LimitExceededException, PreconditionNotMetException, ResourceExistsException, ResourceNotFoundException, ResourceUnavailableException, ThrottlingException, TransformOperation, UnsupportedUserEditionException, } from "../models/models_2";
6
5
  import { DomainNotWhitelistedException, IdentityTypeNotSupportedException, InvalidNextTokenException, InvalidRequestException, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, UnsupportedPricingPlanException, } from "../models/models_3";
7
6
  import { QuickSightServiceException as __BaseException } from "../models/QuickSightServiceException";
8
7
  export const se_CancelIngestionCommand = async (input, context) => {
@@ -1126,6 +1125,42 @@ export const se_DescribeAnalysisPermissionsCommand = async (input, context) => {
1126
1125
  body,
1127
1126
  });
1128
1127
  };
1128
+ export const se_DescribeAssetBundleExportJobCommand = async (input, context) => {
1129
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1130
+ const headers = {};
1131
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1132
+ "/accounts/{AwsAccountId}/asset-bundle-export-jobs/{AssetBundleExportJobId}";
1133
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1134
+ resolvedPath = __resolvedPath(resolvedPath, input, "AssetBundleExportJobId", () => input.AssetBundleExportJobId, "{AssetBundleExportJobId}", false);
1135
+ let body;
1136
+ return new __HttpRequest({
1137
+ protocol,
1138
+ hostname,
1139
+ port,
1140
+ method: "GET",
1141
+ headers,
1142
+ path: resolvedPath,
1143
+ body,
1144
+ });
1145
+ };
1146
+ export const se_DescribeAssetBundleImportJobCommand = async (input, context) => {
1147
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1148
+ const headers = {};
1149
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1150
+ "/accounts/{AwsAccountId}/asset-bundle-import-jobs/{AssetBundleImportJobId}";
1151
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1152
+ resolvedPath = __resolvedPath(resolvedPath, input, "AssetBundleImportJobId", () => input.AssetBundleImportJobId, "{AssetBundleImportJobId}", false);
1153
+ let body;
1154
+ return new __HttpRequest({
1155
+ protocol,
1156
+ hostname,
1157
+ port,
1158
+ method: "GET",
1159
+ headers,
1160
+ path: resolvedPath,
1161
+ body,
1162
+ });
1163
+ };
1129
1164
  export const se_DescribeDashboardCommand = async (input, context) => {
1130
1165
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1131
1166
  const headers = {};
@@ -1853,6 +1888,50 @@ export const se_ListAnalysesCommand = async (input, context) => {
1853
1888
  body,
1854
1889
  });
1855
1890
  };
1891
+ export const se_ListAssetBundleExportJobsCommand = async (input, context) => {
1892
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1893
+ const headers = {};
1894
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1895
+ "/accounts/{AwsAccountId}/asset-bundle-export-jobs";
1896
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1897
+ const query = map({
1898
+ "next-token": [, input.NextToken],
1899
+ "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1900
+ });
1901
+ let body;
1902
+ return new __HttpRequest({
1903
+ protocol,
1904
+ hostname,
1905
+ port,
1906
+ method: "GET",
1907
+ headers,
1908
+ path: resolvedPath,
1909
+ query,
1910
+ body,
1911
+ });
1912
+ };
1913
+ export const se_ListAssetBundleImportJobsCommand = async (input, context) => {
1914
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1915
+ const headers = {};
1916
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1917
+ "/accounts/{AwsAccountId}/asset-bundle-import-jobs";
1918
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1919
+ const query = map({
1920
+ "next-token": [, input.NextToken],
1921
+ "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1922
+ });
1923
+ let body;
1924
+ return new __HttpRequest({
1925
+ protocol,
1926
+ hostname,
1927
+ port,
1928
+ method: "GET",
1929
+ headers,
1930
+ path: resolvedPath,
1931
+ query,
1932
+ body,
1933
+ });
1934
+ };
1856
1935
  export const se_ListDashboardsCommand = async (input, context) => {
1857
1936
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1858
1937
  const headers = {};
@@ -2616,6 +2695,57 @@ export const se_SearchGroupsCommand = async (input, context) => {
2616
2695
  body,
2617
2696
  });
2618
2697
  };
2698
+ export const se_StartAssetBundleExportJobCommand = async (input, context) => {
2699
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2700
+ const headers = {
2701
+ "content-type": "application/json",
2702
+ };
2703
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2704
+ "/accounts/{AwsAccountId}/asset-bundle-export-jobs/export";
2705
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2706
+ let body;
2707
+ body = JSON.stringify(take(input, {
2708
+ AssetBundleExportJobId: [],
2709
+ CloudFormationOverridePropertyConfiguration: (_) => _json(_),
2710
+ ExportFormat: [],
2711
+ IncludeAllDependencies: [],
2712
+ ResourceArns: (_) => _json(_),
2713
+ }));
2714
+ return new __HttpRequest({
2715
+ protocol,
2716
+ hostname,
2717
+ port,
2718
+ method: "POST",
2719
+ headers,
2720
+ path: resolvedPath,
2721
+ body,
2722
+ });
2723
+ };
2724
+ export const se_StartAssetBundleImportJobCommand = async (input, context) => {
2725
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2726
+ const headers = {
2727
+ "content-type": "application/json",
2728
+ };
2729
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2730
+ "/accounts/{AwsAccountId}/asset-bundle-import-jobs/import";
2731
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2732
+ let body;
2733
+ body = JSON.stringify(take(input, {
2734
+ AssetBundleImportJobId: [],
2735
+ AssetBundleImportSource: (_) => se_AssetBundleImportSource(_, context),
2736
+ FailureAction: [],
2737
+ OverrideParameters: (_) => se_AssetBundleImportJobOverrideParameters(_, context),
2738
+ }));
2739
+ return new __HttpRequest({
2740
+ protocol,
2741
+ hostname,
2742
+ port,
2743
+ method: "POST",
2744
+ headers,
2745
+ path: resolvedPath,
2746
+ body,
2747
+ });
2748
+ };
2619
2749
  export const se_TagResourceCommand = async (input, context) => {
2620
2750
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2621
2751
  const headers = {
@@ -6263,6 +6393,111 @@ const de_DescribeAnalysisPermissionsCommandError = async (output, context) => {
6263
6393
  });
6264
6394
  }
6265
6395
  };
6396
+ export const de_DescribeAssetBundleExportJobCommand = async (output, context) => {
6397
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6398
+ return de_DescribeAssetBundleExportJobCommandError(output, context);
6399
+ }
6400
+ const contents = map({
6401
+ $metadata: deserializeMetadata(output),
6402
+ });
6403
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6404
+ const doc = take(data, {
6405
+ Arn: __expectString,
6406
+ AssetBundleExportJobId: __expectString,
6407
+ AwsAccountId: __expectString,
6408
+ CloudFormationOverridePropertyConfiguration: _json,
6409
+ CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
6410
+ DownloadUrl: __expectString,
6411
+ Errors: _json,
6412
+ ExportFormat: __expectString,
6413
+ IncludeAllDependencies: __expectBoolean,
6414
+ JobStatus: __expectString,
6415
+ RequestId: __expectString,
6416
+ ResourceArns: _json,
6417
+ });
6418
+ Object.assign(contents, doc);
6419
+ map(contents, {
6420
+ Status: [, output.statusCode],
6421
+ });
6422
+ return contents;
6423
+ };
6424
+ const de_DescribeAssetBundleExportJobCommandError = async (output, context) => {
6425
+ const parsedOutput = {
6426
+ ...output,
6427
+ body: await parseErrorBody(output.body, context),
6428
+ };
6429
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6430
+ switch (errorCode) {
6431
+ case "ResourceNotFoundException":
6432
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
6433
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6434
+ case "ThrottlingException":
6435
+ case "com.amazonaws.quicksight#ThrottlingException":
6436
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6437
+ case "UnsupportedUserEditionException":
6438
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
6439
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
6440
+ default:
6441
+ const parsedBody = parsedOutput.body;
6442
+ return throwDefaultError({
6443
+ output,
6444
+ parsedBody,
6445
+ errorCode,
6446
+ });
6447
+ }
6448
+ };
6449
+ export const de_DescribeAssetBundleImportJobCommand = async (output, context) => {
6450
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6451
+ return de_DescribeAssetBundleImportJobCommandError(output, context);
6452
+ }
6453
+ const contents = map({
6454
+ $metadata: deserializeMetadata(output),
6455
+ });
6456
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6457
+ const doc = take(data, {
6458
+ Arn: __expectString,
6459
+ AssetBundleImportJobId: __expectString,
6460
+ AssetBundleImportSource: _json,
6461
+ AwsAccountId: __expectString,
6462
+ CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
6463
+ Errors: _json,
6464
+ FailureAction: __expectString,
6465
+ JobStatus: __expectString,
6466
+ OverrideParameters: (_) => de_AssetBundleImportJobOverrideParameters(_, context),
6467
+ RequestId: __expectString,
6468
+ RollbackErrors: _json,
6469
+ });
6470
+ Object.assign(contents, doc);
6471
+ map(contents, {
6472
+ Status: [, output.statusCode],
6473
+ });
6474
+ return contents;
6475
+ };
6476
+ const de_DescribeAssetBundleImportJobCommandError = async (output, context) => {
6477
+ const parsedOutput = {
6478
+ ...output,
6479
+ body: await parseErrorBody(output.body, context),
6480
+ };
6481
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6482
+ switch (errorCode) {
6483
+ case "ResourceNotFoundException":
6484
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
6485
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6486
+ case "ThrottlingException":
6487
+ case "com.amazonaws.quicksight#ThrottlingException":
6488
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6489
+ case "UnsupportedUserEditionException":
6490
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
6491
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
6492
+ default:
6493
+ const parsedBody = parsedOutput.body;
6494
+ return throwDefaultError({
6495
+ output,
6496
+ parsedBody,
6497
+ errorCode,
6498
+ });
6499
+ }
6500
+ };
6266
6501
  export const de_DescribeDashboardCommand = async (output, context) => {
6267
6502
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6268
6503
  return de_DescribeDashboardCommandError(output, context);
@@ -8213,6 +8448,106 @@ const de_ListAnalysesCommandError = async (output, context) => {
8213
8448
  });
8214
8449
  }
8215
8450
  };
8451
+ export const de_ListAssetBundleExportJobsCommand = async (output, context) => {
8452
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8453
+ return de_ListAssetBundleExportJobsCommandError(output, context);
8454
+ }
8455
+ const contents = map({
8456
+ $metadata: deserializeMetadata(output),
8457
+ });
8458
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8459
+ const doc = take(data, {
8460
+ AssetBundleExportJobSummaryList: (_) => de_AssetBundleExportJobSummaryList(_, context),
8461
+ NextToken: __expectString,
8462
+ RequestId: __expectString,
8463
+ });
8464
+ Object.assign(contents, doc);
8465
+ map(contents, {
8466
+ Status: [, output.statusCode],
8467
+ });
8468
+ return contents;
8469
+ };
8470
+ const de_ListAssetBundleExportJobsCommandError = async (output, context) => {
8471
+ const parsedOutput = {
8472
+ ...output,
8473
+ body: await parseErrorBody(output.body, context),
8474
+ };
8475
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8476
+ switch (errorCode) {
8477
+ case "AccessDeniedException":
8478
+ case "com.amazonaws.quicksight#AccessDeniedException":
8479
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
8480
+ case "InvalidNextTokenException":
8481
+ case "com.amazonaws.quicksight#InvalidNextTokenException":
8482
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
8483
+ case "ResourceNotFoundException":
8484
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
8485
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
8486
+ case "ThrottlingException":
8487
+ case "com.amazonaws.quicksight#ThrottlingException":
8488
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
8489
+ case "UnsupportedUserEditionException":
8490
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
8491
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
8492
+ default:
8493
+ const parsedBody = parsedOutput.body;
8494
+ return throwDefaultError({
8495
+ output,
8496
+ parsedBody,
8497
+ errorCode,
8498
+ });
8499
+ }
8500
+ };
8501
+ export const de_ListAssetBundleImportJobsCommand = async (output, context) => {
8502
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8503
+ return de_ListAssetBundleImportJobsCommandError(output, context);
8504
+ }
8505
+ const contents = map({
8506
+ $metadata: deserializeMetadata(output),
8507
+ });
8508
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8509
+ const doc = take(data, {
8510
+ AssetBundleImportJobSummaryList: (_) => de_AssetBundleImportJobSummaryList(_, context),
8511
+ NextToken: __expectString,
8512
+ RequestId: __expectString,
8513
+ });
8514
+ Object.assign(contents, doc);
8515
+ map(contents, {
8516
+ Status: [, output.statusCode],
8517
+ });
8518
+ return contents;
8519
+ };
8520
+ const de_ListAssetBundleImportJobsCommandError = async (output, context) => {
8521
+ const parsedOutput = {
8522
+ ...output,
8523
+ body: await parseErrorBody(output.body, context),
8524
+ };
8525
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8526
+ switch (errorCode) {
8527
+ case "AccessDeniedException":
8528
+ case "com.amazonaws.quicksight#AccessDeniedException":
8529
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
8530
+ case "InvalidNextTokenException":
8531
+ case "com.amazonaws.quicksight#InvalidNextTokenException":
8532
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
8533
+ case "ResourceNotFoundException":
8534
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
8535
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
8536
+ case "ThrottlingException":
8537
+ case "com.amazonaws.quicksight#ThrottlingException":
8538
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
8539
+ case "UnsupportedUserEditionException":
8540
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
8541
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
8542
+ default:
8543
+ const parsedBody = parsedOutput.body;
8544
+ return throwDefaultError({
8545
+ output,
8546
+ parsedBody,
8547
+ errorCode,
8548
+ });
8549
+ }
8550
+ };
8216
8551
  export const de_ListDashboardsCommand = async (output, context) => {
8217
8552
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8218
8553
  return de_ListDashboardsCommandError(output, context);
@@ -10072,6 +10407,118 @@ const de_SearchGroupsCommandError = async (output, context) => {
10072
10407
  });
10073
10408
  }
10074
10409
  };
10410
+ export const de_StartAssetBundleExportJobCommand = async (output, context) => {
10411
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10412
+ return de_StartAssetBundleExportJobCommandError(output, context);
10413
+ }
10414
+ const contents = map({
10415
+ $metadata: deserializeMetadata(output),
10416
+ });
10417
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10418
+ const doc = take(data, {
10419
+ Arn: __expectString,
10420
+ AssetBundleExportJobId: __expectString,
10421
+ RequestId: __expectString,
10422
+ });
10423
+ Object.assign(contents, doc);
10424
+ map(contents, {
10425
+ Status: [, output.statusCode],
10426
+ });
10427
+ return contents;
10428
+ };
10429
+ const de_StartAssetBundleExportJobCommandError = async (output, context) => {
10430
+ const parsedOutput = {
10431
+ ...output,
10432
+ body: await parseErrorBody(output.body, context),
10433
+ };
10434
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10435
+ switch (errorCode) {
10436
+ case "AccessDeniedException":
10437
+ case "com.amazonaws.quicksight#AccessDeniedException":
10438
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10439
+ case "ConflictException":
10440
+ case "com.amazonaws.quicksight#ConflictException":
10441
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10442
+ case "InvalidParameterValueException":
10443
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
10444
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
10445
+ case "LimitExceededException":
10446
+ case "com.amazonaws.quicksight#LimitExceededException":
10447
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
10448
+ case "ResourceNotFoundException":
10449
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
10450
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10451
+ case "ThrottlingException":
10452
+ case "com.amazonaws.quicksight#ThrottlingException":
10453
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10454
+ case "UnsupportedUserEditionException":
10455
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
10456
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
10457
+ default:
10458
+ const parsedBody = parsedOutput.body;
10459
+ return throwDefaultError({
10460
+ output,
10461
+ parsedBody,
10462
+ errorCode,
10463
+ });
10464
+ }
10465
+ };
10466
+ export const de_StartAssetBundleImportJobCommand = async (output, context) => {
10467
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10468
+ return de_StartAssetBundleImportJobCommandError(output, context);
10469
+ }
10470
+ const contents = map({
10471
+ $metadata: deserializeMetadata(output),
10472
+ });
10473
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10474
+ const doc = take(data, {
10475
+ Arn: __expectString,
10476
+ AssetBundleImportJobId: __expectString,
10477
+ RequestId: __expectString,
10478
+ });
10479
+ Object.assign(contents, doc);
10480
+ map(contents, {
10481
+ Status: [, output.statusCode],
10482
+ });
10483
+ return contents;
10484
+ };
10485
+ const de_StartAssetBundleImportJobCommandError = async (output, context) => {
10486
+ const parsedOutput = {
10487
+ ...output,
10488
+ body: await parseErrorBody(output.body, context),
10489
+ };
10490
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10491
+ switch (errorCode) {
10492
+ case "AccessDeniedException":
10493
+ case "com.amazonaws.quicksight#AccessDeniedException":
10494
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10495
+ case "ConflictException":
10496
+ case "com.amazonaws.quicksight#ConflictException":
10497
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10498
+ case "InvalidParameterValueException":
10499
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
10500
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
10501
+ case "LimitExceededException":
10502
+ case "com.amazonaws.quicksight#LimitExceededException":
10503
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
10504
+ case "ResourceNotFoundException":
10505
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
10506
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10507
+ case "ThrottlingException":
10508
+ case "com.amazonaws.quicksight#ThrottlingException":
10509
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10510
+ case "UnsupportedUserEditionException":
10511
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
10512
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
10513
+ default:
10514
+ const parsedBody = parsedOutput.body;
10515
+ return throwDefaultError({
10516
+ output,
10517
+ parsedBody,
10518
+ errorCode,
10519
+ });
10520
+ }
10521
+ };
10075
10522
  export const de_TagResourceCommand = async (output, context) => {
10076
10523
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10077
10524
  return de_TagResourceCommandError(output, context);
@@ -12126,6 +12573,38 @@ const se_ArcConfiguration = (input, context) => {
12126
12573
  ArcThickness: [],
12127
12574
  });
12128
12575
  };
12576
+ const se_AssetBundleImportJobOverrideParameters = (input, context) => {
12577
+ return take(input, {
12578
+ Analyses: _json,
12579
+ Dashboards: _json,
12580
+ DataSets: _json,
12581
+ DataSources: _json,
12582
+ RefreshSchedules: (_) => se_AssetBundleImportJobRefreshScheduleOverrideParametersList(_, context),
12583
+ ResourceIdOverrideConfiguration: _json,
12584
+ Themes: _json,
12585
+ VPCConnections: _json,
12586
+ });
12587
+ };
12588
+ const se_AssetBundleImportJobRefreshScheduleOverrideParameters = (input, context) => {
12589
+ return take(input, {
12590
+ DataSetId: [],
12591
+ ScheduleId: [],
12592
+ StartAfterDateTime: (_) => Math.round(_.getTime() / 1000),
12593
+ });
12594
+ };
12595
+ const se_AssetBundleImportJobRefreshScheduleOverrideParametersList = (input, context) => {
12596
+ return input
12597
+ .filter((e) => e != null)
12598
+ .map((entry) => {
12599
+ return se_AssetBundleImportJobRefreshScheduleOverrideParameters(entry, context);
12600
+ });
12601
+ };
12602
+ const se_AssetBundleImportSource = (input, context) => {
12603
+ return take(input, {
12604
+ Body: context.base64Encoder,
12605
+ S3Uri: [],
12606
+ });
12607
+ };
12129
12608
  const se_AxisDataOptions = (input, context) => {
12130
12609
  return take(input, {
12131
12610
  DateAxisOptions: _json,
@@ -14376,6 +14855,68 @@ const de_ArcConfiguration = (output, context) => {
14376
14855
  ArcThickness: __expectString,
14377
14856
  });
14378
14857
  };
14858
+ const de_AssetBundleExportJobSummary = (output, context) => {
14859
+ return take(output, {
14860
+ Arn: __expectString,
14861
+ AssetBundleExportJobId: __expectString,
14862
+ CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14863
+ ExportFormat: __expectString,
14864
+ IncludeAllDependencies: __expectBoolean,
14865
+ JobStatus: __expectString,
14866
+ });
14867
+ };
14868
+ const de_AssetBundleExportJobSummaryList = (output, context) => {
14869
+ const retVal = (output || [])
14870
+ .filter((e) => e != null)
14871
+ .map((entry) => {
14872
+ return de_AssetBundleExportJobSummary(entry, context);
14873
+ });
14874
+ return retVal;
14875
+ };
14876
+ const de_AssetBundleImportJobOverrideParameters = (output, context) => {
14877
+ return take(output, {
14878
+ Analyses: _json,
14879
+ Dashboards: _json,
14880
+ DataSets: _json,
14881
+ DataSources: _json,
14882
+ RefreshSchedules: (_) => de_AssetBundleImportJobRefreshScheduleOverrideParametersList(_, context),
14883
+ ResourceIdOverrideConfiguration: _json,
14884
+ Themes: _json,
14885
+ VPCConnections: _json,
14886
+ });
14887
+ };
14888
+ const de_AssetBundleImportJobRefreshScheduleOverrideParameters = (output, context) => {
14889
+ return take(output, {
14890
+ DataSetId: __expectString,
14891
+ ScheduleId: __expectString,
14892
+ StartAfterDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14893
+ });
14894
+ };
14895
+ const de_AssetBundleImportJobRefreshScheduleOverrideParametersList = (output, context) => {
14896
+ const retVal = (output || [])
14897
+ .filter((e) => e != null)
14898
+ .map((entry) => {
14899
+ return de_AssetBundleImportJobRefreshScheduleOverrideParameters(entry, context);
14900
+ });
14901
+ return retVal;
14902
+ };
14903
+ const de_AssetBundleImportJobSummary = (output, context) => {
14904
+ return take(output, {
14905
+ Arn: __expectString,
14906
+ AssetBundleImportJobId: __expectString,
14907
+ CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14908
+ FailureAction: __expectString,
14909
+ JobStatus: __expectString,
14910
+ });
14911
+ };
14912
+ const de_AssetBundleImportJobSummaryList = (output, context) => {
14913
+ const retVal = (output || [])
14914
+ .filter((e) => e != null)
14915
+ .map((entry) => {
14916
+ return de_AssetBundleImportJobSummary(entry, context);
14917
+ });
14918
+ return retVal;
14919
+ };
14379
14920
  const de_AxisDataOptions = (output, context) => {
14380
14921
  return take(output, {
14381
14922
  DateAxisOptions: _json,