Skip to content

Commit

Permalink
feat(client-quicksight): Update Dashboard Links support; SingleAxisOp…
Browse files Browse the repository at this point in the history
…tions support; Scatterplot Query limit support.
  • Loading branch information
awstools committed Dec 14, 2023
1 parent c63279d commit ee74785
Show file tree
Hide file tree
Showing 25 changed files with 1,126 additions and 322 deletions.
8 changes: 8 additions & 0 deletions clients/client-quicksight/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,14 @@ UpdateDashboard

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/quicksight/command/UpdateDashboardCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/UpdateDashboardCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/UpdateDashboardCommandOutput/)

</details>
<details>
<summary>
UpdateDashboardLinks
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/quicksight/command/UpdateDashboardLinksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/UpdateDashboardLinksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-quicksight/Interface/UpdateDashboardLinksCommandOutput/)

</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 @@ -670,6 +670,11 @@ import {
UpdateDashboardCommandInput,
UpdateDashboardCommandOutput,
} from "./commands/UpdateDashboardCommand";
import {
UpdateDashboardLinksCommand,
UpdateDashboardLinksCommandInput,
UpdateDashboardLinksCommandOutput,
} from "./commands/UpdateDashboardLinksCommand";
import {
UpdateDashboardPermissionsCommand,
UpdateDashboardPermissionsCommandInput,
Expand Down Expand Up @@ -931,6 +936,7 @@ const commands = {
UpdateAnalysisCommand,
UpdateAnalysisPermissionsCommand,
UpdateDashboardCommand,
UpdateDashboardLinksCommand,
UpdateDashboardPermissionsCommand,
UpdateDashboardPublishedVersionCommand,
UpdateDataSetCommand,
Expand Down Expand Up @@ -3174,6 +3180,23 @@ export interface QuickSight {
cb: (err: any, data?: UpdateDashboardCommandOutput) => void
): void;

/**
* @see {@link UpdateDashboardLinksCommand}
*/
updateDashboardLinks(
args: UpdateDashboardLinksCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateDashboardLinksCommandOutput>;
updateDashboardLinks(
args: UpdateDashboardLinksCommandInput,
cb: (err: any, data?: UpdateDashboardLinksCommandOutput) => void
): void;
updateDashboardLinks(
args: UpdateDashboardLinksCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateDashboardLinksCommandOutput) => void
): void;

/**
* @see {@link UpdateDashboardPermissionsCommand}
*/
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 @@ -420,6 +420,10 @@ import {
UpdateAnalysisPermissionsCommandOutput,
} from "./commands/UpdateAnalysisPermissionsCommand";
import { UpdateDashboardCommandInput, UpdateDashboardCommandOutput } from "./commands/UpdateDashboardCommand";
import {
UpdateDashboardLinksCommandInput,
UpdateDashboardLinksCommandOutput,
} from "./commands/UpdateDashboardLinksCommand";
import {
UpdateDashboardPermissionsCommandInput,
UpdateDashboardPermissionsCommandOutput,
Expand Down Expand Up @@ -656,6 +660,7 @@ export type ServiceInputTypes =
| UpdateAnalysisCommandInput
| UpdateAnalysisPermissionsCommandInput
| UpdateDashboardCommandInput
| UpdateDashboardLinksCommandInput
| UpdateDashboardPermissionsCommandInput
| UpdateDashboardPublishedVersionCommandInput
| UpdateDataSetCommandInput
Expand Down Expand Up @@ -831,6 +836,7 @@ export type ServiceOutputTypes =
| UpdateAnalysisCommandOutput
| UpdateAnalysisPermissionsCommandOutput
| UpdateDashboardCommandOutput
| UpdateDashboardLinksCommandOutput
| UpdateDashboardPermissionsCommandOutput
| UpdateDashboardPublishedVersionCommandOutput
| UpdateDataSetCommandOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ export interface CreateAccountSubscriptionCommandOutput extends CreateAccountSub
* @public
* <p>Creates an Amazon QuickSight account, or subscribes to Amazon QuickSight Q.</p>
* <p>The Amazon Web Services Region for the account is derived from what is configured in the
* CLI or SDK. This operation isn't supported in the US East (Ohio) Region, South America (Sao Paulo) Region, or Asia
* Pacific (Singapore) Region. </p>
* CLI or SDK.</p>
* <p>Before you use this operation, make sure that you can connect to an existing Amazon Web Services account. If you don't have an Amazon Web Services account, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/setting-up-aws-sign-up.html">Sign
* up for Amazon Web Services</a> in the <i>Amazon QuickSight User
* Guide</i>. The person who signs up for Amazon QuickSight needs to have the
Expand Down
13 changes: 13 additions & 0 deletions clients/client-quicksight/src/commands/CreateAnalysisCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3101,6 +3101,11 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* ],
* },
* SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SingleAxisOptions: { // SingleAxisOptions
* YAxisOptions: { // YAxisOptions
* YAxis: "PRIMARY_Y_AXIS", // required
* },
* },
* DefaultSeriesSettings: { // LineChartDefaultSeriesSettings
* AxisBinding: "PRIMARY_YAXIS" || "SECONDARY_YAXIS",
* LineStyleSettings: { // LineChartLineStyleSettings
Expand Down Expand Up @@ -3639,6 +3644,9 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* Label: "<DimensionFieldList>",
* },
* },
* SortConfiguration: { // ScatterPlotSortConfiguration
* ScatterPlotLimitConfiguration: "<ItemsLimitConfiguration>",
* },
* XAxisLabelOptions: "<ChartAxisLabelOptions>",
* XAxisDisplayOptions: "<AxisDisplayOptions>",
* YAxisLabelOptions: "<ChartAxisLabelOptions>",
Expand Down Expand Up @@ -3677,6 +3685,11 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
* PrimaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SecondaryYAxisDisplayOptions: "<AxisDisplayOptions>",
* SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SingleAxisOptions: {
* YAxisOptions: {
* YAxis: "PRIMARY_Y_AXIS", // required
* },
* },
* ColorLabelOptions: "<ChartAxisLabelOptions>",
* Legend: "<LegendOptions>",
* BarDataLabels: "<DataLabelOptions>",
Expand Down
16 changes: 16 additions & 0 deletions clients/client-quicksight/src/commands/CreateDashboardCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3147,6 +3147,11 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* ],
* },
* SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SingleAxisOptions: { // SingleAxisOptions
* YAxisOptions: { // YAxisOptions
* YAxis: "PRIMARY_Y_AXIS", // required
* },
* },
* DefaultSeriesSettings: { // LineChartDefaultSeriesSettings
* AxisBinding: "PRIMARY_YAXIS" || "SECONDARY_YAXIS",
* LineStyleSettings: { // LineChartLineStyleSettings
Expand Down Expand Up @@ -3685,6 +3690,9 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* Label: "<DimensionFieldList>",
* },
* },
* SortConfiguration: { // ScatterPlotSortConfiguration
* ScatterPlotLimitConfiguration: "<ItemsLimitConfiguration>",
* },
* XAxisLabelOptions: "<ChartAxisLabelOptions>",
* XAxisDisplayOptions: "<AxisDisplayOptions>",
* YAxisLabelOptions: "<ChartAxisLabelOptions>",
Expand Down Expand Up @@ -3723,6 +3731,11 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* PrimaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SecondaryYAxisDisplayOptions: "<AxisDisplayOptions>",
* SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SingleAxisOptions: {
* YAxisOptions: {
* YAxis: "PRIMARY_Y_AXIS", // required
* },
* },
* ColorLabelOptions: "<ChartAxisLabelOptions>",
* Legend: "<LegendOptions>",
* BarDataLabels: "<DataLabelOptions>",
Expand Down Expand Up @@ -4641,6 +4654,9 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
* },
* ],
* },
* LinkEntities: [ // LinkEntityArnList
* "STRING_VALUE",
* ],
* };
* const command = new CreateDashboardCommand(input);
* const response = await client.send(command);
Expand Down
13 changes: 13 additions & 0 deletions clients/client-quicksight/src/commands/CreateTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3095,6 +3095,11 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
* ],
* },
* SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SingleAxisOptions: { // SingleAxisOptions
* YAxisOptions: { // YAxisOptions
* YAxis: "PRIMARY_Y_AXIS", // required
* },
* },
* DefaultSeriesSettings: { // LineChartDefaultSeriesSettings
* AxisBinding: "PRIMARY_YAXIS" || "SECONDARY_YAXIS",
* LineStyleSettings: { // LineChartLineStyleSettings
Expand Down Expand Up @@ -3633,6 +3638,9 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
* Label: "<DimensionFieldList>",
* },
* },
* SortConfiguration: { // ScatterPlotSortConfiguration
* ScatterPlotLimitConfiguration: "<ItemsLimitConfiguration>",
* },
* XAxisLabelOptions: "<ChartAxisLabelOptions>",
* XAxisDisplayOptions: "<AxisDisplayOptions>",
* YAxisLabelOptions: "<ChartAxisLabelOptions>",
Expand Down Expand Up @@ -3671,6 +3679,11 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
* PrimaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SecondaryYAxisDisplayOptions: "<AxisDisplayOptions>",
* SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* SingleAxisOptions: {
* YAxisOptions: {
* YAxis: "PRIMARY_Y_AXIS", // required
* },
* },
* ColorLabelOptions: "<ChartAxisLabelOptions>",
* Legend: "<LegendOptions>",
* BarDataLabels: "<DataLabelOptions>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3067,6 +3067,11 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi
* // ],
* // },
* // SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SingleAxisOptions: { // SingleAxisOptions
* // YAxisOptions: { // YAxisOptions
* // YAxis: "PRIMARY_Y_AXIS", // required
* // },
* // },
* // DefaultSeriesSettings: { // LineChartDefaultSeriesSettings
* // AxisBinding: "PRIMARY_YAXIS" || "SECONDARY_YAXIS",
* // LineStyleSettings: { // LineChartLineStyleSettings
Expand Down Expand Up @@ -3605,6 +3610,9 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi
* // Label: "<DimensionFieldList>",
* // },
* // },
* // SortConfiguration: { // ScatterPlotSortConfiguration
* // ScatterPlotLimitConfiguration: "<ItemsLimitConfiguration>",
* // },
* // XAxisLabelOptions: "<ChartAxisLabelOptions>",
* // XAxisDisplayOptions: "<AxisDisplayOptions>",
* // YAxisLabelOptions: "<ChartAxisLabelOptions>",
Expand Down Expand Up @@ -3643,6 +3651,11 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi
* // PrimaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SecondaryYAxisDisplayOptions: "<AxisDisplayOptions>",
* // SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SingleAxisOptions: {
* // YAxisOptions: {
* // YAxis: "PRIMARY_Y_AXIS", // required
* // },
* // },
* // ColorLabelOptions: "<ChartAxisLabelOptions>",
* // Legend: "<LegendOptions>",
* // BarDataLabels: "<DataLabelOptions>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ export interface DescribeDashboardCommandOutput extends DescribeDashboardRespons
* // CreatedTime: new Date("TIMESTAMP"),
* // LastPublishedTime: new Date("TIMESTAMP"),
* // LastUpdatedTime: new Date("TIMESTAMP"),
* // LinkEntities: [ // LinkEntityArnList
* // "STRING_VALUE",
* // ],
* // },
* // Status: Number("int"),
* // RequestId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3074,6 +3074,11 @@ export interface DescribeDashboardDefinitionCommandOutput
* // ],
* // },
* // SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SingleAxisOptions: { // SingleAxisOptions
* // YAxisOptions: { // YAxisOptions
* // YAxis: "PRIMARY_Y_AXIS", // required
* // },
* // },
* // DefaultSeriesSettings: { // LineChartDefaultSeriesSettings
* // AxisBinding: "PRIMARY_YAXIS" || "SECONDARY_YAXIS",
* // LineStyleSettings: { // LineChartLineStyleSettings
Expand Down Expand Up @@ -3612,6 +3617,9 @@ export interface DescribeDashboardDefinitionCommandOutput
* // Label: "<DimensionFieldList>",
* // },
* // },
* // SortConfiguration: { // ScatterPlotSortConfiguration
* // ScatterPlotLimitConfiguration: "<ItemsLimitConfiguration>",
* // },
* // XAxisLabelOptions: "<ChartAxisLabelOptions>",
* // XAxisDisplayOptions: "<AxisDisplayOptions>",
* // YAxisLabelOptions: "<ChartAxisLabelOptions>",
Expand Down Expand Up @@ -3650,6 +3658,11 @@ export interface DescribeDashboardDefinitionCommandOutput
* // PrimaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SecondaryYAxisDisplayOptions: "<AxisDisplayOptions>",
* // SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SingleAxisOptions: {
* // YAxisOptions: {
* // YAxis: "PRIMARY_Y_AXIS", // required
* // },
* // },
* // ColorLabelOptions: "<ChartAxisLabelOptions>",
* // Legend: "<LegendOptions>",
* // BarDataLabels: "<DataLabelOptions>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3087,6 +3087,11 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat
* // ],
* // },
* // SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SingleAxisOptions: { // SingleAxisOptions
* // YAxisOptions: { // YAxisOptions
* // YAxis: "PRIMARY_Y_AXIS", // required
* // },
* // },
* // DefaultSeriesSettings: { // LineChartDefaultSeriesSettings
* // AxisBinding: "PRIMARY_YAXIS" || "SECONDARY_YAXIS",
* // LineStyleSettings: { // LineChartLineStyleSettings
Expand Down Expand Up @@ -3625,6 +3630,9 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat
* // Label: "<DimensionFieldList>",
* // },
* // },
* // SortConfiguration: { // ScatterPlotSortConfiguration
* // ScatterPlotLimitConfiguration: "<ItemsLimitConfiguration>",
* // },
* // XAxisLabelOptions: "<ChartAxisLabelOptions>",
* // XAxisDisplayOptions: "<AxisDisplayOptions>",
* // YAxisLabelOptions: "<ChartAxisLabelOptions>",
Expand Down Expand Up @@ -3663,6 +3671,11 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat
* // PrimaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SecondaryYAxisDisplayOptions: "<AxisDisplayOptions>",
* // SecondaryYAxisLabelOptions: "<ChartAxisLabelOptions>",
* // SingleAxisOptions: {
* // YAxisOptions: {
* // YAxis: "PRIMARY_Y_AXIS", // required
* // },
* // },
* // ColorLabelOptions: "<ChartAxisLabelOptions>",
* // Legend: "<LegendOptions>",
* // BarDataLabels: "<DataLabelOptions>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import {
SMITHY_CONTEXT_KEY,
} from "@smithy/types";

import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_3";
import { ListTagsForResourceRequest } from "../models/models_3";
import { ListTagsForResourceResponse } from "../models/models_4";
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
SMITHY_CONTEXT_KEY,
} from "@smithy/types";

import { ListTemplateAliasesRequest, ListTemplateAliasesResponse } from "../models/models_3";
import { ListTemplateAliasesRequest, ListTemplateAliasesResponse } from "../models/models_4";
import { de_ListTemplateAliasesCommand, se_ListTemplateAliasesCommand } from "../protocols/Aws_restJson1";
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import {
SMITHY_CONTEXT_KEY,
} from "@smithy/types";

import { ListTemplatesRequest } from "../models/models_3";
import { ListTemplatesResponse } from "../models/models_4";
import { ListTemplatesRequest, ListTemplatesResponse } from "../models/models_4";
import { de_ListTemplatesCommand, se_ListTemplatesCommand } from "../protocols/Aws_restJson1";
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";

Expand Down
Loading

0 comments on commit ee74785

Please sign in to comment.