Skip to content

Commit

Permalink
feat(client-quicksight): Custom permission support for QuickSight rol…
Browse files Browse the repository at this point in the history
…es; Three new datasources STARBURST, TRINO, BIGQUERY; Lenient mode changes the default behavior to allow for exporting and importing with certain UI allowed errors, Support for permissions and tags export and import.
  • Loading branch information
awstools committed Nov 16, 2023
1 parent 3640ab6 commit ff5bef6
Show file tree
Hide file tree
Showing 48 changed files with 10,065 additions and 5,307 deletions.
48 changes: 48 additions & 0 deletions clients/client-quicksight/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,14 @@ CreateRefreshSchedule

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/createrefreshschedulecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/createrefreshschedulecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/createrefreshschedulecommandoutput.html)

</details>
<details>
<summary>
CreateRoleMembership
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/createrolemembershipcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/createrolemembershipcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/createrolemembershipcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -495,6 +503,22 @@ DeleteRefreshSchedule

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/deleterefreshschedulecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/deleterefreshschedulecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/deleterefreshschedulecommandoutput.html)

</details>
<details>
<summary>
DeleteRoleCustomPermission
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/deleterolecustompermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/deleterolecustompermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/deleterolecustompermissioncommandoutput.html)

</details>
<details>
<summary>
DeleteRoleMembership
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/deleterolemembershipcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/deleterolemembershipcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/deleterolemembershipcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -791,6 +815,14 @@ DescribeRefreshSchedule

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/describerefreshschedulecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/describerefreshschedulecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/describerefreshschedulecommandoutput.html)

</details>
<details>
<summary>
DescribeRoleCustomPermission
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/describerolecustompermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/describerolecustompermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/describerolecustompermissioncommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1055,6 +1087,14 @@ ListRefreshSchedules

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/listrefreshschedulescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/listrefreshschedulescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/listrefreshschedulescommandoutput.html)

</details>
<details>
<summary>
ListRoleMemberships
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/listrolemembershipscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/listrolemembershipscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/listrolemembershipscommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1407,6 +1447,14 @@ UpdateRefreshSchedule

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/updaterefreshschedulecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/updaterefreshschedulecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/updaterefreshschedulecommandoutput.html)

</details>
<details>
<summary>
UpdateRoleCustomPermission
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/classes/updaterolecustompermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/updaterolecustompermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-quicksight/interfaces/updaterolecustompermissioncommandoutput.html)

