Skip to content

Commit 18135bc

Browse files
author
awstools
committed
feat(client-quicksight): Explicit query for authors and dashboard viewing sharing for embedded users
1 parent 06501cb commit 18135bc

16 files changed

+747
-573
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -5030,6 +5030,9 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
50305030
* Timezone: "STRING_VALUE",
50315031
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
50325032
* },
5033+
* QueryExecutionOptions: { // QueryExecutionOptions
5034+
* QueryExecutionMode: "AUTO" || "MANUAL",
5035+
* },
50335036
* },
50345037
* ValidationStrategy: { // ValidationStrategy
50355038
* Mode: "STRICT" || "LENIENT", // required

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
CreateDataSourceRequest,
1010
CreateDataSourceRequestFilterSensitiveLog,
1111
CreateDataSourceResponse,
12-
} from "../models/models_2";
12+
} from "../models/models_3";
1313
import { de_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_restJson1";
1414
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1515

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

+3
Original file line numberDiff line numberDiff line change
@@ -5024,6 +5024,9 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
50245024
* Timezone: "STRING_VALUE",
50255025
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
50265026
* },
5027+
* QueryExecutionOptions: { // QueryExecutionOptions
5028+
* QueryExecutionMode: "AUTO" || "MANUAL",
5029+
* },
50275030
* },
50285031
* ValidationStrategy: { // ValidationStrategy
50295032
* Mode: "STRICT" || "LENIENT", // required

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

+3
Original file line numberDiff line numberDiff line change
@@ -4996,6 +4996,9 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi
49964996
* // Timezone: "STRING_VALUE",
49974997
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
49984998
* // },
4999+
* // QueryExecutionOptions: { // QueryExecutionOptions
5000+
* // QueryExecutionMode: "AUTO" || "MANUAL",
5001+
* // },
49995002
* // },
50005003
* // Status: Number("int"),
50015004
* // RequestId: "STRING_VALUE",

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

+3
Original file line numberDiff line numberDiff line change
@@ -5016,6 +5016,9 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat
50165016
* // Timezone: "STRING_VALUE",
50175017
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
50185018
* // },
5019+
* // QueryExecutionOptions: { // QueryExecutionOptions
5020+
* // QueryExecutionMode: "AUTO" || "MANUAL",
5021+
* // },
50195022
* // },
50205023
* // Status: Number("int"),
50215024
* // RequestId: "STRING_VALUE",

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

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

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeVPCConnectionRequest, DescribeVPCConnectionResponse } from "../models/models_3";
8+
import { DescribeVPCConnectionRequest } from "../models/models_3";
9+
import { DescribeVPCConnectionResponse } from "../models/models_4";
910
import { de_DescribeVPCConnectionCommand, se_DescribeVPCConnectionCommand } from "../protocols/Aws_restJson1";
1011
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1112

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

