{ "smithy": "1.0", "shapes": { "com.amazonaws.rdsdata#Arn": { "type": "string", "traits": { "smithy.api#length": { "min": 11, "max": 100 } } }, "com.amazonaws.rdsdata#ArrayOfArray": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#ArrayValue" }, "traits": { "smithy.api#documentation": "

An array of arrays.

\n \n

Some array entries can be null.

\n
" } }, "com.amazonaws.rdsdata#ArrayValue": { "type": "union", "members": { "booleanValues": { "target": "com.amazonaws.rdsdata#BooleanArray", "traits": { "smithy.api#documentation": "

An array of Boolean values.

" } }, "longValues": { "target": "com.amazonaws.rdsdata#LongArray", "traits": { "smithy.api#documentation": "

An array of floating point numbers.

" } }, "doubleValues": { "target": "com.amazonaws.rdsdata#DoubleArray", "traits": { "smithy.api#documentation": "

An array of integers.

" } }, "stringValues": { "target": "com.amazonaws.rdsdata#StringArray", "traits": { "smithy.api#documentation": "

An array of strings.

" } }, "arrayValues": { "target": "com.amazonaws.rdsdata#ArrayOfArray", "traits": { "smithy.api#documentation": "

An array of arrays.

" } } }, "traits": { "smithy.api#documentation": "

Contains an array.

" } }, "com.amazonaws.rdsdata#ArrayValueList": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#Value" } }, "com.amazonaws.rdsdata#BadRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.rdsdata#ErrorMessage", "traits": { "smithy.api#documentation": "

The error message returned by this BadRequestException error.

" } } }, "traits": { "smithy.api#documentation": "

There is an error in the call or in a SQL statement.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.rdsdata#BatchExecuteStatement": { "type": "operation", "input": { "target": "com.amazonaws.rdsdata#BatchExecuteStatementRequest" }, "output": { "target": "com.amazonaws.rdsdata#BatchExecuteStatementResponse" }, "errors": [ { "target": "com.amazonaws.rdsdata#BadRequestException" }, { "target": "com.amazonaws.rdsdata#ForbiddenException" }, { "target": "com.amazonaws.rdsdata#InternalServerErrorException" }, { "target": "com.amazonaws.rdsdata#ServiceUnavailableError" }, { "target": "com.amazonaws.rdsdata#StatementTimeoutException" } ], "traits": { "smithy.api#documentation": "

Runs a batch SQL statement over an array of data.

\n

You can run bulk update and insert operations for multiple records using a DML \n statement with different parameter sets. Bulk operations can provide a significant \n performance improvement over individual insert and update operations.

\n \n

If a call isn't part of a transaction because it doesn't include the\n transactionID parameter, changes that result from the call are\n committed automatically.

\n
", "smithy.api#http": { "method": "POST", "uri": "/BatchExecute", "code": 200 } } }, "com.amazonaws.rdsdata#BatchExecuteStatementRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

", "smithy.api#required": {} } }, "secretArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The name or ARN of the secret that enables access to the DB cluster.

", "smithy.api#required": {} } }, "sql": { "target": "com.amazonaws.rdsdata#SqlStatement", "traits": { "smithy.api#documentation": "

The SQL statement to run.

", "smithy.api#required": {} } }, "database": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database.

" } }, "schema": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database schema.

" } }, "parameterSets": { "target": "com.amazonaws.rdsdata#SqlParameterSets", "traits": { "smithy.api#documentation": "

The parameter set for the batch operation.

\n

The SQL statement is executed as many times as the number of parameter sets provided. \n To execute a SQL statement with no parameters, use one of the following options:

\n \n \n

Array parameters are not supported.

\n
" } }, "transactionId": { "target": "com.amazonaws.rdsdata#Id", "traits": { "smithy.api#documentation": "

The identifier of a transaction that was started by using the\n BeginTransaction operation. Specify the transaction ID of the\n transaction that you want to include the SQL statement in.

\n

If the SQL statement is not part of a transaction, don't set this\n parameter.

" } } }, "traits": { "smithy.api#documentation": "

The request parameters represent the input of a SQL statement over an array of\n data.

" } }, "com.amazonaws.rdsdata#BatchExecuteStatementResponse": { "type": "structure", "members": { "updateResults": { "target": "com.amazonaws.rdsdata#UpdateResults", "traits": { "smithy.api#documentation": "

The execution results of each batch entry.

" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the output of a SQL statement over an array of\n data.

" } }, "com.amazonaws.rdsdata#BeginTransaction": { "type": "operation", "input": { "target": "com.amazonaws.rdsdata#BeginTransactionRequest" }, "output": { "target": "com.amazonaws.rdsdata#BeginTransactionResponse" }, "errors": [ { "target": "com.amazonaws.rdsdata#BadRequestException" }, { "target": "com.amazonaws.rdsdata#ForbiddenException" }, { "target": "com.amazonaws.rdsdata#InternalServerErrorException" }, { "target": "com.amazonaws.rdsdata#ServiceUnavailableError" }, { "target": "com.amazonaws.rdsdata#StatementTimeoutException" } ], "traits": { "smithy.api#documentation": "

Starts a SQL transaction.

\n \n \n

A transaction can run for a maximum of 24 hours. A transaction is terminated and \n rolled back automatically after 24 hours.

\n

A transaction times out if no calls use its transaction ID in three minutes. \n If a transaction times out before it's committed, it's rolled back\n automatically.

\n

DDL statements inside a transaction cause an implicit commit. We recommend \n that you run each DDL statement in a separate ExecuteStatement call with \n continueAfterTimeout enabled.

\n
", "smithy.api#http": { "method": "POST", "uri": "/BeginTransaction", "code": 200 } } }, "com.amazonaws.rdsdata#BeginTransactionRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

", "smithy.api#required": {} } }, "secretArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The name or ARN of the secret that enables access to the DB cluster.

", "smithy.api#required": {} } }, "database": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database.

" } }, "schema": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database schema.

" } } }, "traits": { "smithy.api#documentation": "

The request parameters represent the input of a request to start a SQL\n transaction.

" } }, "com.amazonaws.rdsdata#BeginTransactionResponse": { "type": "structure", "members": { "transactionId": { "target": "com.amazonaws.rdsdata#Id", "traits": { "smithy.api#documentation": "

The transaction ID of the transaction started by the call.

" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the output of a request to start a SQL\n transaction.

" } }, "com.amazonaws.rdsdata#Blob": { "type": "blob" }, "com.amazonaws.rdsdata#Boolean": { "type": "boolean" }, "com.amazonaws.rdsdata#BooleanArray": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#BoxedBoolean" }, "traits": { "smithy.api#documentation": "

An array of Boolean values.

\n \n

Some array entries can be null.

\n
" } }, "com.amazonaws.rdsdata#BoxedBoolean": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.rdsdata#BoxedDouble": { "type": "double", "traits": { "smithy.api#box": {} } }, "com.amazonaws.rdsdata#BoxedFloat": { "type": "float", "traits": { "smithy.api#box": {} } }, "com.amazonaws.rdsdata#BoxedInteger": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.rdsdata#BoxedLong": { "type": "long", "traits": { "smithy.api#box": {} } }, "com.amazonaws.rdsdata#ColumnMetadata": { "type": "structure", "members": { "name": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

The name of the column.

" } }, "type": { "target": "com.amazonaws.rdsdata#Integer", "traits": { "smithy.api#documentation": "

The type of the column.

" } }, "typeName": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

The database-specific data type of the column.

" } }, "label": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

The label for the column.

" } }, "schemaName": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

The name of the schema that owns the table that includes the column.

" } }, "tableName": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

The name of the table that includes the column.

" } }, "isAutoIncrement": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { "smithy.api#documentation": "

A value that indicates whether the column increments automatically.

" } }, "isSigned": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { "smithy.api#documentation": "

A value that indicates whether an integer column is signed.

" } }, "isCurrency": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { "smithy.api#documentation": "

A value that indicates whether the column contains currency values.

" } }, "isCaseSensitive": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { "smithy.api#documentation": "

A value that indicates whether the column is case-sensitive.

" } }, "nullable": { "target": "com.amazonaws.rdsdata#Integer", "traits": { "smithy.api#documentation": "

A value that indicates whether the column is nullable.

" } }, "precision": { "target": "com.amazonaws.rdsdata#Integer", "traits": { "smithy.api#documentation": "

The precision value of a decimal number column.

" } }, "scale": { "target": "com.amazonaws.rdsdata#Integer", "traits": { "smithy.api#documentation": "

The scale value of a decimal number column.

" } }, "arrayBaseColumnType": { "target": "com.amazonaws.rdsdata#Integer", "traits": { "smithy.api#documentation": "

The type of the column.

" } } }, "traits": { "smithy.api#documentation": "

Contains the metadata for a column.

" } }, "com.amazonaws.rdsdata#CommitTransaction": { "type": "operation", "input": { "target": "com.amazonaws.rdsdata#CommitTransactionRequest" }, "output": { "target": "com.amazonaws.rdsdata#CommitTransactionResponse" }, "errors": [ { "target": "com.amazonaws.rdsdata#BadRequestException" }, { "target": "com.amazonaws.rdsdata#ForbiddenException" }, { "target": "com.amazonaws.rdsdata#InternalServerErrorException" }, { "target": "com.amazonaws.rdsdata#NotFoundException" }, { "target": "com.amazonaws.rdsdata#ServiceUnavailableError" }, { "target": "com.amazonaws.rdsdata#StatementTimeoutException" } ], "traits": { "smithy.api#documentation": "

Ends a SQL transaction started with the BeginTransaction operation and\n commits the changes.

", "smithy.api#http": { "method": "POST", "uri": "/CommitTransaction", "code": 200 } } }, "com.amazonaws.rdsdata#CommitTransactionRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

", "smithy.api#required": {} } }, "secretArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The name or ARN of the secret that enables access to the DB cluster.

", "smithy.api#required": {} } }, "transactionId": { "target": "com.amazonaws.rdsdata#Id", "traits": { "smithy.api#documentation": "

The identifier of the transaction to end and commit.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request parameters represent the input of a commit transaction request.

" } }, "com.amazonaws.rdsdata#CommitTransactionResponse": { "type": "structure", "members": { "transactionStatus": { "target": "com.amazonaws.rdsdata#TransactionStatus", "traits": { "smithy.api#documentation": "

The status of the commit operation.

" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the output of a commit transaction request.

" } }, "com.amazonaws.rdsdata#DbName": { "type": "string", "traits": { "smithy.api#length": { "max": 64 } } }, "com.amazonaws.rdsdata#DecimalReturnType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "STRING", "name": "STRING" }, { "value": "DOUBLE_OR_LONG", "name": "DOUBLE_OR_LONG" } ] } }, "com.amazonaws.rdsdata#DoubleArray": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#BoxedDouble" }, "traits": { "smithy.api#documentation": "

An array of floating point numbers.

\n \n

Some array entries can be null.

\n
" } }, "com.amazonaws.rdsdata#ErrorMessage": { "type": "string" }, "com.amazonaws.rdsdata#ExecuteSql": { "type": "operation", "input": { "target": "com.amazonaws.rdsdata#ExecuteSqlRequest" }, "output": { "target": "com.amazonaws.rdsdata#ExecuteSqlResponse" }, "errors": [ { "target": "com.amazonaws.rdsdata#BadRequestException" }, { "target": "com.amazonaws.rdsdata#ForbiddenException" }, { "target": "com.amazonaws.rdsdata#InternalServerErrorException" }, { "target": "com.amazonaws.rdsdata#ServiceUnavailableError" } ], "traits": { "smithy.api#deprecated": { "since": "2019-03-21", "message": "The ExecuteSql API is deprecated, please use the ExecuteStatement API." }, "smithy.api#documentation": "

Runs one or more SQL statements.

\n \n

This operation is deprecated. Use the BatchExecuteStatement or\n ExecuteStatement operation.

\n
", "smithy.api#http": { "method": "POST", "uri": "/ExecuteSql", "code": 200 } } }, "com.amazonaws.rdsdata#ExecuteSqlRequest": { "type": "structure", "members": { "dbClusterOrInstanceArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The ARN of the Aurora Serverless DB cluster.

", "smithy.api#required": {} } }, "awsSecretStoreArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.

", "smithy.api#required": {} } }, "sqlStatements": { "target": "com.amazonaws.rdsdata#SqlStatement", "traits": { "smithy.api#documentation": "

One or more SQL statements to run on the DB cluster.

\n

You can separate SQL statements from each other with a semicolon (;). Any valid SQL\n statement is permitted, including data definition, data manipulation, and commit\n statements.

", "smithy.api#required": {} } }, "database": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database.

" } }, "schema": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database schema.

" } } }, "traits": { "smithy.api#documentation": "

The request parameters represent the input of a request to run one or more SQL\n statements.

" } }, "com.amazonaws.rdsdata#ExecuteSqlResponse": { "type": "structure", "members": { "sqlStatementResults": { "target": "com.amazonaws.rdsdata#SqlStatementResults", "traits": { "smithy.api#documentation": "

The results of the SQL statement or statements.

" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the output of a request to run one or more SQL\n statements.

" } }, "com.amazonaws.rdsdata#ExecuteStatement": { "type": "operation", "input": { "target": "com.amazonaws.rdsdata#ExecuteStatementRequest" }, "output": { "target": "com.amazonaws.rdsdata#ExecuteStatementResponse" }, "errors": [ { "target": "com.amazonaws.rdsdata#BadRequestException" }, { "target": "com.amazonaws.rdsdata#ForbiddenException" }, { "target": "com.amazonaws.rdsdata#InternalServerErrorException" }, { "target": "com.amazonaws.rdsdata#ServiceUnavailableError" }, { "target": "com.amazonaws.rdsdata#StatementTimeoutException" } ], "traits": { "smithy.api#documentation": "

Runs a SQL statement against a database.

\n \n

If a call isn't part of a transaction because it doesn't include the\n transactionID parameter, changes that result from the call are\n committed automatically.

\n
\n

The response size limit is 1 MB. If the call returns more than 1 MB of response data, the call is terminated.

", "smithy.api#http": { "method": "POST", "uri": "/Execute", "code": 200 } } }, "com.amazonaws.rdsdata#ExecuteStatementRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

", "smithy.api#required": {} } }, "secretArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The name or ARN of the secret that enables access to the DB cluster.

", "smithy.api#required": {} } }, "sql": { "target": "com.amazonaws.rdsdata#SqlStatement", "traits": { "smithy.api#documentation": "

The SQL statement to run.

", "smithy.api#required": {} } }, "database": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database.

" } }, "schema": { "target": "com.amazonaws.rdsdata#DbName", "traits": { "smithy.api#documentation": "

The name of the database schema.

\n \n

Currently, the schema parameter isn't supported.

\n
" } }, "parameters": { "target": "com.amazonaws.rdsdata#SqlParametersList", "traits": { "smithy.api#documentation": "

The parameters for the SQL statement.

\n \n

Array parameters are not supported.

\n
" } }, "transactionId": { "target": "com.amazonaws.rdsdata#Id", "traits": { "smithy.api#documentation": "

The identifier of a transaction that was started by using the\n BeginTransaction operation. Specify the transaction ID of the\n transaction that you want to include the SQL statement in.

\n

If the SQL statement is not part of a transaction, don't set this parameter.

" } }, "includeResultMetadata": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { "smithy.api#documentation": "

A value that indicates whether to include metadata in the results.

" } }, "continueAfterTimeout": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { "smithy.api#documentation": "

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.

\n \n

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.

\n
" } }, "resultSetOptions": { "target": "com.amazonaws.rdsdata#ResultSetOptions", "traits": { "smithy.api#documentation": "

Options that control how the result set is returned.

" } } }, "traits": { "smithy.api#documentation": "

The request parameters represent the input of a request to run a SQL statement against\n a database.

" } }, "com.amazonaws.rdsdata#ExecuteStatementResponse": { "type": "structure", "members": { "records": { "target": "com.amazonaws.rdsdata#SqlRecords", "traits": { "smithy.api#documentation": "

The records returned by the SQL statement.

" } }, "columnMetadata": { "target": "com.amazonaws.rdsdata#Metadata", "traits": { "smithy.api#documentation": "

Metadata for the columns included in the results.

" } }, "numberOfRecordsUpdated": { "target": "com.amazonaws.rdsdata#RecordsUpdated", "traits": { "smithy.api#documentation": "

The number of records updated by the request.

" } }, "generatedFields": { "target": "com.amazonaws.rdsdata#FieldList", "traits": { "smithy.api#documentation": "

Values for fields generated during the request.

\n \n \n

The generatedFields data isn't supported by Aurora PostgreSQL.\n To get the values of generated fields, use the RETURNING clause. For\n more information, see Returning Data From\n Modified Rows in the PostgreSQL documentation.

\n
" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the output of a request to run a SQL statement against\n a database.

" } }, "com.amazonaws.rdsdata#Field": { "type": "union", "members": { "isNull": { "target": "com.amazonaws.rdsdata#BoxedBoolean", "traits": { "smithy.api#documentation": "

A NULL value.

" } }, "booleanValue": { "target": "com.amazonaws.rdsdata#BoxedBoolean", "traits": { "smithy.api#documentation": "

A value of Boolean data type.

" } }, "longValue": { "target": "com.amazonaws.rdsdata#BoxedLong", "traits": { "smithy.api#documentation": "

A value of long data type.

" } }, "doubleValue": { "target": "com.amazonaws.rdsdata#BoxedDouble", "traits": { "smithy.api#documentation": "

A value of double data type.

" } }, "stringValue": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

A value of string data type.

" } }, "blobValue": { "target": "com.amazonaws.rdsdata#Blob", "traits": { "smithy.api#documentation": "

A value of BLOB data type.

" } }, "arrayValue": { "target": "com.amazonaws.rdsdata#ArrayValue", "traits": { "smithy.api#documentation": "

An array of values.

" } } }, "traits": { "smithy.api#documentation": "

Contains a value.

" } }, "com.amazonaws.rdsdata#FieldList": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#Field" } }, "com.amazonaws.rdsdata#ForbiddenException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.rdsdata#ErrorMessage", "traits": { "smithy.api#documentation": "

The error message returned by this ForbiddenException error.

" } } }, "traits": { "smithy.api#documentation": "

There are insufficient privileges to make the call.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.rdsdata#Id": { "type": "string", "traits": { "smithy.api#length": { "max": 192 } } }, "com.amazonaws.rdsdata#Integer": { "type": "integer" }, "com.amazonaws.rdsdata#InternalServerErrorException": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "

An internal error occurred.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.rdsdata#Long": { "type": "long" }, "com.amazonaws.rdsdata#LongArray": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#BoxedLong" }, "traits": { "smithy.api#documentation": "

An array of integers.

\n \n

Some array entries can be null.

\n
" } }, "com.amazonaws.rdsdata#Metadata": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#ColumnMetadata" } }, "com.amazonaws.rdsdata#NotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.rdsdata#ErrorMessage", "traits": { "smithy.api#documentation": "

The error message returned by this NotFoundException error.

" } } }, "traits": { "smithy.api#documentation": "

The resourceArn, secretArn, or transactionId value can't be found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.rdsdata#ParameterName": { "type": "string" }, "com.amazonaws.rdsdata#RdsDataService": { "type": "service", "version": "2018-08-01", "operations": [ { "target": "com.amazonaws.rdsdata#BatchExecuteStatement" }, { "target": "com.amazonaws.rdsdata#BeginTransaction" }, { "target": "com.amazonaws.rdsdata#CommitTransaction" }, { "target": "com.amazonaws.rdsdata#ExecuteSql" }, { "target": "com.amazonaws.rdsdata#ExecuteStatement" }, { "target": "com.amazonaws.rdsdata#RollbackTransaction" } ], "traits": { "aws.api#service": { "sdkId": "RDS Data", "arnNamespace": "rds-data", "cloudFormationName": "RdsDataService", "cloudTrailEventSource": "rds-data.amazonaws.com", "endpointPrefix": "rds-data" }, "aws.auth#sigv4": { "name": "rds-data" }, "aws.protocols#restJson1": {}, "smithy.api#cors": {}, "smithy.api#documentation": "Amazon RDS Data Service\n

Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora\n Serverless DB cluster. To run these statements, you work with the Data Service\n API.

\n

For more information about the Data Service API, see Using the Data API for Aurora\n Serverless in the Amazon Aurora User Guide.

", "smithy.api#title": "AWS RDS DataService" } }, "com.amazonaws.rdsdata#Record": { "type": "structure", "members": { "values": { "target": "com.amazonaws.rdsdata#Row", "traits": { "smithy.api#documentation": "

The values returned in the record.

" } } }, "traits": { "smithy.api#documentation": "

A record returned by a call.

" } }, "com.amazonaws.rdsdata#Records": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#Record" } }, "com.amazonaws.rdsdata#RecordsUpdated": { "type": "long" }, "com.amazonaws.rdsdata#ResultFrame": { "type": "structure", "members": { "resultSetMetadata": { "target": "com.amazonaws.rdsdata#ResultSetMetadata", "traits": { "smithy.api#documentation": "

The result-set metadata in the result set.

" } }, "records": { "target": "com.amazonaws.rdsdata#Records", "traits": { "smithy.api#documentation": "

The records in the result set.

" } } }, "traits": { "smithy.api#documentation": "

The result set returned by a SQL statement.

" } }, "com.amazonaws.rdsdata#ResultSetMetadata": { "type": "structure", "members": { "columnCount": { "target": "com.amazonaws.rdsdata#Long", "traits": { "smithy.api#documentation": "

The number of columns in the result set.

" } }, "columnMetadata": { "target": "com.amazonaws.rdsdata#Metadata", "traits": { "smithy.api#documentation": "

The metadata of the columns in the result set.

" } } }, "traits": { "smithy.api#documentation": "

The metadata of the result set returned by a SQL statement.

" } }, "com.amazonaws.rdsdata#ResultSetOptions": { "type": "structure", "members": { "decimalReturnType": { "target": "com.amazonaws.rdsdata#DecimalReturnType", "traits": { "smithy.api#documentation": "

A value that indicates how a field of DECIMAL type is represented\n in the response. The value of STRING, the default, specifies that\n it is converted to a String value. The value of DOUBLE_OR_LONG\n specifies that it is converted to a Long value if its scale is 0, or to a Double\n value otherwise.

\n \n

Conversion to Double or Long can result in roundoff errors due to precision loss.\n We recommend converting to String, especially when working with currency values.

\n
" } } }, "traits": { "smithy.api#documentation": "

Options that control how the result set is returned.

" } }, "com.amazonaws.rdsdata#RollbackTransaction": { "type": "operation", "input": { "target": "com.amazonaws.rdsdata#RollbackTransactionRequest" }, "output": { "target": "com.amazonaws.rdsdata#RollbackTransactionResponse" }, "errors": [ { "target": "com.amazonaws.rdsdata#BadRequestException" }, { "target": "com.amazonaws.rdsdata#ForbiddenException" }, { "target": "com.amazonaws.rdsdata#InternalServerErrorException" }, { "target": "com.amazonaws.rdsdata#NotFoundException" }, { "target": "com.amazonaws.rdsdata#ServiceUnavailableError" }, { "target": "com.amazonaws.rdsdata#StatementTimeoutException" } ], "traits": { "smithy.api#documentation": "

Performs a rollback of a transaction. Rolling back a transaction cancels its changes.

", "smithy.api#http": { "method": "POST", "uri": "/RollbackTransaction", "code": 200 } } }, "com.amazonaws.rdsdata#RollbackTransactionRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

", "smithy.api#required": {} } }, "secretArn": { "target": "com.amazonaws.rdsdata#Arn", "traits": { "smithy.api#documentation": "

The name or ARN of the secret that enables access to the DB cluster.

", "smithy.api#required": {} } }, "transactionId": { "target": "com.amazonaws.rdsdata#Id", "traits": { "smithy.api#documentation": "

The identifier of the transaction to roll back.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The request parameters represent the input of a request to perform a rollback of a\n transaction.

" } }, "com.amazonaws.rdsdata#RollbackTransactionResponse": { "type": "structure", "members": { "transactionStatus": { "target": "com.amazonaws.rdsdata#TransactionStatus", "traits": { "smithy.api#documentation": "

The status of the rollback operation.

" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the output of a request to perform a rollback of a\n transaction.

" } }, "com.amazonaws.rdsdata#Row": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#Value" } }, "com.amazonaws.rdsdata#ServiceUnavailableError": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "

The service specified by the resourceArn parameter is not\n available.

", "smithy.api#error": "server", "smithy.api#httpError": 503 } }, "com.amazonaws.rdsdata#SqlParameter": { "type": "structure", "members": { "name": { "target": "com.amazonaws.rdsdata#ParameterName", "traits": { "smithy.api#documentation": "

The name of the parameter.

" } }, "value": { "target": "com.amazonaws.rdsdata#Field", "traits": { "smithy.api#documentation": "

The value of the parameter.

" } }, "typeHint": { "target": "com.amazonaws.rdsdata#TypeHint", "traits": { "smithy.api#documentation": "

A hint that specifies the correct object type for data type mapping. Possible values\n are as follows:

\n " } } }, "traits": { "smithy.api#documentation": "

A parameter used in a SQL statement.

" } }, "com.amazonaws.rdsdata#SqlParameterSets": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#SqlParametersList" } }, "com.amazonaws.rdsdata#SqlParametersList": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#SqlParameter" } }, "com.amazonaws.rdsdata#SqlRecords": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#FieldList" } }, "com.amazonaws.rdsdata#SqlStatement": { "type": "string", "traits": { "smithy.api#length": { "max": 65536 } } }, "com.amazonaws.rdsdata#SqlStatementResult": { "type": "structure", "members": { "resultFrame": { "target": "com.amazonaws.rdsdata#ResultFrame", "traits": { "smithy.api#documentation": "

The result set of the SQL statement.

" } }, "numberOfRecordsUpdated": { "target": "com.amazonaws.rdsdata#RecordsUpdated", "traits": { "smithy.api#documentation": "

The number of records updated by a SQL statement.

" } } }, "traits": { "smithy.api#documentation": "

The result of a SQL statement.

\n \n \n

This data type is deprecated.

\n
" } }, "com.amazonaws.rdsdata#SqlStatementResults": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#SqlStatementResult" } }, "com.amazonaws.rdsdata#StatementTimeoutException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.rdsdata#ErrorMessage", "traits": { "smithy.api#documentation": "

The error message returned by this StatementTimeoutException error.

" } }, "dbConnectionId": { "target": "com.amazonaws.rdsdata#Long", "traits": { "smithy.api#documentation": "

The database connection ID that executed the SQL statement.

" } } }, "traits": { "smithy.api#documentation": "

The execution of the SQL statement timed out.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.rdsdata#String": { "type": "string" }, "com.amazonaws.rdsdata#StringArray": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#String" }, "traits": { "smithy.api#documentation": "

An array of strings.

\n \n

Some array entries can be null.

\n
" } }, "com.amazonaws.rdsdata#StructValue": { "type": "structure", "members": { "attributes": { "target": "com.amazonaws.rdsdata#ArrayValueList", "traits": { "smithy.api#documentation": "

The attributes returned in the record.

" } } }, "traits": { "smithy.api#documentation": "

A structure value returned by a call.

" } }, "com.amazonaws.rdsdata#TransactionStatus": { "type": "string", "traits": { "smithy.api#length": { "max": 128 } } }, "com.amazonaws.rdsdata#TypeHint": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "JSON", "name": "JSON" }, { "value": "UUID", "name": "UUID" }, { "value": "TIMESTAMP", "name": "TIMESTAMP" }, { "value": "DATE", "name": "DATE" }, { "value": "TIME", "name": "TIME" }, { "value": "DECIMAL", "name": "DECIMAL" } ] } }, "com.amazonaws.rdsdata#UpdateResult": { "type": "structure", "members": { "generatedFields": { "target": "com.amazonaws.rdsdata#FieldList", "traits": { "smithy.api#documentation": "

Values for fields generated during the request.

" } } }, "traits": { "smithy.api#documentation": "

The response elements represent the results of an update.

" } }, "com.amazonaws.rdsdata#UpdateResults": { "type": "list", "member": { "target": "com.amazonaws.rdsdata#UpdateResult" } }, "com.amazonaws.rdsdata#Value": { "type": "union", "members": { "isNull": { "target": "com.amazonaws.rdsdata#BoxedBoolean", "traits": { "smithy.api#documentation": "

A NULL value.

" } }, "bitValue": { "target": "com.amazonaws.rdsdata#BoxedBoolean", "traits": { "smithy.api#documentation": "

A value for a column of BIT data type.

" } }, "bigIntValue": { "target": "com.amazonaws.rdsdata#BoxedLong", "traits": { "smithy.api#documentation": "

A value for a column of big integer data type.

" } }, "intValue": { "target": "com.amazonaws.rdsdata#BoxedInteger", "traits": { "smithy.api#documentation": "

A value for a column of integer data type.

" } }, "doubleValue": { "target": "com.amazonaws.rdsdata#BoxedDouble", "traits": { "smithy.api#documentation": "

A value for a column of double data type.

" } }, "realValue": { "target": "com.amazonaws.rdsdata#BoxedFloat", "traits": { "smithy.api#documentation": "

A value for a column of real data type.

" } }, "stringValue": { "target": "com.amazonaws.rdsdata#String", "traits": { "smithy.api#documentation": "

A value for a column of string data type.

" } }, "blobValue": { "target": "com.amazonaws.rdsdata#Blob", "traits": { "smithy.api#documentation": "

A value for a column of BLOB data type.

" } }, "arrayValues": { "target": "com.amazonaws.rdsdata#ArrayValueList", "traits": { "smithy.api#documentation": "

An array of column values.

" } }, "structValue": { "target": "com.amazonaws.rdsdata#StructValue", "traits": { "smithy.api#documentation": "

A value for a column of STRUCT data type.

" } } }, "traits": { "smithy.api#documentation": "

Contains the value of a column.

\n \n \n

This data type is deprecated.

\n
" } } } }