@aws-sdk/client-quicksight 3.212.0 → 3.214.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 (68) hide show
  1. package/dist-cjs/QuickSight.js +45 -0
  2. package/dist-cjs/commands/DeleteAccountSubscriptionCommand.js +46 -0
  3. package/dist-cjs/commands/DescribeTemplateAliasCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeTemplateCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeTemplatePermissionsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeThemeCommand.js +1 -2
  7. package/dist-cjs/commands/SearchDataSetsCommand.js +46 -0
  8. package/dist-cjs/commands/SearchDataSourcesCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +3 -0
  10. package/dist-cjs/endpoint/ruleset.js +1 -1
  11. package/dist-cjs/models/models_0.js +69 -45
  12. package/dist-cjs/models/models_1.js +79 -4
  13. package/dist-cjs/pagination/SearchDataSetsPaginator.js +36 -0
  14. package/dist-cjs/pagination/SearchDataSourcesPaginator.js +36 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +352 -5
  17. package/dist-es/QuickSight.js +45 -0
  18. package/dist-es/commands/DeleteAccountSubscriptionCommand.js +42 -0
  19. package/dist-es/commands/DescribeTemplateAliasCommand.js +1 -1
  20. package/dist-es/commands/DescribeTemplateCommand.js +2 -1
  21. package/dist-es/commands/DescribeTemplatePermissionsCommand.js +1 -1
  22. package/dist-es/commands/DescribeThemeCommand.js +1 -2
  23. package/dist-es/commands/SearchDataSetsCommand.js +42 -0
  24. package/dist-es/commands/SearchDataSourcesCommand.js +42 -0
  25. package/dist-es/commands/index.js +3 -0
  26. package/dist-es/endpoint/ruleset.js +1 -1
  27. package/dist-es/models/models_0.js +55 -30
  28. package/dist-es/models/models_1.js +62 -0
  29. package/dist-es/pagination/SearchDataSetsPaginator.js +32 -0
  30. package/dist-es/pagination/SearchDataSourcesPaginator.js +32 -0
  31. package/dist-es/pagination/index.js +2 -0
  32. package/dist-es/protocols/Aws_restJson1.js +342 -1
  33. package/dist-types/QuickSight.d.ts +22 -1
  34. package/dist-types/QuickSightClient.d.ts +5 -2
  35. package/dist-types/commands/DeleteAccountSubscriptionCommand.d.ts +37 -0
  36. package/dist-types/commands/DescribeAccountSubscriptionCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeTemplateAliasCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeTemplateCommand.d.ts +2 -1
  39. package/dist-types/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeThemeCommand.d.ts +1 -2
  41. package/dist-types/commands/SearchDataSetsCommand.d.ts +37 -0
  42. package/dist-types/commands/SearchDataSourcesCommand.d.ts +37 -0
  43. package/dist-types/commands/index.d.ts +3 -0
  44. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  45. package/dist-types/models/models_0.d.ts +349 -227
  46. package/dist-types/models/models_1.d.ts +373 -5
  47. package/dist-types/pagination/SearchDataSetsPaginator.d.ts +4 -0
  48. package/dist-types/pagination/SearchDataSourcesPaginator.d.ts +4 -0
  49. package/dist-types/pagination/index.d.ts +2 -0
  50. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  51. package/dist-types/ts3.4/QuickSight.d.ts +51 -0
  52. package/dist-types/ts3.4/QuickSightClient.d.ts +18 -0
  53. package/dist-types/ts3.4/commands/DeleteAccountSubscriptionCommand.d.ts +41 -0
  54. package/dist-types/ts3.4/commands/DescribeTemplateAliasCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DescribeTemplateCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/SearchDataSetsCommand.d.ts +37 -0
  59. package/dist-types/ts3.4/commands/SearchDataSourcesCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  61. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  62. package/dist-types/ts3.4/models/models_0.d.ts +136 -78
  63. package/dist-types/ts3.4/models/models_1.d.ts +137 -1
  64. package/dist-types/ts3.4/pagination/SearchDataSetsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/SearchDataSourcesPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  68. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { 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, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, ConcurrentUpdatingException, ConflictException, DataSourceParameters, InternalFailureException, InvalidNextTokenException, InvalidParameterValueException, LimitExceededException, PhysicalTable, PreconditionNotMetException, ResourceExistsException, ResourceNotFoundException, ResourceUnavailableException, ThrottlingException, TransformOperation, UnsupportedUserEditionException, } from "../models/models_0";
4
- import { DomainNotWhitelistedException, IdentityTypeNotSupportedException, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, UnsupportedPricingPlanException, } from "../models/models_1";
4
+ import { DomainNotWhitelistedException, IdentityTypeNotSupportedException, InvalidRequestException, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, UnsupportedPricingPlanException, } from "../models/models_1";
5
5
  import { QuickSightServiceException as __BaseException } from "../models/QuickSightServiceException";
6
6
  export const serializeAws_restJson1CancelIngestionCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -538,6 +538,22 @@ export const serializeAws_restJson1DeleteAccountCustomizationCommand = async (in
538
538
  body,
539
539
  });
540
540
  };
541
+ export const serializeAws_restJson1DeleteAccountSubscriptionCommand = async (input, context) => {
542
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
543
+ const headers = {};
544
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
545
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
546
+ let body;
547
+ return new __HttpRequest({
548
+ protocol,
549
+ hostname,
550
+ port,
551
+ method: "DELETE",
552
+ headers,
553
+ path: resolvedPath,
554
+ body,
555
+ });
556
+ };
541
557
  export const serializeAws_restJson1DeleteAnalysisCommand = async (input, context) => {
542
558
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
543
559
  const headers = {};
@@ -2082,6 +2098,53 @@ export const serializeAws_restJson1SearchDashboardsCommand = async (input, conte
2082
2098
  body,
2083
2099
  });
2084
2100
  };
