diff --git a/clients/client-quicksight/src/commands/CreateTopicCommand.ts b/clients/client-quicksight/src/commands/CreateTopicCommand.ts index d4a3422c020c..f29ba35712ab 100644 --- a/clients/client-quicksight/src/commands/CreateTopicCommand.ts +++ b/clients/client-quicksight/src/commands/CreateTopicCommand.ts @@ -41,6 +41,7 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat * Topic: { // TopicDetails * Name: "STRING_VALUE", * Description: "STRING_VALUE", + * UserExperienceVersion: "LEGACY" || "NEW_READER_EXPERIENCE", * DataSets: [ // Datasets * { // DatasetMetadata * DatasetArn: "STRING_VALUE", // required diff --git a/clients/client-quicksight/src/commands/DescribeTopicCommand.ts b/clients/client-quicksight/src/commands/DescribeTopicCommand.ts index 4b51cc21f985..05ca9e9dd548 100644 --- a/clients/client-quicksight/src/commands/DescribeTopicCommand.ts +++ b/clients/client-quicksight/src/commands/DescribeTopicCommand.ts @@ -51,6 +51,7 @@ export interface DescribeTopicCommandOutput extends DescribeTopicResponse, __Met * // Topic: { // TopicDetails * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", + * // UserExperienceVersion: "LEGACY" || "NEW_READER_EXPERIENCE", * // DataSets: [ // Datasets * // { // DatasetMetadata * // DatasetArn: "STRING_VALUE", // required diff --git a/clients/client-quicksight/src/commands/ListTagsForResourceCommand.ts b/clients/client-quicksight/src/commands/ListTagsForResourceCommand.ts index 1e6ddd4bf412..b4278d9705f2 100644 --- a/clients/client-quicksight/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-quicksight/src/commands/ListTagsForResourceCommand.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 { ListTagsForResourceRequest } from "../models/models_3"; -import { ListTagsForResourceResponse } from "../models/models_4"; +import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_4"; import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; diff --git a/clients/client-quicksight/src/commands/UpdateDashboardLinksCommand.ts b/clients/client-quicksight/src/commands/UpdateDashboardLinksCommand.ts index 889a88bd3b67..ab86457cbdd7 100644 --- a/clients/client-quicksight/src/commands/UpdateDashboardLinksCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateDashboardLinksCommand.ts @@ -82,6 +82,12 @@ export interface UpdateDashboardLinksCommandOutput extends UpdateDashboardLinksR * @throws {@link ThrottlingException} (client fault) *
Access is throttled.
* + * @throws {@link UnsupportedUserEditionException} (client fault) + *This error indicates that you are calling an operation on an Amazon QuickSight + * subscription where the edition doesn't include support for that operation. Amazon + * Amazon QuickSight currently has Standard Edition and Enterprise Edition. Not every operation and + * capability is available in every edition.
+ * * @throws {@link QuickSightServiceException} *Base exception class for all service exceptions from QuickSight service.
* diff --git a/clients/client-quicksight/src/commands/UpdateTopicCommand.ts b/clients/client-quicksight/src/commands/UpdateTopicCommand.ts index b2d6be5315d6..3c512bc75a00 100644 --- a/clients/client-quicksight/src/commands/UpdateTopicCommand.ts +++ b/clients/client-quicksight/src/commands/UpdateTopicCommand.ts @@ -41,6 +41,7 @@ export interface UpdateTopicCommandOutput extends UpdateTopicResponse, __Metadat * Topic: { // TopicDetails * Name: "STRING_VALUE", * Description: "STRING_VALUE", + * UserExperienceVersion: "LEGACY" || "NEW_READER_EXPERIENCE", * DataSets: [ // Datasets * { // DatasetMetadata * DatasetArn: "STRING_VALUE", // required diff --git a/clients/client-quicksight/src/models/models_3.ts b/clients/client-quicksight/src/models/models_3.ts index 369ae7b336c6..9da4e6298b80 100644 --- a/clients/client-quicksight/src/models/models_3.ts +++ b/clients/client-quicksight/src/models/models_3.ts @@ -688,6 +688,20 @@ export interface DatasetMetadata { NamedEntities?: TopicNamedEntity[]; } +/** + * @public + * @enum + */ +export const TopicUserExperienceVersion = { + LEGACY: "LEGACY", + NEW_READER_EXPERIENCE: "NEW_READER_EXPERIENCE", +} as const; + +/** + * @public + */ +export type TopicUserExperienceVersion = (typeof TopicUserExperienceVersion)[keyof typeof TopicUserExperienceVersion]; + /** * @public *A structure that describes the details of a topic, such as its name, description, and associated data sets.
@@ -705,6 +719,12 @@ export interface TopicDetails { */ Description?: string; + /** + * @public + *The user experience version of a topic.
+ */ + UserExperienceVersion?: TopicUserExperienceVersion; + /** * @public *The data sets that the topic is associated with.
@@ -9063,17 +9083,6 @@ export interface ListRoleMembershipsResponse { Status?: number; } -/** - * @public - */ -export interface ListTagsForResourceRequest { - /** - * @public - *The Amazon Resource Name (ARN) of the resource that you want a list of tags for.
- */ - ResourceArn: string | undefined; -} - /** * @internal */ diff --git a/clients/client-quicksight/src/models/models_4.ts b/clients/client-quicksight/src/models/models_4.ts index f7e72025f0d2..313992dcb5bd 100644 --- a/clients/client-quicksight/src/models/models_4.ts +++ b/clients/client-quicksight/src/models/models_4.ts @@ -78,6 +78,17 @@ import { VPCConnectionResourceStatus, } from "./models_3"; +/** + * @public + */ +export interface ListTagsForResourceRequest { + /** + * @public + *The Amazon Resource Name (ARN) of the resource that you want a list of tags for.
+ */ + ResourceArn: string | undefined; +} + /** * @public */ diff --git a/clients/client-quicksight/src/protocols/Aws_restJson1.ts b/clients/client-quicksight/src/protocols/Aws_restJson1.ts index 756ee098bfc0..bf4808cc0b95 100644 --- a/clients/client-quicksight/src/protocols/Aws_restJson1.ts +++ b/clients/client-quicksight/src/protocols/Aws_restJson1.ts @@ -15008,6 +15008,9 @@ const de_UpdateDashboardLinksCommandError = async ( case "ThrottlingException": case "com.amazonaws.quicksight#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); + case "UnsupportedUserEditionException": + case "com.amazonaws.quicksight#UnsupportedUserEditionException": + throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index 1f154fa69223..ea083e018d7f 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -28058,7 +28058,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "^arn:aws:quicksight:[\\w\\-]+:\\d+:analysis/[\\w\\-]{1,512}$" + "smithy.api#pattern": "^arn:aws[\\w\\-]*:quicksight:[\\w\\-]+:\\d+:analysis/[\\w\\-]{1,512}$" } }, "com.amazonaws.quicksight#LinkEntityArnList": { @@ -46420,6 +46420,12 @@ "smithy.api#documentation": "The description of the topic.
" } }, + "UserExperienceVersion": { + "target": "com.amazonaws.quicksight#TopicUserExperienceVersion", + "traits": { + "smithy.api#documentation": "The user experience version of a topic.
" + } + }, "DataSets": { "target": "com.amazonaws.quicksight#Datasets", "traits": { @@ -46995,6 +47001,23 @@ } } }, + "com.amazonaws.quicksight#TopicUserExperienceVersion": { + "type": "enum", + "members": { + "LEGACY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEGACY" + } + }, + "NEW_READER_EXPERIENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_READER_EXPERIENCE" + } + } + } + }, "com.amazonaws.quicksight#TotalAggregationComputation": { "type": "structure", "members": { @@ -48370,6 +48393,9 @@ }, { "target": "com.amazonaws.quicksight#ThrottlingException" + }, + { + "target": "com.amazonaws.quicksight#UnsupportedUserEditionException" } ], "traits": {