From 31b656fc0cbcad1daac325f67a4e8694566f2272 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 19 Sep 2024 18:18:29 +0000 Subject: [PATCH] feat(client-quicksight): QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors. --- clients/client-quicksight/README.md | 8 + clients/client-quicksight/src/QuickSight.ts | 23 +++ .../client-quicksight/src/QuickSightClient.ts | 6 + .../src/commands/CreateAnalysisCommand.ts | 19 ++ .../src/commands/CreateDashboardCommand.ts | 19 ++ .../src/commands/CreateTemplateCommand.ts | 19 ++ .../DescribeAnalysisDefinitionCommand.ts | 19 ++ .../DescribeDashboardDefinitionCommand.ts | 19 ++ .../DescribeTemplateDefinitionCommand.ts | 19 ++ .../commands/DescribeVPCConnectionCommand.ts | 3 +- .../commands/ListFoldersForResourceCommand.ts | 127 ++++++++++++ .../src/commands/UpdateAnalysisCommand.ts | 19 ++ .../src/commands/UpdateDashboardCommand.ts | 19 ++ .../src/commands/UpdateTemplateCommand.ts | 19 ++ .../client-quicksight/src/commands/index.ts | 1 + .../client-quicksight/src/models/models_0.ts | 70 +++++-- .../client-quicksight/src/models/models_1.ts | 89 ++------ .../client-quicksight/src/models/models_2.ts | 112 ++++++---- .../client-quicksight/src/models/models_3.ts | 54 +++-- .../client-quicksight/src/models/models_4.ts | 79 ++++++- .../ListFoldersForResourcePaginator.ts | 24 +++ .../client-quicksight/src/pagination/index.ts | 1 + .../src/protocols/Aws_restJson1.ts | 57 +++++- .../sdk-codegen/aws-models/quicksight.json | 192 ++++++++++++++++++ 24 files changed, 869 insertions(+), 148 deletions(-) create mode 100644 clients/client-quicksight/src/commands/ListFoldersForResourceCommand.ts create mode 100644 clients/client-quicksight/src/pagination/ListFoldersForResourcePaginator.ts diff --git a/clients/client-quicksight/README.md b/clients/client-quicksight/README.md index 40ab8aa9183c..7950b0d25d8c 100644 --- a/clients/client-quicksight/README.md +++ b/clients/client-quicksight/README.md @@ -1063,6 +1063,14 @@ ListFolders [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/quicksight/command/ListFoldersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/ListFoldersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/ListFoldersCommandOutput/) + +
+ +ListFoldersForResource + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/quicksight/command/ListFoldersForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/ListFoldersForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/ListFoldersForResourceCommandOutput/) +
diff --git a/clients/client-quicksight/src/QuickSight.ts b/clients/client-quicksight/src/QuickSight.ts index cd10aa75649d..94cfe43575e1 100644 --- a/clients/client-quicksight/src/QuickSight.ts +++ b/clients/client-quicksight/src/QuickSight.ts @@ -505,6 +505,11 @@ import { ListFolderMembersCommandOutput, } from "./commands/ListFolderMembersCommand"; import { ListFoldersCommand, ListFoldersCommandInput, ListFoldersCommandOutput } from "./commands/ListFoldersCommand"; +import { + ListFoldersForResourceCommand, + ListFoldersForResourceCommandInput, + ListFoldersForResourceCommandOutput, +} from "./commands/ListFoldersForResourceCommand"; import { ListGroupMembershipsCommand, ListGroupMembershipsCommandInput, @@ -929,6 +934,7 @@ const commands = { ListDataSourcesCommand, ListFolderMembersCommand, ListFoldersCommand, + ListFoldersForResourceCommand, ListGroupMembershipsCommand, ListGroupsCommand, ListIAMPolicyAssignmentsCommand, @@ -2671,6 +2677,23 @@ export interface QuickSight { cb: (err: any, data?: ListFoldersCommandOutput) => void ): void; + /** + * @see {@link ListFoldersForResourceCommand} + */ + listFoldersForResource( + args: ListFoldersForResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listFoldersForResource( + args: ListFoldersForResourceCommandInput, + cb: (err: any, data?: ListFoldersForResourceCommandOutput) => void + ): void; + listFoldersForResource( + args: ListFoldersForResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListFoldersForResourceCommandOutput) => void + ): void; + /** * @see {@link ListGroupMembershipsCommand} */ diff --git a/clients/client-quicksight/src/QuickSightClient.ts b/clients/client-quicksight/src/QuickSightClient.ts index ebbe084d3784..5514d4a1f43f 100644 --- a/clients/client-quicksight/src/QuickSightClient.ts +++ b/clients/client-quicksight/src/QuickSightClient.ts @@ -346,6 +346,10 @@ import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand"; import { ListFolderMembersCommandInput, ListFolderMembersCommandOutput } from "./commands/ListFolderMembersCommand"; import { ListFoldersCommandInput, ListFoldersCommandOutput } from "./commands/ListFoldersCommand"; +import { + ListFoldersForResourceCommandInput, + ListFoldersForResourceCommandOutput, +} from "./commands/ListFoldersForResourceCommand"; import { ListGroupMembershipsCommandInput, ListGroupMembershipsCommandOutput, @@ -652,6 +656,7 @@ export type ServiceInputTypes = | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput + | ListFoldersForResourceCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput @@ -834,6 +839,7 @@ export type ServiceOutputTypes = | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput + | ListFoldersForResourceCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput diff --git a/clients/client-quicksight/src/commands/CreateAnalysisCommand.ts b/clients/client-quicksight/src/commands/CreateAnalysisCommand.ts index 28cafacd9492..e6b7d42f2cdc 100644 --- a/clients/client-quicksight/src/commands/CreateAnalysisCommand.ts +++ b/clients/client-quicksight/src/commands/CreateAnalysisCommand.ts @@ -249,6 +249,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // ParameterTextFieldControl * ParameterControlId: "STRING_VALUE", // required @@ -337,6 +338,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, * Type: "SINGLE_VALUED" || "DATE_RANGE", + * CommitMode: "AUTO" || "MANUAL", * }, * List: { // FilterListControl * FilterControlId: "STRING_VALUE", // required @@ -395,6 +397,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // FilterTextFieldControl * FilterControlId: "STRING_VALUE", // required @@ -443,6 +446,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * CrossSheet: { // FilterCrossSheetControl * FilterControlId: "STRING_VALUE", // required @@ -4544,6 +4548,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { // DefaultFilterListControlOptions * DisplayOptions: { @@ -4573,6 +4578,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * SelectableValues: { * Values: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * DisplayOptions: { @@ -4607,6 +4613,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4639,6 +4646,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4662,6 +4670,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4694,6 +4703,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4719,6 +4729,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4740,6 +4751,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4772,6 +4784,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4792,6 +4805,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4802,6 +4816,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4823,6 +4838,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4855,6 +4871,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4865,6 +4882,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4882,6 +4900,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M * }, * DefaultRelativeDateTimeOptions: { * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, diff --git a/clients/client-quicksight/src/commands/CreateDashboardCommand.ts b/clients/client-quicksight/src/commands/CreateDashboardCommand.ts index d02b1bde37c0..c17e57f50f74 100644 --- a/clients/client-quicksight/src/commands/CreateDashboardCommand.ts +++ b/clients/client-quicksight/src/commands/CreateDashboardCommand.ts @@ -295,6 +295,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // ParameterTextFieldControl * ParameterControlId: "STRING_VALUE", // required @@ -383,6 +384,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, * Type: "SINGLE_VALUED" || "DATE_RANGE", + * CommitMode: "AUTO" || "MANUAL", * }, * List: { // FilterListControl * FilterControlId: "STRING_VALUE", // required @@ -441,6 +443,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // FilterTextFieldControl * FilterControlId: "STRING_VALUE", // required @@ -489,6 +492,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * CrossSheet: { // FilterCrossSheetControl * FilterControlId: "STRING_VALUE", // required @@ -4588,6 +4592,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { // DefaultFilterListControlOptions * DisplayOptions: { @@ -4617,6 +4622,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * SelectableValues: { * Values: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * DisplayOptions: { @@ -4651,6 +4657,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4683,6 +4690,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4706,6 +4714,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4738,6 +4747,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4763,6 +4773,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4784,6 +4795,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4816,6 +4828,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4836,6 +4849,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4846,6 +4860,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4867,6 +4882,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4899,6 +4915,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4909,6 +4926,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4926,6 +4944,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _ * }, * DefaultRelativeDateTimeOptions: { * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, diff --git a/clients/client-quicksight/src/commands/CreateTemplateCommand.ts b/clients/client-quicksight/src/commands/CreateTemplateCommand.ts index 863cadd40bb4..cf499fea68d3 100644 --- a/clients/client-quicksight/src/commands/CreateTemplateCommand.ts +++ b/clients/client-quicksight/src/commands/CreateTemplateCommand.ts @@ -243,6 +243,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // ParameterTextFieldControl * ParameterControlId: "STRING_VALUE", // required @@ -331,6 +332,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, * Type: "SINGLE_VALUED" || "DATE_RANGE", + * CommitMode: "AUTO" || "MANUAL", * }, * List: { // FilterListControl * FilterControlId: "STRING_VALUE", // required @@ -389,6 +391,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // FilterTextFieldControl * FilterControlId: "STRING_VALUE", // required @@ -437,6 +440,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * CrossSheet: { // FilterCrossSheetControl * FilterControlId: "STRING_VALUE", // required @@ -4538,6 +4542,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { // DefaultFilterListControlOptions * DisplayOptions: { @@ -4567,6 +4572,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * SelectableValues: { * Values: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * DisplayOptions: { @@ -4601,6 +4607,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4633,6 +4640,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4656,6 +4664,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4688,6 +4697,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4713,6 +4723,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4734,6 +4745,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4766,6 +4778,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4786,6 +4799,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4796,6 +4810,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4817,6 +4832,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4849,6 +4865,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4859,6 +4876,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4876,6 +4894,7 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M * }, * DefaultRelativeDateTimeOptions: { * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, diff --git a/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts b/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts index 0c613f7b3d17..be7de865ac78 100644 --- a/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts @@ -215,6 +215,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // }, * // ], * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // TextField: { // ParameterTextFieldControl * // ParameterControlId: "STRING_VALUE", // required @@ -303,6 +304,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, * // Type: "SINGLE_VALUED" || "DATE_RANGE", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // List: { // FilterListControl * // FilterControlId: "STRING_VALUE", // required @@ -361,6 +363,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // }, * // ], * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // TextField: { // FilterTextFieldControl * // FilterControlId: "STRING_VALUE", // required @@ -409,6 +412,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // CrossSheet: { // FilterCrossSheetControl * // FilterControlId: "STRING_VALUE", // required @@ -4510,6 +4514,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { // DefaultFilterListControlOptions * // DisplayOptions: { @@ -4539,6 +4544,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // SelectableValues: { * // Values: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * // DisplayOptions: { @@ -4573,6 +4579,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4605,6 +4612,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: { @@ -4628,6 +4636,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // }, * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: { @@ -4660,6 +4669,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4685,6 +4695,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: { @@ -4706,6 +4717,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // }, * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: { @@ -4738,6 +4750,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4758,6 +4771,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DefaultDateTimePickerOptions: { * // Type: "SINGLE_VALUED" || "DATE_RANGE", * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: "", @@ -4768,6 +4782,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DisplayOptions: "", * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: "", @@ -4789,6 +4804,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4821,6 +4837,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DefaultDateTimePickerOptions: { * // Type: "SINGLE_VALUED" || "DATE_RANGE", * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: "", @@ -4831,6 +4848,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // DisplayOptions: "", * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: "", @@ -4848,6 +4866,7 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi * // }, * // DefaultRelativeDateTimeOptions: { * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, diff --git a/clients/client-quicksight/src/commands/DescribeDashboardDefinitionCommand.ts b/clients/client-quicksight/src/commands/DescribeDashboardDefinitionCommand.ts index f91b764ac78b..c88f40c9849f 100644 --- a/clients/client-quicksight/src/commands/DescribeDashboardDefinitionCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeDashboardDefinitionCommand.ts @@ -222,6 +222,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // }, * // ], * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // TextField: { // ParameterTextFieldControl * // ParameterControlId: "STRING_VALUE", // required @@ -310,6 +311,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, * // Type: "SINGLE_VALUED" || "DATE_RANGE", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // List: { // FilterListControl * // FilterControlId: "STRING_VALUE", // required @@ -368,6 +370,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // }, * // ], * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // TextField: { // FilterTextFieldControl * // FilterControlId: "STRING_VALUE", // required @@ -416,6 +419,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // CrossSheet: { // FilterCrossSheetControl * // FilterControlId: "STRING_VALUE", // required @@ -4517,6 +4521,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { // DefaultFilterListControlOptions * // DisplayOptions: { @@ -4546,6 +4551,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // SelectableValues: { * // Values: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * // DisplayOptions: { @@ -4580,6 +4586,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4612,6 +4619,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: { @@ -4635,6 +4643,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // }, * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: { @@ -4667,6 +4676,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4692,6 +4702,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: { @@ -4713,6 +4724,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // }, * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: { @@ -4745,6 +4757,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4765,6 +4778,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DefaultDateTimePickerOptions: { * // Type: "SINGLE_VALUED" || "DATE_RANGE", * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: "", @@ -4775,6 +4789,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DisplayOptions: "", * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: "", @@ -4796,6 +4811,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4828,6 +4844,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DefaultDateTimePickerOptions: { * // Type: "SINGLE_VALUED" || "DATE_RANGE", * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: "", @@ -4838,6 +4855,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // DisplayOptions: "", * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: "", @@ -4855,6 +4873,7 @@ export interface DescribeDashboardDefinitionCommandOutput * // }, * // DefaultRelativeDateTimeOptions: { * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, diff --git a/clients/client-quicksight/src/commands/DescribeTemplateDefinitionCommand.ts b/clients/client-quicksight/src/commands/DescribeTemplateDefinitionCommand.ts index 4ead19638a55..bfe6fb974d6b 100644 --- a/clients/client-quicksight/src/commands/DescribeTemplateDefinitionCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeTemplateDefinitionCommand.ts @@ -235,6 +235,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // }, * // ], * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // TextField: { // ParameterTextFieldControl * // ParameterControlId: "STRING_VALUE", // required @@ -323,6 +324,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, * // Type: "SINGLE_VALUED" || "DATE_RANGE", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // List: { // FilterListControl * // FilterControlId: "STRING_VALUE", // required @@ -381,6 +383,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // }, * // ], * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // TextField: { // FilterTextFieldControl * // FilterControlId: "STRING_VALUE", // required @@ -429,6 +432,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // CrossSheet: { // FilterCrossSheetControl * // FilterControlId: "STRING_VALUE", // required @@ -4530,6 +4534,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { // DefaultFilterListControlOptions * // DisplayOptions: { @@ -4559,6 +4564,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // SelectableValues: { * // Values: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * // DisplayOptions: { @@ -4593,6 +4599,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4625,6 +4632,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: { @@ -4648,6 +4656,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // }, * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: { @@ -4680,6 +4689,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4705,6 +4715,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // HelperTextVisibility: "HIDDEN" || "VISIBLE", * // DateIconVisibility: "HIDDEN" || "VISIBLE", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: { @@ -4726,6 +4737,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // }, * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: { @@ -4758,6 +4770,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4778,6 +4791,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DefaultDateTimePickerOptions: { * // Type: "SINGLE_VALUED" || "DATE_RANGE", * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: "", @@ -4788,6 +4802,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DisplayOptions: "", * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: "", @@ -4809,6 +4824,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DateTimeFormat: "STRING_VALUE", * // InfoIconLabelOptions: "", * // }, + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, @@ -4841,6 +4857,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DefaultDateTimePickerOptions: { * // Type: "SINGLE_VALUED" || "DATE_RANGE", * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultListOptions: { * // DisplayOptions: "", @@ -4851,6 +4868,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // DisplayOptions: "", * // Type: "MULTI_SELECT" || "SINGLE_SELECT", * // SelectableValues: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // DefaultTextFieldOptions: { * // DisplayOptions: "", @@ -4868,6 +4886,7 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat * // }, * // DefaultRelativeDateTimeOptions: { * // DisplayOptions: "", + * // CommitMode: "AUTO" || "MANUAL", * // }, * // }, * // }, diff --git a/clients/client-quicksight/src/commands/DescribeVPCConnectionCommand.ts b/clients/client-quicksight/src/commands/DescribeVPCConnectionCommand.ts index 49fe7efea669..ff49ce154455 100644 --- a/clients/client-quicksight/src/commands/DescribeVPCConnectionCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeVPCConnectionCommand.ts @@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeVPCConnectionRequest } from "../models/models_3"; -import { DescribeVPCConnectionResponse } from "../models/models_4"; +import { DescribeVPCConnectionRequest, DescribeVPCConnectionResponse } from "../models/models_4"; import { de_DescribeVPCConnectionCommand, se_DescribeVPCConnectionCommand } from "../protocols/Aws_restJson1"; import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; diff --git a/clients/client-quicksight/src/commands/ListFoldersForResourceCommand.ts b/clients/client-quicksight/src/commands/ListFoldersForResourceCommand.ts new file mode 100644 index 000000000000..9538eea75ac2 --- /dev/null +++ b/clients/client-quicksight/src/commands/ListFoldersForResourceCommand.ts @@ -0,0 +1,127 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListFoldersForResourceRequest, ListFoldersForResourceResponse } from "../models/models_4"; +import { de_ListFoldersForResourceCommand, se_ListFoldersForResourceCommand } from "../protocols/Aws_restJson1"; +import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListFoldersForResourceCommand}. + */ +export interface ListFoldersForResourceCommandInput extends ListFoldersForResourceRequest {} +/** + * @public + * + * The output of {@link ListFoldersForResourceCommand}. + */ +export interface ListFoldersForResourceCommandOutput extends ListFoldersForResourceResponse, __MetadataBearer {} + +/** + *

List all folders that a resource is a member of.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { QuickSightClient, ListFoldersForResourceCommand } from "@aws-sdk/client-quicksight"; // ES Modules import + * // const { QuickSightClient, ListFoldersForResourceCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import + * const client = new QuickSightClient(config); + * const input = { // ListFoldersForResourceRequest + * AwsAccountId: "STRING_VALUE", // required + * ResourceArn: "STRING_VALUE", // required + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListFoldersForResourceCommand(input); + * const response = await client.send(command); + * // { // ListFoldersForResourceResponse + * // Status: Number("int"), + * // Folders: [ // FoldersForResourceArnList + * // "STRING_VALUE", + * // ], + * // NextToken: "STRING_VALUE", + * // RequestId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListFoldersForResourceCommandInput - {@link ListFoldersForResourceCommandInput} + * @returns {@link ListFoldersForResourceCommandOutput} + * @see {@link ListFoldersForResourceCommandInput} for command's `input` shape. + * @see {@link ListFoldersForResourceCommandOutput} for command's `response` shape. + * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

You don't have access to this item. The provided credentials couldn't be + * validated. You might not be authorized to carry out the request. Make sure that your + * account is authorized to use the Amazon QuickSight service, that your policies have the + * correct permissions, and that you are using the correct credentials.

+ * + * @throws {@link InternalFailureException} (server fault) + *

An internal failure occurred.

+ * + * @throws {@link InvalidNextTokenException} (client fault) + *

The NextToken value isn't valid.

+ * + * @throws {@link InvalidParameterValueException} (client fault) + *

One or more parameters has a value that isn't valid.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

One or more resources can't be found.

+ * + * @throws {@link ThrottlingException} (client fault) + *

Access is throttled.

+ * + * @throws {@link UnsupportedUserEditionException} (client fault) + *

This error indicates that you are calling an operation on an Amazon QuickSight + * subscription where the edition doesn't include support for that operation. Amazon + * Amazon QuickSight currently has Standard Edition and Enterprise Edition. Not every operation and + * capability is available in every edition.

+ * + * @throws {@link QuickSightServiceException} + *

Base exception class for all service exceptions from QuickSight service.

+ * + * @public + */ +export class ListFoldersForResourceCommand extends $Command + .classBuilder< + ListFoldersForResourceCommandInput, + ListFoldersForResourceCommandOutput, + QuickSightClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: QuickSightClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("QuickSight_20180401", "ListFoldersForResource", {}) + .n("QuickSightClient", "ListFoldersForResourceCommand") + .f(void 0, void 0) + .ser(se_ListFoldersForResourceCommand) + .de(de_ListFoldersForResourceCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: ListFoldersForResourceRequest; + output: ListFoldersForResourceResponse; + }; + sdk: { + input: ListFoldersForResourceCommandInput; + output: ListFoldersForResourceCommandOutput; + }; + }; +} diff --git a/clients/client-quicksight/src/commands/UpdateAnalysisCommand.ts b/clients/client-quicksight/src/commands/UpdateAnalysisCommand.ts index c78ef9bf6c93..aed3d910c236 100644 --- a/clients/client-quicksight/src/commands/UpdateAnalysisCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateAnalysisCommand.ts @@ -235,6 +235,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // ParameterTextFieldControl * ParameterControlId: "STRING_VALUE", // required @@ -323,6 +324,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, * Type: "SINGLE_VALUED" || "DATE_RANGE", + * CommitMode: "AUTO" || "MANUAL", * }, * List: { // FilterListControl * FilterControlId: "STRING_VALUE", // required @@ -381,6 +383,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // FilterTextFieldControl * FilterControlId: "STRING_VALUE", // required @@ -429,6 +432,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * CrossSheet: { // FilterCrossSheetControl * FilterControlId: "STRING_VALUE", // required @@ -4530,6 +4534,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { // DefaultFilterListControlOptions * DisplayOptions: { @@ -4559,6 +4564,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * SelectableValues: { * Values: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * DisplayOptions: { @@ -4593,6 +4599,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4625,6 +4632,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4648,6 +4656,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4680,6 +4689,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4705,6 +4715,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4726,6 +4737,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4758,6 +4770,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4778,6 +4791,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4788,6 +4802,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4809,6 +4824,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4841,6 +4857,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4851,6 +4868,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4868,6 +4886,7 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M * }, * DefaultRelativeDateTimeOptions: { * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, diff --git a/clients/client-quicksight/src/commands/UpdateDashboardCommand.ts b/clients/client-quicksight/src/commands/UpdateDashboardCommand.ts index bcae7e688da9..6f90e87bb361 100644 --- a/clients/client-quicksight/src/commands/UpdateDashboardCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateDashboardCommand.ts @@ -280,6 +280,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // ParameterTextFieldControl * ParameterControlId: "STRING_VALUE", // required @@ -368,6 +369,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, * Type: "SINGLE_VALUED" || "DATE_RANGE", + * CommitMode: "AUTO" || "MANUAL", * }, * List: { // FilterListControl * FilterControlId: "STRING_VALUE", // required @@ -426,6 +428,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // FilterTextFieldControl * FilterControlId: "STRING_VALUE", // required @@ -474,6 +477,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * CrossSheet: { // FilterCrossSheetControl * FilterControlId: "STRING_VALUE", // required @@ -4573,6 +4577,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { // DefaultFilterListControlOptions * DisplayOptions: { @@ -4602,6 +4607,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * SelectableValues: { * Values: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * DisplayOptions: { @@ -4636,6 +4642,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4668,6 +4675,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4691,6 +4699,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4723,6 +4732,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4748,6 +4758,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4769,6 +4780,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4801,6 +4813,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4821,6 +4834,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4831,6 +4845,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4852,6 +4867,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4884,6 +4900,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4894,6 +4911,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4911,6 +4929,7 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _ * }, * DefaultRelativeDateTimeOptions: { * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, diff --git a/clients/client-quicksight/src/commands/UpdateTemplateCommand.ts b/clients/client-quicksight/src/commands/UpdateTemplateCommand.ts index fa3956707098..6570769574fa 100644 --- a/clients/client-quicksight/src/commands/UpdateTemplateCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateTemplateCommand.ts @@ -222,6 +222,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // ParameterTextFieldControl * ParameterControlId: "STRING_VALUE", // required @@ -310,6 +311,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, * Type: "SINGLE_VALUED" || "DATE_RANGE", + * CommitMode: "AUTO" || "MANUAL", * }, * List: { // FilterListControl * FilterControlId: "STRING_VALUE", // required @@ -368,6 +370,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * }, * ], * }, + * CommitMode: "AUTO" || "MANUAL", * }, * TextField: { // FilterTextFieldControl * FilterControlId: "STRING_VALUE", // required @@ -416,6 +419,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * CrossSheet: { // FilterCrossSheetControl * FilterControlId: "STRING_VALUE", // required @@ -4517,6 +4521,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { // DefaultFilterListControlOptions * DisplayOptions: { @@ -4546,6 +4551,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * SelectableValues: { * Values: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { // DefaultTextFieldControlOptions * DisplayOptions: { @@ -4580,6 +4586,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4612,6 +4619,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4635,6 +4643,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4667,6 +4676,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4692,6 +4702,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * HelperTextVisibility: "HIDDEN" || "VISIBLE", * DateIconVisibility: "HIDDEN" || "VISIBLE", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: { @@ -4713,6 +4724,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * }, * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: { @@ -4745,6 +4757,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4765,6 +4778,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4775,6 +4789,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4796,6 +4811,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DateTimeFormat: "STRING_VALUE", * InfoIconLabelOptions: "", * }, + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, @@ -4828,6 +4844,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DefaultDateTimePickerOptions: { * Type: "SINGLE_VALUED" || "DATE_RANGE", * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultListOptions: { * DisplayOptions: "", @@ -4838,6 +4855,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * DisplayOptions: "", * Type: "MULTI_SELECT" || "SINGLE_SELECT", * SelectableValues: "", + * CommitMode: "AUTO" || "MANUAL", * }, * DefaultTextFieldOptions: { * DisplayOptions: "", @@ -4855,6 +4873,7 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M * }, * DefaultRelativeDateTimeOptions: { * DisplayOptions: "", + * CommitMode: "AUTO" || "MANUAL", * }, * }, * }, diff --git a/clients/client-quicksight/src/commands/index.ts b/clients/client-quicksight/src/commands/index.ts index 830c80342adf..797dbf47c157 100644 --- a/clients/client-quicksight/src/commands/index.ts +++ b/clients/client-quicksight/src/commands/index.ts @@ -106,6 +106,7 @@ export * from "./ListDataSetsCommand"; export * from "./ListDataSourcesCommand"; export * from "./ListFolderMembersCommand"; export * from "./ListFoldersCommand"; +export * from "./ListFoldersForResourceCommand"; export * from "./ListGroupMembershipsCommand"; export * from "./ListGroupsCommand"; export * from "./ListIAMPolicyAssignmentsCommand"; diff --git a/clients/client-quicksight/src/models/models_0.ts b/clients/client-quicksight/src/models/models_0.ts index ad1b21263b8a..7d0320d3df36 100644 --- a/clients/client-quicksight/src/models/models_0.ts +++ b/clients/client-quicksight/src/models/models_0.ts @@ -1905,6 +1905,20 @@ export interface CategoryFilterConfiguration { CustomFilterConfiguration?: CustomFilterConfiguration; } +/** + * @public + * @enum + */ +export const CommitMode = { + AUTO: "AUTO", + MANUAL: "MANUAL", +} as const; + +/** + * @public + */ +export type CommitMode = (typeof CommitMode)[keyof typeof CommitMode]; + /** *

