@aws-sdk/client-redshift 3.85.0 → 3.86.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 +11 -0
- package/dist-cjs/protocols/Aws_query.js +3 -0
- package/dist-es/protocols/Aws_query.js +3 -0
- package/dist-types/Redshift.d.ts +6 -6
- package/dist-types/commands/AuthorizeDataShareCommand.d.ts +2 -2
- package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -1
- package/dist-types/commands/GetClusterCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/RejectDataShareCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +12 -7
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.86.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.85.0...v3.86.0) (2022-05-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -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) {
|
package/dist-types/Redshift.d.ts
CHANGED
|
@@ -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,
|
|
194
|
-
* must have the correct access
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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,
|
|
12
|
-
* must have the correct access
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
2563
|
-
*
|
|
2564
|
-
*
|
|
2565
|
-
*
|
|
2566
|
-
*
|
|
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
|
/**
|
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.
|
|
4
|
+
"version": "3.86.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",
|