@aws-sdk/client-redshift-data 3.1086.0 → 3.1088.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 (32) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/RedshiftData.d.ts +43 -51
  3. package/dist-types/ts3.4/RedshiftDataClient.d.ts +8 -24
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -9
  12. package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/GetStatementResultV2Command.d.ts +5 -10
  14. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +4 -9
  15. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +3 -5
  16. package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +3 -8
  17. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +3 -5
  18. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  19. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  20. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  21. package/dist-types/ts3.4/models/enums.d.ts +1 -2
  22. package/dist-types/ts3.4/models/errors.d.ts +9 -33
  23. package/dist-types/ts3.4/models/models_0.d.ts +2 -8
  24. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  25. package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +1 -4
  26. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -4
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  31. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  32. package/package.json +39 -39
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetStatementResultV2Request,
4
- GetStatementResultV2Response,
5
- } from "../models/models_0";
2
+ import { GetStatementResultV2Request, GetStatementResultV2Response } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetStatementResultV2CommandInput
8
- extends GetStatementResultV2Request {}
4
+ export interface GetStatementResultV2CommandInput extends GetStatementResultV2Request {}
9
5
  export interface GetStatementResultV2CommandOutput
10
- extends GetStatementResultV2Response,
11
- __MetadataBearer {}
6
+ extends GetStatementResultV2Response, __MetadataBearer {}
12
7
  declare const GetStatementResultV2Command_base: {
13
8
  new (
14
- input: GetStatementResultV2CommandInput
9
+ input: GetStatementResultV2CommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetStatementResultV2CommandInput,
17
12
  GetStatementResultV2CommandOutput,
@@ -20,7 +15,7 @@ declare const GetStatementResultV2Command_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: GetStatementResultV2CommandInput
18
+ input: GetStatementResultV2CommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  GetStatementResultV2CommandInput,
26
21
  GetStatementResultV2CommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListDatabasesRequest,
4
- ListDatabasesResponse,
5
- } from "../models/models_0";
2
+ import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface ListDatabasesCommandInput extends ListDatabasesRequest {}
8
- export interface ListDatabasesCommandOutput
9
- extends ListDatabasesResponse,
10
- __MetadataBearer {}
5
+ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {}
11
6
  declare const ListDatabasesCommand_base: {
12
7
  new (
13
- input: ListDatabasesCommandInput
8
+ input: ListDatabasesCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  ListDatabasesCommandInput,
16
11
  ListDatabasesCommandOutput,
@@ -19,7 +14,7 @@ declare const ListDatabasesCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: ListDatabasesCommandInput
17
+ input: ListDatabasesCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  ListDatabasesCommandInput,
25
20
  ListDatabasesCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface ListSchemasCommandInput extends ListSchemasRequest {}
5
- export interface ListSchemasCommandOutput
6
- extends ListSchemasResponse,
7
- __MetadataBearer {}
5
+ export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {}
8
6
  declare const ListSchemasCommand_base: {
9
7
  new (
10
- input: ListSchemasCommandInput
8
+ input: ListSchemasCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  ListSchemasCommandInput,
13
11
  ListSchemasCommandOutput,
@@ -16,7 +14,7 @@ declare const ListSchemasCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: ListSchemasCommandInput
17
+ input: ListSchemasCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  ListSchemasCommandInput,
22
20
  ListSchemasCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListStatementsRequest,
4
- ListStatementsResponse,
5
- } from "../models/models_0";
2
+ import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface ListStatementsCommandInput extends ListStatementsRequest {}
8
- export interface ListStatementsCommandOutput
9
- extends ListStatementsResponse,
10
- __MetadataBearer {}
5
+ export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {}
11
6
  declare const ListStatementsCommand_base: {
12
7
  new (
13
- input: ListStatementsCommandInput
8
+ input: ListStatementsCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  ListStatementsCommandInput,
16
11
  ListStatementsCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface ListTablesCommandInput extends ListTablesRequest {}
5
- export interface ListTablesCommandOutput
6
- extends ListTablesResponse,
7
- __MetadataBearer {}
5
+ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {}
8
6
  declare const ListTablesCommand_base: {
9
7
  new (
10
- input: ListTablesCommandInput
8
+ input: ListTablesCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  ListTablesCommandInput,
13
11
  ListTablesCommandOutput,
@@ -16,7 +14,7 @@ declare const ListTablesCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: ListTablesCommandInput
17
+ input: ListTablesCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  ListTablesCommandInput,
22
20
  ListTablesCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface RedshiftDataExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -2,8 +2,7 @@ export declare const ResultFormatString: {
2
2
  readonly CSV: "CSV";
3
3
  readonly JSON: "JSON";
4
4
  };
5
- export type ResultFormatString =
6
- (typeof ResultFormatString)[keyof typeof ResultFormatString];
5
+ export type ResultFormatString = (typeof ResultFormatString)[keyof typeof ResultFormatString];
7
6
  export declare const StatusString: {
8
7
  readonly ABORTED: "ABORTED";
9
8
  readonly ALL: "ALL";
@@ -4,80 +4,56 @@ export declare class ActiveSessionsExceededException extends __BaseException {
4
4
  readonly name: "ActiveSessionsExceededException";
5
5
  readonly $fault: "client";
6
6
  Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<
9
- ActiveSessionsExceededException,
10
- __BaseException
11
- >
12
- );
7
+ constructor(opts: __ExceptionOptionType<ActiveSessionsExceededException, __BaseException>);
13
8
  }
14
9
  export declare class ActiveStatementsExceededException extends __BaseException {
15
10
  readonly name: "ActiveStatementsExceededException";
16
11
  readonly $fault: "client";
17
12
  Message?: string | undefined;
18
- constructor(
19
- opts: __ExceptionOptionType<
20
- ActiveStatementsExceededException,
21
- __BaseException
22
- >
23
- );
13
+ constructor(opts: __ExceptionOptionType<ActiveStatementsExceededException, __BaseException>);
24
14
  }
25
15
  export declare class BatchExecuteStatementException extends __BaseException {
26
16
  readonly name: "BatchExecuteStatementException";
27
17
  readonly $fault: "server";
28
18
  Message: string | undefined;
29
19
  StatementId: string | undefined;
30
- constructor(
31
- opts: __ExceptionOptionType<BatchExecuteStatementException, __BaseException>
32
- );
20
+ constructor(opts: __ExceptionOptionType<BatchExecuteStatementException, __BaseException>);
33
21
  }
34
22
  export declare class InternalServerException extends __BaseException {
35
23
  readonly name: "InternalServerException";
36
24
  readonly $fault: "server";
37
25
  Message: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
40
- );
26
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
41
27
  }
42
28
  export declare class ResourceNotFoundException extends __BaseException {
43
29
  readonly name: "ResourceNotFoundException";
44
30
  readonly $fault: "client";
45
31
  Message: string | undefined;
46
32
  ResourceId: string | undefined;
47
- constructor(
48
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
49
- );
33
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
50
34
  }
51
35
  export declare class ValidationException extends __BaseException {
52
36
  readonly name: "ValidationException";
53
37
  readonly $fault: "client";
54
38
  Message?: string | undefined;
55
- constructor(
56
- opts: __ExceptionOptionType<ValidationException, __BaseException>
57
- );
39
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
58
40
  }
59
41
  export declare class DatabaseConnectionException extends __BaseException {
60
42
  readonly name: "DatabaseConnectionException";
61
43
  readonly $fault: "server";
62
44
  Message: string | undefined;
63
- constructor(
64
- opts: __ExceptionOptionType<DatabaseConnectionException, __BaseException>
65
- );
45
+ constructor(opts: __ExceptionOptionType<DatabaseConnectionException, __BaseException>);
66
46
  }
67
47
  export declare class QueryTimeoutException extends __BaseException {
68
48
  readonly name: "QueryTimeoutException";
69
49
  readonly $fault: "client";
70
50
  Message?: string | undefined;
71
- constructor(
72
- opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>
73
- );
51
+ constructor(opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>);
74
52
  }
75
53
  export declare class ExecuteStatementException extends __BaseException {
76
54
  readonly name: "ExecuteStatementException";
77
55
  readonly $fault: "server";
78
56
  Message: string | undefined;
79
57
  StatementId: string | undefined;
80
- constructor(
81
- opts: __ExceptionOptionType<ExecuteStatementException, __BaseException>
82
- );
58
+ constructor(opts: __ExceptionOptionType<ExecuteStatementException, __BaseException>);
83
59
  }
@@ -1,8 +1,4 @@
1
- import {
2
- ResultFormatString,
3
- StatementStatusString,
4
- StatusString,
5
- } from "./enums";
1
+ import { ResultFormatString, StatementStatusString, StatusString } from "./enums";
6
2
  export interface SqlParameter {
7
3
  name: string | undefined;
8
4
  value: string | undefined;
@@ -218,9 +214,7 @@ export declare namespace Field {
218
214
  _: (name: string, value: any) => T;
219
215
  }
220
216
  }
221
- export type QueryRecords =
222
- | QueryRecords.CSVRecordsMember
223
- | QueryRecords.$UnknownMember;
217
+ export type QueryRecords = QueryRecords.CSVRecordsMember | QueryRecords.$UnknownMember;
224
218
  export declare namespace QueryRecords {
225
219
  interface CSVRecordsMember {
226
220
  CSVRecords: string;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { RedshiftDataClient } from "../RedshiftDataClient";
3
- export interface RedshiftDataPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface RedshiftDataPaginationConfiguration extends PaginationConfiguration {
5
4
  client: RedshiftDataClient;
6
5
  }
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListSchemasCommandInput,
4
- ListSchemasCommandOutput,
5
- } from "../commands/ListSchemasCommand";
2
+ import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
6
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListSchemas: (
8
5
  config: RedshiftDataPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListTablesCommandInput,
4
- ListTablesCommandOutput,
5
- } from "../commands/ListTablesCommand";
2
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
6
3
  import { RedshiftDataPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListTables: (
8
5
  config: RedshiftDataPaginationConfiguration,
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftDataHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-data",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-data",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-redshift-data"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-data",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-redshift-data"
68
68
  }
69
69
  }