2101
+ export const serializeAws_restJson1SearchDataSetsCommand = async (input, context) => {
2102
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2103
+ const headers = {
2104
+ "content-type": "application/json",
2105
+ };
2106
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/search/data-sets";
2107
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2108
+ let body;
2109
+ body = JSON.stringify({
2110
+ ...(input.Filters != null && { Filters: serializeAws_restJson1DataSetSearchFilterList(input.Filters, context) }),
2111
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2112
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
2113
+ });
2114
+ return new __HttpRequest({
2115
+ protocol,
2116
+ hostname,
2117
+ port,
2118
+ method: "POST",
2119
+ headers,
2120
+ path: resolvedPath,
2121
+ body,
2122
+ });
2123
+ };
2124
+ export const serializeAws_restJson1SearchDataSourcesCommand = async (input, context) => {
2125
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2126
+ const headers = {
2127
+ "content-type": "application/json",
2128
+ };
2129
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2130
+ "/accounts/{AwsAccountId}/search/data-sources";
2131
+ resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2132
+ let body;
2133
+ body = JSON.stringify({
2134
+ ...(input.Filters != null && { Filters: serializeAws_restJson1DataSourceSearchFilterList(input.Filters, context) }),
2135
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2136
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
2137
+ });
2138
+ return new __HttpRequest({
2139
+ protocol,
2140
+ hostname,
2141
+ port,
2142
+ method: "POST",
2143
+ headers,
2144
+ path: resolvedPath,
2145
+ body,
2146
+ });
2147
+ };
2085
2148
  export const serializeAws_restJson1SearchFoldersCommand = async (input, context) => {
2086
2149
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2087
2150
  const headers = {
@@ -2212,6 +2275,9 @@ export const serializeAws_restJson1UpdateAccountSettingsCommand = async (input,
2212
2275
  body = JSON.stringify({
2213
2276
  ...(input.DefaultNamespace != null && { DefaultNamespace: input.DefaultNamespace }),
2214
2277
  ...(input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail }),
2278
+ ...(input.TerminationProtectionEnabled != null && {
2279
+ TerminationProtectionEnabled: input.TerminationProtectionEnabled,
2280
+ }),
2215
2281
  });
2216
2282
  return new __HttpRequest({
2217
2283
  protocol,
@@ -4066,6 +4132,60 @@ const deserializeAws_restJson1DeleteAccountCustomizationCommandError = async (ou
4066
4132
  });
4067
4133
  }
4068
4134
  };
4135
+ export const deserializeAws_restJson1DeleteAccountSubscriptionCommand = async (output, context) => {
4136
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4137
+ return deserializeAws_restJson1DeleteAccountSubscriptionCommandError(output, context);
4138
+ }
4139
+ const contents = map({
4140
+ $metadata: deserializeMetadata(output),
4141
+ });
4142
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4143
+ if (data.RequestId != null) {
4144
+ contents.RequestId = __expectString(data.RequestId);
4145
+ }
4146
+ map(contents, {
4147
+ Status: [, output.statusCode],
4148
+ });
4149
+ return contents;
4150
+ };
4151
+ const deserializeAws_restJson1DeleteAccountSubscriptionCommandError = async (output, context) => {
4152
+ const parsedOutput = {
4153
+ ...output,
4154
+ body: await parseErrorBody(output.body, context),
4155
+ };
4156
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4157
+ switch (errorCode) {
4158
+ case "AccessDeniedException":
4159
+ case "com.amazonaws.quicksight#AccessDeniedException":
4160
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
4161
+ case "InternalFailureException":
4162
+ case "com.amazonaws.quicksight#InternalFailureException":
4163
+ throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
4164
+ case "InvalidParameterValueException":
4165
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
4166
+ throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
4167
+ case "PreconditionNotMetException":
4168
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
4169
+ throw await deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context);
4170
+ case "ResourceNotFoundException":
4171
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
4172
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
4173
+ case "ResourceUnavailableException":
4174
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
4175
+ throw await deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context);
4176
+ case "ThrottlingException":
4177
+ case "com.amazonaws.quicksight#ThrottlingException":
4178
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
4179
+ default:
4180
+ const parsedBody = parsedOutput.body;
4181
+ throwDefaultError({
4182
+ output,
4183
+ parsedBody,
4184
+ exceptionCtor: __BaseException,
4185
+ errorCode,
4186
+ });
4187
+ }
4188
+ };
4069
4189
  export const deserializeAws_restJson1DeleteAnalysisCommand = async (output, context) => {
4070
4190
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4071
4191
  return deserializeAws_restJson1DeleteAnalysisCommandError(output, context);
@@ -6492,6 +6612,9 @@ export const deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = a
6492
6612
  $metadata: deserializeMetadata(output),
6493
6613
  });
6494
6614
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6615
+ if (data.AnonymousUserArn != null) {
6616
+ contents.AnonymousUserArn = __expectString(data.AnonymousUserArn);
6617
+ }
6495
6618
  if (data.EmbedUrl != null) {
6496
6619
  contents.EmbedUrl = __expectString(data.EmbedUrl);
6497
6620
  }
@@ -8254,6 +8377,120 @@ const deserializeAws_restJson1SearchDashboardsCommandError = async (output, cont
8254
8377
  });
8255
8378
  }
8256
8379
  };
