Skip to content

Commit 3d8d0bb

Browse files
author
awstools
committed
feat(client-quicksight): Add Client Credentials based OAuth support for Snowflake and Starburst
1 parent 188d601 commit 3d8d0bb

13 files changed

+552
-149
lines changed

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

+41-3
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
128128
* Host: "STRING_VALUE", // required
129129
* Database: "STRING_VALUE", // required
130130
* Warehouse: "STRING_VALUE", // required
131+
* AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
132+
* DatabaseAccessControlRole: "STRING_VALUE",
133+
* OAuthParameters: { // OAuthParameters
134+
* TokenProviderUrl: "STRING_VALUE", // required
135+
* OAuthScope: "STRING_VALUE",
136+
* IdentityProviderVpcConnectionProperties: { // VpcConnectionProperties
137+
* VpcConnectionArn: "STRING_VALUE", // required
138+
* },
139+
* IdentityProviderResourceUri: "STRING_VALUE",
140+
* },
131141
* },
132142
* SparkParameters: { // SparkParameters
133143
* Host: "STRING_VALUE", // required
@@ -164,6 +174,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
164174
* Port: Number("int"), // required
165175
* Catalog: "STRING_VALUE", // required
166176
* ProductType: "GALAXY" || "ENTERPRISE",
177+
* DatabaseAccessControlRole: "STRING_VALUE",
178+
* AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
179+
* OAuthParameters: {
180+
* TokenProviderUrl: "STRING_VALUE", // required
181+
* OAuthScope: "STRING_VALUE",
182+
* IdentityProviderVpcConnectionProperties: {
183+
* VpcConnectionArn: "STRING_VALUE", // required
184+
* },
185+
* IdentityProviderResourceUri: "STRING_VALUE",
186+
* },
167187
* },
168188
* TrinoParameters: { // TrinoParameters
169189
* Host: "STRING_VALUE", // required
@@ -264,6 +284,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
264284
* Host: "STRING_VALUE", // required
265285
* Database: "STRING_VALUE", // required
266286
* Warehouse: "STRING_VALUE", // required
287+
* AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
288+
* DatabaseAccessControlRole: "STRING_VALUE",
289+
* OAuthParameters: {
290+
* TokenProviderUrl: "STRING_VALUE", // required
291+
* OAuthScope: "STRING_VALUE",
292+
* IdentityProviderVpcConnectionProperties: {
293+
* VpcConnectionArn: "STRING_VALUE", // required
294+
* },
295+
* IdentityProviderResourceUri: "STRING_VALUE",
296+
* },
267297
* },
268298
* SparkParameters: {
269299
* Host: "STRING_VALUE", // required
@@ -300,6 +330,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
300330
* Port: Number("int"), // required
301331
* Catalog: "STRING_VALUE", // required
302332
* ProductType: "GALAXY" || "ENTERPRISE",
333+
* DatabaseAccessControlRole: "STRING_VALUE",
334+
* AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
335+
* OAuthParameters: {
336+
* TokenProviderUrl: "STRING_VALUE", // required
337+
* OAuthScope: "STRING_VALUE",
338+
* IdentityProviderVpcConnectionProperties: {
339+
* VpcConnectionArn: "STRING_VALUE", // required
340+
* },
341+
* IdentityProviderResourceUri: "STRING_VALUE",
342+
* },
303343
* },
304344
* TrinoParameters: {
305345
* Host: "STRING_VALUE", // required
@@ -324,9 +364,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
324364
* ],
325365
* },
326366
* ],
327-
* VpcConnectionProperties: { // VpcConnectionProperties
328-
* VpcConnectionArn: "STRING_VALUE", // required
329-
* },
367+
* VpcConnectionProperties: "<VpcConnectionProperties>",
330368
* SslProperties: { // SslProperties
331369
* DisableSsl: true || false,
332370
* },

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

