Skip to content

Commit cf31194

Browse files
author
awstools
committed
feat(client-quicksight): Got confirmed from qmeixua@ about custom week features, and tested locally with aws cli and java sdk that the subtypes are showing up.
1 parent 2c85ed8 commit cf31194

25 files changed

+565
-257
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -4574,6 +4574,10 @@ export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __M
45744574
* SheetContentType: "PAGINATED" || "INTERACTIVE",
45754575
* },
45764576
* },
4577+
* Options: { // AssetOptions
4578+
* Timezone: "STRING_VALUE",
4579+
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4580+
* },
45774581
* },
45784582
* ValidationStrategy: { // ValidationStrategy
45794583
* Mode: "STRICT" || "LENIENT", // required

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

+4
Original file line numberDiff line numberDiff line change
@@ -4620,6 +4620,10 @@ export interface CreateDashboardCommandOutput extends CreateDashboardResponse, _
46204620
* SheetContentType: "PAGINATED" || "INTERACTIVE",
46214621
* },
46224622
* },
4623+
* Options: { // AssetOptions
4624+
* Timezone: "STRING_VALUE",
4625+
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4626+
* },
46234627
* },
46244628
* ValidationStrategy: { // ValidationStrategy
46254629
* Mode: "STRICT" || "LENIENT", // required

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

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
6363
* { // InputColumn
6464
* Name: "STRING_VALUE", // required
6565
* Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
66+
* SubType: "FLOAT" || "FIXED",
6667
* },
6768
* ],
6869
* },
@@ -74,6 +75,7 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
7475
* {
7576
* Name: "STRING_VALUE", // required
7677
* Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
78+
* SubType: "FLOAT" || "FIXED",
7779
* },
7880
* ],
7981
* },
@@ -90,6 +92,7 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
9092
* {
9193
* Name: "STRING_VALUE", // required
9294
* Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
95+
* SubType: "FLOAT" || "FIXED",
9396
* },
9497
* ],
9598
* },
@@ -124,6 +127,7 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
124127
* CastColumnTypeOperation: { // CastColumnTypeOperation
125128
* ColumnName: "STRING_VALUE", // required
126129
* NewColumnType: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME", // required
130+
* SubType: "FLOAT" || "FIXED",
127131
* Format: "STRING_VALUE",
128132
* },
129133
* TagColumnOperation: { // TagColumnOperation

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

+4
Original file line numberDiff line numberDiff line change
@@ -4568,6 +4568,10 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
45684568
* SheetContentType: "PAGINATED" || "INTERACTIVE",
45694569
* },
45704570
* },
4571+
* Options: { // AssetOptions
4572+
* Timezone: "STRING_VALUE",
4573+
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4574+
* },
45714575
* },
45724576
* ValidationStrategy: { // ValidationStrategy
45734577
* Mode: "STRICT" || "LENIENT", // required

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import {
1414
SMITHY_CONTEXT_KEY,
1515
} from "@smithy/types";
1616

17-
import { CreateVPCConnectionRequest, CreateVPCConnectionResponse } from "../models/models_2";
17+
import { CreateVPCConnectionRequest } from "../models/models_2";
18+
import { CreateVPCConnectionResponse } from "../models/models_3";
1819
import { de_CreateVPCConnectionCommand, se_CreateVPCConnectionCommand } from "../protocols/Aws_restJson1";
1920
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
2021

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

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ export interface DescribeAnalysisCommandOutput extends DescribeAnalysisResponse,
7979
* // Name: "STRING_VALUE",
8080
* // },
8181
* // ],
82+
* // Options: { // AssetOptions
83+
* // Timezone: "STRING_VALUE",
84+
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
85+
* // },
8286
* // },
8387
* // Status: Number("int"),
8488
* // RequestId: "STRING_VALUE",

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

+4
Original file line numberDiff line numberDiff line change
@@ -4540,6 +4540,10 @@ export interface DescribeAnalysisDefinitionCommandOutput extends DescribeAnalysi
45404540
* // SheetContentType: "PAGINATED" || "INTERACTIVE",
45414541
* // },
45424542
* // },
4543+
* // Options: { // AssetOptions
4544+
* // Timezone: "STRING_VALUE",
4545+
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4546+
* // },
45434547
* // },
45444548
* // Status: Number("int"),
45454549
* // RequestId: "STRING_VALUE",

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

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export interface DescribeDashboardCommandOutput extends DescribeDashboardRespons
8585
* // Name: "STRING_VALUE",
8686
* // },
8787
* // ],
88+
* // Options: { // AssetOptions
89+
* // Timezone: "STRING_VALUE",
90+
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
91+
* // },
8892
* // },
8993
* // CreatedTime: new Date("TIMESTAMP"),
9094
* // LastPublishedTime: new Date("TIMESTAMP"),

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

+4
Original file line numberDiff line numberDiff line change
@@ -4547,6 +4547,10 @@ export interface DescribeDashboardDefinitionCommandOutput
45474547
* // SheetContentType: "PAGINATED" || "INTERACTIVE",
45484548
* // },
45494549
* // },
4550+
* // Options: { // AssetOptions
4551+
* // Timezone: "STRING_VALUE",
4552+
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4553+
* // },
45504554
* // },
45514555
* // Status: Number("int"),
45524556
* // RequestId: "STRING_VALUE",

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

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _
7272
* // { // InputColumn
7373
* // Name: "STRING_VALUE", // required
7474
* // Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
75+
* // SubType: "FLOAT" || "FIXED",
7576
* // },
7677
* // ],
7778
* // },
@@ -83,6 +84,7 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _
8384
* // {
8485
* // Name: "STRING_VALUE", // required
8586
* // Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
87+
* // SubType: "FLOAT" || "FIXED",
8688
* // },
8789
* // ],
8890
* // },
@@ -99,6 +101,7 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _
99101
* // {
100102
* // Name: "STRING_VALUE", // required
101103
* // Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
104+
* // SubType: "FLOAT" || "FIXED",
102105
* // },
103106
* // ],
104107
* // },
@@ -133,6 +136,7 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _
133136
* // CastColumnTypeOperation: { // CastColumnTypeOperation
134137
* // ColumnName: "STRING_VALUE", // required
135138
* // NewColumnType: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME", // required
139+
* // SubType: "FLOAT" || "FIXED",
136140
* // Format: "STRING_VALUE",
137141
* // },
138142
* // TagColumnOperation: { // TagColumnOperation
@@ -195,6 +199,7 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _
195199
* // Name: "STRING_VALUE",
196200
* // Description: "STRING_VALUE",
197201
* // Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME",
202+
* // SubType: "FLOAT" || "FIXED",
198203
* // },
199204
* // ],
200205
* // ImportMode: "SPICE" || "DIRECT_QUERY",

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

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ export interface DescribeTemplateCommandOutput extends DescribeTemplateResponse,
104104
* // Name: "STRING_VALUE",
105105
* // },
106106
* // ],
107+
* // Options: { // AssetOptions
108+
* // Timezone: "STRING_VALUE",
109+
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
110+
* // },
107111
* // },
108112
* // TemplateId: "STRING_VALUE",
109113
* // LastUpdatedTime: new Date("TIMESTAMP"),

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

+4
Original file line numberDiff line numberDiff line change
@@ -4560,6 +4560,10 @@ export interface DescribeTemplateDefinitionCommandOutput extends DescribeTemplat
45604560
* // SheetContentType: "PAGINATED" || "INTERACTIVE",
45614561
* // },
45624562
* // },
4563+
* // Options: { // AssetOptions
4564+
* // Timezone: "STRING_VALUE",
4565+
* // WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4566+
* // },
45634567
* // },
45644568
* // Status: Number("int"),
45654569
* // RequestId: "STRING_VALUE",

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import {
1414
SMITHY_CONTEXT_KEY,
1515
} from "@smithy/types";
1616

17-
import { SearchDataSetsRequest, SearchDataSetsResponse } from "../models/models_3";
17+
import { SearchDataSetsRequest } from "../models/models_3";
18+
import { SearchDataSetsResponse } from "../models/models_4";
1819
import { de_SearchDataSetsCommand, se_SearchDataSetsCommand } from "../protocols/Aws_restJson1";
1920
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
2021

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
SMITHY_CONTEXT_KEY,
1515
} from "@smithy/types";
1616

