@aws-sdk/client-rds-data 3.529.1 → 3.535.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.
@@ -45,7 +45,6 @@ export interface RDSData {
45
45
  rollbackTransaction(args: RollbackTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RollbackTransactionCommandOutput) => void): void;
46
46
  }
47
47
  /**
48
- * @public
49
48
  * <fullname>RDS Data API</fullname>
50
49
  * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these
51
50
  * statements, you use the RDS Data API (Data API).</p>
@@ -61,6 +60,7 @@ export interface RDSData {
61
60
  * <p>For more information about the Data API, see
62
61
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using RDS Data API</a>
63
62
  * in the <i>Amazon Aurora User Guide</i>.</p>
63
+ * @public
64
64
  */
65
65
  export declare class RDSData extends RDSDataClient implements RDSData {
66
66
  }
@@ -157,7 +157,6 @@ export type RDSDataClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
157
157
  export interface RDSDataClientResolvedConfig extends RDSDataClientResolvedConfigType {
158
158
  }
159
159
  /**
160
- * @public
161
160
  * <fullname>RDS Data API</fullname>
162
161
  * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these
163
162
  * statements, you use the RDS Data API (Data API).</p>
@@ -173,6 +172,7 @@ export interface RDSDataClientResolvedConfig extends RDSDataClientResolvedConfig
173
172
  * <p>For more information about the Data API, see
174
173
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html">Using RDS Data API</a>
175
174
  * in the <i>Amazon Aurora User Guide</i>.</p>
175
+ * @public
176
176
  */
177
177
  export declare class RDSDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RDSDataClientResolvedConfig> {
178
178
  /**
@@ -22,10 +22,10 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
22
22
  }
23
23
  declare const BatchExecuteStatementCommand_base: {
24
24
  new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Runs a batch SQL statement over an array of data.</p>
30
30
  * <p>You can run bulk update and insert operations for multiple records using a DML
31
31
  * statement with different parameter sets. Bulk operations can provide a significant
@@ -62,7 +62,7 @@ declare const BatchExecuteStatementCommand_base: {
62
62
  * longValue: Number("long"),
63
63
  * doubleValue: Number("double"),
64
64
  * stringValue: "STRING_VALUE",
65
- * blobValue: "BLOB_VALUE",
65
+ * blobValue: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
66
66
  * arrayValue: { // ArrayValue Union: only one key present
67
67
  * booleanValues: [ // BooleanArray
68
68
  * true || false,
@@ -115,7 +115,7 @@ declare const BatchExecuteStatementCommand_base: {
115
115
  * // longValue: Number("long"),
116
116
  * // doubleValue: Number("double"),
117
117
  * // stringValue: "STRING_VALUE",
118
- * // blobValue: "BLOB_VALUE",
118
+ * // blobValue: new Uint8Array(),
119
119
  * // arrayValue: { // ArrayValue Union: only one key present
120
120
  * // booleanValues: [ // BooleanArray
121
121
  * // true || false,
@@ -217,6 +217,7 @@ declare const BatchExecuteStatementCommand_base: {
217
217
  * @throws {@link RDSDataServiceException}
218
218
  * <p>Base exception class for all service exceptions from RDSData service.</p>
219
219
  *
220
+ * @public
220
221
  */
221
222
  export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
222
223
  }
@@ -22,10 +22,10 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
22
22
  }
