rdsdataservice.d.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class RDSDataService extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: RDSDataService.Types.ClientConfiguration)
  13. config: Config & RDSDataService.Types.ClientConfiguration;
  14. /**
  15. * Runs a batch SQL statement over an array of data. You can run bulk update and insert operations for multiple records using a DML statement with different parameter sets. Bulk operations can provide a significant performance improvement over individual insert and update operations. If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically. There isn't a fixed upper limit on the number of parameter sets. However, the maximum size of the HTTP request submitted through the Data API is 4 MiB. If the request exceeds this limit, the Data API returns an error and doesn't process the request. This 4-MiB limit includes the size of the HTTP headers and the JSON notation in the request. Thus, the number of parameter sets that you can include depends on a combination of factors, such as the size of the SQL statement and the size of each parameter set. The response size limit is 1 MiB. If the call returns more than 1 MiB of response data, the call is terminated.
  16. */
  17. batchExecuteStatement(params: RDSDataService.Types.BatchExecuteStatementRequest, callback?: (err: AWSError, data: RDSDataService.Types.BatchExecuteStatementResponse) => void): Request<RDSDataService.Types.BatchExecuteStatementResponse, AWSError>;
  18. /**
  19. * Runs a batch SQL statement over an array of data. You can run bulk update and insert operations for multiple records using a DML statement with different parameter sets. Bulk operations can provide a significant performance improvement over individual insert and update operations. If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically. There isn't a fixed upper limit on the number of parameter sets. However, the maximum size of the HTTP request submitted through the Data API is 4 MiB. If the request exceeds this limit, the Data API returns an error and doesn't process the request. This 4-MiB limit includes the size of the HTTP headers and the JSON notation in the request. Thus, the number of parameter sets that you can include depends on a combination of factors, such as the size of the SQL statement and the size of each parameter set. The response size limit is 1 MiB. If the call returns more than 1 MiB of response data, the call is terminated.
  20. */
  21. batchExecuteStatement(callback?: (err: AWSError, data: RDSDataService.Types.BatchExecuteStatementResponse) => void): Request<RDSDataService.Types.BatchExecuteStatementResponse, AWSError>;
  22. /**
  23. * Starts a SQL transaction. A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24 hours. A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's committed, it's rolled back automatically. DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate ExecuteStatement call with continueAfterTimeout enabled.
  24. */
  25. beginTransaction(params: RDSDataService.Types.BeginTransactionRequest, callback?: (err: AWSError, data: RDSDataService.Types.BeginTransactionResponse) => void): Request<RDSDataService.Types.BeginTransactionResponse, AWSError>;
  26. /**
  27. * Starts a SQL transaction. A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24 hours. A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's committed, it's rolled back automatically. DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate ExecuteStatement call with continueAfterTimeout enabled.
  28. */
  29. beginTransaction(callback?: (err: AWSError, data: RDSDataService.Types.BeginTransactionResponse) => void): Request<RDSDataService.Types.BeginTransactionResponse, AWSError>;
  30. /**
  31. * Ends a SQL transaction started with the BeginTransaction operation and commits the changes.
  32. */
  33. commitTransaction(params: RDSDataService.Types.CommitTransactionRequest, callback?: (err: AWSError, data: RDSDataService.Types.CommitTransactionResponse) => void): Request<RDSDataService.Types.CommitTransactionResponse, AWSError>;
  34. /**
  35. * Ends a SQL transaction started with the BeginTransaction operation and commits the changes.
  36. */
  37. commitTransaction(callback?: (err: AWSError, data: RDSDataService.Types.CommitTransactionResponse) => void): Request<RDSDataService.Types.CommitTransactionResponse, AWSError>;
  38. /**
  39. * Runs one or more SQL statements. This operation isn't supported for Aurora PostgreSQL Serverless v2 and provisioned DB clusters, and for Aurora Serverless v1 DB clusters, the operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.
  40. */
  41. executeSql(params: RDSDataService.Types.ExecuteSqlRequest, callback?: (err: AWSError, data: RDSDataService.Types.ExecuteSqlResponse) => void): Request<RDSDataService.Types.ExecuteSqlResponse, AWSError>;
  42. /**
  43. * Runs one or more SQL statements. This operation isn't supported for Aurora PostgreSQL Serverless v2 and provisioned DB clusters, and for Aurora Serverless v1 DB clusters, the operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.
  44. */
  45. executeSql(callback?: (err: AWSError, data: RDSDataService.Types.ExecuteSqlResponse) => void): Request<RDSDataService.Types.ExecuteSqlResponse, AWSError>;
  46. /**
  47. * Runs a SQL statement against a database. If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically. If the binary response data from the database is more than 1 MB, the call is terminated.
  48. */
  49. executeStatement(params: RDSDataService.Types.ExecuteStatementRequest, callback?: (err: AWSError, data: RDSDataService.Types.ExecuteStatementResponse) => void): Request<RDSDataService.Types.ExecuteStatementResponse, AWSError>;
  50. /**
  51. * Runs a SQL statement against a database. If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically. If the binary response data from the database is more than 1 MB, the call is terminated.
  52. */
  53. executeStatement(callback?: (err: AWSError, data: RDSDataService.Types.ExecuteStatementResponse) => void): Request<RDSDataService.Types.ExecuteStatementResponse, AWSError>;
  54. /**
  55. * Performs a rollback of a transaction. Rolling back a transaction cancels its changes.
  56. */
  57. rollbackTransaction(params: RDSDataService.Types.RollbackTransactionRequest, callback?: (err: AWSError, data: RDSDataService.Types.RollbackTransactionResponse) => void): Request<RDSDataService.Types.RollbackTransactionResponse, AWSError>;
  58. /**
  59. * Performs a rollback of a transaction. Rolling back a transaction cancels its changes.
  60. */
  61. rollbackTransaction(callback?: (err: AWSError, data: RDSDataService.Types.RollbackTransactionResponse) => void): Request<RDSDataService.Types.RollbackTransactionResponse, AWSError>;
  62. }
  63. declare namespace RDSDataService {
  64. export type Arn = string;
  65. export type ArrayOfArray = ArrayValue[];
  66. export interface ArrayValue {
  67. /**
  68. * An array of Boolean values.
  69. */
  70. booleanValues?: BooleanArray;
  71. /**
  72. * An array of integers.
  73. */
  74. longValues?: LongArray;
  75. /**
  76. * An array of floating-point numbers.
  77. */
  78. doubleValues?: DoubleArray;
  79. /**
  80. * An array of strings.
  81. */
  82. stringValues?: StringArray;
  83. /**
  84. * An array of arrays.
  85. */
  86. arrayValues?: ArrayOfArray;
  87. }
  88. export type ArrayValueList = Value[];
  89. export interface BatchExecuteStatementRequest {
  90. /**
  91. * The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
  92. */
  93. resourceArn: Arn;
  94. /**
  95. * The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret. For information about creating the secret, see Create a database secret.
  96. */
  97. secretArn: Arn;
  98. /**
  99. * The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.
  100. */
  101. sql: SqlStatement;
  102. /**
  103. * The name of the database.
  104. */
  105. database?: DbName;
  106. /**
  107. * The name of the database schema. Currently, the schema parameter isn't supported.
  108. */
  109. schema?: DbName;
  110. /**
  111. * The parameter set for the batch operation. The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options: Specify one or more empty parameter sets. Use the ExecuteStatement operation instead of the BatchExecuteStatement operation. Array parameters are not supported.
  112. */
  113. parameterSets?: SqlParameterSets;
  114. /**
  115. * The identifier of a transaction that was started by using the BeginTransaction operation. Specify the transaction ID of the transaction that you want to include the SQL statement in. If the SQL statement is not part of a transaction, don't set this parameter.
  116. */
  117. transactionId?: Id;
  118. }
  119. export interface BatchExecuteStatementResponse {
  120. /**
  121. * The execution results of each batch entry.
  122. */
  123. updateResults?: UpdateResults;
  124. }
  125. export interface BeginTransactionRequest {
  126. /**
  127. * The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
  128. */
  129. resourceArn: Arn;
  130. /**
  131. * The name or ARN of the secret that enables access to the DB cluster.
  132. */
  133. secretArn: Arn;
  134. /**
  135. * The name of the database.
  136. */
  137. database?: DbName;
  138. /**
  139. * The name of the database schema.
  140. */
  141. schema?: DbName;
  142. }
  143. export interface BeginTransactionResponse {
  144. /**
  145. * The transaction ID of the transaction started by the call.
  146. */
  147. transactionId?: Id;
  148. }
  149. export type _Blob = Buffer|Uint8Array|Blob|string;
  150. export type Boolean = boolean;
  151. export type BooleanArray = BoxedBoolean[];
  152. export type BoxedBoolean = boolean;
  153. export type BoxedDouble = number;
  154. export type BoxedFloat = number;
  155. export type BoxedInteger = number;
  156. export type BoxedLong = number;
  157. export interface ColumnMetadata {
  158. /**
  159. * The name of the column.
  160. */
  161. name?: String;
  162. /**
  163. * The type of the column.
  164. */
  165. type?: Integer;
  166. /**
  167. * The database-specific data type of the column.
  168. */
  169. typeName?: String;
  170. /**
  171. * The label for the column.
  172. */
  173. label?: String;
  174. /**
  175. * The name of the schema that owns the table that includes the column.
  176. */
  177. schemaName?: String;
  178. /**
  179. * The name of the table that includes the column.
  180. */
  181. tableName?: String;
  182. /**
  183. * A value that indicates whether the column increments automatically.
  184. */
  185. isAutoIncrement?: Boolean;
  186. /**
  187. * A value that indicates whether an integer column is signed.
  188. */
  189. isSigned?: Boolean;
  190. /**
  191. * A value that indicates whether the column contains currency values.
  192. */
  193. isCurrency?: Boolean;
  194. /**
  195. * A value that indicates whether the column is case-sensitive.
  196. */
  197. isCaseSensitive?: Boolean;
  198. /**
  199. * A value that indicates whether the column is nullable.
  200. */
  201. nullable?: Integer;
  202. /**
  203. * The precision value of a decimal number column.
  204. */
  205. precision?: Integer;
  206. /**
  207. * The scale value of a decimal number column.
  208. */
  209. scale?: Integer;
  210. /**
  211. * The type of the column.
  212. */
  213. arrayBaseColumnType?: Integer;
  214. }
  215. export interface CommitTransactionRequest {
  216. /**
  217. * The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
  218. */
  219. resourceArn: Arn;
  220. /**
  221. * The name or ARN of the secret that enables access to the DB cluster.
  222. */
  223. secretArn: Arn;
  224. /**
  225. * The identifier of the transaction to end and commit.
  226. */
  227. transactionId: Id;
  228. }
  229. export interface CommitTransactionResponse {
  230. /**
  231. * The status of the commit operation.
  232. */
  233. transactionStatus?: TransactionStatus;
  234. }
  235. export type DbName = string;
  236. export type DecimalReturnType = "STRING"|"DOUBLE_OR_LONG"|string;
  237. export type DoubleArray = BoxedDouble[];
  238. export interface ExecuteSqlRequest {
  239. /**
  240. * The ARN of the Aurora Serverless DB cluster.
  241. */
  242. dbClusterOrInstanceArn: Arn;
  243. /**
  244. * The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret. For information about creating the secret, see Create a database secret.
  245. */
  246. awsSecretStoreArn: Arn;
  247. /**
  248. * One or more SQL statements to run on the DB cluster. You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
  249. */
  250. sqlStatements: SqlStatement;
  251. /**
  252. * The name of the database.
  253. */
  254. database?: DbName;
  255. /**
  256. * The name of the database schema.
  257. */
  258. schema?: DbName;
  259. }
  260. export interface ExecuteSqlResponse {
  261. /**
  262. * The results of the SQL statement or statements.
  263. */
  264. sqlStatementResults?: SqlStatementResults;
  265. }
  266. export interface ExecuteStatementRequest {
  267. /**
  268. * The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
  269. */
  270. resourceArn: Arn;
  271. /**
  272. * The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret. For information about creating the secret, see Create a database secret.
  273. */
  274. secretArn: Arn;
  275. /**
  276. * The SQL statement to run.
  277. */
  278. sql: SqlStatement;
  279. /**
  280. * The name of the database.
  281. */
  282. database?: DbName;
  283. /**
  284. * The name of the database schema. Currently, the schema parameter isn't supported.
  285. */
  286. schema?: DbName;
  287. /**
  288. * The parameters for the SQL statement. Array parameters are not supported.
  289. */
  290. parameters?: SqlParametersList;
  291. /**
  292. * The identifier of a transaction that was started by using the BeginTransaction operation. Specify the transaction ID of the transaction that you want to include the SQL statement in. If the SQL statement is not part of a transaction, don't set this parameter.
  293. */
  294. transactionId?: Id;
  295. /**
  296. * A value that indicates whether to include metadata in the results.
  297. */
  298. includeResultMetadata?: Boolean;
  299. /**
  300. * A value that indicates whether to continue running the statement after the call times out. By default, the statement stops running when the call times out. For DDL statements, we recommend continuing to run the statement after the call times out. When a DDL statement terminates before it is finished running, it can result in errors and possibly corrupted data structures.
  301. */
  302. continueAfterTimeout?: Boolean;
  303. /**
  304. * Options that control how the result set is returned.
  305. */
  306. resultSetOptions?: ResultSetOptions;
  307. /**
  308. * A value that indicates whether to format the result set as a single JSON string. This parameter only applies to SELECT statements and is ignored for other types of statements. Allowed values are NONE and JSON. The default value is NONE. The result is returned in the formattedRecords field. For usage information about the JSON format for result sets, see Using the Data API in the Amazon Aurora User Guide.
  309. */
  310. formatRecordsAs?: RecordsFormatType;
  311. }
  312. export interface ExecuteStatementResponse {
  313. /**
  314. * The records returned by the SQL statement. This field is blank if the formatRecordsAs parameter is set to JSON.
  315. */
  316. records?: SqlRecords;
  317. /**
  318. * Metadata for the columns included in the results. This field is blank if the formatRecordsAs parameter is set to JSON.
  319. */
  320. columnMetadata?: Metadata;
  321. /**
  322. * The number of records updated by the request.
  323. */
  324. numberOfRecordsUpdated?: RecordsUpdated;
  325. /**
  326. * Values for fields generated during a DML request. The generatedFields data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the RETURNING clause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.
  327. */
  328. generatedFields?: FieldList;
  329. /**
  330. * A string value that represents the result set of a SELECT statement in JSON format. This value is only present when the formatRecordsAs parameter is set to JSON. The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
  331. */
  332. formattedRecords?: FormattedSqlRecords;
  333. }
  334. export interface Field {
  335. /**
  336. * A NULL value.
  337. */
  338. isNull?: BoxedBoolean;
  339. /**
  340. * A value of Boolean data type.
  341. */
  342. booleanValue?: BoxedBoolean;
  343. /**
  344. * A value of long data type.
  345. */
  346. longValue?: BoxedLong;
  347. /**
  348. * A value of double data type.
  349. */
  350. doubleValue?: BoxedDouble;
  351. /**
  352. * A value of string data type.
  353. */
  354. stringValue?: String;
  355. /**
  356. * A value of BLOB data type.
  357. */
  358. blobValue?: _Blob;
  359. /**
  360. * An array of values.
  361. */
  362. arrayValue?: ArrayValue;
  363. }
  364. export type FieldList = Field[];
  365. export type FormattedSqlRecords = string;
  366. export type Id = string;
  367. export type Integer = number;
  368. export type Long = number;
  369. export type LongArray = BoxedLong[];
  370. export type LongReturnType = "STRING"|"LONG"|string;
  371. export type Metadata = ColumnMetadata[];
  372. export type ParameterName = string;
  373. export interface Record {
  374. /**
  375. * The values returned in the record.
  376. */
  377. values?: Row;
  378. }
  379. export type Records = Record[];
  380. export type RecordsFormatType = "NONE"|"JSON"|string;
  381. export type RecordsUpdated = number;
  382. export interface ResultFrame {
  383. /**
  384. * The result-set metadata in the result set.
  385. */
  386. resultSetMetadata?: ResultSetMetadata;
  387. /**
  388. * The records in the result set.
  389. */
  390. records?: Records;
  391. }
  392. export interface ResultSetMetadata {
  393. /**
  394. * The number of columns in the result set.
  395. */
  396. columnCount?: Long;
  397. /**
  398. * The metadata of the columns in the result set.
  399. */
  400. columnMetadata?: Metadata;
  401. }
  402. export interface ResultSetOptions {
  403. /**
  404. * A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise. Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.
  405. */
  406. decimalReturnType?: DecimalReturnType;
  407. /**
  408. * A value that indicates how a field of LONG type is represented. Allowed values are LONG and STRING. The default is LONG. Specify STRING if the length or precision of numeric values might cause truncation or rounding errors.
  409. */
  410. longReturnType?: LongReturnType;
  411. }
  412. export interface RollbackTransactionRequest {
  413. /**
  414. * The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
  415. */
  416. resourceArn: Arn;
  417. /**
  418. * The name or ARN of the secret that enables access to the DB cluster.
  419. */
  420. secretArn: Arn;
  421. /**
  422. * The identifier of the transaction to roll back.
  423. */
  424. transactionId: Id;
  425. }
  426. export interface RollbackTransactionResponse {
  427. /**
  428. * The status of the rollback operation.
  429. */
  430. transactionStatus?: TransactionStatus;
  431. }
  432. export type Row = Value[];
  433. export interface SqlParameter {
  434. /**
  435. * The name of the parameter.
  436. */
  437. name?: ParameterName;
  438. /**
  439. * The value of the parameter.
  440. */
  441. value?: Field;
  442. /**
  443. * A hint that specifies the correct object type for data type mapping. Possible values are as follows: DATE - The corresponding String parameter value is sent as an object of DATE type to the database. The accepted format is YYYY-MM-DD. DECIMAL - The corresponding String parameter value is sent as an object of DECIMAL type to the database. JSON - The corresponding String parameter value is sent as an object of JSON type to the database. TIME - The corresponding String parameter value is sent as an object of TIME type to the database. The accepted format is HH:MM:SS[.FFF]. TIMESTAMP - The corresponding String parameter value is sent as an object of TIMESTAMP type to the database. The accepted format is YYYY-MM-DD HH:MM:SS[.FFF]. UUID - The corresponding String parameter value is sent as an object of UUID type to the database.
  444. */
  445. typeHint?: TypeHint;
  446. }
  447. export type SqlParameterSets = SqlParametersList[];
  448. export type SqlParametersList = SqlParameter[];
  449. export type SqlRecords = FieldList[];
  450. export type SqlStatement = string;
  451. export interface SqlStatementResult {
  452. /**
  453. * The result set of the SQL statement.
  454. */
  455. resultFrame?: ResultFrame;
  456. /**
  457. * The number of records updated by a SQL statement.
  458. */
  459. numberOfRecordsUpdated?: RecordsUpdated;
  460. }
  461. export type SqlStatementResults = SqlStatementResult[];
  462. export type String = string;
  463. export type StringArray = String[];
  464. export interface StructValue {
  465. /**
  466. * The attributes returned in the record.
  467. */
  468. attributes?: ArrayValueList;
  469. }
  470. export type TransactionStatus = string;
  471. export type TypeHint = "JSON"|"UUID"|"TIMESTAMP"|"DATE"|"TIME"|"DECIMAL"|string;
  472. export interface UpdateResult {
  473. /**
  474. * Values for fields generated during the request.
  475. */
  476. generatedFields?: FieldList;
  477. }
  478. export type UpdateResults = UpdateResult[];
  479. export interface Value {
  480. /**
  481. * A NULL value.
  482. */
  483. isNull?: BoxedBoolean;
  484. /**
  485. * A value for a column of BIT data type.
  486. */
  487. bitValue?: BoxedBoolean;
  488. /**
  489. * A value for a column of big integer data type.
  490. */
  491. bigIntValue?: BoxedLong;
  492. /**
  493. * A value for a column of integer data type.
  494. */
  495. intValue?: BoxedInteger;
  496. /**
  497. * A value for a column of double data type.
  498. */
  499. doubleValue?: BoxedDouble;
  500. /**
  501. * A value for a column of real data type.
  502. */
  503. realValue?: BoxedFloat;
  504. /**
  505. * A value for a column of string data type.
  506. */
  507. stringValue?: String;
  508. /**
  509. * A value for a column of BLOB data type.
  510. */
  511. blobValue?: _Blob;
  512. /**
  513. * An array of column values.
  514. */
  515. arrayValues?: ArrayValueList;
  516. /**
  517. * A value for a column of STRUCT data type.
  518. */
  519. structValue?: StructValue;
  520. }
  521. /**
  522. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  523. */
  524. export type apiVersion = "2018-08-01"|"latest"|string;
  525. export interface ClientApiVersions {
  526. /**
  527. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  528. */
  529. apiVersion?: apiVersion;
  530. }
  531. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  532. /**
  533. * Contains interfaces for use with the RDSDataService client.
  534. */
  535. export import Types = RDSDataService;
  536. }
  537. export = RDSDataService;