17-
import { SearchDataSourcesRequest, SearchDataSourcesResponse } from "../models/models_3";
17+
import { SearchDataSourcesRequest, SearchDataSourcesResponse } from "../models/models_4";
1818
import { de_SearchDataSourcesCommand, se_SearchDataSourcesCommand } from "../protocols/Aws_restJson1";
1919
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
2020

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

+4
Original file line numberDiff line numberDiff line change
@@ -4560,6 +4560,10 @@ export interface UpdateAnalysisCommandOutput extends UpdateAnalysisResponse, __M
45604560
* SheetContentType: "PAGINATED" || "INTERACTIVE",
45614561
* },
45624562
* },
4563+
* Options: { // AssetOptions
4564+
* Timezone: "STRING_VALUE",
4565+
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4566+
* },
45634567
* },
45644568
* ValidationStrategy: { // ValidationStrategy
45654569
* Mode: "STRICT" || "LENIENT", // required

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

+4
Original file line numberDiff line numberDiff line change
@@ -4605,6 +4605,10 @@ export interface UpdateDashboardCommandOutput extends UpdateDashboardResponse, _
46054605
* SheetContentType: "PAGINATED" || "INTERACTIVE",
46064606
* },
46074607
* },
4608+
* Options: { // AssetOptions
4609+
* Timezone: "STRING_VALUE",
4610+
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4611+
* },
46084612
* },
46094613
* ValidationStrategy: { // ValidationStrategy
46104614
* Mode: "STRICT" || "LENIENT", // required

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

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
6363
* { // InputColumn
6464
* Name: "STRING_VALUE", // required
6565
* Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
66+
* SubType: "FLOAT" || "FIXED",
6667
* },
6768
* ],
6869
* },
@@ -74,6 +75,7 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
7475
* {
7576
* Name: "STRING_VALUE", // required
7677
* Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
78+
* SubType: "FLOAT" || "FIXED",
7779
* },
7880
* ],
7981
* },
@@ -90,6 +92,7 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
9092
* {
9193
* Name: "STRING_VALUE", // required
9294
* Type: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME" || "BIT" || "BOOLEAN" || "JSON", // required
95+
* SubType: "FLOAT" || "FIXED",
9396
* },
9497
* ],
9598
* },
@@ -124,6 +127,7 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
124127
* CastColumnTypeOperation: { // CastColumnTypeOperation
125128
* ColumnName: "STRING_VALUE", // required
126129
* NewColumnType: "STRING" || "INTEGER" || "DECIMAL" || "DATETIME", // required
130+
* SubType: "FLOAT" || "FIXED",
127131
* Format: "STRING_VALUE",
128132
* },
129133
* TagColumnOperation: { // TagColumnOperation

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

+4
Original file line numberDiff line numberDiff line change
@@ -4547,6 +4547,10 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M
45474547
* SheetContentType: "PAGINATED" || "INTERACTIVE",
45484548
* },
45494549
* },
4550+
* Options: { // AssetOptions
4551+
* Timezone: "STRING_VALUE",
4552+
* WeekStart: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
4553+
* },
45504554
* },
45514555
* ValidationStrategy: { // ValidationStrategy
45524556
* Mode: "STRICT" || "LENIENT", // required

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

+43-37
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,43 @@ export interface AnalysisError {
602602
ViolatedEntities?: Entity[];
603603
}
604604

605+
/**
606+
* @public
607+
* @enum
608+
*/
609+
export const DayOfTheWeek = {
610+
FRIDAY: "FRIDAY",
611+
MONDAY: "MONDAY",
612+
SATURDAY: "SATURDAY",
613+
SUNDAY: "SUNDAY",
614+
THURSDAY: "THURSDAY",
615+
TUESDAY: "TUESDAY",
616+
WEDNESDAY: "WEDNESDAY",
617+
} as const;
618+
619+
/**
620+
* @public
621+
*/
622+
export type DayOfTheWeek = (typeof DayOfTheWeek)[keyof typeof DayOfTheWeek];
623+
624+
/**
625+
* @public
626+
* <p>An array of analysis level configurations.</p>
627+
*/
628+
export interface AssetOptions {
629+
/**
630+
* @public
631+
* <p>Determines the timezone for the analysis.</p>
632+
*/
633+
Timezone?: string;
634+
635+
/**
636+
* @public
637+
* <p>Determines the week start day for an analysis.</p>
638+
*/
639+
WeekStart?: DayOfTheWeek;
640+
}
641+
605642
/**
606643
* @public
607644
* <p>A <i>sheet</i>, which is an object that contains a set of visuals that
@@ -708,6 +745,12 @@ export interface Analysis {
708745
* <p>A list of the associated sheets with the unique identifier and name of each sheet.</p>
709746
*/
710747
Sheets?: Sheet[];
748+
749+
/**
750+
* @public
751+
* <p>An array of analysis level configurations.</p>
752+
*/
753+
Options?: AssetOptions;
711754
}
712755

