Skip to content

Commit 9060d22

Browse files
author
awstools
committed
feat(client-quicksight): QuickSight: Add support for exporting and importing folders in AssetBundle APIs
1 parent 7f9f812 commit 9060d22

16 files changed

+996
-446
lines changed

clients/client-quicksight/src/commands/CreateDataSetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
CreateDataSetRequest,
1010
CreateDataSetRequestFilterSensitiveLog,
1111
CreateDataSetResponse,
12-
} from "../models/models_2";
12+
} from "../models/models_3";
1313
import { de_CreateDataSetCommand, se_CreateDataSetCommand } from "../protocols/Aws_restJson1";
1414
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1515

clients/client-quicksight/src/commands/CreateTopicCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
285285
* ],
286286
* },
287287
* ],
288+
* ConfigOptions: { // TopicConfigOptions
289+
* QBusinessInsightsEnabled: true || false,
290+
* },
288291
* },
289292
* Tags: [ // TagList
290293
* { // Tag

clients/client-quicksight/src/commands/DescribeAssetBundleExportJobCommand.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,14 @@ export interface DescribeAssetBundleExportJobCommandOutput
131131
* // ],
132132
* // },
133133
* // ],
134+
* // Folders: [ // AssetBundleExportJobFolderOverridePropertiesList
135+
* // { // AssetBundleExportJobFolderOverrideProperties
136+
* // Arn: "STRING_VALUE", // required
137+
* // Properties: [ // AssetBundleExportJobFolderPropertyToOverrideList // required
138+
* // "Name" || "ParentFolderArn",
139+
* // ],
140+
* // },
141+
* // ],
134142
* // },
135143
* // RequestId: "STRING_VALUE",
136144
* // Status: Number("int"),
@@ -145,6 +153,8 @@ export interface DescribeAssetBundleExportJobCommandOutput
145153
* // Message: "STRING_VALUE",
146154
* // },
147155
* // ],
156+
* // IncludeFolderMemberships: true || false,
157+
* // IncludeFolderMembers: "RECURSE" || "ONE_LEVEL" || "NONE",
148158
* // };
149159
*
150160
* ```

clients/client-quicksight/src/commands/DescribeAssetBundleImportJobCommand.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,13 @@ export interface DescribeAssetBundleImportJobCommandOutput
276276
* // Name: "STRING_VALUE",
277277
* // },
278278
* // ],
279+
* // Folders: [ // AssetBundleImportJobFolderOverrideParametersList
280+
* // { // AssetBundleImportJobFolderOverrideParameters
281+
* // FolderId: "STRING_VALUE", // required
282+
* // Name: "STRING_VALUE",
283+
* // ParentFolderArn: "STRING_VALUE",
284+
* // },
285+
* // ],
279286
* // },
280287
* // FailureAction: "DO_NOTHING" || "ROLLBACK",
281288
* // RequestId: "STRING_VALUE",
@@ -359,6 +366,12 @@ export interface DescribeAssetBundleImportJobCommandOutput
359366
* // },
360367
* // },
361368
* // ],
369+
* // Folders: [ // AssetBundleImportJobFolderOverridePermissionsList
370+
* // { // AssetBundleImportJobFolderOverridePermissions
371+
* // FolderIds: "<AssetBundleRestrictiveResourceIdList>", // required
372+
* // Permissions: "<AssetBundleResourcePermissions>",
373+
* // },
374+
* // ],
362375
* // },
363376
* // OverrideTags: { // AssetBundleImportJobOverrideTags
364377
* // VPCConnections: [ // AssetBundleImportJobVPCConnectionOverrideTagsList
@@ -422,6 +435,12 @@ export interface DescribeAssetBundleImportJobCommandOutput
422435
* // Tags: "<TagList>", // required
423436
* // },
424437
* // ],
438+
* // Folders: [ // AssetBundleImportJobFolderOverrideTagsList
439+
* // { // AssetBundleImportJobFolderOverrideTags
440+
* // FolderIds: "<AssetBundleRestrictiveResourceIdList>", // required
441+
* // Tags: "<TagList>", // required
442+
* // },
443+
* // ],
425444
* // },
426445
* // OverrideValidationStrategy: { // AssetBundleImportJobOverrideValidationStrategy
427446
* // StrictModeForAllResources: true || false,

clients/client-quicksight/src/commands/DescribeTopicCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ export interface DescribeTopicCommandOutput extends DescribeTopicResponse, __Met
295295
* // ],
296296
* // },
297297
* // ],
298+
* // ConfigOptions: { // TopicConfigOptions
299+
* // QBusinessInsightsEnabled: true || false,
300+
* // },
298301
* // },
299302
* // RequestId: "STRING_VALUE",
300303
* // Status: Number("int"),

clients/client-quicksight/src/commands/DescribeTopicRefreshCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeTopicRefreshRequest, DescribeTopicRefreshResponse } from "../models/models_3";
8+
import { DescribeTopicRefreshRequest } from "../models/models_3";
9+
import { DescribeTopicRefreshResponse } from "../models/models_4";
910
import { de_DescribeTopicRefreshCommand, se_DescribeTopicRefreshCommand } from "../protocols/Aws_restJson1";
1011
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1112

clients/client-quicksight/src/commands/DescribeTopicRefreshScheduleCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeTopicRefreshScheduleRequest, DescribeTopicRefreshScheduleResponse } from "../models/models_3";
8+
import { DescribeTopicRefreshScheduleRequest, DescribeTopicRefreshScheduleResponse } from "../models/models_4";
99
import {
1010
de_DescribeTopicRefreshScheduleCommand,
1111
se_DescribeTopicRefreshScheduleCommand,

clients/client-quicksight/src/commands/DescribeUserCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeUserRequest } from "../models/models_3";
9-
import { DescribeUserResponse } from "../models/models_4";
8+
import { DescribeUserRequest, DescribeUserResponse } from "../models/models_4";
109
import { de_DescribeUserCommand, se_DescribeUserCommand } from "../protocols/Aws_restJson1";
1110
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1211

clients/client-quicksight/src/commands/StartAssetBundleExportJobCommand.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,22 @@ export interface StartAssetBundleExportJobCommandOutput extends StartAssetBundle
105105
* ],
106106
* },
107107
* ],
108+
* Folders: [ // AssetBundleExportJobFolderOverridePropertiesList
109+
* { // AssetBundleExportJobFolderOverrideProperties
110+
* Arn: "STRING_VALUE", // required
111+
* Properties: [ // AssetBundleExportJobFolderPropertyToOverrideList // required
112+
* "Name" || "ParentFolderArn",
113+
* ],
114+
* },
115+
* ],
108116
* },
109117
* IncludePermissions: true || false,
110118
* IncludeTags: true || false,
111119
* ValidationStrategy: { // AssetBundleExportJobValidationStrategy
112120
* StrictModeForAllResources: true || false,
113121
* },
122+
* IncludeFolderMemberships: true || false,
123+
* IncludeFolderMembers: "RECURSE" || "ONE_LEVEL" || "NONE",
114124
* };
115125
* const command = new StartAssetBundleExportJobCommand(input);
116126
* const response = await client.send(command);

clients/client-quicksight/src/commands/StartAssetBundleImportJobCommand.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,13 @@ export interface StartAssetBundleImportJobCommandOutput extends StartAssetBundle
249249
* Name: "STRING_VALUE",
250250
* },
251251
* ],
252+
* Folders: [ // AssetBundleImportJobFolderOverrideParametersList
253+
* { // AssetBundleImportJobFolderOverrideParameters
254+
* FolderId: "STRING_VALUE", // required
255+
* Name: "STRING_VALUE",
256+
* ParentFolderArn: "STRING_VALUE",
257+
* },
258+
* ],
252259
* },
253260
* FailureAction: "DO_NOTHING" || "ROLLBACK",
254261
* OverridePermissions: { // AssetBundleImportJobOverridePermissions
@@ -330,6 +337,12 @@ export interface StartAssetBundleImportJobCommandOutput extends StartAssetBundle
330337
* },
331338
* },
332339
* ],
340+
* Folders: [ // AssetBundleImportJobFolderOverridePermissionsList
341+
* { // AssetBundleImportJobFolderOverridePermissions
342+
* FolderIds: "<AssetBundleRestrictiveResourceIdList>", // required
343+
* Permissions: "<AssetBundleResourcePermissions>",
344+
* },
345+
* ],
333346
* },
334347
* OverrideTags: { // AssetBundleImportJobOverrideTags
335348
* VPCConnections: [ // AssetBundleImportJobVPCConnectionOverrideTagsList
@@ -393,6 +406,12 @@ export interface StartAssetBundleImportJobCommandOutput extends StartAssetBundle
393406
* Tags: "<TagList>", // required
394407
* },
395408
* ],
409+
* Folders: [ // AssetBundleImportJobFolderOverrideTagsList
410+
* { // AssetBundleImportJobFolderOverrideTags
411+
* FolderIds: "<AssetBundleRestrictiveResourceIdList>", // required
412+
* Tags: "<TagList>", // required
413+
* },
414+
* ],
396415
* },
397416
* OverrideValidationStrategy: { // AssetBundleImportJobOverrideValidationStrategy
398417
* StrictModeForAllResources: true || false,

clients/client-quicksight/src/commands/UpdateTopicCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ export interface UpdateTopicCommandOutput extends UpdateTopicResponse, __Metadat
285285
* ],
286286
* },
287287
* ],
288+
* ConfigOptions: { // TopicConfigOptions
289+
* QBusinessInsightsEnabled: true || false,
290+
* },
288291
* },
289292
* };
290293
* const command = new UpdateTopicCommand(input);

0 commit comments

Comments
 (0)