@aws-sdk/client-rds-data 3.936.0 → 3.939.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 CHANGED
@@ -889,6 +889,27 @@ class RDSData extends RDSDataClient {
889
889
  }
890
890
  smithyClient.createAggregatedClient(commands, RDSData);
891
891
 
892
+ const TypeHint = {
893
+ DATE: "DATE",
894
+ DECIMAL: "DECIMAL",
895
+ JSON: "JSON",
896
+ TIME: "TIME",
897
+ TIMESTAMP: "TIMESTAMP",
898
+ UUID: "UUID",
899
+ };
900
+ const DecimalReturnType = {
901
+ DOUBLE_OR_LONG: "DOUBLE_OR_LONG",
902
+ STRING: "STRING",
903
+ };
904
+ const RecordsFormatType = {
905
+ JSON: "JSON",
906
+ NONE: "NONE",
907
+ };
908
+ const LongReturnType = {
909
+ LONG: "LONG",
910
+ STRING: "STRING",
911
+ };
912
+
892
913
  Object.defineProperty(exports, "$Command", {
893
914
  enumerable: true,
894
915
  get: function () { return smithyClient.Command; }
@@ -906,6 +927,7 @@ exports.DatabaseErrorException = DatabaseErrorException$1;
906
927
  exports.DatabaseNotFoundException = DatabaseNotFoundException$1;
907
928
  exports.DatabaseResumingException = DatabaseResumingException$1;
908
929
  exports.DatabaseUnavailableException = DatabaseUnavailableException$1;
930
+ exports.DecimalReturnType = DecimalReturnType;
909
931
  exports.ExecuteSqlCommand = ExecuteSqlCommand;
910
932
  exports.ExecuteStatementCommand = ExecuteStatementCommand;
911
933
  exports.ForbiddenException = ForbiddenException$1;
@@ -913,13 +935,16 @@ exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException$1;
913
935
  exports.InternalServerErrorException = InternalServerErrorException$1;
914
936
  exports.InvalidResourceStateException = InvalidResourceStateException$1;
915
937
  exports.InvalidSecretException = InvalidSecretException$1;
938
+ exports.LongReturnType = LongReturnType;
916
939
  exports.NotFoundException = NotFoundException$1;
917
940
  exports.RDSData = RDSData;
918
941
  exports.RDSDataClient = RDSDataClient;
919
942
  exports.RDSDataServiceException = RDSDataServiceException$1;
943
+ exports.RecordsFormatType = RecordsFormatType;
920
944
  exports.RollbackTransactionCommand = RollbackTransactionCommand;
921
945
  exports.SecretsErrorException = SecretsErrorException$1;
922
946
  exports.ServiceUnavailableError = ServiceUnavailableError$1;
923
947
  exports.StatementTimeoutException = StatementTimeoutException$1;
924
948
  exports.TransactionNotFoundException = TransactionNotFoundException$1;
949
+ exports.TypeHint = TypeHint;
925
950
  exports.UnsupportedResultException = UnsupportedResultException$1;
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./RDSDataClient";
2
2
  export * from "./RDSData";
3
3
  export * from "./commands";
4
+ export * from "./models/enums";
4
5
  export * from "./models/errors";
5
6
  export { RDSDataServiceException } from "./models/RDSDataServiceException";
@@ -0,0 +1,20 @@
1
+ export const TypeHint = {
2
+ DATE: "DATE",
3
+ DECIMAL: "DECIMAL",
4
+ JSON: "JSON",
5
+ TIME: "TIME",
6
+ TIMESTAMP: "TIMESTAMP",
7
+ UUID: "UUID",
8
+ };
9
+ export const DecimalReturnType = {
10
+ DOUBLE_OR_LONG: "DOUBLE_OR_LONG",
11
+ STRING: "STRING",
12
+ };
13
+ export const RecordsFormatType = {
14
+ JSON: "JSON",
15
+ NONE: "NONE",
16
+ };
17
+ export const LongReturnType = {
18
+ LONG: "LONG",
19
+ STRING: "STRING",
20
+ };
@@ -1,20 +1 @@
1
- export const TypeHint = {
2
- DATE: "DATE",
3
- DECIMAL: "DECIMAL",
4
- JSON: "JSON",
5
- TIME: "TIME",
6
- TIMESTAMP: "TIMESTAMP",
7
- UUID: "UUID",
8
- };
9
- export const DecimalReturnType = {
10
- DOUBLE_OR_LONG: "DOUBLE_OR_LONG",
11
- STRING: "STRING",
12
- };
13
- export const RecordsFormatType = {
14
- JSON: "JSON",
15
- NONE: "NONE",
16
- };
17
- export const LongReturnType = {
18
- LONG: "LONG",
19
- STRING: "STRING",
20
- };
1
+ export {};
@@ -23,6 +23,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
23
23
  export type { RuntimeExtension } from "./runtimeExtensions";
24
24
  export type { RDSDataExtensionConfiguration } from "./extensionConfiguration";
25
25
  export * from "./commands";
26
+ export * from "./models/enums";
26
27
  export * from "./models/errors";
27
28
  export type * from "./models/models_0";
28
29
  export { RDSDataServiceException } from "./models/RDSDataServiceException";
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const TypeHint: {
6
+ readonly DATE: "DATE";
7
+ readonly DECIMAL: "DECIMAL";
8
+ readonly JSON: "JSON";
9
+ readonly TIME: "TIME";
10
+ readonly TIMESTAMP: "TIMESTAMP";
11
+ readonly UUID: "UUID";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type TypeHint = (typeof TypeHint)[keyof typeof TypeHint];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const DecimalReturnType: {
22
+ readonly DOUBLE_OR_LONG: "DOUBLE_OR_LONG";
23
+ readonly STRING: "STRING";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type DecimalReturnType = (typeof DecimalReturnType)[keyof typeof DecimalReturnType];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const RecordsFormatType: {
34
+ readonly JSON: "JSON";
35
+ readonly NONE: "NONE";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type RecordsFormatType = (typeof RecordsFormatType)[keyof typeof RecordsFormatType];
41
+ /**
42
+ * @public
43
+ * @enum
44
+ */
45
+ export declare const LongReturnType: {
46
+ readonly LONG: "LONG";
47
+ readonly STRING: "STRING";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type LongReturnType = (typeof LongReturnType)[keyof typeof LongReturnType];
@@ -1,19 +1,4 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const TypeHint: {
6
- readonly DATE: "DATE";
7
- readonly DECIMAL: "DECIMAL";
8
- readonly JSON: "JSON";
9
- readonly TIME: "TIME";
10
- readonly TIMESTAMP: "TIMESTAMP";
11
- readonly UUID: "UUID";
12
- };
13
- /**
14
- * @public
15
- */
16
- export type TypeHint = (typeof TypeHint)[keyof typeof TypeHint];
1
+ import { DecimalReturnType, LongReturnType, RecordsFormatType, TypeHint } from "./enums";
17
2
  /**
18
3
  * <p>The request parameters represent the input of a request to start a SQL
19
4
  * transaction.</p>
@@ -161,18 +146,6 @@ export interface CommitTransactionResponse {
161
146
  */
162
147
  transactionStatus?: string | undefined;
163
148
  }
164
- /**
165
- * @public
166
- * @enum
167
- */
168
- export declare const DecimalReturnType: {
169
- readonly DOUBLE_OR_LONG: "DOUBLE_OR_LONG";
170
- readonly STRING: "STRING";
171
- };
172
- /**
173
- * @public
174
- */
175
- export type DecimalReturnType = (typeof DecimalReturnType)[keyof typeof DecimalReturnType];
176
149
  /**
177
150
  * <p>The request parameters represent the input of a request to run one or more SQL
178
151
  * statements.</p>
@@ -226,30 +199,6 @@ export interface ResultSetMetadata {
226
199
  */
227
200
  columnMetadata?: ColumnMetadata[] | undefined;
228
201
  }
229
- /**
230
- * @public
231
- * @enum
232
- */
233
- export declare const RecordsFormatType: {
234
- readonly JSON: "JSON";
235
- readonly NONE: "NONE";
236
- };
237
- /**
238
- * @public
239
- */
240
- export type RecordsFormatType = (typeof RecordsFormatType)[keyof typeof RecordsFormatType];
241
- /**
242
- * @public
243
- * @enum
244
- */
245
- export declare const LongReturnType: {
246
- readonly LONG: "LONG";
247
- readonly STRING: "STRING";
248
- };
249
- /**
250
- * @public
251
- */
252
- export type LongReturnType = (typeof LongReturnType)[keyof typeof LongReturnType];
253
202
  /**
254
203
  * <p>Options that control how the result set is returned.</p>
255
204
  * @public
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { RDSDataExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./models/enums";
7
8
  export * from "./models/errors";
8
9
  export * from "./models/models_0";
9
10
  export { RDSDataServiceException } from "./models/RDSDataServiceException";
@@ -0,0 +1,27 @@
1
+ export declare const TypeHint: {
2
+ readonly DATE: "DATE";
3
+ readonly DECIMAL: "DECIMAL";
4
+ readonly JSON: "JSON";
5
+ readonly TIME: "TIME";
6
+ readonly TIMESTAMP: "TIMESTAMP";
7
+ readonly UUID: "UUID";
8
+ };
9
+ export type TypeHint = (typeof TypeHint)[keyof typeof TypeHint];
10
+ export declare const DecimalReturnType: {
11
+ readonly DOUBLE_OR_LONG: "DOUBLE_OR_LONG";
12
+ readonly STRING: "STRING";
13
+ };
14
+ export type DecimalReturnType =
15
+ (typeof DecimalReturnType)[keyof typeof DecimalReturnType];
16
+ export declare const RecordsFormatType: {
17
+ readonly JSON: "JSON";
18
+ readonly NONE: "NONE";
19
+ };
20
+ export type RecordsFormatType =
21
+ (typeof RecordsFormatType)[keyof typeof RecordsFormatType];
22
+ export declare const LongReturnType: {
23
+ readonly LONG: "LONG";
24
+ readonly STRING: "STRING";
25
+ };
26
+ export type LongReturnType =
27
+ (typeof LongReturnType)[keyof typeof LongReturnType];
@@ -1,12 +1,9 @@
1
- export declare const TypeHint: {
2
- readonly DATE: "DATE";
3
- readonly DECIMAL: "DECIMAL";
4
- readonly JSON: "JSON";
5
- readonly TIME: "TIME";
6
- readonly TIMESTAMP: "TIMESTAMP";
7
- readonly UUID: "UUID";
8
- };
9
- export type TypeHint = (typeof TypeHint)[keyof typeof TypeHint];
1
+ import {
2
+ DecimalReturnType,
3
+ LongReturnType,
4
+ RecordsFormatType,
5
+ TypeHint,
6
+ } from "./enums";
10
7
  export interface BeginTransactionRequest {
11
8
  resourceArn: string | undefined;
12
9
  secretArn: string | undefined;
@@ -40,12 +37,6 @@ export interface CommitTransactionRequest {
40
37
  export interface CommitTransactionResponse {
41
38
  transactionStatus?: string | undefined;
42
39
  }
43
- export declare const DecimalReturnType: {
44
- readonly DOUBLE_OR_LONG: "DOUBLE_OR_LONG";
45
- readonly STRING: "STRING";
46
- };
47
- export type DecimalReturnType =
48
- (typeof DecimalReturnType)[keyof typeof DecimalReturnType];
49
40
  export interface ExecuteSqlRequest {
50
41
  dbClusterOrInstanceArn: string | undefined;
51
42
  awsSecretStoreArn: string | undefined;
@@ -57,18 +48,6 @@ export interface ResultSetMetadata {
57
48
  columnCount?: number | undefined;
58
49
  columnMetadata?: ColumnMetadata[] | undefined;
59
50
  }
60
- export declare const RecordsFormatType: {
61
- readonly JSON: "JSON";
62
- readonly NONE: "NONE";
63
- };
64
- export type RecordsFormatType =
65
- (typeof RecordsFormatType)[keyof typeof RecordsFormatType];
66
- export declare const LongReturnType: {
67
- readonly LONG: "LONG";
68
- readonly STRING: "STRING";
69
- };
70
- export type LongReturnType =
71
- (typeof LongReturnType)[keyof typeof LongReturnType];
72
51
  export interface ResultSetOptions {
73
52
  decimalReturnType?: DecimalReturnType | undefined;
74
53
  longReturnType?: LongReturnType | undefined;
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.936.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rds-data",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",