@aws-sdk/client-rds-data 3.1045.0 → 3.1047.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/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +28 -29
  5. package/dist-cjs/models/RDSDataServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/RDSData.js +1 -1
  10. package/dist-es/RDSDataClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/BatchExecuteStatementCommand.js +2 -2
  13. package/dist-es/commands/BeginTransactionCommand.js +2 -2
  14. package/dist-es/commands/CommitTransactionCommand.js +2 -2
  15. package/dist-es/commands/ExecuteSqlCommand.js +2 -2
  16. package/dist-es/commands/ExecuteStatementCommand.js +2 -2
  17. package/dist-es/commands/RollbackTransactionCommand.js +2 -2
  18. package/dist-es/endpoint/bdd.js +1 -1
  19. package/dist-es/endpoint/endpointResolver.js +1 -1
  20. package/dist-es/models/RDSDataServiceException.js +1 -1
  21. package/dist-es/runtimeConfig.browser.js +4 -6
  22. package/dist-es/runtimeConfig.js +4 -8
  23. package/dist-es/runtimeConfig.shared.js +3 -4
  24. package/dist-es/runtimeExtensions.js +2 -2
  25. package/dist-types/RDSDataClient.d.ts +5 -5
  26. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -4
  27. package/dist-types/commands/BeginTransactionCommand.d.ts +6 -4
  28. package/dist-types/commands/CommitTransactionCommand.d.ts +6 -4
  29. package/dist-types/commands/ExecuteSqlCommand.d.ts +6 -4
  30. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -4
  31. package/dist-types/commands/RollbackTransactionCommand.d.ts +6 -4
  32. package/dist-types/endpoint/bdd.d.ts +1 -1
  33. package/dist-types/extensionConfiguration.d.ts +1 -1
  34. package/dist-types/models/RDSDataServiceException.d.ts +1 -1
  35. package/dist-types/models/errors.d.ts +1 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  37. package/dist-types/runtimeConfig.d.ts +2 -2
  38. package/dist-types/runtimeConfig.native.d.ts +2 -2
  39. package/dist-types/ts3.4/RDSDataClient.d.ts +8 -14
  40. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +6 -4
  41. package/dist-types/ts3.4/commands/BeginTransactionCommand.d.ts +6 -4
  42. package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +6 -4
  43. package/dist-types/ts3.4/commands/ExecuteSqlCommand.d.ts +6 -4
  44. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +6 -4
  45. package/dist-types/ts3.4/commands/RollbackTransactionCommand.d.ts +6 -4
  46. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  47. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  48. package/dist-types/ts3.4/models/RDSDataServiceException.d.ts +1 -1
  49. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  53. package/package.json +13 -34
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
4
4
  import type { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
@@ -22,9 +22,11 @@ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatement
22
22
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementResponse, __MetadataBearer {
23
23
  }
24
24
  declare const BatchExecuteStatementCommand_base: {
25
- new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: BatchExecuteStatementCommandInput): import("@smithy/core/client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchExecuteStatementCommandInput): import("@smithy/core/client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Runs a batch SQL statement over an array of data.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
4
4
  import type { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
@@ -22,9 +22,11 @@ export interface BeginTransactionCommandInput extends BeginTransactionRequest {
22
22
  export interface BeginTransactionCommandOutput extends BeginTransactionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const BeginTransactionCommand_base: {
25
- new (input: BeginTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BeginTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: BeginTransactionCommandInput): import("@smithy/core/client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BeginTransactionCommandInput): import("@smithy/core/client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Starts a SQL transaction.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
4
4
  import type { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
@@ -22,9 +22,11 @@ export interface CommitTransactionCommandInput extends CommitTransactionRequest
22
22
  export interface CommitTransactionCommandOutput extends CommitTransactionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CommitTransactionCommand_base: {
25
- new (input: CommitTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CommitTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CommitTransactionCommandInput): import("@smithy/core/client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CommitTransactionCommandInput): import("@smithy/core/client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Ends a SQL transaction started with the <code>BeginTransaction</code> operation and
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
4
4
  import type { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
@@ -22,9 +22,11 @@ export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {
22
22
  export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ExecuteSqlCommand_base: {
25
- new (input: ExecuteSqlCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ExecuteSqlCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ExecuteSqlCommandInput): import("@smithy/core/client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ExecuteSqlCommandInput): import("@smithy/core/client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Runs one or more SQL statements.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
4
4
  import type { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
@@ -22,9 +22,11 @@ export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {
22
22
  export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ExecuteStatementCommand_base: {
25
- new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ExecuteStatementCommandInput): import("@smithy/core/client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ExecuteStatementCommandInput): import("@smithy/core/client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Runs a SQL statement against a database.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
4
4
  import type { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
@@ -22,9 +22,11 @@ export interface RollbackTransactionCommandInput extends RollbackTransactionRequ
22
22
  export interface RollbackTransactionCommandOutput extends RollbackTransactionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RollbackTransactionCommand_base: {
25
- new (input: RollbackTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: RollbackTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RollbackTransactionCommandInput): import("@smithy/core/client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RollbackTransactionCommandInput): import("@smithy/core/client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Performs a rollback of a transaction. Rolling back a transaction cancels its changes.</p>
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import type { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
3
3
  /**
4
4
  * <p>You don't have sufficient access to perform this action.</p>
@@ -5,13 +5,13 @@ import type { RDSDataClientConfig } from "./RDSDataClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
14
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,14 +5,14 @@ import type { RDSDataClientConfig } from "./RDSDataClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<string>;
15
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,7 @@ import type { RDSDataClientConfig } from "./RDSDataClient";
5
5
  export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
10
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
11
11
  protocolSettings: {
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
32
32
  retryMode: string | import("@smithy/types").Provider<string>;
33
33
  logger: import("@smithy/types").Logger;
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
35
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
38
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -6,25 +6,19 @@ import {
6
6
  UserAgentInputConfig,
7
7
  UserAgentResolvedConfig,
8
8
  } from "@aws-sdk/middleware-user-agent";
9
- import {
10
- RegionInputConfig,
11
- RegionResolvedConfig,
12
- } from "@smithy/config-resolver";
13
- import {
14
- EndpointInputConfig,
15
- EndpointResolvedConfig,
16
- } from "@smithy/middleware-endpoint";
17
- import {
18
- RetryInputConfig,
19
- RetryResolvedConfig,
20
- } from "@smithy/middleware-retry";
21
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
9
  import {
23
10
  DefaultsMode as __DefaultsMode,
24
11
  SmithyConfiguration as __SmithyConfiguration,
25
12
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
13
  Client as __Client,
27
- } from "@smithy/smithy-client";
14
+ } from "@smithy/core/client";
15
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
16
+ import {
17
+ EndpointInputConfig,
18
+ EndpointResolvedConfig,
19
+ } from "@smithy/core/endpoints";
20
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
21
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
28
22
  import {
29
23
  AwsCredentialIdentityProvider,
30
24
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BatchExecuteStatementRequest,
@@ -19,7 +19,7 @@ export interface BatchExecuteStatementCommandOutput
19
19
  declare const BatchExecuteStatementCommand_base: {
20
20
  new (
21
21
  input: BatchExecuteStatementCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  BatchExecuteStatementCommandInput,
24
24
  BatchExecuteStatementCommandOutput,
25
25
  RDSDataClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const BatchExecuteStatementCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: BatchExecuteStatementCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  BatchExecuteStatementCommandInput,
33
33
  BatchExecuteStatementCommandOutput,
34
34
  RDSDataClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BeginTransactionRequest,
@@ -18,7 +18,7 @@ export interface BeginTransactionCommandOutput
18
18
  declare const BeginTransactionCommand_base: {
19
19
  new (
20
20
  input: BeginTransactionCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  BeginTransactionCommandInput,
23
23
  BeginTransactionCommandOutput,
24
24
  RDSDataClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const BeginTransactionCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: BeginTransactionCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  BeginTransactionCommandInput,
32
32
  BeginTransactionCommandOutput,
33
33
  RDSDataClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class BeginTransactionCommand extends BeginTransactionCommand_base {
40
42
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  CommitTransactionRequest,
@@ -19,7 +19,7 @@ export interface CommitTransactionCommandOutput
19
19
  declare const CommitTransactionCommand_base: {
20
20
  new (
21
21
  input: CommitTransactionCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  CommitTransactionCommandInput,
24
24
  CommitTransactionCommandOutput,
25
25
  RDSDataClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const CommitTransactionCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: CommitTransactionCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  CommitTransactionCommandInput,
33
33
  CommitTransactionCommandOutput,
34
34
  RDSDataClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class CommitTransactionCommand extends CommitTransactionCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
4
4
  import {
@@ -15,7 +15,7 @@ export interface ExecuteSqlCommandOutput
15
15
  declare const ExecuteSqlCommand_base: {
16
16
  new (
17
17
  input: ExecuteSqlCommandInput
18
- ): import("@smithy/smithy-client").CommandImpl<
18
+ ): import("@smithy/core/client").CommandImpl<
19
19
  ExecuteSqlCommandInput,
20
20
  ExecuteSqlCommandOutput,
21
21
  RDSDataClientResolvedConfig,
@@ -24,14 +24,16 @@ declare const ExecuteSqlCommand_base: {
24
24
  >;
25
25
  new (
26
26
  input: ExecuteSqlCommandInput
27
- ): import("@smithy/smithy-client").CommandImpl<
27
+ ): import("@smithy/core/client").CommandImpl<
28
28
  ExecuteSqlCommandInput,
29
29
  ExecuteSqlCommandOutput,
30
30
  RDSDataClientResolvedConfig,
31
31
  ServiceInputTypes,
32
32
  ServiceOutputTypes
33
33
  >;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
35
37
  };
36
38
  export declare class ExecuteSqlCommand extends ExecuteSqlCommand_base {
37
39
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ExecuteStatementRequest,
@@ -18,7 +18,7 @@ export interface ExecuteStatementCommandOutput
18
18
  declare const ExecuteStatementCommand_base: {
19
19
  new (
20
20
  input: ExecuteStatementCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  ExecuteStatementCommandInput,
23
23
  ExecuteStatementCommandOutput,
24
24
  RDSDataClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const ExecuteStatementCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: ExecuteStatementCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  ExecuteStatementCommandInput,
32
32
  ExecuteStatementCommandOutput,
33
33
  RDSDataClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base {
40
42
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RollbackTransactionRequest,
@@ -19,7 +19,7 @@ export interface RollbackTransactionCommandOutput
19
19
  declare const RollbackTransactionCommand_base: {
20
20
  new (
21
21
  input: RollbackTransactionCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  RollbackTransactionCommandInput,
24
24
  RollbackTransactionCommandOutput,
25
25
  RDSDataClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const RollbackTransactionCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: RollbackTransactionCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  RollbackTransactionCommandInput,
33
33
  RollbackTransactionCommandOutput,
34
34
  RDSDataClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class RollbackTransactionCommand extends RollbackTransactionCommand_base {
41
43
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface RDSDataExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class RDSDataServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
@@ -3,7 +3,7 @@ import { RDSDataClientConfig } from "./RDSDataClient";
3
3
  export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
19
19
  requestHandler:
20
- | import("@smithy/protocol-http").HttpHandler<any>
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { RDSDataClientConfig } from "./RDSDataClient";
3
3
  export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
19
19
  region: string | import("@smithy/types").Provider<string>;
20
20
  requestHandler:
21
21
  | RequestHandler
22
- | import("@smithy/protocol-http").HttpHandler<any>;
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
6
6
  | import("@smithy/types").NodeHttpHandlerOptions
7
7
  | import("@smithy/types").FetchHttpHandlerOptions
8
8
  | Record<string, unknown>
9
- | import("@smithy/protocol-http").HttpHandler<any>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean;
12
12
  protocol:
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
46
46
  logger: import("@smithy/types").Logger;
47
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
48
48
  defaultsMode:
49
- | import("@smithy/smithy-client").DefaultsMode
49
+ | import("@smithy/core/client").DefaultsMode
50
50
  | import("@smithy/types").Provider<
51
- import("@smithy/smithy-client").DefaultsMode
51
+ import("@smithy/core/client").DefaultsMode
52
52
  >;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
54
  userAgentAppId?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds-data",
3
3
  "description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
4
- "version": "3.1045.0",
4
+ "version": "3.1047.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rds-data",
@@ -21,42 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.8",
25
- "@aws-sdk/credential-provider-node": "^3.972.39",
26
- "@aws-sdk/middleware-host-header": "^3.972.10",
24
+ "@aws-sdk/core": "^3.974.10",
25
+ "@aws-sdk/credential-provider-node": "^3.972.41",
26
+ "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.38",
30
- "@aws-sdk/region-config-resolver": "^3.972.13",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.40",
30
+ "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.8",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.24",
35
- "@smithy/config-resolver": "^4.4.17",
36
- "@smithy/core": "^3.23.17",
37
- "@smithy/fetch-http-handler": "^5.3.17",
38
- "@smithy/hash-node": "^4.2.14",
39
- "@smithy/invalid-dependency": "^4.2.14",
40
- "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.7",
43
- "@smithy/middleware-serde": "^4.2.20",
44
- "@smithy/middleware-stack": "^4.2.14",
45
- "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.6.1",
47
- "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.13",
32
+ "@aws-sdk/util-endpoints": "^3.996.9",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.26",
35
+ "@smithy/core": "^3.24.1",
36
+ "@smithy/fetch-http-handler": "^5.4.1",
37
+ "@smithy/node-http-handler": "^4.7.1",
49
38
  "@smithy/types": "^4.14.1",
50
- "@smithy/url-parser": "^4.2.14",
51
- "@smithy/util-base64": "^4.3.2",
52
- "@smithy/util-body-length-browser": "^4.2.2",
53
- "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.49",
55
- "@smithy/util-defaults-mode-node": "^4.2.54",
56
- "@smithy/util-endpoints": "^3.4.2",
57
- "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.6",
59
- "@smithy/util-utf8": "^4.2.2",
60
39
  "tslib": "^2.6.2"
61
40
  },
62
41
  "devDependencies": {