@aws-sdk/client-redshift-data 3.110.0 → 3.112.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/README.md +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +15 -12
- package/dist-types/RedshiftData.d.ts +13 -13
- package/dist-types/RedshiftDataClient.d.ts +1 -1
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTableCommand.d.ts +2 -2
- package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -2
- package/dist-types/commands/ListDatabasesCommand.d.ts +2 -2
- package/dist-types/commands/ListSchemasCommand.d.ts +2 -2
- package/dist-types/commands/ListTablesCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +38 -2
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/package.json +3 -3
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.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-redshift-data:** This release adds a new --workgroup-name field to operations that connect to an endpoint. Customers can now execute queries against their serverless workgroups. ([e92c230](https://github.com/aws/aws-sdk-js-v3/commit/e92c2304c7548ae9d4974b5998fada5fb788fce3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-redshift-data
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ AWS SDK for JavaScript RedshiftData Client for Node.js, Browser and React Native
|
|
|
11
11
|
|
|
12
12
|
<p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
13
13
|
can run SQL statements, which are committed if the statement succeeds. </p>
|
|
14
|
-
<p>For more information about the Amazon Redshift Data API, see
|
|
14
|
+
<p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
15
15
|
<a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
16
16
|
<i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
17
17
|
|
|
@@ -598,6 +598,7 @@ const serializeAws_json1_1BatchExecuteStatementInput = (input, context) => {
|
|
|
598
598
|
...(input.Sqls !== undefined && input.Sqls !== null && { Sqls: serializeAws_json1_1SqlList(input.Sqls, context) }),
|
|
599
599
|
...(input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName }),
|
|
600
600
|
...(input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent }),
|
|
601
|
+
...(input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }),
|
|
601
602
|
};
|
|
602
603
|
};
|
|
603
604
|
const serializeAws_json1_1CancelStatementRequest = (input, context) => {
|
|
@@ -623,6 +624,7 @@ const serializeAws_json1_1DescribeTableRequest = (input, context) => {
|
|
|
623
624
|
...(input.Schema !== undefined && input.Schema !== null && { Schema: input.Schema }),
|
|
624
625
|
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
625
626
|
...(input.Table !== undefined && input.Table !== null && { Table: input.Table }),
|
|
627
|
+
...(input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }),
|
|
626
628
|
};
|
|
627
629
|
};
|
|
628
630
|
const serializeAws_json1_1ExecuteStatementInput = (input, context) => {
|
|
@@ -637,6 +639,7 @@ const serializeAws_json1_1ExecuteStatementInput = (input, context) => {
|
|
|
637
639
|
...(input.Sql !== undefined && input.Sql !== null && { Sql: input.Sql }),
|
|
638
640
|
...(input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName }),
|
|
639
641
|
...(input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent }),
|
|
642
|
+
...(input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }),
|
|
640
643
|
};
|
|
641
644
|
};
|
|
642
645
|
const serializeAws_json1_1GetStatementResultRequest = (input, context) => {
|
|
@@ -654,6 +657,7 @@ const serializeAws_json1_1ListDatabasesRequest = (input, context) => {
|
|
|
654
657
|
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
655
658
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
656
659
|
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
660
|
+
...(input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }),
|
|
657
661
|
};
|
|
658
662
|
};
|
|
659
663
|
const serializeAws_json1_1ListSchemasRequest = (input, context) => {
|
|
@@ -668,6 +672,7 @@ const serializeAws_json1_1ListSchemasRequest = (input, context) => {
|
|
|
668
672
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
669
673
|
...(input.SchemaPattern !== undefined && input.SchemaPattern !== null && { SchemaPattern: input.SchemaPattern }),
|
|
670
674
|
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
675
|
+
...(input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }),
|
|
671
676
|
};
|
|
672
677
|
};
|
|
673
678
|
const serializeAws_json1_1ListStatementsRequest = (input, context) => {
|
|
@@ -692,6 +697,7 @@ const serializeAws_json1_1ListTablesRequest = (input, context) => {
|
|
|
692
697
|
...(input.SchemaPattern !== undefined && input.SchemaPattern !== null && { SchemaPattern: input.SchemaPattern }),
|
|
693
698
|
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
694
699
|
...(input.TablePattern !== undefined && input.TablePattern !== null && { TablePattern: input.TablePattern }),
|
|
700
|
+
...(input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }),
|
|
695
701
|
};
|
|
696
702
|
};
|
|
697
703
|
const serializeAws_json1_1SqlList = (input, context) => {
|
|
@@ -741,6 +747,7 @@ const deserializeAws_json1_1BatchExecuteStatementOutput = (output, context) => {
|
|
|
741
747
|
DbUser: (0, smithy_client_1.expectString)(output.DbUser),
|
|
742
748
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
743
749
|
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
750
|
+
WorkgroupName: (0, smithy_client_1.expectString)(output.WorkgroupName),
|
|
744
751
|
};
|
|
745
752
|
};
|
|
746
753
|
const deserializeAws_json1_1CancelStatementResponse = (output, context) => {
|
|
@@ -831,6 +838,7 @@ const deserializeAws_json1_1DescribeStatementResponse = (output, context) => {
|
|
|
831
838
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
832
839
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
833
840
|
: undefined,
|
|
841
|
+
WorkgroupName: (0, smithy_client_1.expectString)(output.WorkgroupName),
|
|
834
842
|
};
|
|
835
843
|
};
|
|
836
844
|
const deserializeAws_json1_1DescribeTableResponse = (output, context) => {
|
|
@@ -858,6 +866,7 @@ const deserializeAws_json1_1ExecuteStatementOutput = (output, context) => {
|
|
|
858
866
|
DbUser: (0, smithy_client_1.expectString)(output.DbUser),
|
|
859
867
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
860
868
|
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
869
|
+
WorkgroupName: (0, smithy_client_1.expectString)(output.WorkgroupName),
|
|
861
870
|
};
|
|
862
871
|
};
|
|
863
872
|
const deserializeAws_json1_1Field = (output, context) => {
|
|
@@ -757,8 +757,8 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
757
757
|
});
|
|
758
758
|
}); };
|
|
759
759
|
var serializeAws_json1_1BatchExecuteStatementInput = function (input, context) {
|
|
760
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
761
|
-
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Sqls !== undefined && input.Sqls !== null && { Sqls: serializeAws_json1_1SqlList(input.Sqls, context) })), (input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName })), (input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent }));
|
|
760
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
761
|
+
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Sqls !== undefined && input.Sqls !== null && { Sqls: serializeAws_json1_1SqlList(input.Sqls, context) })), (input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName })), (input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent })), (input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }));
|
|
762
762
|
};
|
|
763
763
|
var serializeAws_json1_1CancelStatementRequest = function (input, context) {
|
|
764
764
|
return __assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id }));
|
|
@@ -767,34 +767,34 @@ var serializeAws_json1_1DescribeStatementRequest = function (input, context) {
|
|
|
767
767
|
return __assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id }));
|
|
768
768
|
};
|
|
769
769
|
var serializeAws_json1_1DescribeTableRequest = function (input, context) {
|
|
770
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
770
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
771
771
|
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.ConnectedDatabase !== undefined &&
|
|
772
|
-
input.ConnectedDatabase !== null && { ConnectedDatabase: input.ConnectedDatabase })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Schema !== undefined && input.Schema !== null && { Schema: input.Schema })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Table !== undefined && input.Table !== null && { Table: input.Table }));
|
|
772
|
+
input.ConnectedDatabase !== null && { ConnectedDatabase: input.ConnectedDatabase })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Schema !== undefined && input.Schema !== null && { Schema: input.Schema })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Table !== undefined && input.Table !== null && { Table: input.Table })), (input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }));
|
|
773
773
|
};
|
|
774
774
|
var serializeAws_json1_1ExecuteStatementInput = function (input, context) {
|
|
775
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
775
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
776
776
|
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.Parameters !== undefined &&
|
|
777
|
-
input.Parameters !== null && { Parameters: serializeAws_json1_1SqlParametersList(input.Parameters, context) })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Sql !== undefined && input.Sql !== null && { Sql: input.Sql })), (input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName })), (input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent }));
|
|
777
|
+
input.Parameters !== null && { Parameters: serializeAws_json1_1SqlParametersList(input.Parameters, context) })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.Sql !== undefined && input.Sql !== null && { Sql: input.Sql })), (input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName })), (input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent })), (input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }));
|
|
778
778
|
};
|
|
779
779
|
var serializeAws_json1_1GetStatementResultRequest = function (input, context) {
|
|
780
780
|
return __assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
781
781
|
};
|
|
782
782
|
var serializeAws_json1_1ListDatabasesRequest = function (input, context) {
|
|
783
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
784
|
-
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }));
|
|
783
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
784
|
+
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }));
|
|
785
785
|
};
|
|
786
786
|
var serializeAws_json1_1ListSchemasRequest = function (input, context) {
|
|
787
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
787
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
788
788
|
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.ConnectedDatabase !== undefined &&
|
|
789
|
-
input.ConnectedDatabase !== null && { ConnectedDatabase: input.ConnectedDatabase })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SchemaPattern !== undefined && input.SchemaPattern !== null && { SchemaPattern: input.SchemaPattern })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }));
|
|
789
|
+
input.ConnectedDatabase !== null && { ConnectedDatabase: input.ConnectedDatabase })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SchemaPattern !== undefined && input.SchemaPattern !== null && { SchemaPattern: input.SchemaPattern })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }));
|
|
790
790
|
};
|
|
791
791
|
var serializeAws_json1_1ListStatementsRequest = function (input, context) {
|
|
792
792
|
return __assign(__assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.RoleLevel !== undefined && input.RoleLevel !== null && { RoleLevel: input.RoleLevel })), (input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
793
793
|
};
|
|
794
794
|
var serializeAws_json1_1ListTablesRequest = function (input, context) {
|
|
795
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
795
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterIdentifier !== undefined &&
|
|
796
796
|
input.ClusterIdentifier !== null && { ClusterIdentifier: input.ClusterIdentifier })), (input.ConnectedDatabase !== undefined &&
|
|
797
|
-
input.ConnectedDatabase !== null && { ConnectedDatabase: input.ConnectedDatabase })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SchemaPattern !== undefined && input.SchemaPattern !== null && { SchemaPattern: input.SchemaPattern })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.TablePattern !== undefined && input.TablePattern !== null && { TablePattern: input.TablePattern }));
|
|
797
|
+
input.ConnectedDatabase !== null && { ConnectedDatabase: input.ConnectedDatabase })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SchemaPattern !== undefined && input.SchemaPattern !== null && { SchemaPattern: input.SchemaPattern })), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.TablePattern !== undefined && input.TablePattern !== null && { TablePattern: input.TablePattern })), (input.WorkgroupName !== undefined && input.WorkgroupName !== null && { WorkgroupName: input.WorkgroupName }));
|
|
798
798
|
};
|
|
799
799
|
var serializeAws_json1_1SqlList = function (input, context) {
|
|
800
800
|
return input
|
|
@@ -840,6 +840,7 @@ var deserializeAws_json1_1BatchExecuteStatementOutput = function (output, contex
|
|
|
840
840
|
DbUser: __expectString(output.DbUser),
|
|
841
841
|
Id: __expectString(output.Id),
|
|
842
842
|
SecretArn: __expectString(output.SecretArn),
|
|
843
|
+
WorkgroupName: __expectString(output.WorkgroupName),
|
|
843
844
|
};
|
|
844
845
|
};
|
|
845
846
|
var deserializeAws_json1_1CancelStatementResponse = function (output, context) {
|
|
@@ -930,6 +931,7 @@ var deserializeAws_json1_1DescribeStatementResponse = function (output, context)
|
|
|
930
931
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
931
932
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
932
933
|
: undefined,
|
|
934
|
+
WorkgroupName: __expectString(output.WorkgroupName),
|
|
933
935
|
};
|
|
934
936
|
};
|
|
935
937
|
var deserializeAws_json1_1DescribeTableResponse = function (output, context) {
|
|
@@ -957,6 +959,7 @@ var deserializeAws_json1_1ExecuteStatementOutput = function (output, context) {
|
|
|
957
959
|
DbUser: __expectString(output.DbUser),
|
|
958
960
|
Id: __expectString(output.Id),
|
|
959
961
|
SecretArn: __expectString(output.SecretArn),
|
|
962
|
+
WorkgroupName: __expectString(output.WorkgroupName),
|
|
960
963
|
};
|
|
961
964
|
};
|
|
962
965
|
var deserializeAws_json1_1Field = function (output, context) {
|
|
@@ -13,7 +13,7 @@ import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
|
13
13
|
/**
|
|
14
14
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
15
15
|
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
16
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
16
|
+
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
17
17
|
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
18
18
|
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
19
19
|
*/
|
|
@@ -26,12 +26,12 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
26
26
|
* <ul>
|
|
27
27
|
* <li>
|
|
28
28
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
29
|
-
* When connecting to a serverless
|
|
29
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
30
30
|
* </li>
|
|
31
31
|
* <li>
|
|
32
32
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
33
33
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
34
|
-
* When connecting to a serverless
|
|
34
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
35
35
|
* </li>
|
|
36
36
|
* </ul>
|
|
37
37
|
*/
|
|
@@ -61,12 +61,12 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
61
61
|
* <ul>
|
|
62
62
|
* <li>
|
|
63
63
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
64
|
-
* When connecting to a serverless
|
|
64
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
65
65
|
* </li>
|
|
66
66
|
* <li>
|
|
67
67
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
68
68
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
69
|
-
* When connecting to a serverless
|
|
69
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
70
70
|
* </li>
|
|
71
71
|
* </ul>
|
|
72
72
|
*/
|
|
@@ -81,12 +81,12 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
81
81
|
* <ul>
|
|
82
82
|
* <li>
|
|
83
83
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
84
|
-
* When connecting to a serverless
|
|
84
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
85
85
|
* </li>
|
|
86
86
|
* <li>
|
|
87
87
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
88
88
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
89
|
-
* When connecting to a serverless
|
|
89
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
90
90
|
* </li>
|
|
91
91
|
* </ul>
|
|
92
92
|
*/
|
|
@@ -108,12 +108,12 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
108
108
|
* <ul>
|
|
109
109
|
* <li>
|
|
110
110
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
111
|
-
* When connecting to a serverless
|
|
111
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
112
112
|
* </li>
|
|
113
113
|
* <li>
|
|
114
114
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
115
115
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
116
|
-
* When connecting to a serverless
|
|
116
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
117
117
|
* </li>
|
|
118
118
|
* </ul>
|
|
119
119
|
*/
|
|
@@ -128,12 +128,12 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
128
128
|
* <ul>
|
|
129
129
|
* <li>
|
|
130
130
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
131
|
-
* When connecting to a serverless
|
|
131
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
132
132
|
* </li>
|
|
133
133
|
* <li>
|
|
134
134
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
135
135
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
136
|
-
* When connecting to a serverless
|
|
136
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
137
137
|
* </li>
|
|
138
138
|
* </ul>
|
|
139
139
|
*/
|
|
@@ -156,12 +156,12 @@ export declare class RedshiftData extends RedshiftDataClient {
|
|
|
156
156
|
* <ul>
|
|
157
157
|
* <li>
|
|
158
158
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
159
|
-
* When connecting to a serverless
|
|
159
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
160
160
|
* </li>
|
|
161
161
|
* <li>
|
|
162
162
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
163
163
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
164
|
-
* When connecting to a serverless
|
|
164
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
165
165
|
* </li>
|
|
166
166
|
* </ul>
|
|
167
167
|
*/
|
|
@@ -138,7 +138,7 @@ export interface RedshiftDataClientResolvedConfig extends RedshiftDataClientReso
|
|
|
138
138
|
/**
|
|
139
139
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
140
140
|
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
141
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
141
|
+
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
142
142
|
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
143
143
|
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
144
144
|
*/
|
|
@@ -14,12 +14,12 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
14
14
|
* <ul>
|
|
15
15
|
* <li>
|
|
16
16
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
17
|
-
* When connecting to a serverless
|
|
17
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
20
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
21
21
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
22
|
-
* When connecting to a serverless
|
|
22
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -15,12 +15,12 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
15
15
|
* <ul>
|
|
16
16
|
* <li>
|
|
17
17
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
18
|
-
* When connecting to a serverless
|
|
18
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
19
19
|
* </li>
|
|
20
20
|
* <li>
|
|
21
21
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
22
22
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
23
|
-
* When connecting to a serverless
|
|
23
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
24
24
|
* </li>
|
|
25
25
|
* </ul>
|
|
26
26
|
* @example
|
|
@@ -14,12 +14,12 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
|
|
|
14
14
|
* <ul>
|
|
15
15
|
* <li>
|
|
16
16
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
17
|
-
* When connecting to a serverless
|
|
17
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
20
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
21
21
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
22
|
-
* When connecting to a serverless
|
|
22
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -14,12 +14,12 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
14
14
|
* <ul>
|
|
15
15
|
* <li>
|
|
16
16
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
17
|
-
* When connecting to a serverless
|
|
17
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
20
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
21
21
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
22
|
-
* When connecting to a serverless
|
|
22
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -14,12 +14,12 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
|
|
|
14
14
|
* <ul>
|
|
15
15
|
* <li>
|
|
16
16
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
17
|
-
* When connecting to a serverless
|
|
17
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
20
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
21
21
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
22
|
-
* When connecting to a serverless
|
|
22
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -15,12 +15,12 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
15
15
|
* <ul>
|
|
16
16
|
* <li>
|
|
17
17
|
* <p>Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret.
|
|
18
|
-
* When connecting to a serverless
|
|
18
|
+
* When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. </p>
|
|
19
19
|
* </li>
|
|
20
20
|
* <li>
|
|
21
21
|
* <p>Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name.
|
|
22
22
|
* Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.
|
|
23
|
-
* When connecting to a serverless
|
|
23
|
+
* When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required. </p>
|
|
24
24
|
* </li>
|
|
25
25
|
* </ul>
|
|
26
26
|
* @example
|
|
@@ -57,6 +57,10 @@ export interface BatchExecuteStatementInput {
|
|
|
57
57
|
* <p>The name of the SQL statements. You can name the SQL statements when you create them to identify the query. </p>
|
|
58
58
|
*/
|
|
59
59
|
StatementName?: string;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
62
|
+
*/
|
|
63
|
+
WorkgroupName?: string;
|
|
60
64
|
}
|
|
61
65
|
export declare namespace BatchExecuteStatementInput {
|
|
62
66
|
/**
|
|
@@ -75,7 +79,7 @@ export interface BatchExecuteStatementOutput {
|
|
|
75
79
|
*/
|
|
76
80
|
CreatedAt?: Date;
|
|
77
81
|
/**
|
|
78
|
-
* <p>The cluster identifier. This
|
|
82
|
+
* <p>The cluster identifier. This element is not returned when connecting to a serverless workgroup. </p>
|
|
79
83
|
*/
|
|
80
84
|
ClusterIdentifier?: string;
|
|
81
85
|
/**
|
|
@@ -90,6 +94,10 @@ export interface BatchExecuteStatementOutput {
|
|
|
90
94
|
* <p>The name or ARN of the secret that enables access to the database. </p>
|
|
91
95
|
*/
|
|
92
96
|
SecretArn?: string;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The serverless workgroup name. This element is not returned when connecting to a provisioned cluster.</p>
|
|
99
|
+
*/
|
|
100
|
+
WorkgroupName?: string;
|
|
93
101
|
}
|
|
94
102
|
export declare namespace BatchExecuteStatementOutput {
|
|
95
103
|
/**
|
|
@@ -462,6 +470,10 @@ export interface DescribeStatementResponse {
|
|
|
462
470
|
* <p>The SQL statements from a multiple statement run.</p>
|
|
463
471
|
*/
|
|
464
472
|
SubStatements?: SubStatementData[];
|
|
473
|
+
/**
|
|
474
|
+
* <p>The serverless workgroup name.</p>
|
|
475
|
+
*/
|
|
476
|
+
WorkgroupName?: string;
|
|
465
477
|
}
|
|
466
478
|
export declare namespace DescribeStatementResponse {
|
|
467
479
|
/**
|
|
@@ -509,6 +521,10 @@ export interface DescribeTableRequest {
|
|
|
509
521
|
* If more tables exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>
|
|
510
522
|
*/
|
|
511
523
|
MaxResults?: number;
|
|
524
|
+
/**
|
|
525
|
+
* <p>The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
526
|
+
*/
|
|
527
|
+
WorkgroupName?: string;
|
|
512
528
|
}
|
|
513
529
|
export declare namespace DescribeTableRequest {
|
|
514
530
|
/**
|
|
@@ -588,6 +604,10 @@ export interface ExecuteStatementInput {
|
|
|
588
604
|
* <p>The parameters for the SQL statement.</p>
|
|
589
605
|
*/
|
|
590
606
|
Parameters?: SqlParameter[];
|
|
607
|
+
/**
|
|
608
|
+
* <p>The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
609
|
+
*/
|
|
610
|
+
WorkgroupName?: string;
|
|
591
611
|
}
|
|
592
612
|
export declare namespace ExecuteStatementInput {
|
|
593
613
|
/**
|
|
@@ -605,7 +625,7 @@ export interface ExecuteStatementOutput {
|
|
|
605
625
|
*/
|
|
606
626
|
CreatedAt?: Date;
|
|
607
627
|
/**
|
|
608
|
-
* <p>The cluster identifier. This
|
|
628
|
+
* <p>The cluster identifier. This element is not returned when connecting to a serverless workgroup. </p>
|
|
609
629
|
*/
|
|
610
630
|
ClusterIdentifier?: string;
|
|
611
631
|
/**
|
|
@@ -620,6 +640,10 @@ export interface ExecuteStatementOutput {
|
|
|
620
640
|
* <p>The name or ARN of the secret that enables access to the database. </p>
|
|
621
641
|
*/
|
|
622
642
|
SecretArn?: string;
|
|
643
|
+
/**
|
|
644
|
+
* <p>The serverless workgroup name. This element is not returned when connecting to a provisioned cluster.</p>
|
|
645
|
+
*/
|
|
646
|
+
WorkgroupName?: string;
|
|
623
647
|
}
|
|
624
648
|
export declare namespace ExecuteStatementOutput {
|
|
625
649
|
/**
|
|
@@ -798,6 +822,10 @@ export interface ListDatabasesRequest {
|
|
|
798
822
|
* If more databases exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>
|
|
799
823
|
*/
|
|
800
824
|
MaxResults?: number;
|
|
825
|
+
/**
|
|
826
|
+
* <p>The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
827
|
+
*/
|
|
828
|
+
WorkgroupName?: string;
|
|
801
829
|
}
|
|
802
830
|
export declare namespace ListDatabasesRequest {
|
|
803
831
|
/**
|
|
@@ -858,6 +886,10 @@ export interface ListSchemasRequest {
|
|
|
858
886
|
* If more schemas exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>
|
|
859
887
|
*/
|
|
860
888
|
MaxResults?: number;
|
|
889
|
+
/**
|
|
890
|
+
* <p>The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
891
|
+
*/
|
|
892
|
+
WorkgroupName?: string;
|
|
861
893
|
}
|
|
862
894
|
export declare namespace ListSchemasRequest {
|
|
863
895
|
/**
|
|
@@ -1053,6 +1085,10 @@ export interface ListTablesRequest {
|
|
|
1053
1085
|
* If more tables exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>
|
|
1054
1086
|
*/
|
|
1055
1087
|
MaxResults?: number;
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
1090
|
+
*/
|
|
1091
|
+
WorkgroupName?: string;
|
|
1056
1092
|
}
|
|
1057
1093
|
export declare namespace ListTablesRequest {
|
|
1058
1094
|
/**
|
|
@@ -33,6 +33,8 @@ export interface BatchExecuteStatementInput {
|
|
|
33
33
|
WithEvent?: boolean;
|
|
34
34
|
|
|
35
35
|
StatementName?: string;
|
|
36
|
+
|
|
37
|
+
WorkgroupName?: string;
|
|
36
38
|
}
|
|
37
39
|
export declare namespace BatchExecuteStatementInput {
|
|
38
40
|
|
|
@@ -51,6 +53,8 @@ export interface BatchExecuteStatementOutput {
|
|
|
51
53
|
Database?: string;
|
|
52
54
|
|
|
53
55
|
SecretArn?: string;
|
|
56
|
+
|
|
57
|
+
WorkgroupName?: string;
|
|
54
58
|
}
|
|
55
59
|
export declare namespace BatchExecuteStatementOutput {
|
|
56
60
|
|
|
@@ -244,6 +248,8 @@ export interface DescribeStatementResponse {
|
|
|
244
248
|
QueryParameters?: SqlParameter[];
|
|
245
249
|
|
|
246
250
|
SubStatements?: SubStatementData[];
|
|
251
|
+
|
|
252
|
+
WorkgroupName?: string;
|
|
247
253
|
}
|
|
248
254
|
export declare namespace DescribeStatementResponse {
|
|
249
255
|
|
|
@@ -268,6 +274,8 @@ export interface DescribeTableRequest {
|
|
|
268
274
|
NextToken?: string;
|
|
269
275
|
|
|
270
276
|
MaxResults?: number;
|
|
277
|
+
|
|
278
|
+
WorkgroupName?: string;
|
|
271
279
|
}
|
|
272
280
|
export declare namespace DescribeTableRequest {
|
|
273
281
|
|
|
@@ -313,6 +321,8 @@ export interface ExecuteStatementInput {
|
|
|
313
321
|
StatementName?: string;
|
|
314
322
|
|
|
315
323
|
Parameters?: SqlParameter[];
|
|
324
|
+
|
|
325
|
+
WorkgroupName?: string;
|
|
316
326
|
}
|
|
317
327
|
export declare namespace ExecuteStatementInput {
|
|
318
328
|
|
|
@@ -331,6 +341,8 @@ export interface ExecuteStatementOutput {
|
|
|
331
341
|
Database?: string;
|
|
332
342
|
|
|
333
343
|
SecretArn?: string;
|
|
344
|
+
|
|
345
|
+
WorkgroupName?: string;
|
|
334
346
|
}
|
|
335
347
|
export declare namespace ExecuteStatementOutput {
|
|
336
348
|
|
|
@@ -461,6 +473,8 @@ export interface ListDatabasesRequest {
|
|
|
461
473
|
NextToken?: string;
|
|
462
474
|
|
|
463
475
|
MaxResults?: number;
|
|
476
|
+
|
|
477
|
+
WorkgroupName?: string;
|
|
464
478
|
}
|
|
465
479
|
export declare namespace ListDatabasesRequest {
|
|
466
480
|
|
|
@@ -493,6 +507,8 @@ export interface ListSchemasRequest {
|
|
|
493
507
|
NextToken?: string;
|
|
494
508
|
|
|
495
509
|
MaxResults?: number;
|
|
510
|
+
|
|
511
|
+
WorkgroupName?: string;
|
|
496
512
|
}
|
|
497
513
|
export declare namespace ListSchemasRequest {
|
|
498
514
|
|
|
@@ -580,6 +596,8 @@ export interface ListTablesRequest {
|
|
|
580
596
|
NextToken?: string;
|
|
581
597
|
|
|
582
598
|
MaxResults?: number;
|
|
599
|
+
|
|
600
|
+
WorkgroupName?: string;
|
|
583
601
|
}
|
|
584
602
|
export declare namespace ListTablesRequest {
|
|
585
603
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.112.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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.112.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.112.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.110.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.110.0",
|