713756
/**
@@ -7503,43 +7546,6 @@ export interface VisualSubtitleLabelOptions {
75037546
FormatText?: LongFormatText;
75047547
}
75057548

7506-
/**
7507-
* @public
7508-
* <p>The text format for the title.</p>
7509-
* <p>This is a union type structure. For this structure to be valid, only one of the attributes can be defined.</p>
7510-
*/
7511-
export interface ShortFormatText {
7512-
/**
7513-
* @public
7514-
* <p>Plain text format.</p>
7515-
*/
7516-
PlainText?: string;
7517-
7518-
/**
7519-
* @public
7520-
* <p>Rich text. Examples of rich text include bold, underline, and italics.</p>
7521-
*/
7522-
RichText?: string;
7523-
}
7524-
7525-
/**
7526-
* @public
7527-
* <p>The title label options for a visual.</p>
7528-
*/
7529-
export interface VisualTitleLabelOptions {
7530-
/**
7531-
* @public
7532-
* <p>The visibility of the title label.</p>
7533-
*/
7534-
Visibility?: Visibility;
7535-
7536-
/**
7537-
* @public
7538-
* <p>The short text format of the title label, such as plain text or rich text.</p>
7539-
*/
7540-
FormatText?: ShortFormatText;
7541-
}
7542-
75437549
/**
75447550
* @internal
75457551
*/

0 commit comments

Comments
 (0)