+21-1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,16 @@ export interface DescribeAssetBundleImportJobCommandOutput
190190
* // Host: "STRING_VALUE", // required
191191
* // Database: "STRING_VALUE", // required
192192
* // Warehouse: "STRING_VALUE", // required
193+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
194+
* // DatabaseAccessControlRole: "STRING_VALUE",
195+
* // OAuthParameters: { // OAuthParameters
196+
* // TokenProviderUrl: "STRING_VALUE", // required
197+
* // OAuthScope: "STRING_VALUE",
198+
* // IdentityProviderVpcConnectionProperties: { // VpcConnectionProperties
199+
* // VpcConnectionArn: "STRING_VALUE", // required
200+
* // },
201+
* // IdentityProviderResourceUri: "STRING_VALUE",
202+
* // },
193203
* // },
194204
* // SparkParameters: { // SparkParameters
195205
* // Host: "STRING_VALUE", // required
@@ -226,6 +236,16 @@ export interface DescribeAssetBundleImportJobCommandOutput
226236
* // Port: Number("int"), // required
227237
* // Catalog: "STRING_VALUE", // required
228238
* // ProductType: "GALAXY" || "ENTERPRISE",
239+
* // DatabaseAccessControlRole: "STRING_VALUE",
240+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
241+
* // OAuthParameters: {
242+
* // TokenProviderUrl: "STRING_VALUE", // required
243+
* // OAuthScope: "STRING_VALUE",
244+
* // IdentityProviderVpcConnectionProperties: {
245+
* // VpcConnectionArn: "STRING_VALUE", // required
246+
* // },
247+
* // IdentityProviderResourceUri: "STRING_VALUE",
248+
* // },
229249
* // },
230250
* // TrinoParameters: { // TrinoParameters
231251
* // Host: "STRING_VALUE", // required
@@ -237,7 +257,7 @@ export interface DescribeAssetBundleImportJobCommandOutput
237257
* // DataSetRegion: "STRING_VALUE",
238258
* // },
239259
* // },
240-
* // VpcConnectionProperties: { // VpcConnectionProperties
260+
* // VpcConnectionProperties: {
241261
* // VpcConnectionArn: "STRING_VALUE", // required
242262
* // },
243263
* // SslProperties: { // SslProperties

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

+41-3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,16 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
134134
* // Host: "STRING_VALUE", // required
135135
* // Database: "STRING_VALUE", // required
136136
* // Warehouse: "STRING_VALUE", // required
137+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
138+
* // DatabaseAccessControlRole: "STRING_VALUE",
139+
* // OAuthParameters: { // OAuthParameters
140+
* // TokenProviderUrl: "STRING_VALUE", // required
141+
* // OAuthScope: "STRING_VALUE",
142+
* // IdentityProviderVpcConnectionProperties: { // VpcConnectionProperties
143+
* // VpcConnectionArn: "STRING_VALUE", // required
144+
* // },
145+
* // IdentityProviderResourceUri: "STRING_VALUE",
146+
* // },
137147
* // },
138148
* // SparkParameters: { // SparkParameters
139149
* // Host: "STRING_VALUE", // required
@@ -170,6 +180,16 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
170180
* // Port: Number("int"), // required
171181
* // Catalog: "STRING_VALUE", // required
172182
* // ProductType: "GALAXY" || "ENTERPRISE",
183+
* // DatabaseAccessControlRole: "STRING_VALUE",
184+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
185+
* // OAuthParameters: {
186+
* // TokenProviderUrl: "STRING_VALUE", // required
187+
* // OAuthScope: "STRING_VALUE",
188+
* // IdentityProviderVpcConnectionProperties: {
189+
* // VpcConnectionArn: "STRING_VALUE", // required
190+
* // },
191+
* // IdentityProviderResourceUri: "STRING_VALUE",
192+
* // },
173193
* // },
174194
* // TrinoParameters: { // TrinoParameters
175195
* // Host: "STRING_VALUE", // required
@@ -266,6 +286,16 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
266286
* // Host: "STRING_VALUE", // required
267287
* // Database: "STRING_VALUE", // required
268288
* // Warehouse: "STRING_VALUE", // required
289+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
290+
* // DatabaseAccessControlRole: "STRING_VALUE",
291+
* // OAuthParameters: {
292+
* // TokenProviderUrl: "STRING_VALUE", // required
293+
* // OAuthScope: "STRING_VALUE",
294+
* // IdentityProviderVpcConnectionProperties: {
295+
* // VpcConnectionArn: "STRING_VALUE", // required
296+
* // },
297+
* // IdentityProviderResourceUri: "STRING_VALUE",
298+
* // },
269299
* // },
270300
* // SparkParameters: {
271301
* // Host: "STRING_VALUE", // required
@@ -302,6 +332,16 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
302332
* // Port: Number("int"), // required
303333
* // Catalog: "STRING_VALUE", // required
304334
* // ProductType: "GALAXY" || "ENTERPRISE",
335+
* // DatabaseAccessControlRole: "STRING_VALUE",
336+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
337+
* // OAuthParameters: {
338+
* // TokenProviderUrl: "STRING_VALUE", // required
339+
* // OAuthScope: "STRING_VALUE",
340+
* // IdentityProviderVpcConnectionProperties: {
341+
* // VpcConnectionArn: "STRING_VALUE", // required
342+
* // },
343+
* // IdentityProviderResourceUri: "STRING_VALUE",
344+
* // },
305345
* // },
306346
* // TrinoParameters: {
307347
* // Host: "STRING_VALUE", // required
@@ -314,9 +354,7 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
314354
* // },
315355
* // },
316356
* // ],
317-
* // VpcConnectionProperties: { // VpcConnectionProperties
318-
* // VpcConnectionArn: "STRING_VALUE", // required
319-
* // },
357+
* // VpcConnectionProperties: "<VpcConnectionProperties>",
320358
* // SslProperties: { // SslProperties
321359
* // DisableSsl: true || false,
322360
* // },

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +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 { DescribeTopicPermissionsRequest, DescribeTopicPermissionsResponse } from "../models/models_3";
8+
import { DescribeTopicPermissionsRequest } from "../models/models_3";
9+
import { DescribeTopicPermissionsResponse } from "../models/models_4";
910
import { de_DescribeTopicPermissionsCommand, se_DescribeTopicPermissionsCommand } from "../protocols/Aws_restJson1";
1011
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1112

