@aws-sdk/client-redshift 3.85.0 → 3.92.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,33 @@
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.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-redshift
9
+
10
+
11
+
12
+
13
+
14
+ # [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-redshift
17
+
18
+
19
+
20
+
21
+
22
+ # [3.86.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.85.0...v3.86.0) (2022-05-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-redshift:** Introduces new field 'LoadSampleData' in CreateCluster operation. Customers can now specify 'LoadSampleData' option during creation of a cluster, which results in loading of sample data in the cluster that is created. ([9b91388](https://github.com/aws/aws-sdk-js-v3/commit/9b913886571cba3f680deab3dc8cc9a23a21cb95))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05)
7
34
 
8
35
 
@@ -8173,6 +8173,9 @@ const serializeAws_queryCreateClusterMessage = (input, context) => {
8173
8173
  if (input.DefaultIamRoleArn !== undefined && input.DefaultIamRoleArn !== null) {
8174
8174
  entries["DefaultIamRoleArn"] = input.DefaultIamRoleArn;
8175
8175
  }
8176
+ if (input.LoadSampleData !== undefined && input.LoadSampleData !== null) {
8177
+ entries["LoadSampleData"] = input.LoadSampleData;
8178
+ }
8176
8179
  return entries;
8177
8180
  };
8178
8181
  const serializeAws_queryCreateClusterParameterGroupMessage = (input, context) => {
@@ -9864,6 +9864,9 @@ var serializeAws_queryCreateClusterMessage = function (input, context) {
9864
9864
  if (input.DefaultIamRoleArn !== undefined && input.DefaultIamRoleArn !== null) {
9865
9865
  entries["DefaultIamRoleArn"] = input.DefaultIamRoleArn;
9866
9866
  }
9867
+ if (input.LoadSampleData !== undefined && input.LoadSampleData !== null) {
9868
+ entries["LoadSampleData"] = input.LoadSampleData;
9869
+ }
9867
9870
  return entries;
9868
9871
  };
9869
9872
  var serializeAws_queryCreateClusterParameterGroupMessage = function (input, context) {
@@ -190,8 +190,8 @@ export declare class Redshift extends RedshiftClient {
190
190
  authorizeClusterSecurityGroupIngress(args: AuthorizeClusterSecurityGroupIngressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeClusterSecurityGroupIngressCommandOutput) => void): void;
191
191
  /**
192
192
  * <p>From a data producer account, authorizes the sharing of a datashare with one or more
193
- * consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account
194
- * must have the correct access privileges.</p>
193
+ * consumer accounts or managing entities. To authorize a datashare for a data consumer,
194
+ * the producer account must have the correct access permissions.</p>
195
195
  */
196
196
  authorizeDataShare(args: AuthorizeDataShareCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeDataShareCommandOutput>;
197
197
  authorizeDataShare(args: AuthorizeDataShareCommandInput, cb: (err: any, data?: AuthorizeDataShareCommandOutput) => void): void;
@@ -412,7 +412,7 @@ export declare class Redshift extends RedshiftClient {
412
412
  createUsageLimit(args: CreateUsageLimitCommandInput, cb: (err: any, data?: CreateUsageLimitCommandOutput) => void): void;
413
413
  createUsageLimit(args: CreateUsageLimitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUsageLimitCommandOutput) => void): void;
414
414
  /**
415
- * <p>From the producer account, removes authorization from the specified datashare. </p>
415
+ * <p>From a datashare producer account, removes authorization from the specified datashare. </p>
416
416
  */
417
417
  deauthorizeDataShare(args: DeauthorizeDataShareCommandInput, options?: __HttpHandlerOptions): Promise<DeauthorizeDataShareCommandOutput>;
418
418
  deauthorizeDataShare(args: DeauthorizeDataShareCommandInput, cb: (err: any, data?: DeauthorizeDataShareCommandOutput) => void): void;
@@ -988,7 +988,7 @@ export declare class Redshift extends RedshiftClient {
988
988
  disableSnapshotCopy(args: DisableSnapshotCopyCommandInput, cb: (err: any, data?: DisableSnapshotCopyCommandOutput) => void): void;
989
989
  disableSnapshotCopy(args: DisableSnapshotCopyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSnapshotCopyCommandOutput) => void): void;
990
990
  /**
991
- * <p>From a consumer account, remove association for the specified datashare.
991
+ * <p>From a datashare consumer account, remove association for the specified datashare.
992
992
  * </p>
993
993
  */
994
994
  disassociateDataShareConsumer(args: DisassociateDataShareConsumerCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDataShareConsumerCommandOutput>;
@@ -1027,7 +1027,7 @@ export declare class Redshift extends RedshiftClient {
1027
1027
  * <code>dbgroups</code>. </p>
1028
1028
  * <p>In addition, if the <code>AutoCreate</code> parameter is set to <code>True</code>,
1029
1029
  * then the policy must include the <code>redshift:CreateClusterUser</code>
1030
- * privilege.</p>
1030
+ * permission.</p>
1031
1031
  * <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access
1032
1032
  * to the resource <code>dbname</code> for the specified database name. </p>
1033
1033
  */
@@ -1207,7 +1207,7 @@ export declare class Redshift extends RedshiftClient {
1207
1207
  rebootCluster(args: RebootClusterCommandInput, cb: (err: any, data?: RebootClusterCommandOutput) => void): void;
1208
1208
  rebootCluster(args: RebootClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootClusterCommandOutput) => void): void;
1209
1209
  /**
1210
- * <p>From the consumer account, rejects the specified datashare.</p>
1210
+ * <p>From a datashare consumer account, rejects the specified datashare.</p>
1211
1211
  */
1212
1212
  rejectDataShare(args: RejectDataShareCommandInput, options?: __HttpHandlerOptions): Promise<RejectDataShareCommandOutput>;
1213
1213
  rejectDataShare(args: RejectDataShareCommandInput, cb: (err: any, data?: RejectDataShareCommandOutput) => void): void;
@@ -8,8 +8,8 @@ export interface AuthorizeDataShareCommandOutput extends DataShare, __MetadataBe
8
8
  }
9
9
  /**
10
10
  * <p>From a data producer account, authorizes the sharing of a datashare with one or more
11
- * consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account
12
- * must have the correct access privileges.</p>
11
+ * consumer accounts or managing entities. To authorize a datashare for a data consumer,
12
+ * the producer account must have the correct access permissions.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -7,7 +7,7 @@ export interface DeauthorizeDataShareCommandInput extends DeauthorizeDataShareMe
7
7
  export interface DeauthorizeDataShareCommandOutput extends DataShare, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>From the producer account, removes authorization from the specified datashare. </p>
10
+ * <p>From a datashare producer account, removes authorization from the specified datashare. </p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -8,7 +8,7 @@ export interface DisassociateDataShareConsumerCommandInput extends DisassociateD
8
8
  export interface DisassociateDataShareConsumerCommandOutput extends DataShare, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>From a consumer account, remove association for the specified datashare.
11
+ * <p>From a datashare consumer account, remove association for the specified datashare.
12
12
  * </p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -26,7 +26,7 @@ export interface GetClusterCredentialsCommandOutput extends ClusterCredentials,
26
26
  * <code>dbgroups</code>. </p>
27
27
  * <p>In addition, if the <code>AutoCreate</code> parameter is set to <code>True</code>,
28
28
  * then the policy must include the <code>redshift:CreateClusterUser</code>
29
- * privilege.</p>
29
+ * permission.</p>
30
30
  * <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access
31
31
  * to the resource <code>dbname</code> for the specified database name. </p>
32
32
  * @example
@@ -8,7 +8,7 @@ export interface RejectDataShareCommandInput extends RejectDataShareMessage {
8
8
  export interface RejectDataShareCommandOutput extends DataShare, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>From the consumer account, rejects the specified datashare.</p>
11
+ * <p>From a datashare consumer account, rejects the specified datashare.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -517,7 +517,8 @@ export interface DataShare {
517
517
  */
518
518
  AllowPubliclyAccessibleConsumers?: boolean;
519
519
  /**
520
- * <p>A value that specifies when the datashare has an association between a producer and data consumers.</p>
520
+ * <p>A value that specifies when the datashare has an association between producer and data
521
+ * consumers.</p>
521
522
  */
522
523
  DataShareAssociations?: DataShareAssociation[];
523
524
  /**
@@ -2558,12 +2559,12 @@ export declare class ClusterAlreadyExistsFault extends __BaseException {
2558
2559
  */
2559
2560
  export interface ClusterCredentials {
2560
2561
  /**
2561
- * <p>A database user name that is authorized to log on to the database
2562
- * <code>DbName</code> using the password <code>DbPassword</code>. If the specified
2563
- * DbUser exists in the database, the new user name has the same database privileges as the
2564
- * the user named in DbUser. By default, the user is added to PUBLIC. If the
2565
- * <code>DbGroups</code> parameter is specifed, <code>DbUser</code> is added to the
2566
- * listed groups for any sessions created using these credentials.</p>
2562
+ * <p>A database user name that is authorized to log on to the database <code>DbName</code>
2563
+ * using the password <code>DbPassword</code>. If the specified DbUser exists in the
2564
+ * database, the new user name has the same database permissions as the the user named in
2565
+ * DbUser. By default, the user is added to PUBLIC. If the <code>DbGroups</code> parameter
2566
+ * is specifed, <code>DbUser</code> is added to the listed groups for any sessions created
2567
+ * using these credentials.</p>
2567
2568
  */
2568
2569
  DbUser?: string;
2569
2570
  /**
@@ -3630,6 +3631,10 @@ export interface CreateClusterMessage {
3630
3631
  * <p>The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created. </p>
3631
3632
  */
3632
3633
  DefaultIamRoleArn?: string;
3634
+ /**
3635
+ * <p>A flag that specifies whether to load sample data once the cluster is created.</p>
3636
+ */
3637
+ LoadSampleData?: string;
3633
3638
  }
3634
3639
  export declare namespace CreateClusterMessage {
3635
3640
  /**
@@ -1658,6 +1658,8 @@ export interface CreateClusterMessage {
1658
1658
  AquaConfigurationStatus?: AquaConfigurationStatus | string;
1659
1659
 
1660
1660
  DefaultIamRoleArn?: string;
1661
+
1662
+ LoadSampleData?: string;
1661
1663
  }
1662
1664
  export declare namespace CreateClusterMessage {
1663
1665
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
4
- "version": "3.85.0",
4
+ "version": "3.92.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.85.0",
21
+ "@aws-sdk/client-sts": "3.92.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.85.0",
23
+ "@aws-sdk/credential-provider-node": "3.87.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",