</details>
<details>
<summary>
Expand Down
138 changes: 138 additions & 0 deletions clients/client-quicksight/src/QuickSight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ import {
CreateRefreshScheduleCommandInput,
CreateRefreshScheduleCommandOutput,
} from "./commands/CreateRefreshScheduleCommand";
import {
CreateRoleMembershipCommand,
CreateRoleMembershipCommandInput,
CreateRoleMembershipCommandOutput,
} from "./commands/CreateRoleMembershipCommand";
import {
CreateTemplateAliasCommand,
CreateTemplateAliasCommandInput,
Expand Down Expand Up @@ -166,6 +171,16 @@ import {
DeleteRefreshScheduleCommandInput,
DeleteRefreshScheduleCommandOutput,
} from "./commands/DeleteRefreshScheduleCommand";
import {
DeleteRoleCustomPermissionCommand,
DeleteRoleCustomPermissionCommandInput,
DeleteRoleCustomPermissionCommandOutput,
} from "./commands/DeleteRoleCustomPermissionCommand";
import {
DeleteRoleMembershipCommand,
DeleteRoleMembershipCommandInput,
DeleteRoleMembershipCommandOutput,
} from "./commands/DeleteRoleMembershipCommand";
import {
DeleteTemplateAliasCommand,
DeleteTemplateAliasCommandInput,
Expand Down Expand Up @@ -339,6 +354,11 @@ import {
DescribeRefreshScheduleCommandInput,
DescribeRefreshScheduleCommandOutput,
} from "./commands/DescribeRefreshScheduleCommand";
import {
DescribeRoleCustomPermissionCommand,
DescribeRoleCustomPermissionCommandInput,
DescribeRoleCustomPermissionCommandOutput,
} from "./commands/DescribeRoleCustomPermissionCommand";
import {
DescribeTemplateAliasCommand,
DescribeTemplateAliasCommandInput,
Expand Down Expand Up @@ -496,6 +516,11 @@ import {
ListRefreshSchedulesCommandInput,
ListRefreshSchedulesCommandOutput,
} from "./commands/ListRefreshSchedulesCommand";
import {
ListRoleMembershipsCommand,
ListRoleMembershipsCommandInput,
ListRoleMembershipsCommandOutput,
} from "./commands/ListRoleMembershipsCommand";
import {
ListTagsForResourceCommand,
ListTagsForResourceCommandInput,
Expand Down Expand Up @@ -696,6 +721,11 @@ import {
UpdateRefreshScheduleCommandInput,
UpdateRefreshScheduleCommandOutput,
} from "./commands/UpdateRefreshScheduleCommand";
import {
UpdateRoleCustomPermissionCommand,
UpdateRoleCustomPermissionCommandInput,
UpdateRoleCustomPermissionCommandOutput,
} from "./commands/UpdateRoleCustomPermissionCommand";
import {
UpdateTemplateAliasCommand,
UpdateTemplateAliasCommandInput,
Expand Down Expand Up @@ -757,6 +787,7 @@ const commands = {
CreateIngestionCommand,
CreateNamespaceCommand,
CreateRefreshScheduleCommand,
CreateRoleMembershipCommand,
CreateTemplateCommand,
CreateTemplateAliasCommand,
CreateThemeCommand,
Expand All @@ -778,6 +809,8 @@ const commands = {
DeleteIAMPolicyAssignmentCommand,
DeleteNamespaceCommand,
DeleteRefreshScheduleCommand,
DeleteRoleCustomPermissionCommand,
DeleteRoleMembershipCommand,
DeleteTemplateCommand,
DeleteTemplateAliasCommand,
DeleteThemeCommand,
Expand Down Expand Up @@ -815,6 +848,7 @@ const commands = {
DescribeIpRestrictionCommand,
DescribeNamespaceCommand,
DescribeRefreshScheduleCommand,
DescribeRoleCustomPermissionCommand,
DescribeTemplateCommand,
DescribeTemplateAliasCommand,
DescribeTemplateDefinitionCommand,
Expand Down Expand Up @@ -848,6 +882,7 @@ const commands = {
ListIngestionsCommand,
ListNamespacesCommand,
ListRefreshSchedulesCommand,
ListRoleMembershipsCommand,
ListTagsForResourceCommand,
ListTemplateAliasesCommand,
ListTemplatesCommand,
Expand Down Expand Up @@ -892,6 +927,7 @@ const commands = {
UpdateIpRestrictionCommand,
UpdatePublicSharingSettingsCommand,
UpdateRefreshScheduleCommand,
UpdateRoleCustomPermissionCommand,
UpdateTemplateCommand,
UpdateTemplateAliasCommand,
UpdateTemplatePermissionsCommand,
Expand Down Expand Up @@ -1128,6 +1164,23 @@ export interface QuickSight {
cb: (err: any, data?: CreateRefreshScheduleCommandOutput) => void
): void;

/**
* @see {@link CreateRoleMembershipCommand}
*/
createRoleMembership(
args: CreateRoleMembershipCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateRoleMembershipCommandOutput>;
createRoleMembership(
args: CreateRoleMembershipCommandInput,
cb: (err: any, data?: CreateRoleMembershipCommandOutput) => void
): void;
createRoleMembership(
args: CreateRoleMembershipCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateRoleMembershipCommandOutput) => void
): void;

/**
* @see {@link CreateTemplateCommand}
*/
Expand Down Expand Up @@ -1443,6 +1496,40 @@ export interface QuickSight {
cb: (err: any, data?: DeleteRefreshScheduleCommandOutput) => void
): void;

/**
* @see {@link DeleteRoleCustomPermissionCommand}
*/
deleteRoleCustomPermission(
args: DeleteRoleCustomPermissionCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteRoleCustomPermissionCommandOutput>;
deleteRoleCustomPermission(
args: DeleteRoleCustomPermissionCommandInput,
cb: (err: any, data?: DeleteRoleCustomPermissionCommandOutput) => void
): void;
deleteRoleCustomPermission(
args: DeleteRoleCustomPermissionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteRoleCustomPermissionCommandOutput) => void
): void;

/**
* @see {@link DeleteRoleMembershipCommand}
*/
deleteRoleMembership(
args: DeleteRoleMembershipCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteRoleMembershipCommandOutput>;
deleteRoleMembership(
args: DeleteRoleMembershipCommandInput,
cb: (err: any, data?: DeleteRoleMembershipCommandOutput) => void
): void;
deleteRoleMembership(
args: DeleteRoleMembershipCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteRoleMembershipCommandOutput) => void
): void;

/**
* @see {@link DeleteTemplateCommand}
*/
Expand Down Expand Up @@ -2039,6 +2126,23 @@ export interface QuickSight {
cb: (err: any, data?: DescribeRefreshScheduleCommandOutput) => void
): void;

/**
* @see {@link DescribeRoleCustomPermissionCommand}
*/
describeRoleCustomPermission(
args: DescribeRoleCustomPermissionCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeRoleCustomPermissionCommandOutput>;
describeRoleCustomPermission(
args: DescribeRoleCustomPermissionCommandInput,
cb: (err: any, data?: DescribeRoleCustomPermissionCommandOutput) => void
): void;
describeRoleCustomPermission(
args: DescribeRoleCustomPermissionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeRoleCustomPermissionCommandOutput) => void
): void;

/**
* @see {@link DescribeTemplateCommand}
*/
Expand Down Expand Up @@ -2546,6 +2650,23 @@ export interface QuickSight {
cb: (err: any, data?: ListRefreshSchedulesCommandOutput) => void
): void;

/**
* @see {@link ListRoleMembershipsCommand}
*/
listRoleMemberships(
args: ListRoleMembershipsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListRoleMembershipsCommandOutput>;
listRoleMemberships(
args: ListRoleMembershipsCommandInput,
cb: (err: any, data?: ListRoleMembershipsCommandOutput) => void
): void;
listRoleMemberships(
args: ListRoleMembershipsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListRoleMembershipsCommandOutput) => void
): void;

/**
* @see {@link ListTagsForResourceCommand}
*/
Expand Down Expand Up @@ -3204,6 +3325,23 @@ export interface QuickSight {
cb: (err: any, data?: UpdateRefreshScheduleCommandOutput) => void
): void;

/**
* @see {@link UpdateRoleCustomPermissionCommand}
*/
updateRoleCustomPermission(
args: UpdateRoleCustomPermissionCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateRoleCustomPermissionCommandOutput>;
updateRoleCustomPermission(
args: UpdateRoleCustomPermissionCommandInput,
cb: (err: any, data?: UpdateRoleCustomPermissionCommandOutput) => void
): void;
updateRoleCustomPermission(
args: UpdateRoleCustomPermissionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateRoleCustomPermissionCommandOutput) => void
): void;

/**
* @see {@link UpdateTemplateCommand}
*/
Expand Down
Loading

0 comments on commit ff5bef6

Please sign in to comment.