clients/client-quicksight/src/commands/DescribeTopicRefreshCommand.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 { DescribeTopicRefreshRequest } from "../models/models_3";
9-
import { DescribeTopicRefreshResponse } from "../models/models_4";
8+
import { DescribeTopicRefreshRequest, DescribeTopicRefreshResponse } from "../models/models_4";
109
import { de_DescribeTopicRefreshCommand, se_DescribeTopicRefreshCommand } from "../protocols/Aws_restJson1";
1110
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
1211

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

+41-3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,16 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
136136
* // Host: "STRING_VALUE", // required
137137
* // Database: "STRING_VALUE", // required
138138
* // Warehouse: "STRING_VALUE", // required
139+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
140+
* // DatabaseAccessControlRole: "STRING_VALUE",
141+
* // OAuthParameters: { // OAuthParameters
142+
* // TokenProviderUrl: "STRING_VALUE", // required
143+
* // OAuthScope: "STRING_VALUE",
144+
* // IdentityProviderVpcConnectionProperties: { // VpcConnectionProperties
145+
* // VpcConnectionArn: "STRING_VALUE", // required
146+
* // },
147+
* // IdentityProviderResourceUri: "STRING_VALUE",
148+
* // },
139149
* // },
140150
* // SparkParameters: { // SparkParameters
141151
* // Host: "STRING_VALUE", // required
@@ -172,6 +182,16 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
172182
* // Port: Number("int"), // required
173183
* // Catalog: "STRING_VALUE", // required
174184
* // ProductType: "GALAXY" || "ENTERPRISE",
185+
* // DatabaseAccessControlRole: "STRING_VALUE",
186+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
187+
* // OAuthParameters: {
188+
* // TokenProviderUrl: "STRING_VALUE", // required
189+
* // OAuthScope: "STRING_VALUE",
190+
* // IdentityProviderVpcConnectionProperties: {
191+
* // VpcConnectionArn: "STRING_VALUE", // required
192+
* // },
193+
* // IdentityProviderResourceUri: "STRING_VALUE",
194+
* // },
175195
* // },
176196
* // TrinoParameters: { // TrinoParameters
177197
* // Host: "STRING_VALUE", // required
@@ -268,6 +288,16 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
268288
* // Host: "STRING_VALUE", // required
269289
* // Database: "STRING_VALUE", // required
270290
* // Warehouse: "STRING_VALUE", // required
291+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
292+
* // DatabaseAccessControlRole: "STRING_VALUE",
293+
* // OAuthParameters: {
294+
* // TokenProviderUrl: "STRING_VALUE", // required
295+
* // OAuthScope: "STRING_VALUE",
296+
* // IdentityProviderVpcConnectionProperties: {
297+
* // VpcConnectionArn: "STRING_VALUE", // required
298+
* // },
299+
* // IdentityProviderResourceUri: "STRING_VALUE",
300+
* // },
271301
* // },
272302
* // SparkParameters: {
273303
* // Host: "STRING_VALUE", // required
@@ -304,6 +334,16 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
304334
* // Port: Number("int"), // required
305335
* // Catalog: "STRING_VALUE", // required
306336
* // ProductType: "GALAXY" || "ENTERPRISE",
337+
* // DatabaseAccessControlRole: "STRING_VALUE",
338+
* // AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
339+
* // OAuthParameters: {
340+
* // TokenProviderUrl: "STRING_VALUE", // required
341+
* // OAuthScope: "STRING_VALUE",
342+
* // IdentityProviderVpcConnectionProperties: {
343+
* // VpcConnectionArn: "STRING_VALUE", // required
344+
* // },
345+
* // IdentityProviderResourceUri: "STRING_VALUE",
346+
* // },
307347
* // },
308348
* // TrinoParameters: {
309349
* // Host: "STRING_VALUE", // required
@@ -316,9 +356,7 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
316356
* // },
317357
* // },
318358
* // ],
319-
* // VpcConnectionProperties: { // VpcConnectionProperties
320-
* // VpcConnectionArn: "STRING_VALUE", // required
321-
* // },
359+
* // VpcConnectionProperties: "<VpcConnectionProperties>",
322360
* // SslProperties: { // SslProperties
323361
* // DisableSsl: true || false,
324362
* // },

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

