Skip to content

Commit 2c03dc7

Browse files
author
awstools
committed
feat(client-quicksight): Add support for PerformanceConfiguration attribute to Dataset entity. Allow PerformanceConfiguration specification in CreateDataset and UpdateDataset APIs.
1 parent c7611a4 commit 2c03dc7

11 files changed

+328
-163
lines changed

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

+9
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
295295
* FolderArns: [ // FolderArnList
296296
* "STRING_VALUE",
297297
* ],
298+
* PerformanceConfiguration: { // PerformanceConfiguration
299+
* UniqueKeys: [ // UniqueKeyList
300+
* { // UniqueKey
301+
* ColumnNames: [ // UniqueKeyColumnNameList // required
302+
* "STRING_VALUE",
303+
* ],
304+
* },
305+
* ],
306+
* },
298307
* };
299308
* const command = new CreateDataSetCommand(input);
300309
* const response = await client.send(command);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
DescribeAnalysisDefinitionRequest,
1010
DescribeAnalysisDefinitionResponse,
1111
DescribeAnalysisDefinitionResponseFilterSensitiveLog,
12-
} from "../models/models_3";
12+
} from "../models/models_4";
1313
import { de_DescribeAnalysisDefinitionCommand, se_DescribeAnalysisDefinitionCommand } from "../protocols/Aws_restJson1";
1414
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1515

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

+9
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,15 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _
296296
* // },
297297
* // },
298298
* // ],
299+
* // PerformanceConfiguration: { // PerformanceConfiguration
300+
* // UniqueKeys: [ // UniqueKeyList
301+
* // { // UniqueKey
302+
* // ColumnNames: [ // UniqueKeyColumnNameList // required
303+
* // "STRING_VALUE",
304+
* // ],
305+
* // },
306+
* // ],
307+
* // },
299308
* // },
300309
* // RequestId: "STRING_VALUE",
301310
* // Status: Number("int"),

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +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 {
9-
UpdateApplicationWithTokenExchangeGrantRequest,
10-
UpdateApplicationWithTokenExchangeGrantResponse,
11-
} from "../models/models_4";
8+
import { UpdateApplicationWithTokenExchangeGrantRequest } from "../models/models_4";
9+
import { UpdateApplicationWithTokenExchangeGrantResponse } from "../models/models_5";
1210
import {
1311
de_UpdateApplicationWithTokenExchangeGrantCommand,
1412
se_UpdateApplicationWithTokenExchangeGrantCommand,

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ 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 { UpdateBrandRequest } from "../models/models_4";
9-
import { UpdateBrandResponse } from "../models/models_5";
8+
import { UpdateBrandRequest, UpdateBrandResponse } from "../models/models_5";
109
import { de_UpdateBrandCommand, se_UpdateBrandCommand } from "../protocols/Aws_restJson1";
1110
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1211

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

+9
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,15 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
278278
* },
279279
* },
280280
* ],
281+
* PerformanceConfiguration: { // PerformanceConfiguration
282+
* UniqueKeys: [ // UniqueKeyList
283+
* { // UniqueKey
284+
* ColumnNames: [ // UniqueKeyColumnNameList // required
285+
* "STRING_VALUE",
286+
* ],
287+
* },
288+
* ],
289+
* },
281290
* };
282291
* const command = new UpdateDataSetCommand(input);
283292
* const response = await client.send(command);

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

+36-118
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
AdHocFilteringOption,
99
Analysis,
1010
AnalysisDefaults,
11-
AnalysisError,
1211
AssetOptions,
1312
CalculatedField,
1413
CalculatedFieldFilterSensitiveLog,
@@ -2328,6 +2327,30 @@ export interface LogicalTable {
23282327
Source: LogicalTableSource | undefined;
23292328
}
23302329

2330+
/**
2331+
* <p>A <code>UniqueKey</code> configuration that references a dataset column.</p>
2332+
* @public
2333+
*/
2334+
export interface UniqueKey {
2335+
/**
2336+
* <p>The name of the column that is referenced in the <code>UniqueKey</code> configuration.</p>
2337+
* @public
2338+
*/
2339+
ColumnNames: string[] | undefined;
2340+
}
2341+
2342+
/**
2343+
* <p>The configuration for the performance optimization of the dataset that contains a <code>UniqueKey</code> configuration.</p>
2344+
* @public
2345+
*/
2346+
export interface PerformanceConfiguration {
2347+
/**
2348+
* <p>A <code>UniqueKey</code> configuration.</p>
2349+
* @public
2350+
*/
2351+
UniqueKeys?: UniqueKey[] | undefined;
2352+
}
2353+
23312354
/**
23322355
* @public
23332356
* @enum
@@ -2847,6 +2870,12 @@ export interface CreateDataSetRequest {
28472870
* @public
28482871
*/
28492872
FolderArns?: string[] | undefined;
2873+
2874+
/**
2875+
* <p>The configuration for the performance optimization of the dataset that contains a <code>UniqueKey</code> configuration.</p>
2876+
* @public
2877+
*/
2878+
PerformanceConfiguration?: PerformanceConfiguration | undefined;
28502879
}
28512880

