@aws-sdk/client-rds-data 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/RDSDataServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +81 -1
- package/dist-cjs/protocols/Aws_restJson1.js +118 -300
- package/dist-es/index.js +1 -0
- package/dist-es/models/RDSDataServiceException.js +12 -0
- package/dist-es/models/models_0.js +75 -1
- package/dist-es/protocols/Aws_restJson1.js +187 -332
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/RDSDataServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +38 -29
- package/dist-types/ts3.4/RDSData.d.ts +35 -0
- package/dist-types/ts3.4/RDSDataClient.d.ts +79 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BeginTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteSqlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RollbackTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/RDSDataServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +695 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +20 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from RDSData service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RDSDataServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>There is an error in the call or in a SQL statement.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "BadRequestException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class BadRequestException extends __BaseException {
|
|
7
|
+
readonly name: "BadRequestException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* @internal
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
12
13
|
}
|
|
13
14
|
export declare enum TypeHint {
|
|
14
15
|
DATE = "DATE",
|
|
@@ -21,43 +22,51 @@ export declare enum TypeHint {
|
|
|
21
22
|
/**
|
|
22
23
|
* <p>There are insufficient privileges to make the call.</p>
|
|
23
24
|
*/
|
|
24
|
-
export
|
|
25
|
-
name: "ForbiddenException";
|
|
26
|
-
$fault: "client";
|
|
25
|
+
export declare class ForbiddenException extends __BaseException {
|
|
26
|
+
readonly name: "ForbiddenException";
|
|
27
|
+
readonly $fault: "client";
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* @internal
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* <p>An internal error occurred.</p>
|
|
34
35
|
*/
|
|
35
|
-
export
|
|
36
|
-
name: "InternalServerErrorException";
|
|
37
|
-
$fault: "server";
|
|
36
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
37
|
+
readonly name: "InternalServerErrorException";
|
|
38
|
+
readonly $fault: "server";
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
38
43
|
}
|
|
39
44
|
/**
|
|
40
45
|
* <p>The service specified by the <code>resourceArn</code> parameter is not
|
|
41
46
|
* available.</p>
|
|
42
47
|
*/
|
|
43
|
-
export
|
|
44
|
-
name: "ServiceUnavailableError";
|
|
45
|
-
$fault: "server";
|
|
48
|
+
export declare class ServiceUnavailableError extends __BaseException {
|
|
49
|
+
readonly name: "ServiceUnavailableError";
|
|
50
|
+
readonly $fault: "server";
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>);
|
|
46
55
|
}
|
|
47
56
|
/**
|
|
48
57
|
* <p>The execution of the SQL statement timed out.</p>
|
|
49
58
|
*/
|
|
50
|
-
export
|
|
51
|
-
name: "StatementTimeoutException";
|
|
52
|
-
$fault: "client";
|
|
53
|
-
/**
|
|
54
|
-
* <p>The error message returned by this <code>StatementTimeoutException</code> error.</p>
|
|
55
|
-
*/
|
|
56
|
-
message?: string;
|
|
59
|
+
export declare class StatementTimeoutException extends __BaseException {
|
|
60
|
+
readonly name: "StatementTimeoutException";
|
|
61
|
+
readonly $fault: "client";
|
|
57
62
|
/**
|
|
58
63
|
* <p>The database connection ID that executed the SQL statement.</p>
|
|
59
64
|
*/
|
|
60
65
|
dbConnectionId?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
constructor(opts: __ExceptionOptionType<StatementTimeoutException, __BaseException>);
|
|
61
70
|
}
|
|
62
71
|
/**
|
|
63
72
|
* <p>The request parameters represent the input of a request to start a SQL
|
|
@@ -211,13 +220,13 @@ export declare namespace CommitTransactionResponse {
|
|
|
211
220
|
/**
|
|
212
221
|
* <p>The <code>resourceArn</code>, <code>secretArn</code>, or <code>transactionId</code> value can't be found.</p>
|
|
213
222
|
*/
|
|
214
|
-
export
|
|
215
|
-
name: "NotFoundException";
|
|
216
|
-
$fault: "client";
|
|
223
|
+
export declare class NotFoundException extends __BaseException {
|
|
224
|
+
readonly name: "NotFoundException";
|
|
225
|
+
readonly $fault: "client";
|
|
217
226
|
/**
|
|
218
|
-
*
|
|
227
|
+
* @internal
|
|
219
228
|
*/
|
|
220
|
-
|
|
229
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
221
230
|
}
|
|
222
231
|
export declare enum DecimalReturnType {
|
|
223
232
|
DOUBLE_OR_LONG = "DOUBLE_OR_LONG",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
3
|
+
import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "./commands/BeginTransactionCommand";
|
|
4
|
+
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "./commands/CommitTransactionCommand";
|
|
5
|
+
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/ExecuteSqlCommand";
|
|
6
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
7
|
+
import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } from "./commands/RollbackTransactionCommand";
|
|
8
|
+
import { RDSDataClient } from "./RDSDataClient";
|
|
9
|
+
|
|
10
|
+
export declare class RDSData extends RDSDataClient {
|
|
11
|
+
|
|
12
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
|
|
13
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
14
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
15
|
+
|
|
16
|
+
beginTransaction(args: BeginTransactionCommandInput, options?: __HttpHandlerOptions): Promise<BeginTransactionCommandOutput>;
|
|
17
|
+
beginTransaction(args: BeginTransactionCommandInput, cb: (err: any, data?: BeginTransactionCommandOutput) => void): void;
|
|
18
|
+
beginTransaction(args: BeginTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BeginTransactionCommandOutput) => void): void;
|
|
19
|
+
|
|
20
|
+
commitTransaction(args: CommitTransactionCommandInput, options?: __HttpHandlerOptions): Promise<CommitTransactionCommandOutput>;
|
|
21
|
+
commitTransaction(args: CommitTransactionCommandInput, cb: (err: any, data?: CommitTransactionCommandOutput) => void): void;
|
|
22
|
+
commitTransaction(args: CommitTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CommitTransactionCommandOutput) => void): void;
|
|
23
|
+
|
|
24
|
+
executeSql(args: ExecuteSqlCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteSqlCommandOutput>;
|
|
25
|
+
executeSql(args: ExecuteSqlCommandInput, cb: (err: any, data?: ExecuteSqlCommandOutput) => void): void;
|
|
26
|
+
executeSql(args: ExecuteSqlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteSqlCommandOutput) => void): void;
|
|
27
|
+
|
|
28
|
+
executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStatementCommandOutput>;
|
|
29
|
+
executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
30
|
+
executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
31
|
+
|
|
32
|
+
rollbackTransaction(args: RollbackTransactionCommandInput, options?: __HttpHandlerOptions): Promise<RollbackTransactionCommandOutput>;
|
|
33
|
+
rollbackTransaction(args: RollbackTransactionCommandInput, cb: (err: any, data?: RollbackTransactionCommandOutput) => void): void;
|
|
34
|
+
rollbackTransaction(args: RollbackTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RollbackTransactionCommandOutput) => void): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
10
|
+
import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "./commands/BeginTransactionCommand";
|
|
11
|
+
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "./commands/CommitTransactionCommand";
|
|
12
|
+
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/ExecuteSqlCommand";
|
|
13
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
14
|
+
import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } from "./commands/RollbackTransactionCommand";
|
|
15
|
+
export declare type ServiceInputTypes = BatchExecuteStatementCommandInput | BeginTransactionCommandInput | CommitTransactionCommandInput | ExecuteSqlCommandInput | ExecuteStatementCommandInput | RollbackTransactionCommandInput;
|
|
16
|
+
export declare type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BeginTransactionCommandOutput | CommitTransactionCommandOutput | ExecuteSqlCommandOutput | ExecuteStatementCommandOutput | RollbackTransactionCommandOutput;
|
|
17
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
18
|
+
|
|
19
|
+
requestHandler?: __HttpHandler;
|
|
20
|
+
|
|
21
|
+
sha256?: __HashConstructor;
|
|
22
|
+
|
|
23
|
+
urlParser?: __UrlParser;
|
|
24
|
+
|
|
25
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
26
|
+
|
|
27
|
+
streamCollector?: __StreamCollector;
|
|
28
|
+
|
|
29
|
+
base64Decoder?: __Decoder;
|
|
30
|
+
|
|
31
|
+
base64Encoder?: __Encoder;
|
|
32
|
+
|
|
33
|
+
utf8Decoder?: __Decoder;
|
|
34
|
+
|
|
35
|
+
utf8Encoder?: __Encoder;
|
|
36
|
+
|
|
37
|
+
runtime?: string;
|
|
38
|
+
|
|
39
|
+
disableHostPrefix?: boolean;
|
|
40
|
+
|
|
41
|
+
maxAttempts?: number | __Provider<number>;
|
|
42
|
+
|
|
43
|
+
retryMode?: string | __Provider<string>;
|
|
44
|
+
|
|
45
|
+
logger?: __Logger;
|
|
46
|
+
|
|
47
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
48
|
+
|
|
49
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
50
|
+
|
|
51
|
+
serviceId?: string;
|
|
52
|
+
|
|
53
|
+
region?: string | __Provider<string>;
|
|
54
|
+
|
|
55
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
56
|
+
|
|
57
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
58
|
+
|
|
59
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
60
|
+
|
|
61
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
62
|
+
}
|
|
63
|
+
declare type RDSDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
64
|
+
|
|
65
|
+
export interface RDSDataClientConfig extends RDSDataClientConfigType {
|
|
66
|
+
}
|
|
67
|
+
declare type RDSDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
68
|
+
|
|
69
|
+
export interface RDSDataClientResolvedConfig extends RDSDataClientResolvedConfigType {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare class RDSDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RDSDataClientResolvedConfig> {
|
|
73
|
+
|
|
74
|
+
readonly config: RDSDataClientResolvedConfig;
|
|
75
|
+
constructor(configuration: RDSDataClientConfig);
|
|
76
|
+
|
|
77
|
+
destroy(): void;
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
|
|
4
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
5
|
+
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
|
|
11
|
+
readonly input: BatchExecuteStatementCommandInput;
|
|
12
|
+
constructor(input: BatchExecuteStatementCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
|
|
4
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
5
|
+
export interface BeginTransactionCommandInput extends BeginTransactionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BeginTransactionCommandOutput extends BeginTransactionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class BeginTransactionCommand extends $Command<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig> {
|
|
11
|
+
readonly input: BeginTransactionCommandInput;
|
|
12
|
+
constructor(input: BeginTransactionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BeginTransactionCommandInput, BeginTransactionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
|
|
4
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
5
|
+
export interface CommitTransactionCommandInput extends CommitTransactionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CommitTransactionCommandOutput extends CommitTransactionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CommitTransactionCommand extends $Command<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig> {
|
|
11
|
+
readonly input: CommitTransactionCommandInput;
|
|
12
|
+
constructor(input: CommitTransactionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CommitTransactionCommandInput, CommitTransactionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
|
|
4
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
5
|
+
export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ExecuteSqlCommand extends $Command<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig> {
|
|
11
|
+
readonly input: ExecuteSqlCommandInput;
|
|
12
|
+
constructor(input: ExecuteSqlCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteSqlCommandInput, ExecuteSqlCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
|
|
4
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
5
|
+
export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
|
|
11
|
+
readonly input: ExecuteStatementCommandInput;
|
|
12
|
+
constructor(input: ExecuteStatementCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
|
|
4
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
5
|
+
export interface RollbackTransactionCommandInput extends RollbackTransactionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RollbackTransactionCommandOutput extends RollbackTransactionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class RollbackTransactionCommand extends $Command<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig> {
|
|
11
|
+
readonly input: RollbackTransactionCommandInput;
|
|
12
|
+
constructor(input: RollbackTransactionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RollbackTransactionCommandInput, RollbackTransactionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./BatchExecuteStatementCommand";
|
|
2
|
+
export * from "./BeginTransactionCommand";
|
|
3
|
+
export * from "./CommitTransactionCommand";
|
|
4
|
+
export * from "./ExecuteSqlCommand";
|
|
5
|
+
export * from "./ExecuteStatementCommand";
|
|
6
|
+
export * from "./RollbackTransactionCommand";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|