+11
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ export interface GenerateEmbedUrlForAnonymousUserCommandOutput
7878
* ExperienceConfiguration: { // AnonymousUserEmbeddingExperienceConfiguration
7979
* Dashboard: { // AnonymousUserDashboardEmbeddingConfiguration
8080
* InitialDashboardId: "STRING_VALUE", // required
81+
* EnabledFeatures: [ // AnonymousUserDashboardEmbeddingConfigurationEnabledFeatures
82+
* "SHARED_VIEW",
83+
* ],
84+
* DisabledFeatures: [ // AnonymousUserDashboardEmbeddingConfigurationDisabledFeatures
85+
* "SHARED_VIEW",
86+
* ],
87+
* FeatureConfigurations: { // AnonymousUserDashboardFeatureConfigurations
88+
* SharedView: { // SharedViewConfigurations
89+
* Enabled: true || false, // required
90+
* },
91+
* },
8192
* },
8293
* DashboardVisual: { // AnonymousUserDashboardVisualEmbeddingConfiguration
8394
* InitialDashboardVisualId: { // DashboardVisualId

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

+6
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ export interface GenerateEmbedUrlForRegisteredUserCommandOutput
7575
* StatePersistence: { // StatePersistenceConfigurations
7676
* Enabled: true || false, // required
7777
* },
78+
* SharedView: { // SharedViewConfigurations
79+
* Enabled: true || false, // required
80+
* },
7881
* Bookmarks: { // BookmarksConfigurations
7982
* Enabled: true || false, // required
8083
* },
@@ -86,6 +89,9 @@ export interface GenerateEmbedUrlForRegisteredUserCommandOutput
8689
* StatePersistence: {
8790
* Enabled: true || false, // required
8891
* },
92+
* SharedView: {
93+
* Enabled: true || false, // required
94+
* },
8995
* },
9096
* },
9197
* QSearchBar: { // RegisteredUserQSearchBarEmbeddingConfiguration

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

+3
Original file line numberDiff line numberDiff line change
@@ -5016,6 +5016,9 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M
50165016
* Timezone: "STRING_VALUE",
50175017
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
50185018
* },
5019+
* QueryExecutionOptions: { // QueryExecutionOptions
5020+
* QueryExecutionMode: "AUTO" || "MANUAL",
5021+
* },
50195022
* },
50205023
* ValidationStrategy: { // ValidationStrategy
50215024
* Mode: "STRICT" || "LENIENT", // required

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

+3
Original file line numberDiff line numberDiff line change
@@ -5003,6 +5003,9 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M
50035003
* Timezone: "STRING_VALUE",
50045004
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
50055005
* },
5006+
* QueryExecutionOptions: { // QueryExecutionOptions
5007+
* QueryExecutionMode: "AUTO" || "MANUAL",
5008+
* },
50065009
* },
50075010
* ValidationStrategy: { // ValidationStrategy
50085011
* Mode: "STRICT" || "LENIENT", // required

clients/client-quicksight/src/models/models_0.ts

+26-62
Original file line numberDiff line numberDiff line change
@@ -4004,6 +4004,32 @@ export interface ParameterDeclaration {
40044004
DateTimeParameterDeclaration?: DateTimeParameterDeclaration;
40054005
}
40064006

4007+
/**
4008+
* @public
4009+
* @enum
4010+
*/
4011+
export const QueryExecutionMode = {
4012+
AUTO: "AUTO",
4013+
MANUAL: "MANUAL",
4014+
} as const;
4015+
4016+
/**
4017+
* @public
4018+
*/
4019+
export type QueryExecutionMode = (typeof QueryExecutionMode)[keyof typeof QueryExecutionMode];
4020+
4021+
/**
4022+
* <p>A structure that describes the query execution options.</p>
4023+
* @public
4024+
*/
4025+
export interface QueryExecutionOptions {
4026+
/**
4027+
* <p>A structure that describes the query execution mode.</p>
4028+
* @public
4029+
*/
4030+
QueryExecutionMode?: QueryExecutionMode;
4031+
}
4032+
40074033
/**
40084034
* <p>The source controls that are used in a <code>CascadingControlConfiguration</code>.</p>
40094035
* @public
@@ -7462,68 +7488,6 @@ export const OtherCategories = {
74627488
*/
74637489
export type OtherCategories = (typeof OtherCategories)[keyof typeof OtherCategories];
74647490

7465-
/**
7466-
* <p>The limit configuration of the visual display for an axis.</p>
7467-
* @public
7468-
*/
7469-
export interface ItemsLimitConfiguration {
7470-
/**
7471-
* <p>The limit on how many items of a field are showed in the chart. For
7472-
* example, the number of slices that are displayed in a pie chart.</p>
7473-
* @public
7474-
*/
7475-
ItemsLimit?: number;
7476-
7477-
/**
7478-
* <p>The <code>Show
7479-
* other</code> of an axis in the chart. Choose one of the following options:</p>
7480-
* <ul>
7481-
* <li>
7482-
* <p>
7483-
* <code>INCLUDE</code>
7484-
* </p>
7485-
* </li>
7486-
* <li>
7487-
* <p>
7488-
* <code>EXCLUDE</code>
7489-
* </p>
7490-
* </li>
7491-
* </ul>
7492-
* @public
7493-
*/
7494-
OtherCategories?: OtherCategories;
7495-
}
7496-
7497-
/**
7498-
* <p>The sort configuration for a field in a
7499-
* field well.</p>
7500-
* @public
7501-
*/
7502-
export interface FieldSort {
7503-
/**
7504-
* <p>The sort configuration target field.</p>
7505-
* @public
7506-
*/
7507-
FieldId: string | undefined;
7508-
7509-
/**
7510-
* <p>The sort direction. Choose one of the following
7511-
* options:</p>
7512-
* <ul>
7513-
* <li>
7514-
* <p>
7515-
* <code>ASC</code>: Ascending</p>
7516-
* </li>
7517-
* <li>
7518-
* <p>
7519-
* <code>DESC</code>: Descending</p>
7520-
* </li>
7521-
* </ul>
7522-
* @public
7523-
*/
7524-
Direction: SortDirection | undefined;
7525-
}
7526-
75277491
/**
75287492
* @internal
75297493
*/

clients/client-quicksight/src/models/models_1.ts

+63-76
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@ import {
1616
DataLabelOptionsFilterSensitiveLog,
1717
DataLabelPosition,
1818
DimensionField,
19-
FieldSort,
2019
FontConfiguration,
2120
FormatConfiguration,
2221
FormatConfigurationFilterSensitiveLog,
2322
HorizontalTextAlignment,
24-
ItemsLimitConfiguration,
2523
LegendOptions,
2624
MeasureField,
2725
MeasureFieldFilterSensitiveLog,
2826
NumberDisplayFormatConfiguration,
2927
NumberDisplayFormatConfigurationFilterSensitiveLog,
28+
OtherCategories,
3029
PercentageDisplayFormatConfiguration,
3130
PercentageDisplayFormatConfigurationFilterSensitiveLog,
3231
ReferenceLine,
@@ -41,6 +40,68 @@ import {
4140
WidgetStatus,
4241
} from "./models_0";
4342

43+
/**
44+
* <p>The limit configuration of the visual display for an axis.</p>
45+
* @public
46+
*/
47+
export interface ItemsLimitConfiguration {
48+
/**
49+
* <p>The limit on how many items of a field are showed in the chart. For
50+
* example, the number of slices that are displayed in a pie chart.</p>
51+
* @public
52+
*/
53+
ItemsLimit?: number;
54+
55+
/**
56+
* <p>The <code>Show
57+
* other</code> of an axis in the chart. Choose one of the following options:</p>
58+
* <ul>
59+
* <li>
60+
* <p>
61+
* <code>INCLUDE</code>
62+
* </p>
63+
* </li>
64+
* <li>
65+
* <p>
66+
* <code>EXCLUDE</code>
67+
* </p>
68+
* </li>
69+
* </ul>
70+
* @public
71+
*/
72+
OtherCategories?: OtherCategories;
73+
}
74+
75+
/**
76+
* <p>The sort configuration for a field in a
77+
* field well.</p>
78+
* @public
79+
*/
80+
export interface FieldSort {
81+
/**
82+
* <p>The sort configuration target field.</p>
83+
* @public
84+
*/
85+
FieldId: string | undefined;
86+
87+
/**
88+
* <p>The sort direction. Choose one of the following
89+
* options:</p>
90+
* <ul>
91+
* <li>
92+
* <p>
93+
* <code>ASC</code>: Ascending</p>
94+
* </li>
95+
* <li>
96+
* <p>
97+
* <code>DESC</code>: Descending</p>
98+
* </li>
99+
* </ul>
100+
* @public
101+
*/
102+
Direction: SortDirection | undefined;
103+
}
104+
44105
/**
45106
* <p>The field sort options in a chart configuration.</p>
46107
* @public
@@ -7755,73 +7816,6 @@ export interface TreeMapConfiguration {
77557816
Interactions?: VisualInteractionOptions;
77567817
}
77577818

7758-
/**
7759-
* <p>A tree map.</p>
7760-
* <p>For more information, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html">Using tree maps</a> in the <i>Amazon QuickSight User Guide</i>.</p>
7761-
* @public
7762-
*/
7763-
export interface TreeMapVisual {
7764-
/**
7765-
* <p>The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..</p>
7766-
* @public
7767-
*/
7768-
VisualId: string | undefined;
7769-
7770-
/**
7771-
* <p>The title that is displayed on the visual.</p>
7772-
* @public
7773-
*/
7774-
Title?: VisualTitleLabelOptions;
7775-
7776-
/**
7777-
* <p>The subtitle that is displayed on the visual.</p>
7778-
* @public
7779-
*/
7780-
Subtitle?: VisualSubtitleLabelOptions;
7781-
7782-
/**
7783-
* <p>The configuration settings of the visual.</p>
7784-
* @public
7785-
*/
7786-
ChartConfiguration?: TreeMapConfiguration;
7787-
7788-
/**
7789-
* <p>The list of custom actions that are configured for a visual.</p>
7790-
* @public
7791-
*/
7792-
Actions?: VisualCustomAction[];
7793-
7794-
/**
7795-
* <p>The column hierarchy that is used during drill-downs and drill-ups.</p>
7796-
* @public
7797-
*/
7798-
ColumnHierarchies?: ColumnHierarchy[];
7799-
}
7800-
7801-
/**
7802-
* <p>The color configuration for individual groups within a waterfall visual.</p>
7803-
* @public
7804-
*/
7805-
export interface WaterfallChartGroupColorConfiguration {
7806-
/**
7807-
* <p>Defines the color for the positive bars of a waterfall chart.</p>
7808-
* @public
7809-
*/
7810-
PositiveBarColor?: string;
7811-
7812-
/**
7813-
* <p>Defines the color for the negative bars of a waterfall chart.</p>
7814-
* @public
7815-
*/
7816-
NegativeBarColor?: string;
7817-
7818-
/**
7819-
* <p>Defines the color for the total bars of a waterfall chart.</p>
7820-
* @public
7821-
*/
7822-
TotalBarColor?: string;
7823-
}
7824-
78257819
/**
78267820
* @internal
78277821
*/
@@ -8987,10 +8981,3 @@ export const TreeMapConfigurationFilterSensitiveLog = (obj: TreeMapConfiguration
89878981
...obj,
89888982
...(obj.DataLabels && { DataLabels: DataLabelOptionsFilterSensitiveLog(obj.DataLabels) }),
89898983
});
8990-
8991-
/**
8992-
* @internal
8993-
*/
8994-
export const TreeMapVisualFilterSensitiveLog = (obj: TreeMapVisual): any => ({
8995-
...obj,
8996-
});

0 commit comments

Comments
 (0)