28522881
/**
@@ -6817,6 +6846,12 @@ export interface DataSet {
68176846
* @public
68186847
*/
68196848
DatasetParameters?: DatasetParameter[] | undefined;
6849+
6850+
/**
6851+
* <p>The performance optimization configuration of a dataset.</p>
6852+
* @public
6853+
*/
6854+
PerformanceConfiguration?: PerformanceConfiguration | undefined;
68206855
}
68216856

68226857
/**
@@ -8863,116 +8898,6 @@ export interface DescribeAnalysisResponse {
88638898
RequestId?: string | undefined;
88648899
}
88658900

8866-
/**
8867-
* @public
8868-
*/
8869-
export interface DescribeAnalysisDefinitionRequest {
8870-
/**
8871-
* <p>The ID of the Amazon Web Services account that contains the analysis. You must be using the
8872-
* Amazon Web Services account that the analysis is in.</p>
8873-
* @public
8874-
*/
8875-
AwsAccountId: string | undefined;
8876-
8877-
/**
8878-
* <p>The ID of the analysis that you're describing. The ID is part of the URL of the
8879-
* analysis.</p>
8880-
* @public
8881-
*/
8882-
AnalysisId: string | undefined;
8883-
}
8884-
8885-
/**
8886-
* @public
8887-
*/
8888-
export interface DescribeAnalysisDefinitionResponse {
8889-
/**
8890-
* <p>The ID of the analysis described.</p>
8891-
* @public
8892-
*/
8893-
AnalysisId?: string | undefined;
8894-
8895-
/**
8896-
* <p>The descriptive name of the analysis.</p>
8897-
* @public
8898-
*/
8899-
Name?: string | undefined;
8900-
8901-
/**
8902-
* <p>Errors associated with the analysis.</p>
8903-
* @public
8904-
*/
8905-
Errors?: AnalysisError[] | undefined;
8906-
8907-
/**
8908-
* <p>Status associated with the analysis.</p>
8909-
* <ul>
8910-
* <li>
8911-
* <p>
8912-
* <code>CREATION_IN_PROGRESS</code>
8913-
* </p>
8914-
* </li>
8915-
* <li>
8916-
* <p>
8917-
* <code>CREATION_SUCCESSFUL</code>
8918-
* </p>
8919-
* </li>
8920-
* <li>
8921-
* <p>
8922-
* <code>CREATION_FAILED</code>
8923-
* </p>
8924-
* </li>
8925-
* <li>
8926-
* <p>
8927-
* <code>UPDATE_IN_PROGRESS</code>
8928-
* </p>
8929-
* </li>
8930-
* <li>
8931-
* <p>
8932-
* <code>UPDATE_SUCCESSFUL</code>
8933-
* </p>
8934-
* </li>
8935-
* <li>
8936-
* <p>
8937-
* <code>UPDATE_FAILED</code>
8938-
* </p>
8939-
* </li>
8940-
* <li>
8941-
* <p>
8942-
* <code>DELETED</code>
8943-
* </p>
8944-
* </li>
8945-
* </ul>
8946-
* @public
8947-
*/
8948-
ResourceStatus?: ResourceStatus | undefined;
8949-
8950-
/**
8951-
* <p>The ARN of the theme of the analysis.</p>
8952-
* @public
8953-
*/
8954-
ThemeArn?: string | undefined;
8955-
8956-
/**
8957-
* <p>The definition of an analysis.</p>
8958-
* <p>A definition is the data model of all features in a Dashboard, Template, or Analysis.</p>
8959-
* @public
8960-
*/
8961-
Definition?: AnalysisDefinition | undefined;
8962-
8963-
/**
8964-
* <p>The HTTP status of the request.</p>
8965-
* @public
8966-
*/
8967-
Status?: number | undefined;
8968-
8969-
/**
8970-
* <p>The Amazon Web Services request ID for this operation.</p>
8971-
* @public
8972-
*/
8973-
RequestId?: string | undefined;
8974-
}
8975-
89768901
/**
89778902
* @internal
89788903
*/
@@ -9383,10 +9308,3 @@ export const DataSetFilterSensitiveLog = (obj: DataSet): any => ({
93839308
export const DescribeAnalysisResponseFilterSensitiveLog = (obj: DescribeAnalysisResponse): any => ({
93849309
...obj,
93859310
});
9386-
9387-
/**
9388-
* @internal
9389-
*/
9390-
export const DescribeAnalysisDefinitionResponseFilterSensitiveLog = (obj: DescribeAnalysisDefinitionResponse): any => ({
9391-
...obj,
9392-
});

0 commit comments

Comments
 (0)