diff --git a/clients/client-quicksight/src/commands/CreateDataSetCommand.ts b/clients/client-quicksight/src/commands/CreateDataSetCommand.ts index ddf619058e72..0dbac7db06f0 100644 --- a/clients/client-quicksight/src/commands/CreateDataSetCommand.ts +++ b/clients/client-quicksight/src/commands/CreateDataSetCommand.ts @@ -295,6 +295,15 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met * FolderArns: [ // FolderArnList * "STRING_VALUE", * ], + * PerformanceConfiguration: { // PerformanceConfiguration + * UniqueKeys: [ // UniqueKeyList + * { // UniqueKey + * ColumnNames: [ // UniqueKeyColumnNameList // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, * }; * const command = new CreateDataSetCommand(input); * const response = await client.send(command); diff --git a/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts b/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts index 67d3bbe661d7..ad1bb9a7f2f6 100644 --- a/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeAnalysisDefinitionCommand.ts @@ -9,7 +9,7 @@ import { DescribeAnalysisDefinitionRequest, DescribeAnalysisDefinitionResponse, DescribeAnalysisDefinitionResponseFilterSensitiveLog, -} from "../models/models_3"; +} from "../models/models_4"; import { de_DescribeAnalysisDefinitionCommand, se_DescribeAnalysisDefinitionCommand } from "../protocols/Aws_restJson1"; import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; diff --git a/clients/client-quicksight/src/commands/DescribeDataSetCommand.ts b/clients/client-quicksight/src/commands/DescribeDataSetCommand.ts index 2cca205e0e3f..22b816671dea 100644 --- a/clients/client-quicksight/src/commands/DescribeDataSetCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeDataSetCommand.ts @@ -296,6 +296,15 @@ export interface DescribeDataSetCommandOutput extends DescribeDataSetResponse, _ * // }, * // }, * // ], + * // PerformanceConfiguration: { // PerformanceConfiguration + * // UniqueKeys: [ // UniqueKeyList + * // { // UniqueKey + * // ColumnNames: [ // UniqueKeyColumnNameList // required + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, * // }, * // RequestId: "STRING_VALUE", * // Status: Number("int"), diff --git a/clients/client-quicksight/src/commands/UpdateApplicationWithTokenExchangeGrantCommand.ts b/clients/client-quicksight/src/commands/UpdateApplicationWithTokenExchangeGrantCommand.ts index aaff1f2e68fd..cfc9ab079a67 100644 --- a/clients/client-quicksight/src/commands/UpdateApplicationWithTokenExchangeGrantCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateApplicationWithTokenExchangeGrantCommand.ts @@ -5,10 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateApplicationWithTokenExchangeGrantRequest, - UpdateApplicationWithTokenExchangeGrantResponse, -} from "../models/models_4"; +import { UpdateApplicationWithTokenExchangeGrantRequest } from "../models/models_4"; +import { UpdateApplicationWithTokenExchangeGrantResponse } from "../models/models_5"; import { de_UpdateApplicationWithTokenExchangeGrantCommand, se_UpdateApplicationWithTokenExchangeGrantCommand, diff --git a/clients/client-quicksight/src/commands/UpdateBrandCommand.ts b/clients/client-quicksight/src/commands/UpdateBrandCommand.ts index fe017b21e5fe..9d2969de6c50 100644 --- a/clients/client-quicksight/src/commands/UpdateBrandCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateBrandCommand.ts @@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateBrandRequest } from "../models/models_4"; -import { UpdateBrandResponse } from "../models/models_5"; +import { UpdateBrandRequest, UpdateBrandResponse } from "../models/models_5"; import { de_UpdateBrandCommand, se_UpdateBrandCommand } from "../protocols/Aws_restJson1"; import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; diff --git a/clients/client-quicksight/src/commands/UpdateDataSetCommand.ts b/clients/client-quicksight/src/commands/UpdateDataSetCommand.ts index 9b7508d0c293..f70b87a64422 100644 --- a/clients/client-quicksight/src/commands/UpdateDataSetCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateDataSetCommand.ts @@ -278,6 +278,15 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met * }, * }, * ], + * PerformanceConfiguration: { // PerformanceConfiguration + * UniqueKeys: [ // UniqueKeyList + * { // UniqueKey + * ColumnNames: [ // UniqueKeyColumnNameList // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, * }; * const command = new UpdateDataSetCommand(input); * const response = await client.send(command); diff --git a/clients/client-quicksight/src/models/models_3.ts b/clients/client-quicksight/src/models/models_3.ts index e21c7154e7a1..617d76039f84 100644 --- a/clients/client-quicksight/src/models/models_3.ts +++ b/clients/client-quicksight/src/models/models_3.ts @@ -8,7 +8,6 @@ import { AdHocFilteringOption, Analysis, AnalysisDefaults, - AnalysisError, AssetOptions, CalculatedField, CalculatedFieldFilterSensitiveLog, @@ -2328,6 +2327,30 @@ export interface LogicalTable { Source: LogicalTableSource | undefined; } +/** + *

A UniqueKey configuration that references a dataset column.

+ * @public + */ +export interface UniqueKey { + /** + *

The name of the column that is referenced in the UniqueKey configuration.

+ * @public + */ + ColumnNames: string[] | undefined; +} + +/** + *

The configuration for the performance optimization of the dataset that contains a UniqueKey configuration.

+ * @public + */ +export interface PerformanceConfiguration { + /** + *

A UniqueKey configuration.

+ * @public + */ + UniqueKeys?: UniqueKey[] | undefined; +} + /** * @public * @enum @@ -2847,6 +2870,12 @@ export interface CreateDataSetRequest { * @public */ FolderArns?: string[] | undefined; + + /** + *

The configuration for the performance optimization of the dataset that contains a UniqueKey configuration.

+ * @public + */ + PerformanceConfiguration?: PerformanceConfiguration | undefined; } /** @@ -6817,6 +6846,12 @@ export interface DataSet { * @public */ DatasetParameters?: DatasetParameter[] | undefined; + + /** + *

The performance optimization configuration of a dataset.

+ * @public + */ + PerformanceConfiguration?: PerformanceConfiguration | undefined; } /** @@ -8863,116 +8898,6 @@ export interface DescribeAnalysisResponse { RequestId?: string | undefined; } -/** - * @public - */ -export interface DescribeAnalysisDefinitionRequest { - /** - *

The ID of the Amazon Web Services account that contains the analysis. You must be using the - * Amazon Web Services account that the analysis is in.

- * @public - */ - AwsAccountId: string | undefined; - - /** - *

The ID of the analysis that you're describing. The ID is part of the URL of the - * analysis.

- * @public - */ - AnalysisId: string | undefined; -} - -/** - * @public - */ -export interface DescribeAnalysisDefinitionResponse { - /** - *

The ID of the analysis described.

- * @public - */ - AnalysisId?: string | undefined; - - /** - *

The descriptive name of the analysis.

- * @public - */ - Name?: string | undefined; - - /** - *

Errors associated with the analysis.

- * @public - */ - Errors?: AnalysisError[] | undefined; - - /** - *

Status associated with the analysis.

- * - * @public - */ - ResourceStatus?: ResourceStatus | undefined; - - /** - *

The ARN of the theme of the analysis.

- * @public - */ - ThemeArn?: string | undefined; - - /** - *

The definition of an analysis.

- *

A definition is the data model of all features in a Dashboard, Template, or Analysis.

- * @public - */ - Definition?: AnalysisDefinition | undefined; - - /** - *

The HTTP status of the request.

- * @public - */ - Status?: number | undefined; - - /** - *

The Amazon Web Services request ID for this operation.

- * @public - */ - RequestId?: string | undefined; -} - /** * @internal */ @@ -9383,10 +9308,3 @@ export const DataSetFilterSensitiveLog = (obj: DataSet): any => ({ export const DescribeAnalysisResponseFilterSensitiveLog = (obj: DescribeAnalysisResponse): any => ({ ...obj, }); - -/** - * @internal - */ -export const DescribeAnalysisDefinitionResponseFilterSensitiveLog = (obj: DescribeAnalysisDefinitionResponse): any => ({ - ...obj, -}); diff --git a/clients/client-quicksight/src/models/models_4.ts b/clients/client-quicksight/src/models/models_4.ts index ba66ea58a360..8677a289c2ff 100644 --- a/clients/client-quicksight/src/models/models_4.ts +++ b/clients/client-quicksight/src/models/models_4.ts @@ -1,7 +1,14 @@ // smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; -import { AccountCustomization, ActiveIAMPolicyAssignment, Entity, ResourceStatus, Sheet } from "./models_0"; +import { + AccountCustomization, + ActiveIAMPolicyAssignment, + AnalysisError, + Entity, + ResourceStatus, + Sheet, +} from "./models_0"; import { AnalysisDefinition, @@ -91,6 +98,116 @@ import { import { QuickSightServiceException as __BaseException } from "./QuickSightServiceException"; +/** + * @public + */ +export interface DescribeAnalysisDefinitionRequest { + /** + *

The ID of the Amazon Web Services account that contains the analysis. You must be using the + * Amazon Web Services account that the analysis is in.

+ * @public + */ + AwsAccountId: string | undefined; + + /** + *

The ID of the analysis that you're describing. The ID is part of the URL of the + * analysis.

+ * @public + */ + AnalysisId: string | undefined; +} + +/** + * @public + */ +export interface DescribeAnalysisDefinitionResponse { + /** + *

The ID of the analysis described.

+ * @public + */ + AnalysisId?: string | undefined; + + /** + *

The descriptive name of the analysis.

+ * @public + */ + Name?: string | undefined; + + /** + *

Errors associated with the analysis.

+ * @public + */ + Errors?: AnalysisError[] | undefined; + + /** + *

Status associated with the analysis.

+ * + * @public + */ + ResourceStatus?: ResourceStatus | undefined; + + /** + *

The ARN of the theme of the analysis.

+ * @public + */ + ThemeArn?: string | undefined; + + /** + *

The definition of an analysis.

+ *

A definition is the data model of all features in a Dashboard, Template, or Analysis.

+ * @public + */ + Definition?: AnalysisDefinition | undefined; + + /** + *

The HTTP status of the request.

+ * @public + */ + Status?: number | undefined; + + /** + *

The Amazon Web Services request ID for this operation.

+ * @public + */ + RequestId?: string | undefined; +} + /** * @public */ @@ -9067,44 +9184,11 @@ export interface UpdateApplicationWithTokenExchangeGrantRequest { } /** - * @public - */ -export interface UpdateApplicationWithTokenExchangeGrantResponse { - /** - *

The HTTP status of the request.

- * @public - */ - Status?: number | undefined; - - /** - *

The Amazon Web Services request ID for this operation.

- * @public - */ - RequestId?: string | undefined; -} - -/** - * @public + * @internal */ -export interface UpdateBrandRequest { - /** - *

The ID of the Amazon Web Services account that owns the brand.

- * @public - */ - AwsAccountId: string | undefined; - - /** - *

The ID of the Amazon QuickSight brand.

- * @public - */ - BrandId: string | undefined; - - /** - *

The definition of the brand.

- * @public - */ - BrandDefinition?: BrandDefinition | undefined; -} +export const DescribeAnalysisDefinitionResponseFilterSensitiveLog = (obj: DescribeAnalysisDefinitionResponse): any => ({ + ...obj, +}); /** * @internal diff --git a/clients/client-quicksight/src/models/models_5.ts b/clients/client-quicksight/src/models/models_5.ts index 0c583f6bd254..52d0e05c6700 100644 --- a/clients/client-quicksight/src/models/models_5.ts +++ b/clients/client-quicksight/src/models/models_5.ts @@ -36,6 +36,7 @@ import { LinkSharingConfiguration, LogicalTable, LogicalTableFilterSensitiveLog, + PerformanceConfiguration, PhysicalTable, RefreshSchedule, ResourcePermission, @@ -65,6 +66,46 @@ import { UserRole, } from "./models_4"; +/** + * @public + */ +export interface UpdateApplicationWithTokenExchangeGrantResponse { + /** + *

The HTTP status of the request.

+ * @public + */ + Status?: number | undefined; + + /** + *

The Amazon Web Services request ID for this operation.

+ * @public + */ + RequestId?: string | undefined; +} + +/** + * @public + */ +export interface UpdateBrandRequest { + /** + *

The ID of the Amazon Web Services account that owns the brand.

+ * @public + */ + AwsAccountId: string | undefined; + + /** + *

The ID of the Amazon QuickSight brand.

+ * @public + */ + BrandId: string | undefined; + + /** + *

The definition of the brand.

+ * @public + */ + BrandDefinition?: BrandDefinition | undefined; +} + /** * @public */ @@ -668,6 +709,12 @@ export interface UpdateDataSetRequest { * @public */ DatasetParameters?: DatasetParameter[] | undefined; + + /** + *

The configuration for the performance optimization of the dataset that contains a UniqueKey configuration.

+ * @public + */ + PerformanceConfiguration?: PerformanceConfiguration | undefined; } /** diff --git a/clients/client-quicksight/src/protocols/Aws_restJson1.ts b/clients/client-quicksight/src/protocols/Aws_restJson1.ts index 492f33361c10..5aea3a8e2e74 100644 --- a/clients/client-quicksight/src/protocols/Aws_restJson1.ts +++ b/clients/client-quicksight/src/protocols/Aws_restJson1.ts @@ -1403,6 +1403,7 @@ import { NamedEntityDefinitionMetric, NewDefaultValues, OverrideDatasetParameterOperation, + PerformanceConfiguration, PhysicalTable, PreconditionNotMetException, ProjectOperation, @@ -1453,6 +1454,7 @@ import { TransformOperation, Typography, UIColorPalette, + UniqueKey, UnsupportedUserEditionException, UntagColumnOperation, UploadSettings, @@ -1780,6 +1782,7 @@ export const se_CreateDataSetCommand = async ( ImportMode: [], LogicalTableMap: (_) => se_LogicalTableMap(_, context), Name: [], + PerformanceConfiguration: (_) => _json(_), Permissions: (_) => _json(_), PhysicalTableMap: (_) => _json(_), RowLevelPermissionDataSet: (_) => _json(_), @@ -5308,6 +5311,7 @@ export const se_UpdateDataSetCommand = async ( ImportMode: [], LogicalTableMap: (_) => se_LogicalTableMap(_, context), Name: [], + PerformanceConfiguration: (_) => _json(_), PhysicalTableMap: (_) => _json(_), RowLevelPermissionDataSet: (_) => _json(_), RowLevelPermissionTagConfiguration: (_) => _json(_), @@ -15707,6 +15711,8 @@ const se_PercentVisibleRange = (input: PercentVisibleRange, context: __SerdeCont }); }; +// se_PerformanceConfiguration omitted. + /** * serializeAws_restJson1PeriodOverPeriodComputation */ @@ -17432,6 +17438,12 @@ const se_TreeMapVisual = (input: TreeMapVisual, context: __SerdeContext): any => // se_UnaggregatedFieldList omitted. +// se_UniqueKey omitted. + +// se_UniqueKeyColumnNameList omitted. + +// se_UniqueKeyList omitted. + // se_UniqueValuesComputation omitted. // se_UntagColumnOperation omitted. @@ -19228,6 +19240,7 @@ const de_DataSet = (output: any, context: __SerdeContext): DataSet => { LogicalTableMap: (_: any) => de_LogicalTableMap(_, context), Name: __expectString, OutputColumns: _json, + PerformanceConfiguration: _json, PhysicalTableMap: _json, RowLevelPermissionDataSet: _json, RowLevelPermissionTagConfiguration: _json, @@ -21948,6 +21961,8 @@ const de_PercentVisibleRange = (output: any, context: __SerdeContext): PercentVi }) as any; }; +// de_PerformanceConfiguration omitted. + /** * deserializeAws_restJson1PeriodOverPeriodComputation */ @@ -23999,6 +24014,12 @@ const de_TreeMapVisual = (output: any, context: __SerdeContext): TreeMapVisual = // de_UnaggregatedFieldList omitted. +// de_UniqueKey omitted. + +// de_UniqueKeyColumnNameList omitted. + +// de_UniqueKeyList omitted. + // de_UniqueValuesComputation omitted. // de_UntagColumnOperation omitted. diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index b03b2dfff0a5..a436550bd565 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -9141,6 +9141,12 @@ "traits": { "smithy.api#documentation": "

When you create the dataset, Amazon QuickSight adds the dataset to these folders.

" } + }, + "PerformanceConfiguration": { + "target": "com.amazonaws.quicksight#PerformanceConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for the performance optimization of the dataset that contains a UniqueKey configuration.

" + } } }, "traits": { @@ -13418,6 +13424,12 @@ "traits": { "smithy.api#documentation": "

The parameters that are declared in a dataset.

" } + }, + "PerformanceConfiguration": { + "target": "com.amazonaws.quicksight#PerformanceConfiguration", + "traits": { + "smithy.api#documentation": "

The performance optimization configuration of a dataset.

" + } } }, "traits": { @@ -40442,6 +40454,20 @@ } } }, + "com.amazonaws.quicksight#PerformanceConfiguration": { + "type": "structure", + "members": { + "UniqueKeys": { + "target": "com.amazonaws.quicksight#UniqueKeyList", + "traits": { + "smithy.api#documentation": "

A UniqueKey configuration.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for the performance optimization of the dataset that contains a UniqueKey configuration.

" + } + }, "com.amazonaws.quicksight#PeriodOverPeriodComputation": { "type": "structure", "members": { @@ -56274,6 +56300,45 @@ "smithy.api#pattern": "^[^\\u0000-\\u00FF]$" } }, + "com.amazonaws.quicksight#UniqueKey": { + "type": "structure", + "members": { + "ColumnNames": { + "target": "com.amazonaws.quicksight#UniqueKeyColumnNameList", + "traits": { + "smithy.api#documentation": "

The name of the column that is referenced in the UniqueKey configuration.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A UniqueKey configuration that references a dataset column.

" + } + }, + "com.amazonaws.quicksight#UniqueKeyColumnNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#ColumnName" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.quicksight#UniqueKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#UniqueKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, "com.amazonaws.quicksight#UniqueValuesComputation": { "type": "structure", "members": { @@ -58187,6 +58252,12 @@ "traits": { "smithy.api#documentation": "

The parameter declarations of the dataset.

" } + }, + "PerformanceConfiguration": { + "target": "com.amazonaws.quicksight#PerformanceConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for the performance optimization of the dataset that contains a UniqueKey configuration.

" + } } }, "traits": {