Skip to content

Commit 20cf1b2

Browse files
author
awstools
committed
feat(client-quicksight): Add LinkEntityArn support for different partitions; Add UnsupportedUserEditionException in UpdateDashboardLinks API; Add support for New Reader Experience Topics
1 parent e713dfd commit 20cf1b2

File tree

9 files changed

+71
-14
lines changed

9 files changed

+71
-14
lines changed

Diff for: clients/client-quicksight/src/commands/CreateTopicCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
4141
* Topic: { // TopicDetails
4242
* Name: "STRING_VALUE",
4343
* Description: "STRING_VALUE",
44+
* UserExperienceVersion: "LEGACY" || "NEW_READER_EXPERIENCE",
4445
* DataSets: [ // Datasets
4546
* { // DatasetMetadata
4647
* DatasetArn: "STRING_VALUE", // required

Diff for: clients/client-quicksight/src/commands/DescribeTopicCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface DescribeTopicCommandOutput extends DescribeTopicResponse, __Met
5151
* // Topic: { // TopicDetails
5252
* // Name: "STRING_VALUE",
5353
* // Description: "STRING_VALUE",
54+
* // UserExperienceVersion: "LEGACY" || "NEW_READER_EXPERIENCE",
5455
* // DataSets: [ // Datasets
5556
* // { // DatasetMetadata
5657
* // DatasetArn: "STRING_VALUE", // required

Diff for: clients/client-quicksight/src/commands/ListTagsForResourceCommand.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 { ListTagsForResourceRequest } from "../models/models_3";
9-
import { ListTagsForResourceResponse } from "../models/models_4";
8+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_4";
109
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
1110
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1211

Diff for: clients/client-quicksight/src/commands/UpdateDashboardLinksCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ export interface UpdateDashboardLinksCommandOutput extends UpdateDashboardLinksR
8282
* @throws {@link ThrottlingException} (client fault)
8383
* <p>Access is throttled.</p>
8484
*
85+
* @throws {@link UnsupportedUserEditionException} (client fault)
86+
* <p>This error indicates that you are calling an operation on an Amazon QuickSight
87+
* subscription where the edition doesn't include support for that operation. Amazon
88+
* Amazon QuickSight currently has Standard Edition and Enterprise Edition. Not every operation and
89+
* capability is available in every edition.</p>
90+
*
8591
* @throws {@link QuickSightServiceException}
8692
* <p>Base exception class for all service exceptions from QuickSight service.</p>
8793
*

Diff for: clients/client-quicksight/src/commands/UpdateTopicCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export interface UpdateTopicCommandOutput extends UpdateTopicResponse, __Metadat
4141
* Topic: { // TopicDetails
4242
* Name: "STRING_VALUE",
4343
* Description: "STRING_VALUE",
44+
* UserExperienceVersion: "LEGACY" || "NEW_READER_EXPERIENCE",
4445
* DataSets: [ // Datasets
4546
* { // DatasetMetadata
4647
* DatasetArn: "STRING_VALUE", // required

Diff for: clients/client-quicksight/src/models/models_3.ts

+20-11
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,20 @@ export interface DatasetMetadata {
688688
NamedEntities?: TopicNamedEntity[];
689689
}
690690

691+
/**
692+
* @public
693+
* @enum
694+
*/
695+
export const TopicUserExperienceVersion = {
696+
LEGACY: "LEGACY",
697+
NEW_READER_EXPERIENCE: "NEW_READER_EXPERIENCE",
698+
} as const;
699+
700+
/**
701+
* @public
702+
*/
703+
export type TopicUserExperienceVersion = (typeof TopicUserExperienceVersion)[keyof typeof TopicUserExperienceVersion];
704+
691705
/**
692706
* @public
693707
* <p>A structure that describes the details of a topic, such as its name, description, and associated data sets.</p>
@@ -705,6 +719,12 @@ export interface TopicDetails {
705719
*/
706720
Description?: string;
707721

722+
/**
723+
* @public
724+
* <p>The user experience version of a topic.</p>
725+
*/
726+
UserExperienceVersion?: TopicUserExperienceVersion;
727+
708728
/**
709729
* @public
710730
* <p>The data sets that the topic is associated with.</p>
@@ -9063,17 +9083,6 @@ export interface ListRoleMembershipsResponse {
90639083
Status?: number;
90649084
}
90659085

9066-
/**
9067-
* @public
9068-
*/
9069-
export interface ListTagsForResourceRequest {
9070-
/**
9071-
* @public
9072-
* <p>The Amazon Resource Name (ARN) of the resource that you want a list of tags for.</p>
9073-
*/
9074-
ResourceArn: string | undefined;
9075-
}
9076-
90779086
/**
90789087
* @internal
90799088
*/

Diff for: clients/client-quicksight/src/models/models_4.ts

+11
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ import {
7878
VPCConnectionResourceStatus,
7979
} from "./models_3";
8080

81+
/**
82+
* @public
83+
*/
84+
export interface ListTagsForResourceRequest {
85+
/**
86+
* @public
87+
* <p>The Amazon Resource Name (ARN) of the resource that you want a list of tags for.</p>
88+
*/
89+
ResourceArn: string | undefined;
90+
}
91+
8192
/**
8293
* @public
8394
*/

Diff for: clients/client-quicksight/src/protocols/Aws_restJson1.ts

+3
Original file line numberDiff line numberDiff line change
@@ -15008,6 +15008,9 @@ const de_UpdateDashboardLinksCommandError = async (
1500815008
case "ThrottlingException":
1500915009
case "com.amazonaws.quicksight#ThrottlingException":
1501015010
throw await de_ThrottlingExceptionRes(parsedOutput, context);
15011+
case "UnsupportedUserEditionException":
15012+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
15013+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
1501115014
default:
1501215015
const parsedBody = parsedOutput.body;
1501315016
return throwDefaultError({

Diff for: codegen/sdk-codegen/aws-models/quicksight.json

+27-1
Original file line numberDiff line numberDiff line change
@@ -28058,7 +28058,7 @@
2805828058
"min": 1,
2805928059
"max": 1024
2806028060
},
28061-
"smithy.api#pattern": "^arn:aws:quicksight:[\\w\\-]+:\\d+:analysis/[\\w\\-]{1,512}$"
28061+
"smithy.api#pattern": "^arn:aws[\\w\\-]*:quicksight:[\\w\\-]+:\\d+:analysis/[\\w\\-]{1,512}$"
2806228062
}
2806328063
},
2806428064
"com.amazonaws.quicksight#LinkEntityArnList": {
@@ -46420,6 +46420,12 @@
4642046420
"smithy.api#documentation": "<p>The description of the topic.</p>"
4642146421
}
4642246422
},
46423+
"UserExperienceVersion": {
46424+
"target": "com.amazonaws.quicksight#TopicUserExperienceVersion",
46425+
"traits": {
46426+
"smithy.api#documentation": "<p>The user experience version of a topic.</p>"
46427+
}
46428+
},
4642346429
"DataSets": {
4642446430
"target": "com.amazonaws.quicksight#Datasets",
4642546431
"traits": {
@@ -46995,6 +47001,23 @@
4699547001
}
4699647002
}
4699747003
},
47004+
"com.amazonaws.quicksight#TopicUserExperienceVersion": {
47005+
"type": "enum",
47006+
"members": {
47007+
"LEGACY": {
47008+
"target": "smithy.api#Unit",
47009+
"traits": {
47010+
"smithy.api#enumValue": "LEGACY"
47011+
}
47012+
},
47013+
"NEW_READER_EXPERIENCE": {
47014+
"target": "smithy.api#Unit",
47015+
"traits": {
47016+
"smithy.api#enumValue": "NEW_READER_EXPERIENCE"
47017+
}
47018+
}
47019+
}
47020+
},
4699847021
"com.amazonaws.quicksight#TotalAggregationComputation": {
4699947022
"type": "structure",
4700047023
"members": {
@@ -48370,6 +48393,9 @@
4837048393
},
4837148394
{
4837248395
"target": "com.amazonaws.quicksight#ThrottlingException"
48396+
},
48397+
{
48398+
"target": "com.amazonaws.quicksight#UnsupportedUserEditionException"
4837348399
}
4837448400
],
4837548401
"traits": {

0 commit comments

Comments
 (0)