+21-1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,16 @@ export interface StartAssetBundleImportJobCommandOutput extends StartAssetBundle
163163
* Host: "STRING_VALUE", // required
164164
* Database: "STRING_VALUE", // required
165165
* Warehouse: "STRING_VALUE", // required
166+
* AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
167+
* DatabaseAccessControlRole: "STRING_VALUE",
168+
* OAuthParameters: { // OAuthParameters
169+
* TokenProviderUrl: "STRING_VALUE", // required
170+
* OAuthScope: "STRING_VALUE",
171+
* IdentityProviderVpcConnectionProperties: { // VpcConnectionProperties
172+
* VpcConnectionArn: "STRING_VALUE", // required
173+
* },
174+
* IdentityProviderResourceUri: "STRING_VALUE",
175+
* },
166176
* },
167177
* SparkParameters: { // SparkParameters
168178
* Host: "STRING_VALUE", // required
@@ -199,6 +209,16 @@ export interface StartAssetBundleImportJobCommandOutput extends StartAssetBundle
199209
* Port: Number("int"), // required
200210
* Catalog: "STRING_VALUE", // required
201211
* ProductType: "GALAXY" || "ENTERPRISE",
212+
* DatabaseAccessControlRole: "STRING_VALUE",
213+
* AuthenticationType: "PASSWORD" || "TOKEN" || "X509",
214+
* OAuthParameters: {
215+
* TokenProviderUrl: "STRING_VALUE", // required
216+
* OAuthScope: "STRING_VALUE",
217+
* IdentityProviderVpcConnectionProperties: {
218+
* VpcConnectionArn: "STRING_VALUE", // required
219+
* },
220+
* IdentityProviderResourceUri: "STRING_VALUE",
221+
* },
202222
* },
203223
* TrinoParameters: { // TrinoParameters
204224
* Host: "STRING_VALUE", // required
@@ -210,7 +230,7 @@ export interface StartAssetBundleImportJobCommandOutput extends StartAssetBundle
210230
* DataSetRegion: "STRING_VALUE",
211231
* },
212232
* },
213-
* VpcConnectionProperties: { // VpcConnectionProperties
233+
* VpcConnectionProperties: {
214234
* VpcConnectionArn: "STRING_VALUE", // required
215235
* },
216236
* SslProperties: { // SslProperties

0 commit comments

Comments
 (0)