@aws-sdk/client-rds-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.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/RDSData.d.ts +19 -22
- package/dist-types/ts3.4/RDSDataClient.d.ts +16 -29
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/BeginTransactionCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ExecuteSqlCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RollbackTransactionCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +3 -6
- package/dist-types/ts3.4/models/errors.d.ts +15 -48
- package/dist-types/ts3.4/models/models_0.d.ts +1 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
CommitTransactionCommandInput,
|
|
12
12
|
CommitTransactionCommandOutput,
|
|
13
13
|
} from "./commands/CommitTransactionCommand";
|
|
14
|
-
import {
|
|
15
|
-
ExecuteSqlCommandInput,
|
|
16
|
-
ExecuteSqlCommandOutput,
|
|
17
|
-
} from "./commands/ExecuteSqlCommand";
|
|
14
|
+
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/ExecuteSqlCommand";
|
|
18
15
|
import {
|
|
19
16
|
ExecuteStatementCommandInput,
|
|
20
17
|
ExecuteStatementCommandOutput,
|
|
@@ -27,81 +24,81 @@ import { RDSDataClient } from "./RDSDataClient";
|
|
|
27
24
|
export interface RDSData {
|
|
28
25
|
batchExecuteStatement(
|
|
29
26
|
args: BatchExecuteStatementCommandInput,
|
|
30
|
-
options?: __HttpHandlerOptions
|
|
27
|
+
options?: __HttpHandlerOptions,
|
|
31
28
|
): Promise<BatchExecuteStatementCommandOutput>;
|
|
32
29
|
batchExecuteStatement(
|
|
33
30
|
args: BatchExecuteStatementCommandInput,
|
|
34
|
-
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
31
|
+
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void,
|
|
35
32
|
): void;
|
|
36
33
|
batchExecuteStatement(
|
|
37
34
|
args: BatchExecuteStatementCommandInput,
|
|
38
35
|
options: __HttpHandlerOptions,
|
|
39
|
-
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void,
|
|
40
37
|
): void;
|
|
41
38
|
beginTransaction(
|
|
42
39
|
args: BeginTransactionCommandInput,
|
|
43
|
-
options?: __HttpHandlerOptions
|
|
40
|
+
options?: __HttpHandlerOptions,
|
|
44
41
|
): Promise<BeginTransactionCommandOutput>;
|
|
45
42
|
beginTransaction(
|
|
46
43
|
args: BeginTransactionCommandInput,
|
|
47
|
-
cb: (err: any, data?: BeginTransactionCommandOutput) => void
|
|
44
|
+
cb: (err: any, data?: BeginTransactionCommandOutput) => void,
|
|
48
45
|
): void;
|
|
49
46
|
beginTransaction(
|
|
50
47
|
args: BeginTransactionCommandInput,
|
|
51
48
|
options: __HttpHandlerOptions,
|
|
52
|
-
cb: (err: any, data?: BeginTransactionCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: BeginTransactionCommandOutput) => void,
|
|
53
50
|
): void;
|
|
54
51
|
commitTransaction(
|
|
55
52
|
args: CommitTransactionCommandInput,
|
|
56
|
-
options?: __HttpHandlerOptions
|
|
53
|
+
options?: __HttpHandlerOptions,
|
|
57
54
|
): Promise<CommitTransactionCommandOutput>;
|
|
58
55
|
commitTransaction(
|
|
59
56
|
args: CommitTransactionCommandInput,
|
|
60
|
-
cb: (err: any, data?: CommitTransactionCommandOutput) => void
|
|
57
|
+
cb: (err: any, data?: CommitTransactionCommandOutput) => void,
|
|
61
58
|
): void;
|
|
62
59
|
commitTransaction(
|
|
63
60
|
args: CommitTransactionCommandInput,
|
|
64
61
|
options: __HttpHandlerOptions,
|
|
65
|
-
cb: (err: any, data?: CommitTransactionCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: CommitTransactionCommandOutput) => void,
|
|
66
63
|
): void;
|
|
67
64
|
executeSql(
|
|
68
65
|
args: ExecuteSqlCommandInput,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
66
|
+
options?: __HttpHandlerOptions,
|
|
70
67
|
): Promise<ExecuteSqlCommandOutput>;
|
|
71
68
|
executeSql(
|
|
72
69
|
args: ExecuteSqlCommandInput,
|
|
73
|
-
cb: (err: any, data?: ExecuteSqlCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: ExecuteSqlCommandOutput) => void,
|
|
74
71
|
): void;
|
|
75
72
|
executeSql(
|
|
76
73
|
args: ExecuteSqlCommandInput,
|
|
77
74
|
options: __HttpHandlerOptions,
|
|
78
|
-
cb: (err: any, data?: ExecuteSqlCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: ExecuteSqlCommandOutput) => void,
|
|
79
76
|
): void;
|
|
80
77
|
executeStatement(
|
|
81
78
|
args: ExecuteStatementCommandInput,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
79
|
+
options?: __HttpHandlerOptions,
|
|
83
80
|
): Promise<ExecuteStatementCommandOutput>;
|
|
84
81
|
executeStatement(
|
|
85
82
|
args: ExecuteStatementCommandInput,
|
|
86
|
-
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
83
|
+
cb: (err: any, data?: ExecuteStatementCommandOutput) => void,
|
|
87
84
|
): void;
|
|
88
85
|
executeStatement(
|
|
89
86
|
args: ExecuteStatementCommandInput,
|
|
90
87
|
options: __HttpHandlerOptions,
|
|
91
|
-
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
88
|
+
cb: (err: any, data?: ExecuteStatementCommandOutput) => void,
|
|
92
89
|
): void;
|
|
93
90
|
rollbackTransaction(
|
|
94
91
|
args: RollbackTransactionCommandInput,
|
|
95
|
-
options?: __HttpHandlerOptions
|
|
92
|
+
options?: __HttpHandlerOptions,
|
|
96
93
|
): Promise<RollbackTransactionCommandOutput>;
|
|
97
94
|
rollbackTransaction(
|
|
98
95
|
args: RollbackTransactionCommandInput,
|
|
99
|
-
cb: (err: any, data?: RollbackTransactionCommandOutput) => void
|
|
96
|
+
cb: (err: any, data?: RollbackTransactionCommandOutput) => void,
|
|
100
97
|
): void;
|
|
101
98
|
rollbackTransaction(
|
|
102
99
|
args: RollbackTransactionCommandInput,
|
|
103
100
|
options: __HttpHandlerOptions,
|
|
104
|
-
cb: (err: any, data?: RollbackTransactionCommandOutput) => void
|
|
101
|
+
cb: (err: any, data?: RollbackTransactionCommandOutput) => void,
|
|
105
102
|
): void;
|
|
106
103
|
}
|
|
107
104
|
export declare class RDSData extends RDSDataClient implements RDSData {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -48,10 +45,7 @@ import {
|
|
|
48
45
|
CommitTransactionCommandInput,
|
|
49
46
|
CommitTransactionCommandOutput,
|
|
50
47
|
} from "./commands/CommitTransactionCommand";
|
|
51
|
-
import {
|
|
52
|
-
ExecuteSqlCommandInput,
|
|
53
|
-
ExecuteSqlCommandOutput,
|
|
54
|
-
} from "./commands/ExecuteSqlCommand";
|
|
48
|
+
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/ExecuteSqlCommand";
|
|
55
49
|
import {
|
|
56
50
|
ExecuteStatementCommandInput,
|
|
57
51
|
ExecuteStatementCommandOutput,
|
|
@@ -81,8 +75,7 @@ export type ServiceOutputTypes =
|
|
|
81
75
|
| ExecuteSqlCommandOutput
|
|
82
76
|
| ExecuteStatementCommandOutput
|
|
83
77
|
| RollbackTransactionCommandOutput;
|
|
84
|
-
export interface ClientDefaults
|
|
85
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
78
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
86
79
|
requestHandler?: __HttpHandlerUserInput;
|
|
87
80
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
88
81
|
urlParser?: __UrlParser;
|
|
@@ -107,9 +100,7 @@ export interface ClientDefaults
|
|
|
107
100
|
extensions?: RuntimeExtension[];
|
|
108
101
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
109
102
|
}
|
|
110
|
-
export type RDSDataClientConfigType = Partial<
|
|
111
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
112
|
-
> &
|
|
103
|
+
export type RDSDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
113
104
|
ClientDefaults &
|
|
114
105
|
UserAgentInputConfig &
|
|
115
106
|
RetryInputConfig &
|
|
@@ -119,19 +110,17 @@ export type RDSDataClientConfigType = Partial<
|
|
|
119
110
|
HttpAuthSchemeInputConfig &
|
|
120
111
|
ClientInputEndpointParameters;
|
|
121
112
|
export interface RDSDataClientConfig extends RDSDataClientConfigType {}
|
|
122
|
-
export type RDSDataClientResolvedConfigType =
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
export interface RDSDataClientResolvedConfig
|
|
134
|
-
extends RDSDataClientResolvedConfigType {}
|
|
113
|
+
export type RDSDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
114
|
+
Required<ClientDefaults> &
|
|
115
|
+
RuntimeExtensionsConfig &
|
|
116
|
+
UserAgentResolvedConfig &
|
|
117
|
+
RetryResolvedConfig &
|
|
118
|
+
RegionResolvedConfig &
|
|
119
|
+
HostHeaderResolvedConfig &
|
|
120
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
121
|
+
HttpAuthSchemeResolvedConfig &
|
|
122
|
+
ClientResolvedEndpointParameters;
|
|
123
|
+
export interface RDSDataClientResolvedConfig extends RDSDataClientResolvedConfigType {}
|
|
135
124
|
export declare class RDSDataClient extends __Client<
|
|
136
125
|
__HttpHandlerOptions,
|
|
137
126
|
ServiceInputTypes,
|
|
@@ -139,8 +128,6 @@ export declare class RDSDataClient extends __Client<
|
|
|
139
128
|
RDSDataClientResolvedConfig
|
|
140
129
|
> {
|
|
141
130
|
readonly config: RDSDataClientResolvedConfig;
|
|
142
|
-
constructor(
|
|
143
|
-
...[configuration]: __CheckOptionalClientConfig<RDSDataClientConfig>
|
|
144
|
-
);
|
|
131
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<RDSDataClientConfig>);
|
|
145
132
|
destroy(): void;
|
|
146
133
|
}
|
|
@@ -7,17 +7,10 @@ import { RDSDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: RDSDataHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: RDSDataHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): RDSDataHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { RDSDataClientResolvedConfig } from "../RDSDataClient";
|
|
15
|
-
export interface RDSDataHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface RDSDataHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface RDSDataHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface RDSDataHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
RDSDataClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
RDSDataHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultRDSDataHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: RDSDataClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<RDSDataHttpAuthSchemeParameters>;
|
|
31
|
-
export interface RDSDataHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<RDSDataHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface RDSDataHttpAuthSchemeProvider extends HttpAuthSchemeProvider<RDSDataHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultRDSDataHttpAuthSchemeProvider: RDSDataHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: RDSDataHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: RDSDataHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./RDSDataClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
RDSDataClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
BatchExecuteStatementRequest,
|
|
4
|
-
BatchExecuteStatementResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface BatchExecuteStatementCommandInput
|
|
8
|
-
extends BatchExecuteStatementRequest {}
|
|
4
|
+
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementRequest {}
|
|
9
5
|
export interface BatchExecuteStatementCommandOutput
|
|
10
|
-
extends BatchExecuteStatementResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends BatchExecuteStatementResponse, __MetadataBearer {}
|
|
12
7
|
declare const BatchExecuteStatementCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: BatchExecuteStatementCommandInput
|
|
9
|
+
input: BatchExecuteStatementCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
BatchExecuteStatementCommandInput,
|
|
17
12
|
BatchExecuteStatementCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const BatchExecuteStatementCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: BatchExecuteStatementCommandInput
|
|
18
|
+
input: BatchExecuteStatementCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
BatchExecuteStatementCommandInput,
|
|
26
21
|
BatchExecuteStatementCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
BeginTransactionRequest,
|
|
4
|
-
BeginTransactionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface BeginTransactionCommandInput extends BeginTransactionRequest {}
|
|
8
|
-
export interface BeginTransactionCommandOutput
|
|
9
|
-
extends BeginTransactionResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface BeginTransactionCommandOutput extends BeginTransactionResponse, __MetadataBearer {}
|
|
11
6
|
declare const BeginTransactionCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: BeginTransactionCommandInput
|
|
8
|
+
input: BeginTransactionCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
BeginTransactionCommandInput,
|
|
16
11
|
BeginTransactionCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const BeginTransactionCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: BeginTransactionCommandInput
|
|
17
|
+
input: BeginTransactionCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
BeginTransactionCommandInput,
|
|
25
20
|
BeginTransactionCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CommitTransactionRequest,
|
|
4
|
-
CommitTransactionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CommitTransactionCommandInput
|
|
8
|
-
extends CommitTransactionRequest {}
|
|
4
|
+
export interface CommitTransactionCommandInput extends CommitTransactionRequest {}
|
|
9
5
|
export interface CommitTransactionCommandOutput
|
|
10
|
-
extends CommitTransactionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CommitTransactionResponse, __MetadataBearer {}
|
|
12
7
|
declare const CommitTransactionCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CommitTransactionCommandInput
|
|
9
|
+
input: CommitTransactionCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CommitTransactionCommandInput,
|
|
17
12
|
CommitTransactionCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CommitTransactionCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CommitTransactionCommandInput
|
|
18
|
+
input: CommitTransactionCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CommitTransactionCommandInput,
|
|
26
21
|
CommitTransactionCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {}
|
|
5
|
-
export interface ExecuteSqlCommandOutput
|
|
6
|
-
extends ExecuteSqlResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataBearer {}
|
|
8
6
|
declare const ExecuteSqlCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: ExecuteSqlCommandInput
|
|
8
|
+
input: ExecuteSqlCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
ExecuteSqlCommandInput,
|
|
13
11
|
ExecuteSqlCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const ExecuteSqlCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: ExecuteSqlCommandInput
|
|
17
|
+
input: ExecuteSqlCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
ExecuteSqlCommandInput,
|
|
22
20
|
ExecuteSqlCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ExecuteStatementRequest,
|
|
4
|
-
ExecuteStatementResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {}
|
|
8
|
-
export interface ExecuteStatementCommandOutput
|
|
9
|
-
extends ExecuteStatementResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse, __MetadataBearer {}
|
|
11
6
|
declare const ExecuteStatementCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: ExecuteStatementCommandInput
|
|
8
|
+
input: ExecuteStatementCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
ExecuteStatementCommandInput,
|
|
16
11
|
ExecuteStatementCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const ExecuteStatementCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: ExecuteStatementCommandInput
|
|
17
|
+
input: ExecuteStatementCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
ExecuteStatementCommandInput,
|
|
25
20
|
ExecuteStatementCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
RollbackTransactionRequest,
|
|
4
|
-
RollbackTransactionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface RollbackTransactionCommandInput
|
|
8
|
-
extends RollbackTransactionRequest {}
|
|
4
|
+
export interface RollbackTransactionCommandInput extends RollbackTransactionRequest {}
|
|
9
5
|
export interface RollbackTransactionCommandOutput
|
|
10
|
-
extends RollbackTransactionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends RollbackTransactionResponse, __MetadataBearer {}
|
|
12
7
|
declare const RollbackTransactionCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: RollbackTransactionCommandInput
|
|
9
|
+
input: RollbackTransactionCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
RollbackTransactionCommandInput,
|
|
17
12
|
RollbackTransactionCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const RollbackTransactionCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: RollbackTransactionCommandInput
|
|
18
|
+
input: RollbackTransactionCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
RollbackTransactionCommandInput,
|
|
26
21
|
RollbackTransactionCommandOutput,
|
|
@@ -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: {
|
|
@@ -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 RDSDataExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -11,17 +11,14 @@ export declare const DecimalReturnType: {
|
|
|
11
11
|
readonly DOUBLE_OR_LONG: "DOUBLE_OR_LONG";
|
|
12
12
|
readonly STRING: "STRING";
|
|
13
13
|
};
|
|
14
|
-
export type DecimalReturnType =
|
|
15
|
-
(typeof DecimalReturnType)[keyof typeof DecimalReturnType];
|
|
14
|
+
export type DecimalReturnType = (typeof DecimalReturnType)[keyof typeof DecimalReturnType];
|
|
16
15
|
export declare const RecordsFormatType: {
|
|
17
16
|
readonly JSON: "JSON";
|
|
18
17
|
readonly NONE: "NONE";
|
|
19
18
|
};
|
|
20
|
-
export type RecordsFormatType =
|
|
21
|
-
(typeof RecordsFormatType)[keyof typeof RecordsFormatType];
|
|
19
|
+
export type RecordsFormatType = (typeof RecordsFormatType)[keyof typeof RecordsFormatType];
|
|
22
20
|
export declare const LongReturnType: {
|
|
23
21
|
readonly LONG: "LONG";
|
|
24
22
|
readonly STRING: "STRING";
|
|
25
23
|
};
|
|
26
|
-
export type LongReturnType =
|
|
27
|
-
(typeof LongReturnType)[keyof typeof LongReturnType];
|
|
24
|
+
export type LongReturnType = (typeof LongReturnType)[keyof typeof LongReturnType];
|
|
@@ -3,44 +3,32 @@ import { RDSDataServiceException as __BaseException } from "./RDSDataServiceExce
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class BadRequestException extends __BaseException {
|
|
11
9
|
readonly name: "BadRequestException";
|
|
12
10
|
readonly $fault: "client";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class DatabaseErrorException extends __BaseException {
|
|
18
14
|
readonly name: "DatabaseErrorException";
|
|
19
15
|
readonly $fault: "client";
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<DatabaseErrorException, __BaseException>
|
|
22
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<DatabaseErrorException, __BaseException>);
|
|
23
17
|
}
|
|
24
18
|
export declare class DatabaseNotFoundException extends __BaseException {
|
|
25
19
|
readonly name: "DatabaseNotFoundException";
|
|
26
20
|
readonly $fault: "client";
|
|
27
|
-
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<DatabaseNotFoundException, __BaseException>
|
|
29
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<DatabaseNotFoundException, __BaseException>);
|
|
30
22
|
}
|
|
31
23
|
export declare class DatabaseResumingException extends __BaseException {
|
|
32
24
|
readonly name: "DatabaseResumingException";
|
|
33
25
|
readonly $fault: "client";
|
|
34
|
-
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<DatabaseResumingException, __BaseException>
|
|
36
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<DatabaseResumingException, __BaseException>);
|
|
37
27
|
}
|
|
38
28
|
export declare class DatabaseUnavailableException extends __BaseException {
|
|
39
29
|
readonly name: "DatabaseUnavailableException";
|
|
40
30
|
readonly $fault: "server";
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<DatabaseUnavailableException, __BaseException>
|
|
43
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<DatabaseUnavailableException, __BaseException>);
|
|
44
32
|
}
|
|
45
33
|
export declare class ForbiddenException extends __BaseException {
|
|
46
34
|
readonly name: "ForbiddenException";
|
|
@@ -50,62 +38,43 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
50
38
|
export declare class HttpEndpointNotEnabledException extends __BaseException {
|
|
51
39
|
readonly name: "HttpEndpointNotEnabledException";
|
|
52
40
|
readonly $fault: "client";
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<
|
|
55
|
-
HttpEndpointNotEnabledException,
|
|
56
|
-
__BaseException
|
|
57
|
-
>
|
|
58
|
-
);
|
|
41
|
+
constructor(opts: __ExceptionOptionType<HttpEndpointNotEnabledException, __BaseException>);
|
|
59
42
|
}
|
|
60
43
|
export declare class InternalServerErrorException extends __BaseException {
|
|
61
44
|
readonly name: "InternalServerErrorException";
|
|
62
45
|
readonly $fault: "server";
|
|
63
|
-
constructor(
|
|
64
|
-
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
65
|
-
);
|
|
46
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
66
47
|
}
|
|
67
48
|
export declare class InvalidResourceStateException extends __BaseException {
|
|
68
49
|
readonly name: "InvalidResourceStateException";
|
|
69
50
|
readonly $fault: "client";
|
|
70
|
-
constructor(
|
|
71
|
-
opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
|
|
72
|
-
);
|
|
51
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
|
|
73
52
|
}
|
|
74
53
|
export declare class InvalidSecretException extends __BaseException {
|
|
75
54
|
readonly name: "InvalidSecretException";
|
|
76
55
|
readonly $fault: "client";
|
|
77
|
-
constructor(
|
|
78
|
-
opts: __ExceptionOptionType<InvalidSecretException, __BaseException>
|
|
79
|
-
);
|
|
56
|
+
constructor(opts: __ExceptionOptionType<InvalidSecretException, __BaseException>);
|
|
80
57
|
}
|
|
81
58
|
export declare class SecretsErrorException extends __BaseException {
|
|
82
59
|
readonly name: "SecretsErrorException";
|
|
83
60
|
readonly $fault: "client";
|
|
84
|
-
constructor(
|
|
85
|
-
opts: __ExceptionOptionType<SecretsErrorException, __BaseException>
|
|
86
|
-
);
|
|
61
|
+
constructor(opts: __ExceptionOptionType<SecretsErrorException, __BaseException>);
|
|
87
62
|
}
|
|
88
63
|
export declare class ServiceUnavailableError extends __BaseException {
|
|
89
64
|
readonly name: "ServiceUnavailableError";
|
|
90
65
|
readonly $fault: "server";
|
|
91
|
-
constructor(
|
|
92
|
-
opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>
|
|
93
|
-
);
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>);
|
|
94
67
|
}
|
|
95
68
|
export declare class StatementTimeoutException extends __BaseException {
|
|
96
69
|
readonly name: "StatementTimeoutException";
|
|
97
70
|
readonly $fault: "client";
|
|
98
71
|
dbConnectionId?: number | undefined;
|
|
99
|
-
constructor(
|
|
100
|
-
opts: __ExceptionOptionType<StatementTimeoutException, __BaseException>
|
|
101
|
-
);
|
|
72
|
+
constructor(opts: __ExceptionOptionType<StatementTimeoutException, __BaseException>);
|
|
102
73
|
}
|
|
103
74
|
export declare class TransactionNotFoundException extends __BaseException {
|
|
104
75
|
readonly name: "TransactionNotFoundException";
|
|
105
76
|
readonly $fault: "client";
|
|
106
|
-
constructor(
|
|
107
|
-
opts: __ExceptionOptionType<TransactionNotFoundException, __BaseException>
|
|
108
|
-
);
|
|
77
|
+
constructor(opts: __ExceptionOptionType<TransactionNotFoundException, __BaseException>);
|
|
109
78
|
}
|
|
110
79
|
export declare class NotFoundException extends __BaseException {
|
|
111
80
|
readonly name: "NotFoundException";
|
|
@@ -115,7 +84,5 @@ export declare class NotFoundException extends __BaseException {
|
|
|
115
84
|
export declare class UnsupportedResultException extends __BaseException {
|
|
116
85
|
readonly name: "UnsupportedResultException";
|
|
117
86
|
readonly $fault: "client";
|
|
118
|
-
constructor(
|
|
119
|
-
opts: __ExceptionOptionType<UnsupportedResultException, __BaseException>
|
|
120
|
-
);
|
|
87
|
+
constructor(opts: __ExceptionOptionType<UnsupportedResultException, __BaseException>);
|
|
121
88
|
}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DecimalReturnType,
|
|
3
|
-
LongReturnType,
|
|
4
|
-
RecordsFormatType,
|
|
5
|
-
TypeHint,
|
|
6
|
-
} from "./enums";
|
|
1
|
+
import { DecimalReturnType, LongReturnType, RecordsFormatType, TypeHint } from "./enums";
|
|
7
2
|
export interface BeginTransactionRequest {
|
|
8
3
|
resourceArn: string | undefined;
|
|
9
4
|
secretArn: string | undefined;
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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
|
-
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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: RDSDataClientConfig) => {
|
|
|
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").RDSDataHttpAuthSchemeProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds-data",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rds-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-rds-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.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
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-rds-data",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-rds-data"
|
|
68
68
|
}
|
|
69
69
|
}
|