23
23
  declare const BeginTransactionCommand_base: {
24
24
  new (input: BeginTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BeginTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts a SQL transaction.</p>
30
30
  * <note>
31
31
  * <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24
@@ -115,6 +115,7 @@ declare const BeginTransactionCommand_base: {
115
115
  * @throws {@link RDSDataServiceException}
116
116
  * <p>Base exception class for all service exceptions from RDSData service.</p>
117
117
  *
118
+ * @public
118
119
  */
119
120
  export declare class BeginTransactionCommand extends BeginTransactionCommand_base {
120
121
  }
@@ -22,10 +22,10 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
22
22
  }
23
23
  declare const CommitTransactionCommand_base: {
24
24
  new (input: CommitTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CommitTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Ends a SQL transaction started with the <code>BeginTransaction</code> operation and
30
30
  * commits the changes.</p>
31
31
  * @example
@@ -110,6 +110,7 @@ declare const CommitTransactionCommand_base: {
110
110
  * @throws {@link RDSDataServiceException}
111
111
  * <p>Base exception class for all service exceptions from RDSData service.</p>
112
112
  *
113
+ * @public
113
114
  */
114
115
  export declare class CommitTransactionCommand extends CommitTransactionCommand_base {
115
116
  }
@@ -22,12 +22,10 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
22
22
  }
23
23
  declare const ExecuteSqlCommand_base: {
24
24
  new (input: ExecuteSqlCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ExecuteSqlCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
- * @deprecated
30
- *
31
29
  * <p>Runs one or more SQL statements.</p>
32
30
  * <note>
33
31
  * <p>This operation isn't supported for Aurora PostgreSQL Serverless v2 and provisioned DB clusters, and for Aurora Serverless v1 DB clusters,
@@ -84,7 +82,7 @@ declare const ExecuteSqlCommand_base: {
84
82
  * // doubleValue: Number("double"),
85
83
  * // realValue: Number("float"),
86
84
  * // stringValue: "STRING_VALUE",
87
- * // blobValue: "BLOB_VALUE",
85
+ * // blobValue: new Uint8Array(),
88
86
  * // arrayValues: [ // ArrayValueList
89
87
  * // {// Union: only one key present
90
88
  * // isNull: true || false,
@@ -94,7 +92,7 @@ declare const ExecuteSqlCommand_base: {
94
92
  * // doubleValue: Number("double"),
95
93
  * // realValue: Number("float"),
96
94
  * // stringValue: "STRING_VALUE",
97
- * // blobValue: "BLOB_VALUE",
95
+ * // blobValue: new Uint8Array(),
98
96
  * // arrayValues: [
99
97
  * // "<Value>",
100
98
  * // ],
@@ -143,6 +141,8 @@ declare const ExecuteSqlCommand_base: {
143
141
  * @throws {@link RDSDataServiceException}
144
142
  * <p>Base exception class for all service exceptions from RDSData service.</p>
145
143
  *
144
+ * @public
145
+ * @deprecated The ExecuteSql API is deprecated, please use the ExecuteStatement API.
146
146
  */
147
147
  export declare class ExecuteSqlCommand extends ExecuteSqlCommand_base {
148
148
  }
@@ -22,10 +22,10 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
22
22
  }
23
23
  declare const ExecuteStatementCommand_base: {
24
24
  new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Runs a SQL statement against a database.</p>
30
30
  * <note>
31
31
  * <p>If a call isn't part of a transaction because it doesn't include the
@@ -54,7 +54,7 @@ declare const ExecuteStatementCommand_base: {
54
54
  * longValue: Number("long"),
55
55
  * doubleValue: Number("double"),
56
56
  * stringValue: "STRING_VALUE",
57
- * blobValue: "BLOB_VALUE",
57
+ * blobValue: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
58
58
  * arrayValue: { // ArrayValue Union: only one key present
59
59
  * booleanValues: [ // BooleanArray
60
60
  * true || false,
@@ -112,7 +112,7 @@ declare const ExecuteStatementCommand_base: {
112
112
  * // longValue: Number("long"),
113
113
  * // doubleValue: Number("double"),
114
114
  * // stringValue: "STRING_VALUE",
115
- * // blobValue: "BLOB_VALUE",
115
+ * // blobValue: new Uint8Array(),
116
116
  * // arrayValue: { // ArrayValue Union: only one key present
117
117
  * // booleanValues: [ // BooleanArray
118
118
  * // true || false,
@@ -175,7 +175,7 @@ declare const ExecuteStatementCommand_base: {
175
175
  * // longValue: Number("long"),
176
176
  * // doubleValue: Number("double"),
177
177
  * // stringValue: "STRING_VALUE",
178
- * // blobValue: "BLOB_VALUE",
178
+ * // blobValue: new Uint8Array(),
179
179
  * // arrayValue: "<ArrayValue>",
180
180
  * // },
181
181
  * // ],
@@ -258,6 +258,7 @@ declare const ExecuteStatementCommand_base: {
258
258
  * @throws {@link RDSDataServiceException}
259
259
  * <p>Base exception class for all service exceptions from RDSData service.</p>
260
260
  *
261
+ * @public
261
262
  */
262
263
  export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base {
263
264
  }
@@ -22,10 +22,10 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
22
22
  }
23
23
  declare const RollbackTransactionCommand_base: {
24
24
  new (input: RollbackTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: RollbackTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Performs a rollback of a transaction. Rolling back a transaction cancels its changes.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -109,6 +109,7 @@ declare const RollbackTransactionCommand_base: {
109
109
  * @throws {@link RDSDataServiceException}
110
110
  * <p>Base exception class for all service exceptions from RDSData service.</p>
111
111
  *
112
+ * @public
112
113
  */
113
114
  export declare class RollbackTransactionCommand extends RollbackTransactionCommand_base {
114
115
  }