|
1 | 1 | {
|
2 |
| - "smithy": "1.0", |
| 2 | + "smithy": "2.0", |
3 | 3 | "shapes": {
|
4 | 4 | "com.amazonaws.rdsdata#AccessDeniedException": {
|
5 | 5 | "type": "structure",
|
|
162 | 162 | "schema": {
|
163 | 163 | "target": "com.amazonaws.rdsdata#DbName",
|
164 | 164 | "traits": {
|
165 |
| - "smithy.api#documentation": "<p>The name of the database schema.</p>" |
| 165 | + "smithy.api#documentation": "<p>The name of the database schema.</p>\n <note>\n <p>Currently, the <code>schema</code> parameter isn't supported.</p>\n </note>" |
166 | 166 | }
|
167 | 167 | },
|
168 | 168 | "parameterSets": {
|
|
285 | 285 | "type": "blob"
|
286 | 286 | },
|
287 | 287 | "com.amazonaws.rdsdata#Boolean": {
|
288 |
| - "type": "boolean" |
| 288 | + "type": "boolean", |
| 289 | + "traits": { |
| 290 | + "smithy.api#default": false |
| 291 | + } |
289 | 292 | },
|
290 | 293 | "com.amazonaws.rdsdata#BooleanArray": {
|
291 | 294 | "type": "list",
|
|
297 | 300 | }
|
298 | 301 | },
|
299 | 302 | "com.amazonaws.rdsdata#BoxedBoolean": {
|
300 |
| - "type": "boolean", |
301 |
| - "traits": { |
302 |
| - "smithy.api#box": {} |
303 |
| - } |
| 303 | + "type": "boolean" |
304 | 304 | },
|
305 | 305 | "com.amazonaws.rdsdata#BoxedDouble": {
|
306 |
| - "type": "double", |
307 |
| - "traits": { |
308 |
| - "smithy.api#box": {} |
309 |
| - } |
| 306 | + "type": "double" |
310 | 307 | },
|
311 | 308 | "com.amazonaws.rdsdata#BoxedFloat": {
|
312 |
| - "type": "float", |
313 |
| - "traits": { |
314 |
| - "smithy.api#box": {} |
315 |
| - } |
| 309 | + "type": "float" |
316 | 310 | },
|
317 | 311 | "com.amazonaws.rdsdata#BoxedInteger": {
|
318 |
| - "type": "integer", |
319 |
| - "traits": { |
320 |
| - "smithy.api#box": {} |
321 |
| - } |
| 312 | + "type": "integer" |
322 | 313 | },
|
323 | 314 | "com.amazonaws.rdsdata#BoxedLong": {
|
324 |
| - "type": "long", |
325 |
| - "traits": { |
326 |
| - "smithy.api#box": {} |
327 |
| - } |
| 315 | + "type": "long" |
328 | 316 | },
|
329 | 317 | "com.amazonaws.rdsdata#ColumnMetadata": {
|
330 | 318 | "type": "structure",
|
|
338 | 326 | "type": {
|
339 | 327 | "target": "com.amazonaws.rdsdata#Integer",
|
340 | 328 | "traits": {
|
| 329 | + "smithy.api#default": 0, |
341 | 330 | "smithy.api#documentation": "<p>The type of the column.</p>"
|
342 | 331 | }
|
343 | 332 | },
|
|
368 | 357 | "isAutoIncrement": {
|
369 | 358 | "target": "com.amazonaws.rdsdata#Boolean",
|
370 | 359 | "traits": {
|
| 360 | + "smithy.api#default": false, |
371 | 361 | "smithy.api#documentation": "<p>A value that indicates whether the column increments automatically.</p>"
|
372 | 362 | }
|
373 | 363 | },
|
374 | 364 | "isSigned": {
|
375 | 365 | "target": "com.amazonaws.rdsdata#Boolean",
|
376 | 366 | "traits": {
|
| 367 | + "smithy.api#default": false, |
377 | 368 | "smithy.api#documentation": "<p>A value that indicates whether an integer column is signed.</p>"
|
378 | 369 | }
|
379 | 370 | },
|
380 | 371 | "isCurrency": {
|
381 | 372 | "target": "com.amazonaws.rdsdata#Boolean",
|
382 | 373 | "traits": {
|
| 374 | + "smithy.api#default": false, |
383 | 375 | "smithy.api#documentation": "<p>A value that indicates whether the column contains currency values.</p>"
|
384 | 376 | }
|
385 | 377 | },
|
386 | 378 | "isCaseSensitive": {
|
387 | 379 | "target": "com.amazonaws.rdsdata#Boolean",
|
388 | 380 | "traits": {
|
| 381 | + "smithy.api#default": false, |
389 | 382 | "smithy.api#documentation": "<p>A value that indicates whether the column is case-sensitive.</p>"
|
390 | 383 | }
|
391 | 384 | },
|
392 | 385 | "nullable": {
|
393 | 386 | "target": "com.amazonaws.rdsdata#Integer",
|
394 | 387 | "traits": {
|
| 388 | + "smithy.api#default": 0, |
395 | 389 | "smithy.api#documentation": "<p>A value that indicates whether the column is nullable.</p>"
|
396 | 390 | }
|
397 | 391 | },
|
398 | 392 | "precision": {
|
399 | 393 | "target": "com.amazonaws.rdsdata#Integer",
|
400 | 394 | "traits": {
|
| 395 | + "smithy.api#default": 0, |
401 | 396 | "smithy.api#documentation": "<p>The precision value of a decimal number column.</p>"
|
402 | 397 | }
|
403 | 398 | },
|
404 | 399 | "scale": {
|
405 | 400 | "target": "com.amazonaws.rdsdata#Integer",
|
406 | 401 | "traits": {
|
| 402 | + "smithy.api#default": 0, |
407 | 403 | "smithy.api#documentation": "<p>The scale value of a decimal number column.</p>"
|
408 | 404 | }
|
409 | 405 | },
|
410 | 406 | "arrayBaseColumnType": {
|
411 | 407 | "target": "com.amazonaws.rdsdata#Integer",
|
412 | 408 | "traits": {
|
| 409 | + "smithy.api#default": 0, |
413 | 410 | "smithy.api#documentation": "<p>The type of the column.</p>"
|
414 | 411 | }
|
415 | 412 | }
|
|
717 | 714 | "includeResultMetadata": {
|
718 | 715 | "target": "com.amazonaws.rdsdata#Boolean",
|
719 | 716 | "traits": {
|
| 717 | + "smithy.api#default": false, |
720 | 718 | "smithy.api#documentation": "<p>A value that indicates whether to include metadata in the results.</p>"
|
721 | 719 | }
|
722 | 720 | },
|
723 | 721 | "continueAfterTimeout": {
|
724 | 722 | "target": "com.amazonaws.rdsdata#Boolean",
|
725 | 723 | "traits": {
|
| 724 | + "smithy.api#default": false, |
726 | 725 | "smithy.api#documentation": "<p>A value that indicates whether to continue running the statement after \n the call times out. By default, the statement stops running when the call \n times out.</p>\n <note>\n <p>For DDL statements, we recommend continuing to run the statement after \n the call times out. When a DDL statement terminates before it is finished \n running, it can result in errors and possibly corrupted data structures.</p>\n </note>"
|
727 | 726 | }
|
728 | 727 | },
|
|
761 | 760 | "numberOfRecordsUpdated": {
|
762 | 761 | "target": "com.amazonaws.rdsdata#RecordsUpdated",
|
763 | 762 | "traits": {
|
| 763 | + "smithy.api#default": 0, |
764 | 764 | "smithy.api#documentation": "<p>The number of records updated by the request.</p>"
|
765 | 765 | }
|
766 | 766 | },
|
|
865 | 865 | }
|
866 | 866 | },
|
867 | 867 | "com.amazonaws.rdsdata#Integer": {
|
868 |
| - "type": "integer" |
| 868 | + "type": "integer", |
| 869 | + "traits": { |
| 870 | + "smithy.api#default": 0 |
| 871 | + } |
869 | 872 | },
|
870 | 873 | "com.amazonaws.rdsdata#InternalServerErrorException": {
|
871 | 874 | "type": "structure",
|
|
877 | 880 | }
|
878 | 881 | },
|
879 | 882 | "com.amazonaws.rdsdata#Long": {
|
880 |
| - "type": "long" |
| 883 | + "type": "long", |
| 884 | + "traits": { |
| 885 | + "smithy.api#default": 0 |
| 886 | + } |
881 | 887 | },
|
882 | 888 | "com.amazonaws.rdsdata#LongArray": {
|
883 | 889 | "type": "list",
|
|
930 | 936 | },
|
931 | 937 | "com.amazonaws.rdsdata#RdsDataService": {
|
932 | 938 | "type": "service",
|
933 |
| - "traits": { |
934 |
| - "aws.api#service": { |
935 |
| - "sdkId": "RDS Data", |
936 |
| - "arnNamespace": "rds-data" |
937 |
| - }, |
938 |
| - "aws.auth#sigv4": { |
939 |
| - "name": "rds-data" |
940 |
| - }, |
941 |
| - "aws.protocols#restJson1": {}, |
942 |
| - "smithy.api#cors": {}, |
943 |
| - "smithy.api#documentation": "<fullname>Amazon RDS Data Service</fullname>\n <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these\n statements, you work with the Data Service API.</p>\n <note>\n <p>The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.</p>\n </note>\n <p>For more information about the Data Service API, see\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html\">Using the Data API</a>\n in the <i>Amazon Aurora User Guide</i>.</p>", |
944 |
| - "smithy.api#title": "AWS RDS DataService" |
945 |
| - }, |
946 | 939 | "version": "2018-08-01",
|
947 | 940 | "operations": [
|
948 | 941 | {
|
|
963 | 956 | {
|
964 | 957 | "target": "com.amazonaws.rdsdata#RollbackTransaction"
|
965 | 958 | }
|
966 |
| - ] |
| 959 | + ], |
| 960 | + "traits": { |
| 961 | + "aws.api#service": { |
| 962 | + "sdkId": "RDS Data", |
| 963 | + "arnNamespace": "rds-data" |
| 964 | + }, |
| 965 | + "aws.auth#sigv4": { |
| 966 | + "name": "rds-data" |
| 967 | + }, |
| 968 | + "aws.protocols#restJson1": {}, |
| 969 | + "smithy.api#cors": {}, |
| 970 | + "smithy.api#documentation": "<fullname>Amazon RDS Data Service</fullname>\n <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these\n statements, you work with the Data Service API.</p>\n <note>\n <p>The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.</p>\n </note>\n <p>For more information about the Data Service API, see\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html\">Using the Data API</a>\n in the <i>Amazon Aurora User Guide</i>.</p>", |
| 971 | + "smithy.api#title": "AWS RDS DataService" |
| 972 | + } |
967 | 973 | },
|
968 | 974 | "com.amazonaws.rdsdata#Record": {
|
969 | 975 | "type": "structure",
|
|
1001 | 1007 | }
|
1002 | 1008 | },
|
1003 | 1009 | "com.amazonaws.rdsdata#RecordsUpdated": {
|
1004 |
| - "type": "long" |
| 1010 | + "type": "long", |
| 1011 | + "traits": { |
| 1012 | + "smithy.api#default": 0 |
| 1013 | + } |
1005 | 1014 | },
|
1006 | 1015 | "com.amazonaws.rdsdata#ResultFrame": {
|
1007 | 1016 | "type": "structure",
|
|
1029 | 1038 | "columnCount": {
|
1030 | 1039 | "target": "com.amazonaws.rdsdata#Long",
|
1031 | 1040 | "traits": {
|
| 1041 | + "smithy.api#default": 0, |
1032 | 1042 | "smithy.api#documentation": "<p>The number of columns in the result set.</p>"
|
1033 | 1043 | }
|
1034 | 1044 | },
|
|
1225 | 1235 | "numberOfRecordsUpdated": {
|
1226 | 1236 | "target": "com.amazonaws.rdsdata#RecordsUpdated",
|
1227 | 1237 | "traits": {
|
| 1238 | + "smithy.api#default": 0, |
1228 | 1239 | "smithy.api#documentation": "<p>The number of records updated by a SQL statement.</p>"
|
1229 | 1240 | }
|
1230 | 1241 | }
|
|
1251 | 1262 | "dbConnectionId": {
|
1252 | 1263 | "target": "com.amazonaws.rdsdata#Long",
|
1253 | 1264 | "traits": {
|
| 1265 | + "smithy.api#default": 0, |
1254 | 1266 | "smithy.api#documentation": "<p>The database connection ID that executed the SQL statement.</p>"
|
1255 | 1267 | }
|
1256 | 1268 | }
|
|
0 commit comments