@aws-sdk/client-redshift-data 3.337.0 → 3.341.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.
Files changed (53) hide show
  1. package/dist-cjs/RedshiftDataClient.js +2 -1
  2. package/dist-cjs/commands/BatchExecuteStatementCommand.js +2 -1
  3. package/dist-cjs/commands/CancelStatementCommand.js +2 -1
  4. package/dist-cjs/commands/DescribeStatementCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeTableCommand.js +2 -1
  6. package/dist-cjs/commands/ExecuteStatementCommand.js +2 -1
  7. package/dist-cjs/commands/GetStatementResultCommand.js +2 -1
  8. package/dist-cjs/commands/ListDatabasesCommand.js +2 -1
  9. package/dist-cjs/commands/ListSchemasCommand.js +2 -1
  10. package/dist-cjs/commands/ListStatementsCommand.js +2 -1
  11. package/dist-cjs/commands/ListTablesCommand.js +2 -1
  12. package/dist-cjs/index.js +2 -2
  13. package/dist-cjs/models/RedshiftDataServiceException.js +2 -1
  14. package/dist-es/RedshiftDataClient.js +1 -0
  15. package/dist-es/commands/BatchExecuteStatementCommand.js +1 -0
  16. package/dist-es/commands/CancelStatementCommand.js +1 -0
  17. package/dist-es/commands/DescribeStatementCommand.js +1 -0
  18. package/dist-es/commands/DescribeTableCommand.js +1 -0
  19. package/dist-es/commands/ExecuteStatementCommand.js +1 -0
  20. package/dist-es/commands/GetStatementResultCommand.js +1 -0
  21. package/dist-es/commands/ListDatabasesCommand.js +1 -0
  22. package/dist-es/commands/ListSchemasCommand.js +1 -0
  23. package/dist-es/commands/ListStatementsCommand.js +1 -0
  24. package/dist-es/commands/ListTablesCommand.js +1 -0
  25. package/dist-es/index.js +2 -2
  26. package/dist-es/models/RedshiftDataServiceException.js +1 -0
  27. package/dist-types/RedshiftDataClient.d.ts +3 -3
  28. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +4 -0
  29. package/dist-types/commands/CancelStatementCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeStatementCommand.d.ts +4 -0
  31. package/dist-types/commands/DescribeTableCommand.d.ts +4 -0
  32. package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -0
  33. package/dist-types/commands/GetStatementResultCommand.d.ts +4 -0
  34. package/dist-types/commands/ListDatabasesCommand.d.ts +4 -0
  35. package/dist-types/commands/ListSchemasCommand.d.ts +4 -0
  36. package/dist-types/commands/ListStatementsCommand.d.ts +4 -0
  37. package/dist-types/commands/ListTablesCommand.d.ts +4 -0
  38. package/dist-types/index.d.ts +11 -2
  39. package/dist-types/models/RedshiftDataServiceException.d.ts +1 -0
  40. package/dist-types/ts3.4/RedshiftDataClient.d.ts +3 -3
  41. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +1 -0
  42. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +1 -0
  43. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +1 -0
  44. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +1 -0
  45. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +1 -0
  46. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +1 -0
  47. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +1 -0
  48. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +1 -0
  49. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +1 -0
  50. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +1 -0
  51. package/dist-types/ts3.4/index.d.ts +2 -2
  52. package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +1 -0
  53. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RedshiftDataClient = void 0;
3
+ exports.RedshiftDataClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class RedshiftDataClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchExecuteStatementCommand = void 0;
3
+ exports.BatchExecuteStatementCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class BatchExecuteStatementCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CancelStatementCommand = void 0;
3
+ exports.CancelStatementCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class CancelStatementCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeStatementCommand = void 0;
3
+ exports.DescribeStatementCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DescribeStatementCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeTableCommand = void 0;
3
+ exports.DescribeTableCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DescribeTableCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExecuteStatementCommand = void 0;
3
+ exports.ExecuteStatementCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ExecuteStatementCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetStatementResultCommand = void 0;
3
+ exports.GetStatementResultCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class GetStatementResultCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListDatabasesCommand = void 0;
3
+ exports.ListDatabasesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListDatabasesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListSchemasCommand = void 0;
3
+ exports.ListSchemasCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListSchemasCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListStatementsCommand = void 0;
3
+ exports.ListStatementsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListStatementsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTablesCommand = void 0;
3
+ exports.ListTablesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListTablesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RedshiftDataServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./RedshiftData"), exports);
6
5
  tslib_1.__exportStar(require("./RedshiftDataClient"), exports);
