@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
@@ -16,12 +16,16 @@ import {
16
16
  DashboardSummary,
17
17
  DashboardVersionSummary,
18
18
  DashboardVisualId,
19
+ DataSetConfiguration,
19
20
  DataSetImportMode,
21
+ DataSetSearchFilter,
20
22
  DataSetSummary,
21
23
  DataSetUsageConfiguration,
22
24
  DataSource,
23
25
  DataSourceCredentials,
24
26
  DataSourceParameters,
27
+ DataSourceSearchFilter,
28
+ DataSourceSummary,
25
29
  FieldFolder,
26
30
  FilterOperator,
27
31
  FolderType,
@@ -36,16 +40,73 @@ import {
36
40
  ResourceStatus,
37
41
  RowLevelPermissionDataSet,
38
42
  RowLevelPermissionTagConfiguration,
43
+ Sheet,
39
44
  SslProperties,
40
45
  Tag,
41
46
  TemplateAlias,
47
+ TemplateError,
42
48
  TemplateSourceEntity,
43
49
  ThemeAlias,
44
50
  ThemeConfiguration,
45
- ThemeType,
46
51
  VpcConnectionProperties,
47
52
  } from "./models_0";
48
53
  import { QuickSightServiceException as __BaseException } from "./QuickSightServiceException";
54
+ export interface TemplateVersion {
55
+ CreatedTime?: Date;
56
+ Errors?: TemplateError[];
57
+ VersionNumber?: number;
58
+ Status?: ResourceStatus | string;
59
+ DataSetConfigurations?: DataSetConfiguration[];
60
+ Description?: string;
61
+ SourceEntityArn?: string;
62
+ ThemeArn?: string;
63
+ Sheets?: Sheet[];
64
+ }
65
+ export interface Template {
66
+ Arn?: string;
67
+ Name?: string;
68
+ Version?: TemplateVersion;
69
+ TemplateId?: string;
70
+ LastUpdatedTime?: Date;
71
+ CreatedTime?: Date;
72
+ }
73
+ export interface DescribeTemplateResponse {
74
+ Template?: Template;
75
+ Status?: number;
76
+ RequestId?: string;
77
+ }
78
+ export interface DescribeTemplateAliasRequest {
79
+ AwsAccountId: string | undefined;
80
+ TemplateId: string | undefined;
81
+ AliasName: string | undefined;
82
+ }
83
+ export interface DescribeTemplateAliasResponse {
84
+ TemplateAlias?: TemplateAlias;
85
+ Status?: number;
86
+ RequestId?: string;
87
+ }
88
+ export interface DescribeTemplatePermissionsRequest {
89
+ AwsAccountId: string | undefined;
90
+ TemplateId: string | undefined;
91
+ }
92
+ export interface DescribeTemplatePermissionsResponse {
93
+ TemplateId?: string;
94
+ TemplateArn?: string;
95
+ Permissions?: ResourcePermission[];
96
+ RequestId?: string;
97
+ Status?: number;
98
+ }
99
+ export interface DescribeThemeRequest {
100
+ AwsAccountId: string | undefined;
101
+ ThemeId: string | undefined;
102
+ VersionNumber?: number;
103
+ AliasName?: string;
104
+ }
105
+ export declare enum ThemeType {
106
+ ALL = "ALL",
107
+ CUSTOM = "CUSTOM",
108
+ QUICKSIGHT = "QUICKSIGHT",
109
+ }
49
110
  export declare enum ThemeErrorType {
50
111
  INTERNAL_FAILURE = "INTERNAL_FAILURE",
51
112
  }
@@ -147,7 +208,13 @@ export declare enum EmbeddingIdentityType {
147
208
  QUICKSIGHT = "QUICKSIGHT",
148
209
  }
149
210
  export declare enum FolderFilterAttribute {
211
+ DIRECT_QUICKSIGHT_OWNER = "DIRECT_QUICKSIGHT_OWNER",
212
+ DIRECT_QUICKSIGHT_SOLE_OWNER = "DIRECT_QUICKSIGHT_SOLE_OWNER",
213
+ DIRECT_QUICKSIGHT_VIEWER_OR_OWNER = "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER",
214
+ FOLDER_NAME = "FOLDER_NAME",
150
215
  PARENT_FOLDER_ARN = "PARENT_FOLDER_ARN",
216
+ QUICKSIGHT_OWNER = "QUICKSIGHT_OWNER",
217
+ QUICKSIGHT_VIEWER_OR_OWNER = "QUICKSIGHT_VIEWER_OR_OWNER",
151
218
  }
152
219
  export interface MemberIdArnPair {
153
220
  MemberId?: string;
@@ -185,6 +252,7 @@ export interface GenerateEmbedUrlForAnonymousUserResponse {
185
252
  EmbedUrl: string | undefined;
186
253
  Status: number | undefined;
187
254
  RequestId: string | undefined;
255
+ AnonymousUserArn: string | undefined;
188
256
  }
189
257
  export declare class SessionLifetimeInMinutesInvalidException extends __BaseException {
190
258
  readonly name: "SessionLifetimeInMinutesInvalidException";
@@ -309,6 +377,15 @@ export interface IAMPolicyAssignmentSummary {
309
377
  AssignmentName?: string;
310
378
  AssignmentStatus?: AssignmentStatus | string;
311
379
  }
380
+ export declare class InvalidRequestException extends __BaseException {
381
+ readonly name: "InvalidRequestException";
382
+ readonly $fault: "client";
383
+ Message?: string;
384
+ RequestId?: string;
385
+ constructor(
386
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
387
+ );
388
+ }
312
389
  export interface ListAnalysesRequest {
313
390
  AwsAccountId: string | undefined;
314
391
  NextToken?: string;
@@ -650,6 +727,30 @@ export interface SearchDashboardsResponse {
650
727
  Status?: number;
651
728
  RequestId?: string;
652
729
  }
730
+ export interface SearchDataSetsRequest {
731
+ AwsAccountId: string | undefined;
732
+ Filters: DataSetSearchFilter[] | undefined;
733
+ NextToken?: string;
734
+ MaxResults?: number;
735
+ }
736
+ export interface SearchDataSetsResponse {
737
+ DataSetSummaries?: DataSetSummary[];
738
+ NextToken?: string;
739
+ Status?: number;
740
+ RequestId?: string;
741
+ }
742
+ export interface SearchDataSourcesRequest {
743
+ AwsAccountId: string | undefined;
744
+ Filters: DataSourceSearchFilter[] | undefined;
745
+ NextToken?: string;
746
+ MaxResults?: number;
747
+ }
748
+ export interface SearchDataSourcesResponse {
749
+ DataSourceSummaries?: DataSourceSummary[];
750
+ NextToken?: string;
751
+ Status?: number;
752
+ RequestId?: string;
753
+ }
653
754
  export interface SearchFoldersRequest {
654
755
  AwsAccountId: string | undefined;
655
756
  Filters: FolderSearchFilter[] | undefined;
@@ -708,6 +809,7 @@ export interface UpdateAccountSettingsRequest {
708
809
  AwsAccountId: string | undefined;
709
810
  DefaultNamespace: string | undefined;
710
811
  NotificationEmail?: string;
812
+ TerminationProtectionEnabled?: boolean;
711
813
  }
712
814
  export interface UpdateAccountSettingsResponse {
713
815
  RequestId?: string;
@@ -1014,6 +1116,28 @@ export interface UpdateUserResponse {
1014
1116
  RequestId?: string;
1015
1117
  Status?: number;
1016
1118
  }
1119
+ export declare const TemplateVersionFilterSensitiveLog: (
1120
+ obj: TemplateVersion
1121
+ ) => any;
1122
+ export declare const TemplateFilterSensitiveLog: (obj: Template) => any;
1123
+ export declare const DescribeTemplateResponseFilterSensitiveLog: (
1124
+ obj: DescribeTemplateResponse
1125
+ ) => any;
1126
+ export declare const DescribeTemplateAliasRequestFilterSensitiveLog: (
1127
+ obj: DescribeTemplateAliasRequest
1128
+ ) => any;
1129
+ export declare const DescribeTemplateAliasResponseFilterSensitiveLog: (
1130
+ obj: DescribeTemplateAliasResponse
1131
+ ) => any;
1132
+ export declare const DescribeTemplatePermissionsRequestFilterSensitiveLog: (
1133
+ obj: DescribeTemplatePermissionsRequest
1134
+ ) => any;
1135
+ export declare const DescribeTemplatePermissionsResponseFilterSensitiveLog: (
1136
+ obj: DescribeTemplatePermissionsResponse
1137
+ ) => any;
1138
+ export declare const DescribeThemeRequestFilterSensitiveLog: (
1139
+ obj: DescribeThemeRequest
1140
+ ) => any;
1017
1141
  export declare const ThemeErrorFilterSensitiveLog: (obj: ThemeError) => any;
1018
1142
  export declare const ThemeVersionFilterSensitiveLog: (obj: ThemeVersion) => any;
1019
1143
  export declare const ThemeFilterSensitiveLog: (obj: Theme) => any;
@@ -1260,6 +1384,18 @@ export declare const SearchDashboardsRequestFilterSensitiveLog: (
1260
1384
  export declare const SearchDashboardsResponseFilterSensitiveLog: (
1261
1385
  obj: SearchDashboardsResponse
1262
1386
  ) => any;
1387
+ export declare const SearchDataSetsRequestFilterSensitiveLog: (
1388
+ obj: SearchDataSetsRequest
1389
+ ) => any;
1390
+ export declare const SearchDataSetsResponseFilterSensitiveLog: (
1391
+ obj: SearchDataSetsResponse
1392
+ ) => any;
1393
+ export declare const SearchDataSourcesRequestFilterSensitiveLog: (
1394
+ obj: SearchDataSourcesRequest
1395
+ ) => any;
1396
+ export declare const SearchDataSourcesResponseFilterSensitiveLog: (
1397
+ obj: SearchDataSourcesResponse
1398
+ ) => any;
1263
1399
  export declare const SearchFoldersRequestFilterSensitiveLog: (
1264
1400
  obj: SearchFoldersRequest
1265
1401
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ SearchDataSetsCommandInput,
4
+ SearchDataSetsCommandOutput,
5
+ } from "../commands/SearchDataSetsCommand";
6
+ import { QuickSightPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateSearchDataSets(
8
+ config: QuickSightPaginationConfiguration,
9
+ input: SearchDataSetsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<SearchDataSetsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ SearchDataSourcesCommandInput,
4
+ SearchDataSourcesCommandOutput,
5
+ } from "../commands/SearchDataSourcesCommand";
6
+ import { QuickSightPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateSearchDataSources(
8
+ config: QuickSightPaginationConfiguration,
9
+ input: SearchDataSourcesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<SearchDataSourcesCommandOutput>;
@@ -13,3 +13,5 @@ export * from "./ListThemeVersionsPaginator";
13
13
  export * from "./ListThemesPaginator";
14
14
  export * from "./SearchAnalysesPaginator";
15
15
  export * from "./SearchDashboardsPaginator";
16
+ export * from "./SearchDataSetsPaginator";
17
+ export * from "./SearchDataSourcesPaginator";
@@ -79,6 +79,10 @@ import {
79
79
  DeleteAccountCustomizationCommandInput,
80
80
  DeleteAccountCustomizationCommandOutput,
81
81
  } from "../commands/DeleteAccountCustomizationCommand";
82
+ import {
83
+ DeleteAccountSubscriptionCommandInput,
84
+ DeleteAccountSubscriptionCommandOutput,
85
+ } from "../commands/DeleteAccountSubscriptionCommand";
82
86
  import {
83
87
  DeleteAnalysisCommandInput,
84
88
  DeleteAnalysisCommandOutput,
@@ -371,6 +375,14 @@ import {
371
375
  SearchDashboardsCommandInput,
372
376
  SearchDashboardsCommandOutput,
373
377
  } from "../commands/SearchDashboardsCommand";
378
+ import {
379
+ SearchDataSetsCommandInput,
380
+ SearchDataSetsCommandOutput,
381
+ } from "../commands/SearchDataSetsCommand";
382
+ import {
383
+ SearchDataSourcesCommandInput,
384
+ SearchDataSourcesCommandOutput,
385
+ } from "../commands/SearchDataSourcesCommand";
374
386
  import {
375
387
  SearchFoldersCommandInput,
376
388
  SearchFoldersCommandOutput,
@@ -559,6 +571,10 @@ export declare const serializeAws_restJson1DeleteAccountCustomizationCommand: (
559
571
  input: DeleteAccountCustomizationCommandInput,
560
572
  context: __SerdeContext
561
573
  ) => Promise<__HttpRequest>;
574
+ export declare const serializeAws_restJson1DeleteAccountSubscriptionCommand: (
575
+ input: DeleteAccountSubscriptionCommandInput,
576
+ context: __SerdeContext
577
+ ) => Promise<__HttpRequest>;
562
578
  export declare const serializeAws_restJson1DeleteAnalysisCommand: (
563
579
  input: DeleteAnalysisCommandInput,
564
580
  context: __SerdeContext
@@ -851,6 +867,14 @@ export declare const serializeAws_restJson1SearchDashboardsCommand: (
851
867
  input: SearchDashboardsCommandInput,
852
868
  context: __SerdeContext
853
869
  ) => Promise<__HttpRequest>;
870
+ export declare const serializeAws_restJson1SearchDataSetsCommand: (
871
+ input: SearchDataSetsCommandInput,
872
+ context: __SerdeContext
873
+ ) => Promise<__HttpRequest>;
874
+ export declare const serializeAws_restJson1SearchDataSourcesCommand: (
875
+ input: SearchDataSourcesCommandInput,
876
+ context: __SerdeContext
877
+ ) => Promise<__HttpRequest>;
854
878
  export declare const serializeAws_restJson1SearchFoldersCommand: (
855
879
  input: SearchFoldersCommandInput,
856
880
  context: __SerdeContext
@@ -1039,6 +1063,10 @@ export declare const deserializeAws_restJson1DeleteAccountCustomizationCommand:
1039
1063
  output: __HttpResponse,
1040
1064
  context: __SerdeContext
1041
1065
  ) => Promise<DeleteAccountCustomizationCommandOutput>;
1066
+ export declare const deserializeAws_restJson1DeleteAccountSubscriptionCommand: (
1067
+ output: __HttpResponse,
1068
+ context: __SerdeContext
1069
+ ) => Promise<DeleteAccountSubscriptionCommandOutput>;
1042
1070
  export declare const deserializeAws_restJson1DeleteAnalysisCommand: (
1043
1071
  output: __HttpResponse,
1044
1072
  context: __SerdeContext
@@ -1331,6 +1359,14 @@ export declare const deserializeAws_restJson1SearchDashboardsCommand: (
1331
1359
  output: __HttpResponse,
1332
1360
  context: __SerdeContext
1333
1361
  ) => Promise<SearchDashboardsCommandOutput>;
1362
+ export declare const deserializeAws_restJson1SearchDataSetsCommand: (
1363
+ output: __HttpResponse,
1364
+ context: __SerdeContext
1365
+ ) => Promise<SearchDataSetsCommandOutput>;
1366
+ export declare const deserializeAws_restJson1SearchDataSourcesCommand: (
1367
+ output: __HttpResponse,
1368
+ context: __SerdeContext
1369
+ ) => Promise<SearchDataSourcesCommandOutput>;
1334
1370
  export declare const deserializeAws_restJson1SearchFoldersCommand: (
1335
1371
  output: __HttpResponse,
1336
1372
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-quicksight",
3
3
  "description": "AWS SDK for JavaScript Quicksight Client for Node.js, Browser and React Native",
4
- "version": "3.212.0",
4
+ "version": "3.214.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.212.0",
22
+ "@aws-sdk/client-sts": "3.213.0",
23
23
  "@aws-sdk/config-resolver": "3.212.0",
24
24
  "@aws-sdk/credential-provider-node": "3.212.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.212.0",