8380
+ export const deserializeAws_restJson1SearchDataSetsCommand = async (output, context) => {
8381
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8382
+ return deserializeAws_restJson1SearchDataSetsCommandError(output, context);
8383
+ }
8384
+ const contents = map({
8385
+ $metadata: deserializeMetadata(output),
8386
+ });
8387
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8388
+ if (data.DataSetSummaries != null) {
8389
+ contents.DataSetSummaries = deserializeAws_restJson1DataSetSummaryList(data.DataSetSummaries, context);
8390
+ }
8391
+ if (data.NextToken != null) {
8392
+ contents.NextToken = __expectString(data.NextToken);
8393
+ }
8394
+ if (data.RequestId != null) {
8395
+ contents.RequestId = __expectString(data.RequestId);
8396
+ }
8397
+ map(contents, {
8398
+ Status: [, output.statusCode],
8399
+ });
8400
+ return contents;
8401
+ };
8402
+ const deserializeAws_restJson1SearchDataSetsCommandError = async (output, context) => {
8403
+ const parsedOutput = {
8404
+ ...output,
8405
+ body: await parseErrorBody(output.body, context),
8406
+ };
8407
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8408
+ switch (errorCode) {
8409
+ case "AccessDeniedException":
8410
+ case "com.amazonaws.quicksight#AccessDeniedException":
8411
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
8412
+ case "InternalFailureException":
8413
+ case "com.amazonaws.quicksight#InternalFailureException":
8414
+ throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
8415
+ case "InvalidNextTokenException":
8416
+ case "com.amazonaws.quicksight#InvalidNextTokenException":
8417
+ throw await deserializeAws_restJson1InvalidNextTokenExceptionResponse(parsedOutput, context);
8418
+ case "InvalidParameterValueException":
8419
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
8420
+ throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
8421
+ case "ResourceNotFoundException":
8422
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
8423
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
8424
+ case "ThrottlingException":
8425
+ case "com.amazonaws.quicksight#ThrottlingException":
8426
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
8427
+ default:
8428
+ const parsedBody = parsedOutput.body;
8429
+ throwDefaultError({
8430
+ output,
8431
+ parsedBody,
8432
+ exceptionCtor: __BaseException,
8433
+ errorCode,
8434
+ });
8435
+ }
8436
+ };
8437
+ export const deserializeAws_restJson1SearchDataSourcesCommand = async (output, context) => {
8438
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8439
+ return deserializeAws_restJson1SearchDataSourcesCommandError(output, context);
8440
+ }
8441
+ const contents = map({
8442
+ $metadata: deserializeMetadata(output),
8443
+ });
8444
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8445
+ if (data.DataSourceSummaries != null) {
8446
+ contents.DataSourceSummaries = deserializeAws_restJson1DataSourceSummaryList(data.DataSourceSummaries, context);
8447
+ }
8448
+ if (data.NextToken != null) {
8449
+ contents.NextToken = __expectString(data.NextToken);
8450
+ }
8451
+ if (data.RequestId != null) {
8452
+ contents.RequestId = __expectString(data.RequestId);
8453
+ }
8454
+ map(contents, {
8455
+ Status: [, output.statusCode],
8456
+ });
8457
+ return contents;
8458
+ };
8459
+ const deserializeAws_restJson1SearchDataSourcesCommandError = async (output, context) => {
8460
+ const parsedOutput = {
8461
+ ...output,
8462
+ body: await parseErrorBody(output.body, context),
8463
+ };
8464
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8465
+ switch (errorCode) {
8466
+ case "AccessDeniedException":
8467
+ case "com.amazonaws.quicksight#AccessDeniedException":
8468
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
8469
+ case "InternalFailureException":
8470
+ case "com.amazonaws.quicksight#InternalFailureException":
8471
+ throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
8472
+ case "InvalidNextTokenException":
8473
+ case "com.amazonaws.quicksight#InvalidNextTokenException":
8474
+ throw await deserializeAws_restJson1InvalidNextTokenExceptionResponse(parsedOutput, context);
8475
+ case "InvalidParameterValueException":
8476
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
8477
+ throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
8478
+ case "ResourceNotFoundException":
8479
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
8480
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
8481
+ case "ThrottlingException":
8482
+ case "com.amazonaws.quicksight#ThrottlingException":
8483
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
8484
+ default:
8485
+ const parsedBody = parsedOutput.body;
8486
+ throwDefaultError({
8487
+ output,
8488
+ parsedBody,
8489
+ exceptionCtor: __BaseException,
8490
+ errorCode,
8491
+ });
8492
+ }
8493
+ };
8257
8494
  export const deserializeAws_restJson1SearchFoldersCommand = async (output, context) => {
8258
8495
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8259
8496
  return deserializeAws_restJson1SearchFoldersCommandError(output, context);
@@ -8295,6 +8532,9 @@ const deserializeAws_restJson1SearchFoldersCommandError = async (output, context
8295
8532
  case "InvalidParameterValueException":
8296
8533
  case "com.amazonaws.quicksight#InvalidParameterValueException":
8297
8534
  throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
8535
+ case "InvalidRequestException":
8536
+ case "com.amazonaws.quicksight#InvalidRequestException":
8537
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
8298
8538
  case "ResourceNotFoundException":
8299
8539
  case "com.amazonaws.quicksight#ResourceNotFoundException":
8300
8540
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -10046,6 +10286,21 @@ const deserializeAws_restJson1InvalidParameterValueExceptionResponse = async (pa
10046
10286
  });
10047
10287
  return __decorateServiceException(exception, parsedOutput.body);
10048
10288
  };
10289
+ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
10290
+ const contents = map({});
10291
+ const data = parsedOutput.body;
10292
+ if (data.Message != null) {
10293
+ contents.Message = __expectString(data.Message);
10294
+ }
10295
+ if (data.RequestId != null) {
10296
+ contents.RequestId = __expectString(data.RequestId);
10297
+ }
10298
+ const exception = new InvalidRequestException({
10299
+ $metadata: deserializeMetadata(parsedOutput),
10300
+ ...contents,
10301
+ });
10302
+ return __decorateServiceException(exception, parsedOutput.body);
10303
+ };
10049
10304
  const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
10050
10305
  const contents = map({});
10051
10306
  const data = parsedOutput.body;
@@ -10287,6 +10542,14 @@ const serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration = (inp
10287
10542
  ...(input.DashboardVisual != null && {
10288
10543
  DashboardVisual: serializeAws_restJson1AnonymousUserDashboardVisualEmbeddingConfiguration(input.DashboardVisual, context),
10289
10544
  }),
10545
+ ...(input.QSearchBar != null && {
10546
+ QSearchBar: serializeAws_restJson1AnonymousUserQSearchBarEmbeddingConfiguration(input.QSearchBar, context),
10547
+ }),
10548
+ };
10549
+ };
10550
+ const serializeAws_restJson1AnonymousUserQSearchBarEmbeddingConfiguration = (input, context) => {
10551
+ return {
10552
+ ...(input.InitialTopicId != null && { InitialTopicId: input.InitialTopicId }),
10290
10553
  };
10291
10554
  };
10292
10555
  const serializeAws_restJson1ArnList = (input, context) => {
@@ -10298,6 +10561,7 @@ const serializeAws_restJson1ArnList = (input, context) => {
10298
10561
  };
10299
10562
  const serializeAws_restJson1AthenaParameters = (input, context) => {
10300
10563
  return {
10564
+ ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
10301
10565
  ...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
10302
10566
  };
10303
10567
  };
@@ -10492,6 +10756,13 @@ const serializeAws_restJson1DashboardVisualId = (input, context) => {
10492
10756
  ...(input.VisualId != null && { VisualId: input.VisualId }),
10493
10757
  };
10494
10758
  };
10759
+ const serializeAws_restJson1DatabricksParameters = (input, context) => {
10760
+ return {
10761
+ ...(input.Host != null && { Host: input.Host }),
10762
+ ...(input.Port != null && { Port: input.Port }),
10763
+ ...(input.SqlEndpointPath != null && { SqlEndpointPath: input.SqlEndpointPath }),
10764
+ };
10765
+ };
10495
10766
  const serializeAws_restJson1DataColorPalette = (input, context) => {
10496
10767
  return {
10497
10768
  ...(input.Colors != null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) }),
@@ -10514,6 +10785,20 @@ const serializeAws_restJson1DataSetReferenceList = (input, context) => {
10514
10785
  return serializeAws_restJson1DataSetReference(entry, context);
10515
10786
  });
10516
10787
  };