6
+ tslib_1.__exportStar(require("./RedshiftData"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
10
  var RedshiftDataServiceException_1 = require("./models/RedshiftDataServiceException");
11
11
  Object.defineProperty(exports, "RedshiftDataServiceException", { enumerable: true, get: function () { return RedshiftDataServiceException_1.RedshiftDataServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RedshiftDataServiceException = void 0;
3
+ exports.RedshiftDataServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class RedshiftDataServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class RedshiftDataClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class BatchExecuteStatementCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CancelStatementCommand, se_CancelStatementCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class CancelStatementCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeStatementCommand, se_DescribeStatementCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DescribeStatementCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeTableCommand, se_DescribeTableCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DescribeTableCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ExecuteStatementCommand, se_ExecuteStatementCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ExecuteStatementCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetStatementResultCommand, se_GetStatementResultCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class GetStatementResultCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListDatabasesCommand, se_ListDatabasesCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListDatabasesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListSchemasCommand, se_ListSchemasCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListSchemasCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListStatementsCommand, se_ListStatementsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListStatementsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListTablesCommand, se_ListTablesCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListTablesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./RedshiftData";
2
1
  export * from "./RedshiftDataClient";
2
+ export * from "./RedshiftData";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class RedshiftDataServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -19,6 +19,7 @@ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/Li
19
19
  import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
20
20
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
21
21
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
22
+ export { __Client };
22
23
  /**
23
24
  * @public
24
25
  */
@@ -133,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
133
134
  /**
134
135
  * @public
135
136
  */
136
- type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
137
+ export type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
137
138
  /**
138
139
  * @public
139
140
  *
@@ -144,7 +145,7 @@ export interface RedshiftDataClientConfig extends RedshiftDataClientConfigType {
144
145
  /**
145
146
  * @public
146
147
  */
147
- type RedshiftDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
148
+ export type RedshiftDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
148
149
  /**
149
150
  * @public
150
151
  *
@@ -173,4 +174,3 @@ export declare class RedshiftDataClient extends __Client<__HttpHandlerOptions, S
173
174
  */
174
175
  destroy(): void;
175
176
  }
176
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
5
5
  import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,15 @@
1
- export * from "./RedshiftData";
1
+ /**
2
+ * <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
3
+ * can run SQL statements, which are committed if the statement succeeds. </p>
4
+ * <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
5
+ * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
6
+ * <i>Amazon Redshift Management Guide</i>. </p>
7
+ *
8
+ * @packageDocumentation
9
+ */
2
10
  export * from "./RedshiftDataClient";
11
+ export * from "./RedshiftData";
3
12
  export * from "./commands";
4
- export * from "./models";
5
13
  export * from "./pagination";
14
+ export * from "./models";
6
15
  export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -91,6 +91,7 @@ import {
91
91
  ClientResolvedEndpointParameters,
92
92
  EndpointParameters,
93
93
  } from "./endpoint/EndpointParameters";
94
+ export { __Client };
94
95
  export type ServiceInputTypes =
95
96
  | BatchExecuteStatementCommandInput
96
97
  | CancelStatementCommandInput
@@ -137,7 +138,7 @@ export interface ClientDefaults
137
138
  logger?: __Logger;
138
139
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
139
140
  }
140
- type RedshiftDataClientConfigType = Partial<
141
+ export type RedshiftDataClientConfigType = Partial<
141
142
  __SmithyConfiguration<__HttpHandlerOptions>
142
143
  > &
143
144
  ClientDefaults &
@@ -150,7 +151,7 @@ type RedshiftDataClientConfigType = Partial<
150
151
  ClientInputEndpointParameters;
151
152
  export interface RedshiftDataClientConfig
152
153
  extends RedshiftDataClientConfigType {}
153
- type RedshiftDataClientResolvedConfigType =
154
+ export type RedshiftDataClientResolvedConfigType =
154
155
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
155
156
  Required<ClientDefaults> &
156
157
  RegionResolvedConfig &
@@ -172,4 +173,3 @@ export declare class RedshiftDataClient extends __Client<
172
173
  constructor(configuration: RedshiftDataClientConfig);
173
174
  destroy(): void;
174
175
  }
175
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface BatchExecuteStatementCommandInput
19
20
  extends BatchExecuteStatementInput {}
20
21
  export interface BatchExecuteStatementCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CancelStatementCommandInput extends CancelStatementRequest {}
19
20
  export interface CancelStatementCommandOutput
20
21
  extends CancelStatementResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeStatementCommandInput
19
20
  extends DescribeStatementRequest {}
20
21
  export interface DescribeStatementCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeTableCommandInput extends DescribeTableRequest {}
19
20
  export interface DescribeTableCommandOutput
20
21
  extends DescribeTableResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ExecuteStatementCommandInput extends ExecuteStatementInput {}
19
20
  export interface ExecuteStatementCommandOutput
20
21
  extends ExecuteStatementOutput,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetStatementResultCommandInput
19
20
  extends GetStatementResultRequest {}
20
21
  export interface GetStatementResultCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListDatabasesCommandInput extends ListDatabasesRequest {}
19
20
  export interface ListDatabasesCommandOutput
20
21
  extends ListDatabasesResponse,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../RedshiftDataClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListSchemasCommandInput extends ListSchemasRequest {}
16
17
  export interface ListSchemasCommandOutput
17
18
  extends ListSchemasResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../RedshiftDataClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListStatementsCommandInput extends ListStatementsRequest {}
19
20
  export interface ListStatementsCommandOutput
20
21
  extends ListStatementsResponse,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../RedshiftDataClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListTablesCommandInput extends ListTablesRequest {}
16
17
  export interface ListTablesCommandOutput
17
18
  extends ListTablesResponse,
@@ -1,6 +1,6 @@
1
- export * from "./RedshiftData";
2
1
  export * from "./RedshiftDataClient";
2
+ export * from "./RedshiftData";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class RedshiftDataServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
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.337.0",
4
+ "version": "3.341.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",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.337.0",
25
- "@aws-sdk/config-resolver": "3.337.0",
26
- "@aws-sdk/credential-provider-node": "3.337.0",
27
- "@aws-sdk/fetch-http-handler": "3.337.0",
28
- "@aws-sdk/hash-node": "3.337.0",
29
- "@aws-sdk/invalid-dependency": "3.337.0",
30
- "@aws-sdk/middleware-content-length": "3.337.0",
31
- "@aws-sdk/middleware-endpoint": "3.337.0",
32
- "@aws-sdk/middleware-host-header": "3.337.0",
33
- "@aws-sdk/middleware-logger": "3.337.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.337.0",
35
- "@aws-sdk/middleware-retry": "3.337.0",
36
- "@aws-sdk/middleware-serde": "3.337.0",
37
- "@aws-sdk/middleware-signing": "3.337.0",
38
- "@aws-sdk/middleware-stack": "3.337.0",
39
- "@aws-sdk/middleware-user-agent": "3.337.0",
40
- "@aws-sdk/node-config-provider": "3.337.0",
41
- "@aws-sdk/node-http-handler": "3.337.0",
42
- "@aws-sdk/smithy-client": "3.337.0",
43
- "@aws-sdk/types": "3.337.0",
44
- "@aws-sdk/url-parser": "3.337.0",
24
+ "@aws-sdk/client-sts": "3.341.0",
25
+ "@aws-sdk/config-resolver": "3.341.0",
26
+ "@aws-sdk/credential-provider-node": "3.341.0",
27
+ "@aws-sdk/fetch-http-handler": "3.341.0",
28
+ "@aws-sdk/hash-node": "3.341.0",
29
+ "@aws-sdk/invalid-dependency": "3.341.0",
30
+ "@aws-sdk/middleware-content-length": "3.341.0",
31
+ "@aws-sdk/middleware-endpoint": "3.341.0",
32
+ "@aws-sdk/middleware-host-header": "3.341.0",
33
+ "@aws-sdk/middleware-logger": "3.341.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.341.0",
35
+ "@aws-sdk/middleware-retry": "3.341.0",
36
+ "@aws-sdk/middleware-serde": "3.341.0",
37
+ "@aws-sdk/middleware-signing": "3.341.0",
38
+ "@aws-sdk/middleware-stack": "3.341.0",
39
+ "@aws-sdk/middleware-user-agent": "3.341.0",
40
+ "@aws-sdk/node-config-provider": "3.341.0",
41
+ "@aws-sdk/node-http-handler": "3.341.0",
42
+ "@aws-sdk/smithy-client": "3.341.0",
43
+ "@aws-sdk/types": "3.341.0",
44
+ "@aws-sdk/url-parser": "3.341.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.337.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.337.0",
50
- "@aws-sdk/util-endpoints": "3.337.0",
51
- "@aws-sdk/util-retry": "3.337.0",
52
- "@aws-sdk/util-user-agent-browser": "3.337.0",
53
- "@aws-sdk/util-user-agent-node": "3.337.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.341.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.341.0",
50
+ "@aws-sdk/util-endpoints": "3.341.0",
51
+ "@aws-sdk/util-retry": "3.341.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.341.0",
53
+ "@aws-sdk/util-user-agent-node": "3.341.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",