@aws-sdk/client-rds-data 3.52.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 +11 -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/index.d.ts +1 -0
- package/dist-types/ts3.4/models/RDSDataServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -24
- package/package.json +25 -25
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",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "BadRequestException";
|
|
5
|
-
$fault: "client";
|
|
4
|
+
export declare class BadRequestException extends __BaseException {
|
|
5
|
+
readonly name: "BadRequestException";
|
|
6
|
+
readonly $fault: "client";
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare enum TypeHint {
|
|
10
11
|
DATE = "DATE",
|
|
@@ -15,30 +16,34 @@ export declare enum TypeHint {
|
|
|
15
16
|
UUID = "UUID"
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
export
|
|
19
|
-
name: "ForbiddenException";
|
|
20
|
-
$fault: "client";
|
|
19
|
+
export declare class ForbiddenException extends __BaseException {
|
|
20
|
+
readonly name: "ForbiddenException";
|
|
21
|
+
readonly $fault: "client";
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export
|
|
26
|
-
name: "InternalServerErrorException";
|
|
27
|
-
$fault: "server";
|
|
26
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
27
|
+
readonly name: "InternalServerErrorException";
|
|
28
|
+
readonly $fault: "server";
|
|
29
|
+
|
|
30
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
28
31
|
}
|
|
29
32
|
|
|
30
|
-
export
|
|
31
|
-
name: "ServiceUnavailableError";
|
|
32
|
-
$fault: "server";
|
|
33
|
+
export declare class ServiceUnavailableError extends __BaseException {
|
|
34
|
+
readonly name: "ServiceUnavailableError";
|
|
35
|
+
readonly $fault: "server";
|
|
36
|
+
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>);
|
|
33
38
|
}
|
|
34
39
|
|
|
35
|
-
export
|
|
36
|
-
name: "StatementTimeoutException";
|
|
37
|
-
$fault: "client";
|
|
38
|
-
|
|
39
|
-
message?: string;
|
|
40
|
+
export declare class StatementTimeoutException extends __BaseException {
|
|
41
|
+
readonly name: "StatementTimeoutException";
|
|
42
|
+
readonly $fault: "client";
|
|
40
43
|
|
|
41
44
|
dbConnectionId?: number;
|
|
45
|
+
|
|
46
|
+
constructor(opts: __ExceptionOptionType<StatementTimeoutException, __BaseException>);
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
export interface BeginTransactionRequest {
|
|
@@ -122,11 +127,11 @@ export declare namespace CommitTransactionResponse {
|
|
|
122
127
|
const filterSensitiveLog: (obj: CommitTransactionResponse) => any;
|
|
123
128
|
}
|
|
124
129
|
|
|
125
|
-
export
|
|
126
|
-
name: "NotFoundException";
|
|
127
|
-
$fault: "client";
|
|
130
|
+
export declare class NotFoundException extends __BaseException {
|
|
131
|
+
readonly name: "NotFoundException";
|
|
132
|
+
readonly $fault: "client";
|
|
128
133
|
|
|
129
|
-
|
|
134
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
130
135
|
}
|
|
131
136
|
export declare enum DecimalReturnType {
|
|
132
137
|
DOUBLE_OR_LONG = "DOUBLE_OR_LONG",
|
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.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|