@aws-sdk/client-rds-data 3.159.0 → 3.162.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 CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-rds-data
9
+
10
+
11
+
12
+
13
+
14
+ # [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update client endpoints as of 2022-08-30 ([59043d3](https://github.com/aws/aws-sdk-js-v3/commit/59043d3755015c9185990f3ad850aaded13bd58c))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.160.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.159.0...v3.160.0) (2022-08-29)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-rds-data
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.159.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.158.0...v3.159.0) (2022-08-26)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-rds-data
package/README.md CHANGED
@@ -11,9 +11,11 @@ AWS SDK for JavaScript RDSData Client for Node.js, Browser and React Native.
11
11
 
12
12
  <fullname>Amazon RDS Data Service</fullname>
13
13
 
14
- <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora
15
- Serverless DB cluster. To run these statements, you work with the Data Service
16
- API.</p>
14
+ <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these
15
+ statements, you work with the Data Service API.</p>
16
+ <note>
17
+ <p>The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.</p>
18
+ </note>
17
19
  <p>For more information about the Data Service API, see
18
20
  <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using the Data API</a>
19
21
  in the <i>Amazon Aurora User Guide</i>.</p>
@@ -59,6 +59,7 @@ const partitionHash = {
59
59
  "fips-us-east-2",
60
60
  "fips-us-west-1",
61
61
  "fips-us-west-2",
62
+ "me-central-1",
62
63
  "me-south-1",
63
64
  "sa-east-1",
64
65
  "us-east-1",
@@ -57,6 +57,7 @@ var partitionHash = {
57
57
  "fips-us-east-2",
58
58
  "fips-us-west-1",
59
59
  "fips-us-west-2",
60
+ "me-central-1",
60
61
  "me-south-1",
61
62
  "sa-east-1",
62
63
  "us-east-1",
@@ -8,9 +8,11 @@ import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } fro
8
8
  import { RDSDataClient } from "./RDSDataClient";
9
9
  /**
10
10
  * <fullname>Amazon RDS Data Service</fullname>
11
- * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora
12
- * Serverless DB cluster. To run these statements, you work with the Data Service
13
- * API.</p>
11
+ * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these
12
+ * statements, you work with the Data Service API.</p>
13
+ * <note>
14
+ * <p>The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.</p>
15
+ * </note>
14
16
  * <p>For more information about the Data Service API, see
15
17
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using the Data API</a>
16
18
  * in the <i>Amazon Aurora User Guide</i>.</p>
@@ -21,34 +23,30 @@ export declare class RDSData extends RDSDataClient {
21
23
  * <p>You can run bulk update and insert operations for multiple records using a DML
22
24
  * statement with different parameter sets. Bulk operations can provide a significant
23
25
  * performance improvement over individual insert and update operations.</p>
24
- * <important>
25
- * <p>If a call isn't part of a transaction because it doesn't include the
26
- * <code>transactionID</code> parameter, changes that result from the call are
27
- * committed automatically.</p>
26
+ * <note>
27
+ * <p>If a call isn't part of a transaction because it doesn't include the <code>transactionID</code> parameter,
28
+ * changes that result from the call are committed automatically.</p>
28
29
  * <p>There isn't a fixed upper limit on the number of parameter sets. However, the maximum size of the HTTP request
29
30
  * submitted through the Data API is 4 MiB. If the request exceeds this limit, the Data API returns an error and doesn't
30
31
  * process the request. This 4-MiB limit includes the size of the HTTP headers and the JSON notation in the request. Thus, the
31
32
  * number of parameter sets that you can include depends on a combination of factors, such as the size of the SQL statement and
32
33
  * the size of each parameter set.</p>
33
34
  * <p>The response size limit is 1 MiB. If the call returns more than 1 MiB of response data, the call is terminated.</p>
34
- * </important>
35
+ * </note>
35
36
  */
36
37
  batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
37
38
  batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
38
39
  batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
39
40
  /**
40
41
  * <p>Starts a SQL transaction.</p>
41
- *
42
- * <important>
43
- * <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and
44
- * rolled back automatically after 24 hours.</p>
45
- * <p>A transaction times out if no calls use its transaction ID in three minutes.
46
- * If a transaction times out before it's committed, it's rolled back
47
- * automatically.</p>
48
- * <p>DDL statements inside a transaction cause an implicit commit. We recommend
49
- * that you run each DDL statement in a separate <code>ExecuteStatement</code> call with
50
- * <code>continueAfterTimeout</code> enabled.</p>
51
- * </important>
42
+ * <note>
43
+ * <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24
44
+ * hours.</p>
45
+ * <p>A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's
46
+ * committed, it's rolled back automatically.</p>
47
+ * <p>DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate
48
+ * <code>ExecuteStatement</code> call with <code>continueAfterTimeout</code> enabled.</p>
49
+ * </note>
52
50
  */
53
51
  beginTransaction(args: BeginTransactionCommandInput, options?: __HttpHandlerOptions): Promise<BeginTransactionCommandOutput>;
54
52
  beginTransaction(args: BeginTransactionCommandInput, cb: (err: any, data?: BeginTransactionCommandOutput) => void): void;
@@ -64,22 +62,22 @@ export declare class RDSData extends RDSDataClient {
64
62
  * @deprecated
65
63
  *
66
64
  * <p>Runs one or more SQL statements.</p>
67
- * <important>
65
+ * <note>
68
66
  * <p>This operation is deprecated. Use the <code>BatchExecuteStatement</code> or
69
67
  * <code>ExecuteStatement</code> operation.</p>
70
- * </important>
68
+ * </note>
71
69
  */
72
70
  executeSql(args: ExecuteSqlCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteSqlCommandOutput>;
73
71
  executeSql(args: ExecuteSqlCommandInput, cb: (err: any, data?: ExecuteSqlCommandOutput) => void): void;
74
72
  executeSql(args: ExecuteSqlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteSqlCommandOutput) => void): void;
75
73
  /**
76
74
  * <p>Runs a SQL statement against a database.</p>
77
- * <important>
75
+ * <note>
78
76
  * <p>If a call isn't part of a transaction because it doesn't include the
79
77
  * <code>transactionID</code> parameter, changes that result from the call are
80
78
  * committed automatically.</p>
81
79
  * <p>If the binary response data from the database is more than 1 MB, the call is terminated.</p>
82
- * </important>
80
+ * </note>
83
81
  */
84
82
  executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStatementCommandOutput>;
85
83
  executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
@@ -133,9 +133,11 @@ export interface RDSDataClientResolvedConfig extends RDSDataClientResolvedConfig
133
133
  }
134
134
  /**
135
135
  * <fullname>Amazon RDS Data Service</fullname>
136
- * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora
137
- * Serverless DB cluster. To run these statements, you work with the Data Service
138
- * API.</p>
136
+ * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these
137
+ * statements, you work with the Data Service API.</p>
138
+ * <note>
139
+ * <p>The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.</p>
140
+ * </note>
139
141
  * <p>For more information about the Data Service API, see
140
142
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using the Data API</a>
141
143
  * in the <i>Amazon Aurora User Guide</i>.</p>
@@ -11,17 +11,16 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
11
11
  * <p>You can run bulk update and insert operations for multiple records using a DML
12
12
  * statement with different parameter sets. Bulk operations can provide a significant
13
13
  * performance improvement over individual insert and update operations.</p>
14
- * <important>
15
- * <p>If a call isn't part of a transaction because it doesn't include the
16
- * <code>transactionID</code> parameter, changes that result from the call are
17
- * committed automatically.</p>
14
+ * <note>
15
+ * <p>If a call isn't part of a transaction because it doesn't include the <code>transactionID</code> parameter,
16
+ * changes that result from the call are committed automatically.</p>
18
17
  * <p>There isn't a fixed upper limit on the number of parameter sets. However, the maximum size of the HTTP request
19
18
  * submitted through the Data API is 4 MiB. If the request exceeds this limit, the Data API returns an error and doesn't
20
19
  * process the request. This 4-MiB limit includes the size of the HTTP headers and the JSON notation in the request. Thus, the
21
20
  * number of parameter sets that you can include depends on a combination of factors, such as the size of the SQL statement and
22
21
  * the size of each parameter set.</p>
23
22
  * <p>The response size limit is 1 MiB. If the call returns more than 1 MiB of response data, the call is terminated.</p>
24
- * </important>
23
+ * </note>
25
24
  * @example
26
25
  * Use a bare-bones client and the command you need to make an API call.
27
26
  * ```javascript
@@ -8,17 +8,14 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
8
8
  }
9
9
  /**
10
10
  * <p>Starts a SQL transaction.</p>
11
- *
12
- * <important>
13
- * <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and
14
- * rolled back automatically after 24 hours.</p>
15
- * <p>A transaction times out if no calls use its transaction ID in three minutes.
16
- * If a transaction times out before it's committed, it's rolled back
17
- * automatically.</p>
18
- * <p>DDL statements inside a transaction cause an implicit commit. We recommend
19
- * that you run each DDL statement in a separate <code>ExecuteStatement</code> call with
20
- * <code>continueAfterTimeout</code> enabled.</p>
21
- * </important>
11
+ * <note>
12
+ * <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24
13
+ * hours.</p>
14
+ * <p>A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's
15
+ * committed, it's rolled back automatically.</p>
16
+ * <p>DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate
17
+ * <code>ExecuteStatement</code> call with <code>continueAfterTimeout</code> enabled.</p>
18
+ * </note>
22
19
  * @example
23
20
  * Use a bare-bones client and the command you need to make an API call.
24
21
  * ```javascript
@@ -10,10 +10,10 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
10
10
  * @deprecated
11
11
  *
12
12
  * <p>Runs one or more SQL statements.</p>
13
- * <important>
13
+ * <note>
14
14
  * <p>This operation is deprecated. Use the <code>BatchExecuteStatement</code> or
15
15
  * <code>ExecuteStatement</code> operation.</p>
16
- * </important>
16
+ * </note>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -8,12 +8,12 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
8
8
  }
9
9
  /**
10
10
  * <p>Runs a SQL statement against a database.</p>
11
- * <important>
11
+ * <note>
12
12
  * <p>If a call isn't part of a transaction because it doesn't include the
13
13
  * <code>transactionID</code> parameter, changes that result from the call are
14
14
  * committed automatically.</p>
15
15
  * <p>If the binary response data from the database is more than 1 MB, the call is terminated.</p>
16
- * </important>
16
+ * </note>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -275,10 +275,10 @@ export interface ResultSetOptions {
275
275
  * it is converted to a String value. The value of <code>DOUBLE_OR_LONG</code>
276
276
  * specifies that it is converted to a Long value if its scale is 0, or to a Double
277
277
  * value otherwise.</p>
278
- * <important>
278
+ * <note>
279
279
  * <p>Conversion to Double or Long can result in roundoff errors due to precision loss.
280
280
  * We recommend converting to String, especially when working with currency values.</p>
281
- * </important>
281
+ * </note>
282
282
  */
283
283
  decimalReturnType?: DecimalReturnType | string;
284
284
  /**
@@ -577,10 +577,10 @@ export interface UpdateResult {
577
577
  /**
578
578
  * <p>Contains the value of a column.</p>
579
579
  *
580
- * <important>
580
+ * <note>
581
581
  * <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation.
582
582
  * Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p>
583
- * </important>
583
+ * </note>
584
584
  */
585
585
  export declare type Value = Value.ArrayValuesMember | Value.BigIntValueMember | Value.BitValueMember | Value.BlobValueMember | Value.DoubleValueMember | Value.IntValueMember | Value.IsNullMember | Value.RealValueMember | Value.StringValueMember | Value.StructValueMember | Value.$UnknownMember;
586
586
  export declare namespace Value {
@@ -824,11 +824,11 @@ export interface ExecuteStatementRequest {
824
824
  * <p>A value that indicates whether to continue running the statement after
825
825
  * the call times out. By default, the statement stops running when the call
826
826
  * times out.</p>
827
- * <important>
827
+ * <note>
828
828
  * <p>For DDL statements, we recommend continuing to run the statement after
829
829
  * the call times out. When a DDL statement terminates before it is finished
830
830
  * running, it can result in errors and possibly corrupted data structures.</p>
831
- * </important>
831
+ * </note>
832
832
  */
833
833
  continueAfterTimeout?: boolean;
834
834
  /**
@@ -848,10 +848,10 @@ export interface ExecuteStatementRequest {
848
848
  }
849
849
  /**
850
850
  * <p>A structure value returned by a call.</p>
851
- * <important>
851
+ * <note>
852
852
  * <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation.
853
853
  * Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p>
854
- * </important>
854
+ * </note>
855
855
  */
856
856
  export interface StructValue {
857
857
  /**
@@ -924,10 +924,10 @@ export interface BatchExecuteStatementResponse {
924
924
  }
925
925
  /**
926
926
  * <p>A record returned by a call.</p>
927
- * <important>
927
+ * <note>
928
928
  * <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation.
929
929
  * Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p>
930
- * </important>
930
+ * </note>
931
931
  */
932
932
  export interface _Record {
933
933
  /**
@@ -976,10 +976,10 @@ export interface ExecuteStatementResponse {
976
976
  }
977
977
  /**
978
978
  * <p>The result set returned by a SQL statement.</p>
979
- * <important>
979
+ * <note>
980
980
  * <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation.
981
981
  * Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p>
982
- * </important>
982
+ * </note>
983
983
  */
984
984
  export interface ResultFrame {
985
985
  /**
@@ -994,10 +994,10 @@ export interface ResultFrame {
994
994
  /**
995
995
  * <p>The result of a SQL statement.</p>
996
996
  *
997
- * <important>
997
+ * <note>
998
998
  * <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation.
999
999
  * Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p>
1000
- * </important>
1000
+ * </note>
1001
1001
  */
1002
1002
  export interface SqlStatementResult {
1003
1003
  /**
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.159.0",
4
+ "version": "3.162.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,35 +18,35 @@
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.159.0",
22
- "@aws-sdk/config-resolver": "3.159.0",
23
- "@aws-sdk/credential-provider-node": "3.159.0",
24
- "@aws-sdk/fetch-http-handler": "3.159.0",
25
- "@aws-sdk/hash-node": "3.159.0",
26
- "@aws-sdk/invalid-dependency": "3.159.0",
27
- "@aws-sdk/middleware-content-length": "3.159.0",
28
- "@aws-sdk/middleware-host-header": "3.159.0",
29
- "@aws-sdk/middleware-logger": "3.159.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.159.0",
31
- "@aws-sdk/middleware-retry": "3.159.0",
32
- "@aws-sdk/middleware-serde": "3.159.0",
33
- "@aws-sdk/middleware-signing": "3.159.0",
34
- "@aws-sdk/middleware-stack": "3.159.0",
35
- "@aws-sdk/middleware-user-agent": "3.159.0",
36
- "@aws-sdk/node-config-provider": "3.159.0",
37
- "@aws-sdk/node-http-handler": "3.159.0",
38
- "@aws-sdk/protocol-http": "3.159.0",
39
- "@aws-sdk/smithy-client": "3.159.0",
40
- "@aws-sdk/types": "3.159.0",
41
- "@aws-sdk/url-parser": "3.159.0",
21
+ "@aws-sdk/client-sts": "3.162.0",
22
+ "@aws-sdk/config-resolver": "3.162.0",
23
+ "@aws-sdk/credential-provider-node": "3.162.0",
24
+ "@aws-sdk/fetch-http-handler": "3.162.0",
25
+ "@aws-sdk/hash-node": "3.162.0",
26
+ "@aws-sdk/invalid-dependency": "3.162.0",
27
+ "@aws-sdk/middleware-content-length": "3.162.0",
28
+ "@aws-sdk/middleware-host-header": "3.162.0",
29
+ "@aws-sdk/middleware-logger": "3.162.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.162.0",
31
+ "@aws-sdk/middleware-retry": "3.162.0",
32
+ "@aws-sdk/middleware-serde": "3.162.0",
33
+ "@aws-sdk/middleware-signing": "3.162.0",
34
+ "@aws-sdk/middleware-stack": "3.162.0",
35
+ "@aws-sdk/middleware-user-agent": "3.162.0",
36
+ "@aws-sdk/node-config-provider": "3.162.0",
37
+ "@aws-sdk/node-http-handler": "3.162.0",
38
+ "@aws-sdk/protocol-http": "3.162.0",
39
+ "@aws-sdk/smithy-client": "3.162.0",
40
+ "@aws-sdk/types": "3.162.0",
41
+ "@aws-sdk/url-parser": "3.162.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.159.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.159.0",
48
- "@aws-sdk/util-user-agent-browser": "3.159.0",
49
- "@aws-sdk/util-user-agent-node": "3.159.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.162.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.162.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.162.0",
49
+ "@aws-sdk/util-user-agent-node": "3.162.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"