@aws-sdk/client-quicksight 3.185.0 → 3.187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.187.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.186.0...v3.187.0) (2022-10-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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 ([d5ad4e8](https://github.com/aws/aws-sdk-js-v3/commit/d5ad4e8bf194109f4e06ef91479111cf9e8f7788))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-quicksight
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
7
26
 
8
27
 
@@ -10775,6 +10775,7 @@ const serializeAws_restJson1DataSourceCredentials = (input, context) => {
10775
10775
  ...(input.CredentialPair != null && {
10776
10776
  CredentialPair: serializeAws_restJson1CredentialPair(input.CredentialPair, context),
10777
10777
  }),
10778
+ ...(input.SecretArn != null && { SecretArn: input.SecretArn }),
10778
10779
  };
10779
10780
  };
10780
10781
  const serializeAws_restJson1DataSourceParameters = (input, context) => {
@@ -12118,6 +12119,7 @@ const deserializeAws_restJson1DataSource = (output, context) => {
12118
12119
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
12119
12120
  : undefined,
12120
12121
  Name: (0, smithy_client_1.expectString)(output.Name),
12122
+ SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
12121
12123
  SslProperties: output.SslProperties != null ? deserializeAws_restJson1SslProperties(output.SslProperties, context) : undefined,
12122
12124
  Status: (0, smithy_client_1.expectString)(output.Status),
12123
12125
  Type: (0, smithy_client_1.expectString)(output.Type),
@@ -14364,9 +14364,9 @@ var serializeAws_restJson1DataSetUsageConfiguration = function (input, context)
14364
14364
  })), (input.DisableUseAsImportedSource != null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }));
14365
14365
  };
14366
14366
  var serializeAws_restJson1DataSourceCredentials = function (input, context) {
14367
- return __assign(__assign({}, (input.CopySourceArn != null && { CopySourceArn: input.CopySourceArn })), (input.CredentialPair != null && {
14367
+ return __assign(__assign(__assign({}, (input.CopySourceArn != null && { CopySourceArn: input.CopySourceArn })), (input.CredentialPair != null && {
14368
14368
  CredentialPair: serializeAws_restJson1CredentialPair(input.CredentialPair, context),
14369
- }));
14369
+ })), (input.SecretArn != null && { SecretArn: input.SecretArn }));
14370
14370
  };
