Skip to content

Commit

Permalink
feat(client-quicksight): QuickSight: 1. Add new API - ListFoldersForR…
Browse files Browse the repository at this point in the history
…esource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors.
  • Loading branch information
awstools committed Sep 19, 2024
1 parent 380c0de commit 31b656f
Show file tree
Hide file tree
Showing 24 changed files with 869 additions and 148 deletions.
8 changes: 8 additions & 0 deletions clients/client-quicksight/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

</details>
<details>
<summary>
ListFoldersForResource
</summary>

[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/)

</details>
<details>
<summary>
Expand Down
23 changes: 23 additions & 0 deletions clients/client-quicksight/src/QuickSight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -929,6 +934,7 @@ const commands = {
ListDataSourcesCommand,
ListFolderMembersCommand,
ListFoldersCommand,
ListFoldersForResourceCommand,
ListGroupMembershipsCommand,
ListGroupsCommand,
ListIAMPolicyAssignmentsCommand,
Expand Down Expand Up @@ -2671,6 +2677,23 @@ export interface QuickSight {
cb: (err: any, data?: ListFoldersCommandOutput) => void
): void;

/**
* @see {@link ListFoldersForResourceCommand}
*/
listFoldersForResource(
args: ListFoldersForResourceCommandInput,
options?: __HttpHandlerOptions
): Promise<ListFoldersForResourceCommandOutput>;
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}
*/
Expand Down
6 changes: 6 additions & 0 deletions clients/client-quicksight/src/QuickSightClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -652,6 +656,7 @@ export type ServiceInputTypes =
| ListDataSourcesCommandInput
| ListFolderMembersCommandInput
| ListFoldersCommandInput
| ListFoldersForResourceCommandInput
| ListGroupMembershipsCommandInput
| ListGroupsCommandInput
| ListIAMPolicyAssignmentsCommandInput
Expand Down Expand Up @@ -834,6 +839,7 @@ export type ServiceOutputTypes =
| ListDataSourcesCommandOutput
| ListFolderMembersCommandOutput
| ListFoldersCommandOutput
| ListFoldersForResourceCommandOutput
| ListGroupMembershipsCommandOutput
| ListGroupsCommandOutput
| ListIAMPolicyAssignmentsCommandOutput
Expand Down
19 changes: 19 additions & 0 deletions clients/client-quicksight/src/commands/CreateAnalysisCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* },
* ],
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* TextField: { // ParameterTextFieldControl
* ParameterControlId: "STRING_VALUE", // required
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -395,6 +397,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* },
* ],
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* TextField: { // FilterTextFieldControl
* FilterControlId: "STRING_VALUE", // required
Expand Down Expand Up @@ -443,6 +446,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* CrossSheet: { // FilterCrossSheetControl
* FilterControlId: "STRING_VALUE", // required
Expand Down Expand Up @@ -4544,6 +4548,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* HelperTextVisibility: "HIDDEN" || "VISIBLE",
* DateIconVisibility: "HIDDEN" || "VISIBLE",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: { // DefaultFilterListControlOptions
* DisplayOptions: {
Expand Down Expand Up @@ -4573,6 +4578,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* SelectableValues: {
* Values: "<ParameterSelectableValueList>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: { // DefaultTextFieldControlOptions
* DisplayOptions: {
Expand Down Expand Up @@ -4607,6 +4613,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand Down Expand Up @@ -4639,6 +4646,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* HelperTextVisibility: "HIDDEN" || "VISIBLE",
* DateIconVisibility: "HIDDEN" || "VISIBLE",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: {
Expand All @@ -4662,6 +4670,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* },
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: {
Expand Down Expand Up @@ -4694,6 +4703,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand All @@ -4719,6 +4729,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* HelperTextVisibility: "HIDDEN" || "VISIBLE",
* DateIconVisibility: "HIDDEN" || "VISIBLE",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: {
Expand All @@ -4740,6 +4751,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* },
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: {
Expand Down Expand Up @@ -4772,6 +4784,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand All @@ -4792,6 +4805,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DefaultDateTimePickerOptions: {
* Type: "SINGLE_VALUED" || "DATE_RANGE",
* DisplayOptions: "<DateTimePickerControlDisplayOptions>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: "<ListControlDisplayOptions>",
Expand All @@ -4802,6 +4816,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DisplayOptions: "<DropDownControlDisplayOptions>",
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: "<TextFieldControlDisplayOptions>",
Expand All @@ -4823,6 +4838,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand Down Expand Up @@ -4855,6 +4871,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DefaultDateTimePickerOptions: {
* Type: "SINGLE_VALUED" || "DATE_RANGE",
* DisplayOptions: "<DateTimePickerControlDisplayOptions>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: "<ListControlDisplayOptions>",
Expand All @@ -4865,6 +4882,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* DisplayOptions: "<DropDownControlDisplayOptions>",
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: "<TextFieldControlDisplayOptions>",
Expand All @@ -4882,6 +4900,7 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* },
* DefaultRelativeDateTimeOptions: {
* DisplayOptions: "<RelativeDateTimeControlDisplayOptions>",
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand Down
19 changes: 19 additions & 0 deletions clients/client-quicksight/src/commands/CreateDashboardCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* },
* ],
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* TextField: { // ParameterTextFieldControl
* ParameterControlId: "STRING_VALUE", // required
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -441,6 +443,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* },
* ],
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* TextField: { // FilterTextFieldControl
* FilterControlId: "STRING_VALUE", // required
Expand Down Expand Up @@ -489,6 +492,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* CrossSheet: { // FilterCrossSheetControl
* FilterControlId: "STRING_VALUE", // required
Expand Down Expand Up @@ -4588,6 +4592,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* HelperTextVisibility: "HIDDEN" || "VISIBLE",
* DateIconVisibility: "HIDDEN" || "VISIBLE",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: { // DefaultFilterListControlOptions
* DisplayOptions: {
Expand Down Expand Up @@ -4617,6 +4622,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* SelectableValues: {
* Values: "<ParameterSelectableValueList>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: { // DefaultTextFieldControlOptions
* DisplayOptions: {
Expand Down Expand Up @@ -4651,6 +4657,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand Down Expand Up @@ -4683,6 +4690,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* HelperTextVisibility: "HIDDEN" || "VISIBLE",
* DateIconVisibility: "HIDDEN" || "VISIBLE",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: {
Expand All @@ -4706,6 +4714,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* },
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: {
Expand Down Expand Up @@ -4738,6 +4747,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand All @@ -4763,6 +4773,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* HelperTextVisibility: "HIDDEN" || "VISIBLE",
* DateIconVisibility: "HIDDEN" || "VISIBLE",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: {
Expand All @@ -4784,6 +4795,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* },
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: {
Expand Down Expand Up @@ -4816,6 +4828,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand All @@ -4836,6 +4849,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DefaultDateTimePickerOptions: {
* Type: "SINGLE_VALUED" || "DATE_RANGE",
* DisplayOptions: "<DateTimePickerControlDisplayOptions>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: "<ListControlDisplayOptions>",
Expand All @@ -4846,6 +4860,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DisplayOptions: "<DropDownControlDisplayOptions>",
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: "<TextFieldControlDisplayOptions>",
Expand All @@ -4867,6 +4882,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DateTimeFormat: "STRING_VALUE",
* InfoIconLabelOptions: "<SheetControlInfoIconLabelOptions>",
* },
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand Down Expand Up @@ -4899,6 +4915,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DefaultDateTimePickerOptions: {
* Type: "SINGLE_VALUED" || "DATE_RANGE",
* DisplayOptions: "<DateTimePickerControlDisplayOptions>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultListOptions: {
* DisplayOptions: "<ListControlDisplayOptions>",
Expand All @@ -4909,6 +4926,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* DisplayOptions: "<DropDownControlDisplayOptions>",
* Type: "MULTI_SELECT" || "SINGLE_SELECT",
* SelectableValues: "<FilterSelectableValues>",
* CommitMode: "AUTO" || "MANUAL",
* },
* DefaultTextFieldOptions: {
* DisplayOptions: "<TextFieldControlDisplayOptions>",
Expand All @@ -4926,6 +4944,7 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* },
* DefaultRelativeDateTimeOptions: {
* DisplayOptions: "<RelativeDateTimeControlDisplayOptions>",
* CommitMode: "AUTO" || "MANUAL",
* },
* },
* },
Expand Down
Loading

0 comments on commit 31b656f

Please sign in to comment.