Skip to content

Commit d5ad4e8

Browse files
author
awstools
committed
feat(client-quicksight): Amazon QuickSight now supports SecretsManager Secret ARN in place of CredentialPair for DataSource creation and update. This release also has some minor documentation updates and removes CountryCode as a required parameter in GeoSpatialColumnGroup
1 parent 20be81d commit d5ad4e8

File tree

6 files changed

+1711
-1170
lines changed

6 files changed

+1711
-1170
lines changed

clients/client-quicksight/src/QuickSight.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4068,7 +4068,7 @@ export class QuickSight extends QuickSightClient {
40684068
}
40694069

40704070
/**
4071-
* <p>Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.</p>
4071+
* <p>Updates a dataset. This operation doesn't support datasets that include uploaded files as a source. Partial updates are not supported by this operation.</p>
40724072
*/
40734073
public updateDataSet(
40744074
args: UpdateDataSetCommandInput,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface UpdateDataSetCommandInput extends UpdateDataSetRequest {}
2828
export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.</p>
31+
* <p>Updates a dataset. This operation doesn't support datasets that include uploaded files as a source. Partial updates are not supported by this operation.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ export interface GeoSpatialColumnGroup {
828828
/**
829829
* <p>Country code.</p>
830830
*/
831-
CountryCode: GeoSpatialCountryCode | string | undefined;
831+
CountryCode?: GeoSpatialCountryCode | string;
832832

833833
/**
834834
* <p>Columns in this hierarchy.</p>
@@ -3627,6 +3627,11 @@ export interface DataSourceCredentials {
36273627
* <code>DataSourceCredentials</code> structure.</p>
36283628
*/
36293629
CopySourceArn?: string;
3630+
3631+
/**
3632+
* <p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>
3633+
*/
3634+
SecretArn?: string;
36303635
}
36313636

36323637
/**
@@ -5314,6 +5319,11 @@ export interface DataSource {
53145319
* <p>Error information from the last update or the creation of the data source.</p>
53155320
*/
53165321
ErrorInfo?: DataSourceErrorInfo;
5322+
5323+
/**
5324+
* <p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>
5325+
*/
5326+
SecretArn?: string;
53175327
}
53185328

53195329
export interface DeleteAccountCustomizationRequest {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export interface User {
292292
Arn?: string;
293293

294294
/**
295-
* <p>The user's user name. In the output, the value for <code>UserName</code> is
295+
* <p>The user's user name. This value is required if you are registering a user that will be managed in Amazon QuickSight. In the output, the value for <code>UserName</code> is
296296
* <code>N/A</code> when the value for <code>IdentityType</code> is <code>IAM</code>
297297
* and the corresponding IAM user is deleted.</p>
298298
*/

clients/client-quicksight/src/protocols/Aws_restJson1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13652,6 +13652,7 @@ const serializeAws_restJson1DataSourceCredentials = (input: DataSourceCredential
1365213652
...(input.CredentialPair != null && {
1365313653
CredentialPair: serializeAws_restJson1CredentialPair(input.CredentialPair, context),
1365413654
}),
13655+
...(input.SecretArn != null && { SecretArn: input.SecretArn }),
1365513656
};
1365613657
};
1365713658

@@ -15281,6 +15282,7 @@ const deserializeAws_restJson1DataSource = (output: any, context: __SerdeContext
1528115282
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
1528215283
: undefined,
1528315284
Name: __expectString(output.Name),
15285+
SecretArn: __expectString(output.SecretArn),
1528415286
SslProperties:
1528515287
output.SslProperties != null ? deserializeAws_restJson1SslProperties(output.SslProperties, context) : undefined,
1528615288
Status: __expectString(output.Status),

0 commit comments

Comments
 (0)