@aws-sdk/client-rds-data 3.34.0 → 3.35.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 +12 -0
- package/{dist/cjs → dist-cjs}/RDSData.js +1 -1
- package/dist-cjs/RDSData.js.map +1 -0
- package/{dist/cjs → dist-cjs}/RDSDataClient.js +8 -8
- package/dist-cjs/RDSDataClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/BatchExecuteStatementCommand.js +2 -2
- package/dist-cjs/commands/BatchExecuteStatementCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/BeginTransactionCommand.js +2 -2
- package/dist-cjs/commands/BeginTransactionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CommitTransactionCommand.js +2 -2
- package/dist-cjs/commands/CommitTransactionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ExecuteSqlCommand.js +2 -2
- package/dist-cjs/commands/ExecuteSqlCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ExecuteStatementCommand.js +2 -2
- package/dist-cjs/commands/ExecuteStatementCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RollbackTransactionCommand.js +2 -2
- package/dist-cjs/commands/RollbackTransactionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +7 -7
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/RDSData.js +1 -1
- package/dist-es/RDSData.js.map +1 -0
- package/{dist/es → dist-es}/RDSDataClient.js +1 -1
- package/dist-es/RDSDataClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/BatchExecuteStatementCommand.js +2 -2
- package/dist-es/commands/BatchExecuteStatementCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/BeginTransactionCommand.js +2 -2
- package/dist-es/commands/BeginTransactionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CommitTransactionCommand.js +2 -2
- package/dist-es/commands/CommitTransactionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ExecuteSqlCommand.js +2 -2
- package/dist-es/commands/ExecuteSqlCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ExecuteStatementCommand.js +2 -2
- package/dist-es/commands/ExecuteStatementCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/RollbackTransactionCommand.js +2 -2
- package/dist-es/commands/RollbackTransactionCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -2
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/RDSData.d.ts +2 -2
- package/{dist/types → dist-types}/RDSDataClient.d.ts +7 -7
- package/{dist/types → dist-types}/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/BeginTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CommitTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ExecuteSqlCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RollbackTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/RDSData.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/RDSDataClient.d.ts +7 -7
- package/{dist/types → dist-types}/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/BeginTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CommitTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ExecuteSqlCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RollbackTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/{RDSData.ts → src/RDSData.ts} +3 -2
- package/{RDSDataClient.ts → src/RDSDataClient.ts} +27 -26
- package/{commands → src/commands}/BatchExecuteStatementCommand.ts +8 -7
- package/{commands → src/commands}/BeginTransactionCommand.ts +8 -7
- package/{commands → src/commands}/CommitTransactionCommand.ts +8 -7
- package/{commands → src/commands}/ExecuteSqlCommand.ts +8 -7
- package/{commands → src/commands}/ExecuteStatementCommand.ts +8 -7
- package/{commands → src/commands}/RollbackTransactionCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{protocols → src/protocols}/Aws_restJson1.ts +34 -33
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/dist/cjs/RDSData.js.map +0 -1
- package/dist/cjs/RDSDataClient.js.map +0 -1
- package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/BeginTransactionCommand.js.map +0 -1
- package/dist/cjs/commands/CommitTransactionCommand.js.map +0 -1
- package/dist/cjs/commands/ExecuteSqlCommand.js.map +0 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/RollbackTransactionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/lib/smithy.js +0 -11
- package/dist/cjs/lib/smithy.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/RDSData.js.map +0 -1
- package/dist/es/RDSDataClient.js.map +0 -1
- package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/BeginTransactionCommand.js.map +0 -1
- package/dist/es/commands/CommitTransactionCommand.js.map +0 -1
- package/dist/es/commands/ExecuteSqlCommand.js.map +0 -1
- package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/RollbackTransactionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/lib/smithy.js +0 -8
- package/dist/es/lib/smithy.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/lib/smithy.d.ts +0 -34
- package/dist/types/ts3.4/lib/smithy.d.ts +0 -34
- package/lib/smithy.ts +0 -37
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
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
5
|
export interface RollbackTransactionCommandInput extends RollbackTransactionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface RollbackTransactionCommandOutput extends RollbackTransactionResponse, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "../commands/BatchExecuteStatementCommand";
|
|
2
4
|
import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "../commands/BeginTransactionCommand";
|
|
3
5
|
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "../commands/CommitTransactionCommand";
|
|
4
6
|
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "../commands/ExecuteSqlCommand";
|
|
5
7
|
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../commands/ExecuteStatementCommand";
|
|
6
8
|
import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } from "../commands/RollbackTransactionCommand";
|
|
7
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
9
9
|
export declare const serializeAws_restJson1BatchExecuteStatementCommand: (input: BatchExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
10
|
export declare const serializeAws_restJson1BeginTransactionCommand: (input: BeginTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
11
|
export declare const serializeAws_restJson1CommitTransactionCommand: (input: CommitTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
8
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
14
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
File without changes
|
|
File without changes
|
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.
|
|
4
|
+
"version": "3.35.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -11,54 +11,48 @@
|
|
|
11
11
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
12
|
"clean:dist": "rimraf ./dist",
|
|
13
13
|
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
15
|
"test": "exit 0"
|
|
16
16
|
},
|
|
17
|
-
"main": "./dist
|
|
18
|
-
"types": "./dist
|
|
19
|
-
"module": "./dist
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
25
|
-
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.35.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.35.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.35.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.35.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.35.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.35.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.35.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.35.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.35.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.35.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.35.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.35.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.35.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.35.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.35.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.35.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.35.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.35.0",
|
|
42
|
+
"@aws-sdk/types": "3.35.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.35.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.35.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.35.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.35.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.35.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.35.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.35.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.35.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.35.0",
|
|
58
52
|
"tslib": "^2.3.0"
|
|
59
53
|
},
|
|
60
54
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/client-documentation-generator": "3.35.0",
|
|
62
56
|
"@types/node": "^12.7.5",
|
|
63
57
|
"downlevel-dts": "0.7.0",
|
|
64
58
|
"jest": "^26.1.0",
|
|
@@ -72,8 +66,8 @@
|
|
|
72
66
|
},
|
|
73
67
|
"typesVersions": {
|
|
74
68
|
"<4.0": {
|
|
75
|
-
"dist
|
|
76
|
-
"dist
|
|
69
|
+
"dist-types/*": [
|
|
70
|
+
"dist-types/ts3.4/*"
|
|
77
71
|
]
|
|
78
72
|
}
|
|
79
73
|
},
|
|
@@ -82,6 +76,12 @@
|
|
|
82
76
|
"url": "https://aws.amazon.com/javascript/"
|
|
83
77
|
},
|
|
84
78
|
"license": "Apache-2.0",
|
|
79
|
+
"browser": {
|
|
80
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
81
|
+
},
|
|
82
|
+
"react-native": {
|
|
83
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
84
|
+
},
|
|
85
85
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rds-data",
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
|
|
2
3
|
import {
|
|
3
4
|
BatchExecuteStatementCommand,
|
|
4
5
|
BatchExecuteStatementCommandInput,
|
|
@@ -25,7 +26,7 @@ import {
|
|
|
25
26
|
RollbackTransactionCommandInput,
|
|
26
27
|
RollbackTransactionCommandOutput,
|
|
27
28
|
} from "./commands/RollbackTransactionCommand";
|
|
28
|
-
import {
|
|
29
|
+
import { RDSDataClient } from "./RDSDataClient";
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
32
|
* <fullname>Amazon RDS Data Service</fullname>
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BatchExecuteStatementCommandInput,
|
|
3
|
-
BatchExecuteStatementCommandOutput,
|
|
4
|
-
} from "./commands/BatchExecuteStatementCommand";
|
|
5
|
-
import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "./commands/BeginTransactionCommand";
|
|
6
|
-
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "./commands/CommitTransactionCommand";
|
|
7
|
-
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/ExecuteSqlCommand";
|
|
8
|
-
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
9
|
-
import {
|
|
10
|
-
RollbackTransactionCommandInput,
|
|
11
|
-
RollbackTransactionCommandOutput,
|
|
12
|
-
} from "./commands/RollbackTransactionCommand";
|
|
13
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
14
1
|
import {
|
|
15
2
|
EndpointsInputConfig,
|
|
16
3
|
EndpointsResolvedConfig,
|
|
@@ -21,13 +8,13 @@ import {
|
|
|
21
8
|
} from "@aws-sdk/config-resolver";
|
|
22
9
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
23
10
|
import {
|
|
11
|
+
getHostHeaderPlugin,
|
|
24
12
|
HostHeaderInputConfig,
|
|
25
13
|
HostHeaderResolvedConfig,
|
|
26
|
-
getHostHeaderPlugin,
|
|
27
14
|
resolveHostHeaderConfig,
|
|
28
15
|
} from "@aws-sdk/middleware-host-header";
|
|
29
16
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
30
|
-
import {
|
|
17
|
+
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
31
18
|
import {
|
|
32
19
|
AwsAuthInputConfig,
|
|
33
20
|
AwsAuthResolvedConfig,
|
|
@@ -35,10 +22,10 @@ import {
|
|
|
35
22
|
resolveAwsAuthConfig,
|
|
36
23
|
} from "@aws-sdk/middleware-signing";
|
|
37
24
|
import {
|
|
38
|
-
UserAgentInputConfig,
|
|
39
|
-
UserAgentResolvedConfig,
|
|
40
25
|
getUserAgentPlugin,
|
|
41
26
|
resolveUserAgentConfig,
|
|
27
|
+
UserAgentInputConfig,
|
|
28
|
+
UserAgentResolvedConfig,
|
|
42
29
|
} from "@aws-sdk/middleware-user-agent";
|
|
43
30
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
44
31
|
import {
|
|
@@ -47,8 +34,6 @@ import {
|
|
|
47
34
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
48
35
|
} from "@aws-sdk/smithy-client";
|
|
49
36
|
import {
|
|
50
|
-
Provider,
|
|
51
|
-
RegionInfoProvider,
|
|
52
37
|
Credentials as __Credentials,
|
|
53
38
|
Decoder as __Decoder,
|
|
54
39
|
Encoder as __Encoder,
|
|
@@ -57,11 +42,27 @@ import {
|
|
|
57
42
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
58
43
|
Logger as __Logger,
|
|
59
44
|
Provider as __Provider,
|
|
45
|
+
Provider,
|
|
46
|
+
RegionInfoProvider,
|
|
60
47
|
StreamCollector as __StreamCollector,
|
|
61
48
|
UrlParser as __UrlParser,
|
|
62
49
|
UserAgent as __UserAgent,
|
|
63
50
|
} from "@aws-sdk/types";
|
|
64
51
|
|
|
52
|
+
import {
|
|
53
|
+
BatchExecuteStatementCommandInput,
|
|
54
|
+
BatchExecuteStatementCommandOutput,
|
|
55
|
+
} from "./commands/BatchExecuteStatementCommand";
|
|
56
|
+
import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "./commands/BeginTransactionCommand";
|
|
57
|
+
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "./commands/CommitTransactionCommand";
|
|
58
|
+
import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/ExecuteSqlCommand";
|
|
59
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
60
|
+
import {
|
|
61
|
+
RollbackTransactionCommandInput,
|
|
62
|
+
RollbackTransactionCommandOutput,
|
|
63
|
+
} from "./commands/RollbackTransactionCommand";
|
|
64
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
65
|
+
|
|
65
66
|
export type ServiceInputTypes =
|
|
66
67
|
| BatchExecuteStatementCommandInput
|
|
67
68
|
| BeginTransactionCommandInput
|
|
@@ -236,13 +237,13 @@ export class RDSDataClient extends __Client<
|
|
|
236
237
|
readonly config: RDSDataClientResolvedConfig;
|
|
237
238
|
|
|
238
239
|
constructor(configuration: RDSDataClientConfig) {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
240
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
241
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
242
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
243
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
244
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
245
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
246
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
246
247
|
super(_config_6);
|
|
247
248
|
this.config = _config_6;
|
|
248
249
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1BatchExecuteStatementCommand,
|
|
5
|
-
serializeAws_restJson1BatchExecuteStatementCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_restJson1BatchExecuteStatementCommand,
|
|
17
|
+
serializeAws_restJson1BatchExecuteStatementCommand,
|
|
18
|
+
} from "../protocols/Aws_restJson1";
|
|
19
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
20
|
+
|
|
20
21
|
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementRequest {}
|
|
21
22
|
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1BeginTransactionCommand,
|
|
5
|
-
serializeAws_restJson1BeginTransactionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_restJson1BeginTransactionCommand,
|
|
17
|
+
serializeAws_restJson1BeginTransactionCommand,
|
|
18
|
+
} from "../protocols/Aws_restJson1";
|
|
19
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
20
|
+
|
|
20
21
|
export interface BeginTransactionCommandInput extends BeginTransactionRequest {}
|
|
21
22
|
export interface BeginTransactionCommandOutput extends BeginTransactionResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CommitTransactionCommand,
|
|
5
|
-
serializeAws_restJson1CommitTransactionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_restJson1CommitTransactionCommand,
|
|
17
|
+
serializeAws_restJson1CommitTransactionCommand,
|
|
18
|
+
} from "../protocols/Aws_restJson1";
|
|
19
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
20
|
+
|
|
20
21
|
export interface CommitTransactionCommandInput extends CommitTransactionRequest {}
|
|
21
22
|
export interface CommitTransactionCommandOutput extends CommitTransactionResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ExecuteSqlCommand,
|
|
5
|
-
serializeAws_restJson1ExecuteSqlCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_restJson1ExecuteSqlCommand,
|
|
17
|
+
serializeAws_restJson1ExecuteSqlCommand,
|
|
18
|
+
} from "../protocols/Aws_restJson1";
|
|
19
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {}
|
|
21
22
|
export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ExecuteStatementCommand,
|
|
5
|
-
serializeAws_restJson1ExecuteStatementCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_restJson1ExecuteStatementCommand,
|
|
17
|
+
serializeAws_restJson1ExecuteStatementCommand,
|
|
18
|
+
} from "../protocols/Aws_restJson1";
|
|
19
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
20
|
+
|
|
20
21
|
export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {}
|
|
21
22
|
export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
2
|
-
import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1RollbackTransactionCommand,
|
|
5
|
-
serializeAws_restJson1RollbackTransactionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_restJson1RollbackTransactionCommand,
|
|
17
|
+
serializeAws_restJson1RollbackTransactionCommand,
|
|
18
|
+
} from "../protocols/Aws_restJson1";
|
|
19
|
+
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
|
|
20
|
+
|
|
20
21
|
export interface RollbackTransactionCommandInput extends RollbackTransactionRequest {}
|
|
21
22
|
export interface RollbackTransactionCommandOutput extends RollbackTransactionResponse, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|