A control to display info icons for filters and parameters.

* @public @@ -2143,6 +2157,12 @@ export interface DefaultDateTimePickerControlOptions { * @public */ DisplayOptions?: DateTimePickerControlDisplayOptions; + + /** + *

The visibility configuration of the Apply button on a DateTimePickerControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -2240,6 +2260,12 @@ export interface DefaultFilterDropDownControlOptions { * @public */ SelectableValues?: FilterSelectableValues; + + /** + *

The visibility configuration of the Apply button on a FilterDropDownControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -2352,6 +2378,12 @@ export interface DefaultRelativeDateTimeControlOptions { * @public */ DisplayOptions?: RelativeDateTimeControlDisplayOptions; + + /** + *

The visibility configuration of the Apply button on a RelativeDateTimeControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -4128,6 +4160,12 @@ export interface FilterDateTimePickerControl { * @public */ Type?: SheetControlDateTimePickerType; + + /** + *

The visibility configurationof the Apply button on a DateTimePickerControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -4186,6 +4224,12 @@ export interface FilterDropDownControl { * @public */ CascadingControlConfiguration?: CascadingControlConfiguration; + + /** + *

The visibility configuration of the Apply button on a FilterDropDownControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -4274,6 +4318,12 @@ export interface FilterRelativeDateTimeControl { * @public */ DisplayOptions?: RelativeDateTimeControlDisplayOptions; + + /** + *

The visibility configuration of the Apply button on a FilterRelativeDateTimeControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -5168,6 +5218,12 @@ export interface ParameterDropDownControl { * @public */ CascadingControlConfiguration?: CascadingControlConfiguration; + + /** + *

The visibility configuration of the Apply button on a ParameterDropDownControl.

+ * @public + */ + CommitMode?: CommitMode; } /** @@ -7474,20 +7530,6 @@ export interface SmallMultiplesOptions { YAxis?: SmallMultiplesAxisProperties; } -/** - * @public - * @enum - */ -export const OtherCategories = { - EXCLUDE: "EXCLUDE", - INCLUDE: "INCLUDE", -} as const; - -/** - * @public - */ -export type OtherCategories = (typeof OtherCategories)[keyof typeof OtherCategories]; - /** * @internal */ diff --git a/clients/client-quicksight/src/models/models_1.ts b/clients/client-quicksight/src/models/models_1.ts index fb1578023f1f..ae3cf0fa7213 100644 --- a/clients/client-quicksight/src/models/models_1.ts +++ b/clients/client-quicksight/src/models/models_1.ts @@ -25,7 +25,6 @@ import { MeasureFieldFilterSensitiveLog, NumberDisplayFormatConfiguration, NumberDisplayFormatConfigurationFilterSensitiveLog, - OtherCategories, PercentageDisplayFormatConfiguration, PercentageDisplayFormatConfigurationFilterSensitiveLog, ReferenceLine, @@ -40,6 +39,20 @@ import { WidgetStatus, } from "./models_0"; +/** + * @public + * @enum + */ +export const OtherCategories = { + EXCLUDE: "EXCLUDE", + INCLUDE: "INCLUDE", +} as const; + +/** + * @public + */ +export type OtherCategories = (typeof OtherCategories)[keyof typeof OtherCategories]; + /** *

The limit configuration of the visual display for an axis.

* @public @@ -7750,72 +7763,6 @@ export interface TreeMapSortConfiguration { TreeMapGroupItemsLimitConfiguration?: ItemsLimitConfiguration; } -/** - *

The configuration of a tree map.

- * @public - */ -export interface TreeMapConfiguration { - /** - *

The field wells of the visual.

- * @public - */ - FieldWells?: TreeMapFieldWells; - - /** - *

The sort configuration of a tree map.

- * @public - */ - SortConfiguration?: TreeMapSortConfiguration; - - /** - *

The label options (label text, label visibility) of the groups that are displayed in a tree map.

- * @public - */ - GroupLabelOptions?: ChartAxisLabelOptions; - - /** - *

The label options (label text, label visibility) of the sizes that are displayed in a tree map.

- * @public - */ - SizeLabelOptions?: ChartAxisLabelOptions; - - /** - *

The label options (label text, label visibility) for the colors displayed in a tree map.

- * @public - */ - ColorLabelOptions?: ChartAxisLabelOptions; - - /** - *

The color options (gradient color, point of divergence) of a tree map.

- * @public - */ - ColorScale?: ColorScale; - - /** - *

The legend display setup of the visual.

- * @public - */ - Legend?: LegendOptions; - - /** - *

The options that determine if visual data labels are displayed.

- * @public - */ - DataLabels?: DataLabelOptions; - - /** - *

The tooltip display setup of the visual.

- * @public - */ - Tooltip?: TooltipOptions; - - /** - *

The general visual interactions setup for a visual.

- * @public - */ - Interactions?: VisualInteractionOptions; -} - /** * @internal */ @@ -8973,11 +8920,3 @@ export const TreeMapAggregatedFieldWellsFilterSensitiveLog = (obj: TreeMapAggreg export const TreeMapFieldWellsFilterSensitiveLog = (obj: TreeMapFieldWells): any => ({ ...obj, }); - -/** - * @internal - */ -export const TreeMapConfigurationFilterSensitiveLog = (obj: TreeMapConfiguration): any => ({ - ...obj, - ...(obj.DataLabels && { DataLabels: DataLabelOptionsFilterSensitiveLog(obj.DataLabels) }), -}); diff --git a/clients/client-quicksight/src/models/models_2.ts b/clients/client-quicksight/src/models/models_2.ts index 900575950150..a7a0532d0cf2 100644 --- a/clients/client-quicksight/src/models/models_2.ts +++ b/clients/client-quicksight/src/models/models_2.ts @@ -48,6 +48,7 @@ import { import { BarChartVisual, BoxPlotVisual, + ColorScale, ColumnHierarchy, ComboChartVisual, CustomContentVisual, @@ -74,7 +75,9 @@ import { ScatterPlotVisual, ScatterPlotVisualFilterSensitiveLog, TableVisual, - TreeMapConfiguration, + TooltipOptions, + TreeMapFieldWells, + TreeMapSortConfiguration, VisualPalette, VisualPaletteFilterSensitiveLog, VisualSubtitleLabelOptions, @@ -83,6 +86,72 @@ import { import { QuickSightServiceException as __BaseException } from "./QuickSightServiceException"; +/** + *

The configuration of a tree map.

+ * @public + */ +export interface TreeMapConfiguration { + /** + *

The field wells of the visual.

+ * @public + */ + FieldWells?: TreeMapFieldWells; + + /** + *

The sort configuration of a tree map.

+ * @public + */ + SortConfiguration?: TreeMapSortConfiguration; + + /** + *

The label options (label text, label visibility) of the groups that are displayed in a tree map.

+ * @public + */ + GroupLabelOptions?: ChartAxisLabelOptions; + + /** + *

The label options (label text, label visibility) of the sizes that are displayed in a tree map.

+ * @public + */ + SizeLabelOptions?: ChartAxisLabelOptions; + + /** + *

The label options (label text, label visibility) for the colors displayed in a tree map.

+ * @public + */ + ColorLabelOptions?: ChartAxisLabelOptions; + + /** + *

The color options (gradient color, point of divergence) of a tree map.

+ * @public + */ + ColorScale?: ColorScale; + + /** + *

The legend display setup of the visual.

+ * @public + */ + Legend?: LegendOptions; + + /** + *

The options that determine if visual data labels are displayed.

+ * @public + */ + DataLabels?: DataLabelOptions; + + /** + *

The tooltip display setup of the visual.

+ * @public + */ + Tooltip?: TooltipOptions; + + /** + *

The general visual interactions setup for a visual.

+ * @public + */ + Interactions?: VisualInteractionOptions; +} + /** *

A tree map.

*

For more information, see Using tree maps in the Amazon QuickSight User Guide.

@@ -8697,35 +8766,12 @@ export interface CredentialPair { } /** - *

Data source credentials. This is a variant type structure. For this structure to be - * valid, only one of the attributes can be non-null.

- * @public + * @internal */ -export interface DataSourceCredentials { - /** - *

Credential pair. For more information, see - * - * CredentialPair - * .

- * @public - */ - CredentialPair?: CredentialPair; - - /** - *

The Amazon Resource Name (ARN) of a data source that has the credential pair that you - * want to use. When CopySourceArn is not null, the credential pair from the - * data source in the ARN is used as the credentials for the - * DataSourceCredentials structure.

- * @public - */ - CopySourceArn?: string; - - /** - *

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

- * @public - */ - SecretArn?: string; -} +export const TreeMapConfigurationFilterSensitiveLog = (obj: TreeMapConfiguration): any => ({ + ...obj, + ...(obj.DataLabels && { DataLabels: DataLabelOptionsFilterSensitiveLog(obj.DataLabels) }), +}); /** * @internal @@ -9127,11 +9173,3 @@ export const CreateDataSetRequestFilterSensitiveLog = (obj: CreateDataSetRequest ), }), }); - -/** - * @internal - */ -export const DataSourceCredentialsFilterSensitiveLog = (obj: DataSourceCredentials): any => ({ - ...obj, - ...(obj.CredentialPair && { CredentialPair: obj.CredentialPair }), -}); diff --git a/clients/client-quicksight/src/models/models_3.ts b/clients/client-quicksight/src/models/models_3.ts index 509f291f16cd..1f02b3417d51 100644 --- a/clients/client-quicksight/src/models/models_3.ts +++ b/clients/client-quicksight/src/models/models_3.ts @@ -60,13 +60,13 @@ import { ColumnSchema, ComparativeOrder, ConstantType, + CredentialPair, DashboardPublishOptions, DashboardVersionDefinition, DataSetImportMode, DatasetParameter, DataSetReference, DataSetUsageConfiguration, - DataSourceCredentials, DataSourceParameters, DisplayFormat, DisplayFormatOptions, @@ -93,6 +93,37 @@ import { import { QuickSightServiceException as __BaseException } from "./QuickSightServiceException"; +/** + *

Data source credentials. This is a variant type structure. For this structure to be + * valid, only one of the attributes can be non-null.

+ * @public + */ +export interface DataSourceCredentials { + /** + *

Credential pair. For more information, see + * + * CredentialPair + * .

+ * @public + */ + CredentialPair?: CredentialPair; + + /** + *

The Amazon Resource Name (ARN) of a data source that has the credential pair that you + * want to use. When CopySourceArn is not null, the credential pair from the + * data source in the ARN is used as the credentials for the + * DataSourceCredentials structure.

+ * @public + */ + CopySourceArn?: string; + + /** + *

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

+ * @public + */ + SecretArn?: string; +} + /** * @public * @enum @@ -9285,23 +9316,12 @@ export interface DescribeUserResponse { } /** - * @public + * @internal */ -export interface DescribeVPCConnectionRequest { - /** - *

The Amazon Web Services account ID of the account that contains the VPC connection that - * you want described.

- * @public - */ - AwsAccountId: string | undefined; - - /** - *

The ID of the VPC connection that - * you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.

- * @public - */ - VPCConnectionId: string | undefined; -} +export const DataSourceCredentialsFilterSensitiveLog = (obj: DataSourceCredentials): any => ({ + ...obj, + ...(obj.CredentialPair && { CredentialPair: obj.CredentialPair }), +}); /** * @internal diff --git a/clients/client-quicksight/src/models/models_4.ts b/clients/client-quicksight/src/models/models_4.ts index 02fd84b8d32a..e3fa3e48c185 100644 --- a/clients/client-quicksight/src/models/models_4.ts +++ b/clients/client-quicksight/src/models/models_4.ts @@ -35,7 +35,6 @@ import { DataSetImportMode, DatasetParameter, DataSetUsageConfiguration, - DataSourceCredentials, DataSourceParameters, FieldFolder, FilterOperator, @@ -67,6 +66,7 @@ import { DataSetSearchFilter, DataSetSummary, DataSource, + DataSourceCredentials, DataSourceSearchFilter, DataSourceSummary, FolderType, @@ -97,6 +97,25 @@ import { import { QuickSightServiceException as __BaseException } from "./QuickSightServiceException"; +/** + * @public + */ +export interface DescribeVPCConnectionRequest { + /** + *

The Amazon Web Services account ID of the account that contains the VPC connection that + * you want described.

+ * @public + */ + AwsAccountId: string | undefined; + + /** + *

The ID of the VPC connection that + * you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.

+ * @public + */ + VPCConnectionId: string | undefined; +} + /** * @public * @enum @@ -1816,6 +1835,64 @@ export interface ListFoldersResponse { RequestId?: string; } +/** + * @public + */ +export interface ListFoldersForResourceRequest { + /** + *

The ID for the Amazon Web Services account that contains the resource.

+ * @public + */ + AwsAccountId: string | undefined; + + /** + *

The Amazon Resource Name (ARN) the resource whose folders you need to list.

+ * @public + */ + ResourceArn: string | undefined; + + /** + *

The token for the next set of results, or null if there are no more results.

+ * @public + */ + NextToken?: string; + + /** + *

The maximum number of results to be returned per request.

+ * @public + */ + MaxResults?: number; +} + +/** + * @public + */ +export interface ListFoldersForResourceResponse { + /** + *

The HTTP status of the request.

+ * @public + */ + Status?: number; + + /** + *

A list that contains the Amazon Resource Names (ARNs) of all folders that the resource is a member of.

+ * @public + */ + Folders?: string[]; + + /** + *

The token for the next set of results, or null if there are no more results.

+ * @public + */ + NextToken?: string; + + /** + *

The Amazon Web Services request ID for this operation.

+ * @public + */ + RequestId?: string; +} + /** * @public */ diff --git a/clients/client-quicksight/src/pagination/ListFoldersForResourcePaginator.ts b/clients/client-quicksight/src/pagination/ListFoldersForResourcePaginator.ts new file mode 100644 index 000000000000..66f52365ada9 --- /dev/null +++ b/clients/client-quicksight/src/pagination/ListFoldersForResourcePaginator.ts @@ -0,0 +1,24 @@ +// smithy-typescript generated code +import { createPaginator } from "@smithy/core"; +import { Paginator } from "@smithy/types"; + +import { + ListFoldersForResourceCommand, + ListFoldersForResourceCommandInput, + ListFoldersForResourceCommandOutput, +} from "../commands/ListFoldersForResourceCommand"; +import { QuickSightClient } from "../QuickSightClient"; +import { QuickSightPaginationConfiguration } from "./Interfaces"; + +/** + * @public + */ +export const paginateListFoldersForResource: ( + config: QuickSightPaginationConfiguration, + input: ListFoldersForResourceCommandInput, + ...rest: any[] +) => Paginator = createPaginator< + QuickSightPaginationConfiguration, + ListFoldersForResourceCommandInput, + ListFoldersForResourceCommandOutput +>(QuickSightClient, ListFoldersForResourceCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-quicksight/src/pagination/index.ts b/clients/client-quicksight/src/pagination/index.ts index 5c5c29e2efe6..bcec1e961918 100644 --- a/clients/client-quicksight/src/pagination/index.ts +++ b/clients/client-quicksight/src/pagination/index.ts @@ -11,6 +11,7 @@ export * from "./ListDashboardsPaginator"; export * from "./ListDataSetsPaginator"; export * from "./ListDataSourcesPaginator"; export * from "./ListFolderMembersPaginator"; +export * from "./ListFoldersForResourcePaginator"; export * from "./ListFoldersPaginator"; export * from "./ListGroupMembershipsPaginator"; export * from "./ListGroupsPaginator"; diff --git a/clients/client-quicksight/src/protocols/Aws_restJson1.ts b/clients/client-quicksight/src/protocols/Aws_restJson1.ts index fd3b5d2a1ad3..01b034d856ce 100644 --- a/clients/client-quicksight/src/protocols/Aws_restJson1.ts +++ b/clients/client-quicksight/src/protocols/Aws_restJson1.ts @@ -326,6 +326,10 @@ import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "../commands import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand"; import { ListFolderMembersCommandInput, ListFolderMembersCommandOutput } from "../commands/ListFolderMembersCommand"; import { ListFoldersCommandInput, ListFoldersCommandOutput } from "../commands/ListFoldersCommand"; +import { + ListFoldersForResourceCommandInput, + ListFoldersForResourceCommandOutput, +} from "../commands/ListFoldersForResourceCommand"; import { ListGroupMembershipsCommandInput, ListGroupMembershipsCommandOutput, @@ -979,7 +983,6 @@ import { TotalAggregationOption, TotalOptions, TreeMapAggregatedFieldWells, - TreeMapConfiguration, TreeMapFieldWells, TreeMapSortConfiguration, TrendArrowOptions, @@ -1097,7 +1100,6 @@ import { DatasetParameter, DataSetReference, DataSetUsageConfiguration, - DataSourceCredentials, DataSourceParameters, DateTimeDatasetParameter, DateTimeDatasetParameterDefaultValues, @@ -1188,6 +1190,7 @@ import { TopicSortClause, TopicTemplate, TransformOperation, + TreeMapConfiguration, TreeMapVisual, TrinoParameters, TwitterParameters, @@ -1231,6 +1234,7 @@ import { DataSetSearchFilter, DataSetSummary, DataSource, + DataSourceCredentials, DataSourceSearchFilter, DataSourceSummary, DefaultFormatting, @@ -3522,6 +3526,27 @@ export const se_ListFoldersCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1ListFoldersForResourceCommand + */ +export const se_ListFoldersForResourceCommand = async ( + input: ListFoldersForResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/accounts/{AwsAccountId}/resource/{ResourceArn}/folders"); + b.p("AwsAccountId", () => input.AwsAccountId!, "{AwsAccountId}", false); + b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); + const query: any = map({ + [_nt]: [, input[_NT]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + }); + let body: any; + b.m("GET").h(headers).q(query).b(body); + return b.build(); +}; + /** * serializeAws_restJson1ListGroupMembershipsCommand */ @@ -8009,6 +8034,32 @@ export const de_ListFoldersCommand = async ( return contents; }; +/** + * deserializeAws_restJson1ListFoldersForResourceCommand + */ +export const de_ListFoldersForResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + Folders: _json, + NextToken: __expectString, + RequestId: __expectString, + }); + Object.assign(contents, doc); + map(contents, { + Status: [, output.statusCode], + }); + return contents; +}; + /** * deserializeAws_restJson1ListGroupMembershipsCommand */ @@ -17763,6 +17814,8 @@ const de_Folder = (output: any, context: __SerdeContext): Folder => { // de_FolderMemberList omitted. +// de_FoldersForResourceArnList omitted. + /** * deserializeAws_restJson1FolderSummary */ diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index cd8abf695716..a3b31dc72ad1 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -6679,6 +6679,23 @@ "smithy.api#documentation": "

A combo chart.

\n

The ComboChartVisual includes stacked bar combo charts and clustered bar combo charts

\n

For more information, see Using combo charts in the Amazon QuickSight User Guide.

" } }, + "com.amazonaws.quicksight#CommitMode": { + "type": "enum", + "members": { + "AUTO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO" + } + }, + "MANUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL" + } + } + } + }, "com.amazonaws.quicksight#ComparativeOrder": { "type": "structure", "members": { @@ -14472,6 +14489,12 @@ "traits": { "smithy.api#documentation": "

The display options of a control.

" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configuration of the Apply button on a DateTimePickerControl.

" + } } }, "traits": { @@ -14570,6 +14593,12 @@ "traits": { "smithy.api#documentation": "

A list of selectable values that are used in a control.

" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configuration of the Apply button on a FilterDropDownControl.

" + } } }, "traits": { @@ -14720,6 +14749,12 @@ "traits": { "smithy.api#documentation": "

The display options of a control.

" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configuration of the Apply button on a RelativeDateTimeControl.

" + } } }, "traits": { @@ -23481,6 +23516,12 @@ "traits": { "smithy.api#documentation": "

The type of the FilterDropDownControl. Choose one of the following options:

\n
    \n
  • \n

    \n MULTI_SELECT: The user can select multiple entries from a dropdown menu.

    \n
  • \n
  • \n

    \n SINGLE_SELECT: The user can select a single entry from a dropdown menu.

    \n
  • \n
" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configurationof the Apply button on a DateTimePickerControl.

" + } } }, "traits": { @@ -23534,6 +23575,12 @@ "traits": { "smithy.api#documentation": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configuration of the Apply button on a FilterDropDownControl.

" + } } }, "traits": { @@ -23816,6 +23863,12 @@ "traits": { "smithy.api#documentation": "

The display options of a control.

" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configuration of the Apply button on a FilterRelativeDateTimeControl.

" + } } }, "traits": { @@ -24311,6 +24364,18 @@ } } }, + "com.amazonaws.quicksight#FoldersForResourceArnList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#Arn" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 20 + } + } + }, "com.amazonaws.quicksight#Font": { "type": "structure", "members": { @@ -30837,6 +30902,124 @@ } } }, + "com.amazonaws.quicksight#ListFoldersForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.quicksight#ListFoldersForResourceRequest" + }, + "output": { + "target": "com.amazonaws.quicksight#ListFoldersForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.quicksight#AccessDeniedException" + }, + { + "target": "com.amazonaws.quicksight#InternalFailureException" + }, + { + "target": "com.amazonaws.quicksight#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.quicksight#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.quicksight#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.quicksight#ThrottlingException" + }, + { + "target": "com.amazonaws.quicksight#UnsupportedUserEditionException" + } + ], + "traits": { + "smithy.api#documentation": "

List all folders that a resource is a member of.

", + "smithy.api#http": { + "method": "GET", + "uri": "/accounts/{AwsAccountId}/resource/{ResourceArn}/folders", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Folders", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.quicksight#ListFoldersForResourceRequest": { + "type": "structure", + "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID for the Amazon Web Services account that contains the resource.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ResourceArn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) the resource whose folders you need to list.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", + "smithy.api#httpQuery": "next-token" + } + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-results" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.quicksight#ListFoldersForResourceResponse": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + }, + "Folders": { + "target": "com.amazonaws.quicksight#FoldersForResourceArnList", + "traits": { + "smithy.api#documentation": "

A list that contains the Amazon Resource Names (ARNs) of all folders that the resource is a member of.

" + } + }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services request ID for this operation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.quicksight#ListFoldersRequest": { "type": "structure", "members": { @@ -35799,6 +35982,12 @@ "traits": { "smithy.api#documentation": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

" } + }, + "CommitMode": { + "target": "com.amazonaws.quicksight#CommitMode", + "traits": { + "smithy.api#documentation": "

The visibility configuration of the Apply button on a ParameterDropDownControl.

" + } } }, "traits": { @@ -38214,6 +38403,9 @@ { "target": "com.amazonaws.quicksight#ListFolders" }, + { + "target": "com.amazonaws.quicksight#ListFoldersForResource" + }, { "target": "com.amazonaws.quicksight#ListGroupMemberships" },