14371
14371
  var serializeAws_restJson1DataSourceParameters = function (input, context) {
14372
14372
  return DataSourceParameters.visit(input, {
@@ -15480,6 +15480,7 @@ var deserializeAws_restJson1DataSource = function (output, context) {
15480
15480
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
15481
15481
  : undefined,
15482
15482
  Name: __expectString(output.Name),
15483
+ SecretArn: __expectString(output.SecretArn),
15483
15484
  SslProperties: output.SslProperties != null ? deserializeAws_restJson1SslProperties(output.SslProperties, context) : undefined,
15484
15485
  Status: __expectString(output.Status),
15485
15486
  Type: __expectString(output.Type),
@@ -1040,7 +1040,7 @@ export declare class QuickSight extends QuickSightClient {
1040
1040
  updateDashboardPublishedVersion(args: UpdateDashboardPublishedVersionCommandInput, cb: (err: any, data?: UpdateDashboardPublishedVersionCommandOutput) => void): void;
1041
1041
  updateDashboardPublishedVersion(args: UpdateDashboardPublishedVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDashboardPublishedVersionCommandOutput) => void): void;
1042
1042
  /**
1043
- * <p>Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.</p>
1043
+ * <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>
1044
1044
  */
1045
1045
  updateDataSet(args: UpdateDataSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSetCommandOutput>;
1046
1046
  updateDataSet(args: UpdateDataSetCommandInput, cb: (err: any, data?: UpdateDataSetCommandOutput) => void): void;
@@ -7,7 +7,7 @@ export interface UpdateDataSetCommandInput extends UpdateDataSetRequest {
7
7
  export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.</p>
10
+ * <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>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -674,7 +674,7 @@ export interface GeoSpatialColumnGroup {
674
674
  /**
675
675
  * <p>Country code.</p>
676
676
  */
677
- CountryCode: GeoSpatialCountryCode | string | undefined;
677
+ CountryCode?: GeoSpatialCountryCode | string;
678
678
  /**
679
679
  * <p>Columns in this hierarchy.</p>
680
680
  */
@@ -3057,6 +3057,10 @@ export interface DataSourceCredentials {
3057
3057
  * <code>DataSourceCredentials</code> structure.</p>
3058
3058
  */
3059
3059
  CopySourceArn?: string;
3060
+ /**
3061
+ * <p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>
3062
+ */
3063
+ SecretArn?: string;
3060
3064
  }
3061
3065
  /**
3062
3066
  * <p>Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your
@@ -4482,6 +4486,10 @@ export interface DataSource {
4482
4486
  * <p>Error information from the last update or the creation of the data source.</p>
4483
4487
  */
4484
4488
  ErrorInfo?: DataSourceErrorInfo;
4489
+ /**
4490
+ * <p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>
4491
+ */
4492
+ SecretArn?: string;
4485
4493
  }
4486
4494
  export interface DeleteAccountCustomizationRequest {
4487
4495
  /**
@@ -199,7 +199,7 @@ export interface User {
199
199
  */
200
200
  Arn?: string;
201
201
  /**
202
- * <p>The user's user name. In the output, the value for <code>UserName</code> is
202
+ * <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
203
203
  * <code>N/A</code> when the value for <code>IdentityType</code> is <code>IAM</code>
204
204
  * and the corresponding IAM user is deleted.</p>
205
205
  */
@@ -257,7 +257,7 @@ export declare enum GeoSpatialCountryCode {
257
257
  }
258
258
  export interface GeoSpatialColumnGroup {
259
259
  Name: string | undefined;
260
- CountryCode: GeoSpatialCountryCode | string | undefined;
260
+ CountryCode?: GeoSpatialCountryCode | string;
261
261
  Columns: string[] | undefined;
262
262
  }
263
263
  export interface ColumnGroup {
@@ -1497,6 +1497,7 @@ export interface CredentialPair {
1497
1497
  export interface DataSourceCredentials {
1498
1498
  CredentialPair?: CredentialPair;
1499
1499
  CopySourceArn?: string;
1500
+ SecretArn?: string;
1500
1501
  }
1501
1502
  export interface SslProperties {
1502
1503
  DisableSsl?: boolean;
@@ -1941,6 +1942,7 @@ export interface DataSource {
1941
1942
  VpcConnectionProperties?: VpcConnectionProperties;
1942
1943
  SslProperties?: SslProperties;
1943
1944
  ErrorInfo?: DataSourceErrorInfo;
1945
+ SecretArn?: string;
1944
1946
  }
1945
1947
  export interface DeleteAccountCustomizationRequest {
1946
1948
  AwsAccountId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-quicksight",
3
3
  "description": "AWS SDK for JavaScript Quicksight Client for Node.js, Browser and React Native",
4
- "version": "3.185.0",
4
+ "version": "3.187.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,41 +19,41 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.185.0",
23
- "@aws-sdk/config-resolver": "3.183.0",
24
- "@aws-sdk/credential-provider-node": "3.185.0",
25
- "@aws-sdk/fetch-http-handler": "3.183.0",
26
- "@aws-sdk/hash-node": "3.183.0",
27
- "@aws-sdk/invalid-dependency": "3.183.0",
28
- "@aws-sdk/middleware-content-length": "3.183.0",
29
- "@aws-sdk/middleware-host-header": "3.183.0",
30
- "@aws-sdk/middleware-logger": "3.183.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.183.0",
32
- "@aws-sdk/middleware-retry": "3.185.0",
33
- "@aws-sdk/middleware-serde": "3.183.0",
34
- "@aws-sdk/middleware-signing": "3.183.0",
35
- "@aws-sdk/middleware-stack": "3.183.0",
36
- "@aws-sdk/middleware-user-agent": "3.183.0",
37
- "@aws-sdk/node-config-provider": "3.183.0",
38
- "@aws-sdk/node-http-handler": "3.185.0",
39
- "@aws-sdk/protocol-http": "3.183.0",
40
- "@aws-sdk/smithy-client": "3.183.0",
41
- "@aws-sdk/types": "3.183.0",
42
- "@aws-sdk/url-parser": "3.183.0",
43
- "@aws-sdk/util-base64-browser": "3.183.0",
44
- "@aws-sdk/util-base64-node": "3.183.0",
45
- "@aws-sdk/util-body-length-browser": "3.183.0",
46
- "@aws-sdk/util-body-length-node": "3.183.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.183.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.183.0",
49
- "@aws-sdk/util-user-agent-browser": "3.183.0",
50
- "@aws-sdk/util-user-agent-node": "3.183.0",
51
- "@aws-sdk/util-utf8-browser": "3.183.0",
52
- "@aws-sdk/util-utf8-node": "3.183.0",
22
+ "@aws-sdk/client-sts": "3.186.0",
23
+ "@aws-sdk/config-resolver": "3.186.0",
24
+ "@aws-sdk/credential-provider-node": "3.186.0",
25
+ "@aws-sdk/fetch-http-handler": "3.186.0",
26
+ "@aws-sdk/hash-node": "3.186.0",
27
+ "@aws-sdk/invalid-dependency": "3.186.0",
28
+ "@aws-sdk/middleware-content-length": "3.186.0",
29
+ "@aws-sdk/middleware-host-header": "3.186.0",
30
+ "@aws-sdk/middleware-logger": "3.186.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.186.0",
32
+ "@aws-sdk/middleware-retry": "3.186.0",
33
+ "@aws-sdk/middleware-serde": "3.186.0",
34
+ "@aws-sdk/middleware-signing": "3.186.0",
35
+ "@aws-sdk/middleware-stack": "3.186.0",
36
+ "@aws-sdk/middleware-user-agent": "3.186.0",
37
+ "@aws-sdk/node-config-provider": "3.186.0",
38
+ "@aws-sdk/node-http-handler": "3.186.0",
39
+ "@aws-sdk/protocol-http": "3.186.0",
40
+ "@aws-sdk/smithy-client": "3.186.0",
41
+ "@aws-sdk/types": "3.186.0",
42
+ "@aws-sdk/url-parser": "3.186.0",
43
+ "@aws-sdk/util-base64-browser": "3.186.0",
44
+ "@aws-sdk/util-base64-node": "3.186.0",
45
+ "@aws-sdk/util-body-length-browser": "3.186.0",
46
+ "@aws-sdk/util-body-length-node": "3.186.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.186.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.186.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.186.0",
50
+ "@aws-sdk/util-user-agent-node": "3.186.0",
51
+ "@aws-sdk/util-utf8-browser": "3.186.0",
52
+ "@aws-sdk/util-utf8-node": "3.186.0",
53
53
  "tslib": "^2.3.1"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.183.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.186.0",
57
57
  "@tsconfig/recommended": "1.0.1",
58
58
  "@types/node": "^12.7.5",
59
59
  "concurrently": "7.0.0",