10788
+ const serializeAws_restJson1DataSetSearchFilter = (input, context) => {
10789
+ return {
10790
+ ...(input.Name != null && { Name: input.Name }),
10791
+ ...(input.Operator != null && { Operator: input.Operator }),
10792
+ ...(input.Value != null && { Value: input.Value }),
10793
+ };
10794
+ };
10795
+ const serializeAws_restJson1DataSetSearchFilterList = (input, context) => {
10796
+ return input
10797
+ .filter((e) => e != null)
10798
+ .map((entry) => {
10799
+ return serializeAws_restJson1DataSetSearchFilter(entry, context);
10800
+ });
10801
+ };
10517
10802
  const serializeAws_restJson1DataSetUsageConfiguration = (input, context) => {
10518
10803
  return {
10519
10804
  ...(input.DisableUseAsDirectQuerySource != null && {
@@ -10547,6 +10832,9 @@ const serializeAws_restJson1DataSourceParameters = (input, context) => {
10547
10832
  AwsIotAnalyticsParameters: (value) => ({
10548
10833
  AwsIotAnalyticsParameters: serializeAws_restJson1AwsIotAnalyticsParameters(value, context),
10549
10834
  }),
10835
+ DatabricksParameters: (value) => ({
10836
+ DatabricksParameters: serializeAws_restJson1DatabricksParameters(value, context),
10837
+ }),
10550
10838
  ExasolParameters: (value) => ({ ExasolParameters: serializeAws_restJson1ExasolParameters(value, context) }),
10551
10839
  JiraParameters: (value) => ({ JiraParameters: serializeAws_restJson1JiraParameters(value, context) }),
10552
10840
  MariaDbParameters: (value) => ({ MariaDbParameters: serializeAws_restJson1MariaDbParameters(value, context) }),
@@ -10581,6 +10869,20 @@ const serializeAws_restJson1DataSourceParametersList = (input, context) => {
10581
10869
  return serializeAws_restJson1DataSourceParameters(entry, context);
10582
10870
  });
10583
10871
  };
10872
+ const serializeAws_restJson1DataSourceSearchFilter = (input, context) => {
10873
+ return {
10874
+ ...(input.Name != null && { Name: input.Name }),
10875
+ ...(input.Operator != null && { Operator: input.Operator }),
10876
+ ...(input.Value != null && { Value: input.Value }),
10877
+ };
10878
+ };
10879
+ const serializeAws_restJson1DataSourceSearchFilterList = (input, context) => {
10880
+ return input
10881
+ .filter((e) => e != null)
10882
+ .map((entry) => {
10883
+ return serializeAws_restJson1DataSourceSearchFilter(entry, context);
10884
+ });
10885
+ };
10584
10886
  const serializeAws_restJson1DateTimeParameter = (input, context) => {
10585
10887
  return {
10586
10888
  ...(input.Name != null && { Name: input.Name }),
@@ -11301,6 +11603,7 @@ const deserializeAws_restJson1AccountSettings = (output, context) => {
11301
11603
  Edition: __expectString(output.Edition),
11302
11604
  NotificationEmail: __expectString(output.NotificationEmail),
11303
11605
  PublicSharingEnabled: __expectBoolean(output.PublicSharingEnabled),
11606
+ TerminationProtectionEnabled: __expectBoolean(output.TerminationProtectionEnabled),
11304
11607
  };
11305
11608
  };
11306
11609
  const deserializeAws_restJson1ActionList = (output, context) => {
@@ -11403,6 +11706,7 @@ const deserializeAws_restJson1AnalysisSummaryList = (output, context) => {
11403
11706
  };
11404
11707
  const deserializeAws_restJson1AthenaParameters = (output, context) => {
11405
11708
  return {
11709
+ RoleArn: __expectString(output.RoleArn),
11406
11710
  WorkGroup: __expectString(output.WorkGroup),
11407
11711
  };
11408
11712
  };
@@ -11725,6 +12029,13 @@ const deserializeAws_restJson1DashboardVersionSummaryList = (output, context) =>
11725
12029
  });
11726
12030
  return retVal;
11727
12031
  };
12032
+ const deserializeAws_restJson1DatabricksParameters = (output, context) => {
12033
+ return {
12034
+ Host: __expectString(output.Host),
12035
+ Port: __expectInt32(output.Port),
12036
+ SqlEndpointPath: __expectString(output.SqlEndpointPath),
12037
+ };
12038
+ };
11728
12039
  const deserializeAws_restJson1DataColorPalette = (output, context) => {
11729
12040
  return {
11730
12041
  Colors: output.Colors != null ? deserializeAws_restJson1ColorList(output.Colors, context) : undefined,
@@ -11919,6 +12230,11 @@ const deserializeAws_restJson1DataSourceParameters = (output, context) => {
11919
12230
  AwsIotAnalyticsParameters: deserializeAws_restJson1AwsIotAnalyticsParameters(output.AwsIotAnalyticsParameters, context),
11920
12231
  };
11921
12232
  }
12233
+ if (output.DatabricksParameters != null) {
12234
+ return {
12235
+ DatabricksParameters: deserializeAws_restJson1DatabricksParameters(output.DatabricksParameters, context),
12236
+ };
12237
+ }
11922
12238
  if (output.ExasolParameters != null) {
11923
12239
  return {
11924
12240
  ExasolParameters: deserializeAws_restJson1ExasolParameters(output.ExasolParameters, context),
@@ -12012,6 +12328,31 @@ const deserializeAws_restJson1DataSourceParametersList = (output, context) => {
12012
12328
  });
12013
12329
  return retVal;
12014
12330
  };
12331
+ const deserializeAws_restJson1DataSourceSummary = (output, context) => {
12332
+ return {
12333
+ Arn: __expectString(output.Arn),
12334
+ CreatedTime: output.CreatedTime != null
12335
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
12336
+ : undefined,
12337
+ DataSourceId: __expectString(output.DataSourceId),
12338
+ LastUpdatedTime: output.LastUpdatedTime != null
12339
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
12340
+ : undefined,
12341
+ Name: __expectString(output.Name),
12342
+ Type: __expectString(output.Type),
12343
+ };
12344
+ };
12345
+ const deserializeAws_restJson1DataSourceSummaryList = (output, context) => {
12346
+ const retVal = (output || [])
12347
+ .filter((e) => e != null)
12348
+ .map((entry) => {
12349
+ if (entry === null) {
12350
+ return null;
12351
+ }
12352
+ return deserializeAws_restJson1DataSourceSummary(entry, context);
12353
+ });
12354
+ return retVal;
12355
+ };
12015
12356
  const deserializeAws_restJson1ErrorInfo = (output, context) => {
12016
12357
  return {
12017
12358
  Message: __expectString(output.Message),
@@ -18,6 +18,7 @@ import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./comma
18
18
  import { CreateThemeAliasCommandInput, CreateThemeAliasCommandOutput } from "./commands/CreateThemeAliasCommand";
19
19
  import { CreateThemeCommandInput, CreateThemeCommandOutput } from "./commands/CreateThemeCommand";
20
20
  import { DeleteAccountCustomizationCommandInput, DeleteAccountCustomizationCommandOutput } from "./commands/DeleteAccountCustomizationCommand";
21
+ import { DeleteAccountSubscriptionCommandInput, DeleteAccountSubscriptionCommandOutput } from "./commands/DeleteAccountSubscriptionCommand";
21
22
  import { DeleteAnalysisCommandInput, DeleteAnalysisCommandOutput } from "./commands/DeleteAnalysisCommand";
22
23
  import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
23
24
  import { DeleteDataSetCommandInput, DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
@@ -91,6 +92,8 @@ import { RegisterUserCommandInput, RegisterUserCommandOutput } from "./commands/
91
92
  import { RestoreAnalysisCommandInput, RestoreAnalysisCommandOutput } from "./commands/RestoreAnalysisCommand";
92
93
  import { SearchAnalysesCommandInput, SearchAnalysesCommandOutput } from "./commands/SearchAnalysesCommand";
93
94
  import { SearchDashboardsCommandInput, SearchDashboardsCommandOutput } from "./commands/SearchDashboardsCommand";
95
+ import { SearchDataSetsCommandInput, SearchDataSetsCommandOutput } from "./commands/SearchDataSetsCommand";
96
+ import { SearchDataSourcesCommandInput, SearchDataSourcesCommandOutput } from "./commands/SearchDataSourcesCommand";
94
97
  import { SearchFoldersCommandInput, SearchFoldersCommandOutput } from "./commands/SearchFoldersCommand";
95
98
  import { SearchGroupsCommandInput, SearchGroupsCommandOutput } from "./commands/SearchGroupsCommand";
96
99
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -331,6 +334,12 @@ export declare class QuickSight extends QuickSightClient {
331
334
  deleteAccountCustomization(args: DeleteAccountCustomizationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccountCustomizationCommandOutput>;
332
335
  deleteAccountCustomization(args: DeleteAccountCustomizationCommandInput, cb: (err: any, data?: DeleteAccountCustomizationCommandOutput) => void): void;
333
336
  deleteAccountCustomization(args: DeleteAccountCustomizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccountCustomizationCommandOutput) => void): void;
337
+ /**
338
+ * <p>Use the <code>DeleteAccountSubscription</code> operation to delete an Amazon QuickSight account. This operation will result in an error message if you have configured your account termination protection settings to <code>True</code>. To change this setting and delete your account, call the <code>UpdateAccountSettings</code> API and set the value of the <code>TerminationProtectionEnabled</code> parameter to <code>False</code>, then make another call to the <code>DeleteAccountSubscription</code> API.</p>
339
+ */
340
+ deleteAccountSubscription(args: DeleteAccountSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccountSubscriptionCommandOutput>;
341
+ deleteAccountSubscription(args: DeleteAccountSubscriptionCommandInput, cb: (err: any, data?: DeleteAccountSubscriptionCommandOutput) => void): void;
342
+ deleteAccountSubscription(args: DeleteAccountSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccountSubscriptionCommandOutput) => void): void;
334
343
  /**
335
344
  * <p>Deletes an analysis from Amazon QuickSight. You can optionally include a recovery window during
336
345
  * which you can restore the analysis. If you don't specify a recovery window value, the
@@ -516,7 +525,7 @@ export declare class QuickSight extends QuickSightClient {
516
525
  describeAccountSettings(args: DescribeAccountSettingsCommandInput, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
517
526
  describeAccountSettings(args: DescribeAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
518
527
  /**
519
- * <p>Use the DescribeAccountSubscription operation to receive a description of a Amazon QuickSight account's subscription. A successful API call returns an <code>AccountInfo</code> object that includes an account's name, subscription status, authentication type, edition, and notification email address.</p>
528
+ * <p>Use the DescribeAccountSubscription operation to receive a description of an Amazon QuickSight account's subscription. A successful API call returns an <code>AccountInfo</code> object that includes an account's name, subscription status, authentication type, edition, and notification email address.</p>
520
529
  */
521
530
  describeAccountSubscription(args: DescribeAccountSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountSubscriptionCommandOutput>;
522
531
  describeAccountSubscription(args: DescribeAccountSubscriptionCommandInput, cb: (err: any, data?: DescribeAccountSubscriptionCommandOutput) => void): void;
@@ -940,6 +949,18 @@ export declare class QuickSight extends QuickSightClient {
940
949
  searchDashboards(args: SearchDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<SearchDashboardsCommandOutput>;
941
950
  searchDashboards(args: SearchDashboardsCommandInput, cb: (err: any, data?: SearchDashboardsCommandOutput) => void): void;
942
951
  searchDashboards(args: SearchDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchDashboardsCommandOutput) => void): void;
952
+ /**
953
+ * <p>Use the <code>SearchDataSets</code> operation to search for datasets that belong to an account.</p>
954
+ */
955
+ searchDataSets(args: SearchDataSetsCommandInput, options?: __HttpHandlerOptions): Promise<SearchDataSetsCommandOutput>;
956
+ searchDataSets(args: SearchDataSetsCommandInput, cb: (err: any, data?: SearchDataSetsCommandOutput) => void): void;
957
+ searchDataSets(args: SearchDataSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchDataSetsCommandOutput) => void): void;
958
+ /**
959
+ * <p>Use the <code>SearchDataSources</code> operation to search for data sources that belong to an account.</p>
960
+ */
961
+ searchDataSources(args: SearchDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchDataSourcesCommandOutput>;
962
+ searchDataSources(args: SearchDataSourcesCommandInput, cb: (err: any, data?: SearchDataSourcesCommandOutput) => void): void;
963
+ searchDataSources(args: SearchDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchDataSourcesCommandOutput) => void): void;
943
964
  /**
944
965
  * <p>Searches the subfolders in a folder.</p>
945
966
  */
@@ -26,6 +26,7 @@ import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./comma
26
26
  import { CreateThemeAliasCommandInput, CreateThemeAliasCommandOutput } from "./commands/CreateThemeAliasCommand";
27
27
  import { CreateThemeCommandInput, CreateThemeCommandOutput } from "./commands/CreateThemeCommand";
28
28
  import { DeleteAccountCustomizationCommandInput, DeleteAccountCustomizationCommandOutput } from "./commands/DeleteAccountCustomizationCommand";
29
+ import { DeleteAccountSubscriptionCommandInput, DeleteAccountSubscriptionCommandOutput } from "./commands/DeleteAccountSubscriptionCommand";
29
30
  import { DeleteAnalysisCommandInput, DeleteAnalysisCommandOutput } from "./commands/DeleteAnalysisCommand";
30
31
  import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
31
32
  import { DeleteDataSetCommandInput, DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
@@ -99,6 +100,8 @@ import { RegisterUserCommandInput, RegisterUserCommandOutput } from "./commands/
99
100
  import { RestoreAnalysisCommandInput, RestoreAnalysisCommandOutput } from "./commands/RestoreAnalysisCommand";
100
101
  import { SearchAnalysesCommandInput, SearchAnalysesCommandOutput } from "./commands/SearchAnalysesCommand";
101
102
  import { SearchDashboardsCommandInput, SearchDashboardsCommandOutput } from "./commands/SearchDashboardsCommand";
103
+ import { SearchDataSetsCommandInput, SearchDataSetsCommandOutput } from "./commands/SearchDataSetsCommand";
104
+ import { SearchDataSourcesCommandInput, SearchDataSourcesCommandOutput } from "./commands/SearchDataSourcesCommand";
102
105
  import { SearchFoldersCommandInput, SearchFoldersCommandOutput } from "./commands/SearchFoldersCommand";
103
106
  import { SearchGroupsCommandInput, SearchGroupsCommandOutput } from "./commands/SearchGroupsCommand";
104
107
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -128,8 +131,8 @@ import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/Up
128
131
  import { UpdateThemePermissionsCommandInput, UpdateThemePermissionsCommandOutput } from "./commands/UpdateThemePermissionsCommand";
129
132
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
130
133
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
131
- export declare type ServiceInputTypes = CancelIngestionCommandInput | CreateAccountCustomizationCommandInput | CreateAccountSubscriptionCommandInput | CreateAnalysisCommandInput | CreateDashboardCommandInput | CreateDataSetCommandInput | CreateDataSourceCommandInput | CreateFolderCommandInput | CreateFolderMembershipCommandInput | CreateGroupCommandInput | CreateGroupMembershipCommandInput | CreateIAMPolicyAssignmentCommandInput | CreateIngestionCommandInput | CreateNamespaceCommandInput | CreateTemplateAliasCommandInput | CreateTemplateCommandInput | CreateThemeAliasCommandInput | CreateThemeCommandInput | DeleteAccountCustomizationCommandInput | DeleteAnalysisCommandInput | DeleteDashboardCommandInput | DeleteDataSetCommandInput | DeleteDataSourceCommandInput | DeleteFolderCommandInput | DeleteFolderMembershipCommandInput | DeleteGroupCommandInput | DeleteGroupMembershipCommandInput | DeleteIAMPolicyAssignmentCommandInput | DeleteNamespaceCommandInput | DeleteTemplateAliasCommandInput | DeleteTemplateCommandInput | DeleteThemeAliasCommandInput | DeleteThemeCommandInput | DeleteUserByPrincipalIdCommandInput | DeleteUserCommandInput | DescribeAccountCustomizationCommandInput | DescribeAccountSettingsCommandInput | DescribeAccountSubscriptionCommandInput | DescribeAnalysisCommandInput | DescribeAnalysisPermissionsCommandInput | DescribeDashboardCommandInput | DescribeDashboardPermissionsCommandInput | DescribeDataSetCommandInput | DescribeDataSetPermissionsCommandInput | DescribeDataSourceCommandInput | DescribeDataSourcePermissionsCommandInput | DescribeFolderCommandInput | DescribeFolderPermissionsCommandInput | DescribeFolderResolvedPermissionsCommandInput | DescribeGroupCommandInput | DescribeGroupMembershipCommandInput | DescribeIAMPolicyAssignmentCommandInput | DescribeIngestionCommandInput | DescribeIpRestrictionCommandInput | DescribeNamespaceCommandInput | DescribeTemplateAliasCommandInput | DescribeTemplateCommandInput | DescribeTemplatePermissionsCommandInput | DescribeThemeAliasCommandInput | DescribeThemeCommandInput | DescribeThemePermissionsCommandInput | DescribeUserCommandInput | GenerateEmbedUrlForAnonymousUserCommandInput | GenerateEmbedUrlForRegisteredUserCommandInput | GetDashboardEmbedUrlCommandInput | GetSessionEmbedUrlCommandInput | ListAnalysesCommandInput | ListDashboardVersionsCommandInput | ListDashboardsCommandInput | ListDataSetsCommandInput | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput | ListIAMPolicyAssignmentsForUserCommandInput | ListIngestionsCommandInput | ListNamespacesCommandInput | ListTagsForResourceCommandInput | ListTemplateAliasesCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | ListThemeAliasesCommandInput | ListThemeVersionsCommandInput | ListThemesCommandInput | ListUserGroupsCommandInput | ListUsersCommandInput | RegisterUserCommandInput | RestoreAnalysisCommandInput | SearchAnalysesCommandInput | SearchDashboardsCommandInput | SearchFoldersCommandInput | SearchGroupsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountCustomizationCommandInput | UpdateAccountSettingsCommandInput | UpdateAnalysisCommandInput | UpdateAnalysisPermissionsCommandInput | UpdateDashboardCommandInput | UpdateDashboardPermissionsCommandInput | UpdateDashboardPublishedVersionCommandInput | UpdateDataSetCommandInput | UpdateDataSetPermissionsCommandInput | UpdateDataSourceCommandInput | UpdateDataSourcePermissionsCommandInput | UpdateFolderCommandInput | UpdateFolderPermissionsCommandInput | UpdateGroupCommandInput | UpdateIAMPolicyAssignmentCommandInput | UpdateIpRestrictionCommandInput | UpdatePublicSharingSettingsCommandInput | UpdateTemplateAliasCommandInput | UpdateTemplateCommandInput | UpdateTemplatePermissionsCommandInput | UpdateThemeAliasCommandInput | UpdateThemeCommandInput | UpdateThemePermissionsCommandInput | UpdateUserCommandInput;
132
- export declare type ServiceOutputTypes = CancelIngestionCommandOutput | CreateAccountCustomizationCommandOutput | CreateAccountSubscriptionCommandOutput | CreateAnalysisCommandOutput | CreateDashboardCommandOutput | CreateDataSetCommandOutput | CreateDataSourceCommandOutput | CreateFolderCommandOutput | CreateFolderMembershipCommandOutput | CreateGroupCommandOutput | CreateGroupMembershipCommandOutput | CreateIAMPolicyAssignmentCommandOutput | CreateIngestionCommandOutput | CreateNamespaceCommandOutput | CreateTemplateAliasCommandOutput | CreateTemplateCommandOutput | CreateThemeAliasCommandOutput | CreateThemeCommandOutput | DeleteAccountCustomizationCommandOutput | DeleteAnalysisCommandOutput | DeleteDashboardCommandOutput | DeleteDataSetCommandOutput | DeleteDataSourceCommandOutput | DeleteFolderCommandOutput | DeleteFolderMembershipCommandOutput | DeleteGroupCommandOutput | DeleteGroupMembershipCommandOutput | DeleteIAMPolicyAssignmentCommandOutput | DeleteNamespaceCommandOutput | DeleteTemplateAliasCommandOutput | DeleteTemplateCommandOutput | DeleteThemeAliasCommandOutput | DeleteThemeCommandOutput | DeleteUserByPrincipalIdCommandOutput | DeleteUserCommandOutput | DescribeAccountCustomizationCommandOutput | DescribeAccountSettingsCommandOutput | DescribeAccountSubscriptionCommandOutput | DescribeAnalysisCommandOutput | DescribeAnalysisPermissionsCommandOutput | DescribeDashboardCommandOutput | DescribeDashboardPermissionsCommandOutput | DescribeDataSetCommandOutput | DescribeDataSetPermissionsCommandOutput | DescribeDataSourceCommandOutput | DescribeDataSourcePermissionsCommandOutput | DescribeFolderCommandOutput | DescribeFolderPermissionsCommandOutput | DescribeFolderResolvedPermissionsCommandOutput | DescribeGroupCommandOutput | DescribeGroupMembershipCommandOutput | DescribeIAMPolicyAssignmentCommandOutput | DescribeIngestionCommandOutput | DescribeIpRestrictionCommandOutput | DescribeNamespaceCommandOutput | DescribeTemplateAliasCommandOutput | DescribeTemplateCommandOutput | DescribeTemplatePermissionsCommandOutput | DescribeThemeAliasCommandOutput | DescribeThemeCommandOutput | DescribeThemePermissionsCommandOutput | DescribeUserCommandOutput | GenerateEmbedUrlForAnonymousUserCommandOutput | GenerateEmbedUrlForRegisteredUserCommandOutput | GetDashboardEmbedUrlCommandOutput | GetSessionEmbedUrlCommandOutput | ListAnalysesCommandOutput | ListDashboardVersionsCommandOutput | ListDashboardsCommandOutput | ListDataSetsCommandOutput | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput | ListIAMPolicyAssignmentsForUserCommandOutput | ListIngestionsCommandOutput | ListNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateAliasesCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | ListThemeAliasesCommandOutput | ListThemeVersionsCommandOutput | ListThemesCommandOutput | ListUserGroupsCommandOutput | ListUsersCommandOutput | RegisterUserCommandOutput | RestoreAnalysisCommandOutput | SearchAnalysesCommandOutput | SearchDashboardsCommandOutput | SearchFoldersCommandOutput | SearchGroupsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountCustomizationCommandOutput | UpdateAccountSettingsCommandOutput | UpdateAnalysisCommandOutput | UpdateAnalysisPermissionsCommandOutput | UpdateDashboardCommandOutput | UpdateDashboardPermissionsCommandOutput | UpdateDashboardPublishedVersionCommandOutput | UpdateDataSetCommandOutput | UpdateDataSetPermissionsCommandOutput | UpdateDataSourceCommandOutput | UpdateDataSourcePermissionsCommandOutput | UpdateFolderCommandOutput | UpdateFolderPermissionsCommandOutput | UpdateGroupCommandOutput | UpdateIAMPolicyAssignmentCommandOutput | UpdateIpRestrictionCommandOutput | UpdatePublicSharingSettingsCommandOutput | UpdateTemplateAliasCommandOutput | UpdateTemplateCommandOutput | UpdateTemplatePermissionsCommandOutput | UpdateThemeAliasCommandOutput | UpdateThemeCommandOutput | UpdateThemePermissionsCommandOutput | UpdateUserCommandOutput;
134
+ export declare type ServiceInputTypes = CancelIngestionCommandInput | CreateAccountCustomizationCommandInput | CreateAccountSubscriptionCommandInput | CreateAnalysisCommandInput | CreateDashboardCommandInput | CreateDataSetCommandInput | CreateDataSourceCommandInput | CreateFolderCommandInput | CreateFolderMembershipCommandInput | CreateGroupCommandInput | CreateGroupMembershipCommandInput | CreateIAMPolicyAssignmentCommandInput | CreateIngestionCommandInput | CreateNamespaceCommandInput | CreateTemplateAliasCommandInput | CreateTemplateCommandInput | CreateThemeAliasCommandInput | CreateThemeCommandInput | DeleteAccountCustomizationCommandInput | DeleteAccountSubscriptionCommandInput | DeleteAnalysisCommandInput | DeleteDashboardCommandInput | DeleteDataSetCommandInput | DeleteDataSourceCommandInput | DeleteFolderCommandInput | DeleteFolderMembershipCommandInput | DeleteGroupCommandInput | DeleteGroupMembershipCommandInput | DeleteIAMPolicyAssignmentCommandInput | DeleteNamespaceCommandInput | DeleteTemplateAliasCommandInput | DeleteTemplateCommandInput | DeleteThemeAliasCommandInput | DeleteThemeCommandInput | DeleteUserByPrincipalIdCommandInput | DeleteUserCommandInput | DescribeAccountCustomizationCommandInput | DescribeAccountSettingsCommandInput | DescribeAccountSubscriptionCommandInput | DescribeAnalysisCommandInput | DescribeAnalysisPermissionsCommandInput | DescribeDashboardCommandInput | DescribeDashboardPermissionsCommandInput | DescribeDataSetCommandInput | DescribeDataSetPermissionsCommandInput | DescribeDataSourceCommandInput | DescribeDataSourcePermissionsCommandInput | DescribeFolderCommandInput | DescribeFolderPermissionsCommandInput | DescribeFolderResolvedPermissionsCommandInput | DescribeGroupCommandInput | DescribeGroupMembershipCommandInput | DescribeIAMPolicyAssignmentCommandInput | DescribeIngestionCommandInput | DescribeIpRestrictionCommandInput | DescribeNamespaceCommandInput | DescribeTemplateAliasCommandInput | DescribeTemplateCommandInput | DescribeTemplatePermissionsCommandInput | DescribeThemeAliasCommandInput | DescribeThemeCommandInput | DescribeThemePermissionsCommandInput | DescribeUserCommandInput | GenerateEmbedUrlForAnonymousUserCommandInput | GenerateEmbedUrlForRegisteredUserCommandInput | GetDashboardEmbedUrlCommandInput | GetSessionEmbedUrlCommandInput | ListAnalysesCommandInput | ListDashboardVersionsCommandInput | ListDashboardsCommandInput | ListDataSetsCommandInput | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput | ListIAMPolicyAssignmentsForUserCommandInput | ListIngestionsCommandInput | ListNamespacesCommandInput | ListTagsForResourceCommandInput | ListTemplateAliasesCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | ListThemeAliasesCommandInput | ListThemeVersionsCommandInput | ListThemesCommandInput | ListUserGroupsCommandInput | ListUsersCommandInput | RegisterUserCommandInput | RestoreAnalysisCommandInput | SearchAnalysesCommandInput | SearchDashboardsCommandInput | SearchDataSetsCommandInput | SearchDataSourcesCommandInput | SearchFoldersCommandInput | SearchGroupsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountCustomizationCommandInput | UpdateAccountSettingsCommandInput | UpdateAnalysisCommandInput | UpdateAnalysisPermissionsCommandInput | UpdateDashboardCommandInput | UpdateDashboardPermissionsCommandInput | UpdateDashboardPublishedVersionCommandInput | UpdateDataSetCommandInput | UpdateDataSetPermissionsCommandInput | UpdateDataSourceCommandInput | UpdateDataSourcePermissionsCommandInput | UpdateFolderCommandInput | UpdateFolderPermissionsCommandInput | UpdateGroupCommandInput | UpdateIAMPolicyAssignmentCommandInput | UpdateIpRestrictionCommandInput | UpdatePublicSharingSettingsCommandInput | UpdateTemplateAliasCommandInput | UpdateTemplateCommandInput | UpdateTemplatePermissionsCommandInput | UpdateThemeAliasCommandInput | UpdateThemeCommandInput | UpdateThemePermissionsCommandInput | UpdateUserCommandInput;
135
+ export declare type ServiceOutputTypes = CancelIngestionCommandOutput | CreateAccountCustomizationCommandOutput | CreateAccountSubscriptionCommandOutput | CreateAnalysisCommandOutput | CreateDashboardCommandOutput | CreateDataSetCommandOutput | CreateDataSourceCommandOutput | CreateFolderCommandOutput | CreateFolderMembershipCommandOutput | CreateGroupCommandOutput | CreateGroupMembershipCommandOutput | CreateIAMPolicyAssignmentCommandOutput | CreateIngestionCommandOutput | CreateNamespaceCommandOutput | CreateTemplateAliasCommandOutput | CreateTemplateCommandOutput | CreateThemeAliasCommandOutput | CreateThemeCommandOutput | DeleteAccountCustomizationCommandOutput | DeleteAccountSubscriptionCommandOutput | DeleteAnalysisCommandOutput | DeleteDashboardCommandOutput | DeleteDataSetCommandOutput | DeleteDataSourceCommandOutput | DeleteFolderCommandOutput | DeleteFolderMembershipCommandOutput | DeleteGroupCommandOutput | DeleteGroupMembershipCommandOutput | DeleteIAMPolicyAssignmentCommandOutput | DeleteNamespaceCommandOutput | DeleteTemplateAliasCommandOutput | DeleteTemplateCommandOutput | DeleteThemeAliasCommandOutput | DeleteThemeCommandOutput | DeleteUserByPrincipalIdCommandOutput | DeleteUserCommandOutput | DescribeAccountCustomizationCommandOutput | DescribeAccountSettingsCommandOutput | DescribeAccountSubscriptionCommandOutput | DescribeAnalysisCommandOutput | DescribeAnalysisPermissionsCommandOutput | DescribeDashboardCommandOutput | DescribeDashboardPermissionsCommandOutput | DescribeDataSetCommandOutput | DescribeDataSetPermissionsCommandOutput | DescribeDataSourceCommandOutput | DescribeDataSourcePermissionsCommandOutput | DescribeFolderCommandOutput | DescribeFolderPermissionsCommandOutput | DescribeFolderResolvedPermissionsCommandOutput | DescribeGroupCommandOutput | DescribeGroupMembershipCommandOutput | DescribeIAMPolicyAssignmentCommandOutput | DescribeIngestionCommandOutput | DescribeIpRestrictionCommandOutput | DescribeNamespaceCommandOutput | DescribeTemplateAliasCommandOutput | DescribeTemplateCommandOutput | DescribeTemplatePermissionsCommandOutput | DescribeThemeAliasCommandOutput | DescribeThemeCommandOutput | DescribeThemePermissionsCommandOutput | DescribeUserCommandOutput | GenerateEmbedUrlForAnonymousUserCommandOutput | GenerateEmbedUrlForRegisteredUserCommandOutput | GetDashboardEmbedUrlCommandOutput | GetSessionEmbedUrlCommandOutput | ListAnalysesCommandOutput | ListDashboardVersionsCommandOutput | ListDashboardsCommandOutput | ListDataSetsCommandOutput | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput | ListIAMPolicyAssignmentsForUserCommandOutput | ListIngestionsCommandOutput | ListNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateAliasesCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | ListThemeAliasesCommandOutput | ListThemeVersionsCommandOutput | ListThemesCommandOutput | ListUserGroupsCommandOutput | ListUsersCommandOutput | RegisterUserCommandOutput | RestoreAnalysisCommandOutput | SearchAnalysesCommandOutput | SearchDashboardsCommandOutput | SearchDataSetsCommandOutput | SearchDataSourcesCommandOutput | SearchFoldersCommandOutput | SearchGroupsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountCustomizationCommandOutput | UpdateAccountSettingsCommandOutput | UpdateAnalysisCommandOutput | UpdateAnalysisPermissionsCommandOutput | UpdateDashboardCommandOutput | UpdateDashboardPermissionsCommandOutput | UpdateDashboardPublishedVersionCommandOutput | UpdateDataSetCommandOutput | UpdateDataSetPermissionsCommandOutput | UpdateDataSourceCommandOutput | UpdateDataSourcePermissionsCommandOutput | UpdateFolderCommandOutput | UpdateFolderPermissionsCommandOutput | UpdateGroupCommandOutput | UpdateIAMPolicyAssignmentCommandOutput | UpdateIpRestrictionCommandOutput | UpdatePublicSharingSettingsCommandOutput | UpdateTemplateAliasCommandOutput | UpdateTemplateCommandOutput | UpdateTemplatePermissionsCommandOutput | UpdateThemeAliasCommandOutput | UpdateThemeCommandOutput | UpdateThemePermissionsCommandOutput | UpdateUserCommandOutput;
133
136
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
134
137
  /**
135
138
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DeleteAccountSubscriptionRequest, DeleteAccountSubscriptionResponse } from "../models/models_0";
5
+ import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
6
+ export interface DeleteAccountSubscriptionCommandInput extends DeleteAccountSubscriptionRequest {
7
+ }
8
+ export interface DeleteAccountSubscriptionCommandOutput extends DeleteAccountSubscriptionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Use the <code>DeleteAccountSubscription</code> operation to delete an Amazon QuickSight account. This operation will result in an error message if you have configured your account termination protection settings to <code>True</code>. To change this setting and delete your account, call the <code>UpdateAccountSettings</code> API and set the value of the <code>TerminationProtectionEnabled</code> parameter to <code>False</code>, then make another call to the <code>DeleteAccountSubscription</code> API.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { QuickSightClient, DeleteAccountSubscriptionCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
16
+ * // const { QuickSightClient, DeleteAccountSubscriptionCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
17
+ * const client = new QuickSightClient(config);
18
+ * const command = new DeleteAccountSubscriptionCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteAccountSubscriptionCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteAccountSubscriptionCommandOutput} for command's `response` shape.
24
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteAccountSubscriptionCommand extends $Command<DeleteAccountSubscriptionCommandInput, DeleteAccountSubscriptionCommandOutput, QuickSightClientResolvedConfig> {
28
+ readonly input: DeleteAccountSubscriptionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteAccountSubscriptionCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccountSubscriptionCommandInput, DeleteAccountSubscriptionCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -8,7 +8,7 @@ export interface DescribeAccountSubscriptionCommandInput extends DescribeAccount
8
8
  export interface DescribeAccountSubscriptionCommandOutput extends DescribeAccountSubscriptionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Use the DescribeAccountSubscription operation to receive a description of a Amazon QuickSight account's subscription. A successful API call returns an <code>AccountInfo</code> object that includes an account's name, subscription status, authentication type, edition, and notification email address.</p>
11
+ * <p>Use the DescribeAccountSubscription operation to receive a description of an Amazon QuickSight account's subscription. A successful API call returns an <code>AccountInfo</code> object that includes an account's name, subscription status, authentication type, edition, and notification email address.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript