libZSservicesZSamazonka-rds-dataZSamazonka-rds-data
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDSData

Description

Derived from API version 2018-08-01 of the AWS service descriptions, licensed under Apache 2.0.

Amazon RDS Data Service

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

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

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-08-01 of the Amazon RDS DataService SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by RDSData.

StatementTimeoutException

_StatementTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The execution of the SQL statement timed out.

ForbiddenException

_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

There are insufficient privileges to make the call.

NotFoundException

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ServiceUnavailableError

_ServiceUnavailableError :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service specified by the resourceArn parameter is not available.

InternalServerErrorException

BadRequestException

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

RollbackTransaction

data RollbackTransaction Source #

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

See: newRollbackTransaction smart constructor.

Instances

Instances details
Eq RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Read RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Show RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Generic RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Associated Types

type Rep RollbackTransaction :: Type -> Type #

NFData RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Methods

rnf :: RollbackTransaction -> () #

Hashable RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

ToJSON RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

AWSRequest RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Associated Types

type AWSResponse RollbackTransaction #

ToHeaders RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

ToPath RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

ToQuery RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransaction = D1 ('MetaData "RollbackTransaction" "Amazonka.RDSData.RollbackTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "RollbackTransaction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

newRollbackTransaction Source #

Create a value of RollbackTransaction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:RollbackTransaction', rollbackTransaction_resourceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

$sel:secretArn:RollbackTransaction', rollbackTransaction_secretArn - The name or ARN of the secret that enables access to the DB cluster.

$sel:transactionId:RollbackTransaction', rollbackTransaction_transactionId - The identifier of the transaction to roll back.

data RollbackTransactionResponse Source #

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

See: newRollbackTransactionResponse smart constructor.

Instances

Instances details
Eq RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Read RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Show RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Generic RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Associated Types

type Rep RollbackTransactionResponse :: Type -> Type #

NFData RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransactionResponse = D1 ('MetaData "RollbackTransactionResponse" "Amazonka.RDSData.RollbackTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "RollbackTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRollbackTransactionResponse Source #

Create a value of RollbackTransactionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:transactionStatus:RollbackTransactionResponse', rollbackTransactionResponse_transactionStatus - The status of the rollback operation.

$sel:httpStatus:RollbackTransactionResponse', rollbackTransactionResponse_httpStatus - The response's http status code.

BeginTransaction

data BeginTransaction Source #

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

See: newBeginTransaction smart constructor.

Instances

Instances details
Eq BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Read BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Show BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Generic BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Associated Types

type Rep BeginTransaction :: Type -> Type #

NFData BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Methods

rnf :: BeginTransaction -> () #

Hashable BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

ToJSON BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

AWSRequest BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Associated Types

type AWSResponse BeginTransaction #

ToHeaders BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

ToPath BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

ToQuery BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

type Rep BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

type Rep BeginTransaction = D1 ('MetaData "BeginTransaction" "Amazonka.RDSData.BeginTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "BeginTransaction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse BeginTransaction Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

newBeginTransaction Source #

Create a value of BeginTransaction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:database:BeginTransaction', beginTransaction_database - The name of the database.

$sel:schema:BeginTransaction', beginTransaction_schema - The name of the database schema.

$sel:resourceArn:BeginTransaction', beginTransaction_resourceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

$sel:secretArn:BeginTransaction', beginTransaction_secretArn - The name or ARN of the secret that enables access to the DB cluster.

data BeginTransactionResponse Source #

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

See: newBeginTransactionResponse smart constructor.

Instances

Instances details
Eq BeginTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Read BeginTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Show BeginTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Generic BeginTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

Associated Types

type Rep BeginTransactionResponse :: Type -> Type #

NFData BeginTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

type Rep BeginTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.BeginTransaction

type Rep BeginTransactionResponse = D1 ('MetaData "BeginTransactionResponse" "Amazonka.RDSData.BeginTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "BeginTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBeginTransactionResponse Source #

Create a value of BeginTransactionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:transactionId:BeginTransactionResponse', beginTransactionResponse_transactionId - The transaction ID of the transaction started by the call.

$sel:httpStatus:BeginTransactionResponse', beginTransactionResponse_httpStatus - The response's http status code.

BatchExecuteStatement

data BatchExecuteStatement Source #

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

See: newBatchExecuteStatement smart constructor.

Instances

Instances details
Eq BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Read BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Show BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Generic BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatement :: Type -> Type #

NFData BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Methods

rnf :: BatchExecuteStatement -> () #

Hashable BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

ToJSON BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

AWSRequest BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Associated Types

type AWSResponse BatchExecuteStatement #

ToHeaders BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

ToPath BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

ToQuery BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

type Rep BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

type Rep BatchExecuteStatement = D1 ('MetaData "BatchExecuteStatement" "Amazonka.RDSData.BatchExecuteStatement" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "BatchExecuteStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parameterSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [[SqlParameter]])) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sql") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

newBatchExecuteStatement Source #

Create a value of BatchExecuteStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:database:BatchExecuteStatement', batchExecuteStatement_database - The name of the database.

$sel:parameterSets:BatchExecuteStatement', batchExecuteStatement_parameterSets - 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.

$sel:transactionId:BatchExecuteStatement', batchExecuteStatement_transactionId - 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.

$sel:schema:BatchExecuteStatement', batchExecuteStatement_schema - The name of the database schema.

$sel:resourceArn:BatchExecuteStatement', batchExecuteStatement_resourceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

$sel:secretArn:BatchExecuteStatement', batchExecuteStatement_secretArn - The name or ARN of the secret that enables access to the DB cluster.

$sel:sql:BatchExecuteStatement', batchExecuteStatement_sql - The SQL statement to run.

data BatchExecuteStatementResponse Source #

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

See: newBatchExecuteStatementResponse smart constructor.

Instances

Instances details
Eq BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Read BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Show BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Generic BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatementResponse :: Type -> Type #

NFData BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

type Rep BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.BatchExecuteStatement

type Rep BatchExecuteStatementResponse = D1 ('MetaData "BatchExecuteStatementResponse" "Amazonka.RDSData.BatchExecuteStatement" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "BatchExecuteStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UpdateResult])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchExecuteStatementResponse Source #

Create a value of BatchExecuteStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:updateResults:BatchExecuteStatementResponse', batchExecuteStatementResponse_updateResults - The execution results of each batch entry.

$sel:httpStatus:BatchExecuteStatementResponse', batchExecuteStatementResponse_httpStatus - The response's http status code.

ExecuteStatement

data ExecuteStatement Source #

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

See: newExecuteStatement smart constructor.

Instances

Instances details
Eq ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Read ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Show ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Generic ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Associated Types

type Rep ExecuteStatement :: Type -> Type #

NFData ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Methods

rnf :: ExecuteStatement -> () #

Hashable ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

ToJSON ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

AWSRequest ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Associated Types

type AWSResponse ExecuteStatement #

ToHeaders ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

ToPath ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

ToQuery ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

type Rep ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

type AWSResponse ExecuteStatement Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

newExecuteStatement Source #

Create a value of ExecuteStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:database:ExecuteStatement', executeStatement_database - The name of the database.

$sel:transactionId:ExecuteStatement', executeStatement_transactionId - 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.

$sel:schema:ExecuteStatement', executeStatement_schema - The name of the database schema.

Currently, the schema parameter isn't supported.

$sel:parameters:ExecuteStatement', executeStatement_parameters - The parameters for the SQL statement.

Array parameters are not supported.

$sel:includeResultMetadata:ExecuteStatement', executeStatement_includeResultMetadata - A value that indicates whether to include metadata in the results.

$sel:resultSetOptions:ExecuteStatement', executeStatement_resultSetOptions - Options that control how the result set is returned.

$sel:continueAfterTimeout:ExecuteStatement', executeStatement_continueAfterTimeout - 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.

$sel:resourceArn:ExecuteStatement', executeStatement_resourceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

$sel:secretArn:ExecuteStatement', executeStatement_secretArn - The name or ARN of the secret that enables access to the DB cluster.

$sel:sql:ExecuteStatement', executeStatement_sql - The SQL statement to run.

data ExecuteStatementResponse Source #

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

See: newExecuteStatementResponse smart constructor.

Instances

Instances details
Eq ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Read ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Show ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Generic ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

Associated Types

type Rep ExecuteStatementResponse :: Type -> Type #

NFData ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

type Rep ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RDSData.ExecuteStatement

type Rep ExecuteStatementResponse = D1 ('MetaData "ExecuteStatementResponse" "Amazonka.RDSData.ExecuteStatement" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ExecuteStatementResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "records") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [[Field]])) :*: S1 ('MetaSel ('Just "columnMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnMetadata]))) :*: (S1 ('MetaSel ('Just "generatedFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Field])) :*: (S1 ('MetaSel ('Just "numberOfRecordsUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newExecuteStatementResponse Source #

Create a value of ExecuteStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:records:ExecuteStatementResponse', executeStatementResponse_records - The records returned by the SQL statement.

$sel:columnMetadata:ExecuteStatementResponse', executeStatementResponse_columnMetadata - Metadata for the columns included in the results.

$sel:generatedFields:ExecuteStatementResponse', executeStatementResponse_generatedFields - Values for fields generated during the request.

 <note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>

$sel:numberOfRecordsUpdated:ExecuteStatementResponse', executeStatementResponse_numberOfRecordsUpdated - The number of records updated by the request.

$sel:httpStatus:ExecuteStatementResponse', executeStatementResponse_httpStatus - The response's http status code.

CommitTransaction

data CommitTransaction Source #

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

See: newCommitTransaction smart constructor.

Instances

Instances details
Eq CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Read CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Show CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Generic CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type Rep CommitTransaction :: Type -> Type #

NFData CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Methods

rnf :: CommitTransaction -> () #

Hashable CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToJSON CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

AWSRequest CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type AWSResponse CommitTransaction #

ToHeaders CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToPath CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToQuery CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransaction = D1 ('MetaData "CommitTransaction" "Amazonka.RDSData.CommitTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "CommitTransaction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

newCommitTransaction Source #

Create a value of CommitTransaction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:CommitTransaction', commitTransaction_resourceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

$sel:secretArn:CommitTransaction', commitTransaction_secretArn - The name or ARN of the secret that enables access to the DB cluster.

$sel:transactionId:CommitTransaction', commitTransaction_transactionId - The identifier of the transaction to end and commit.

data CommitTransactionResponse Source #

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

See: newCommitTransactionResponse smart constructor.

Instances

Instances details
Eq CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Read CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Show CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Generic CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type Rep CommitTransactionResponse :: Type -> Type #

NFData CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransactionResponse = D1 ('MetaData "CommitTransactionResponse" "Amazonka.RDSData.CommitTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "CommitTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCommitTransactionResponse Source #

Create a value of CommitTransactionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:transactionStatus:CommitTransactionResponse', commitTransactionResponse_transactionStatus - The status of the commit operation.

$sel:httpStatus:CommitTransactionResponse', commitTransactionResponse_httpStatus - The response's http status code.

Types

DecimalReturnType

newtype DecimalReturnType Source #

Instances

Instances details
Eq DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Ord DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Read DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Show DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Generic DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Associated Types

type Rep DecimalReturnType :: Type -> Type #

NFData DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

Methods

rnf :: DecimalReturnType -> () #

Hashable DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToJSON DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToJSONKey DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromJSON DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromJSONKey DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToLog DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToHeader DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToQuery DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromXML DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToXML DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToByteString DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

FromText DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

ToText DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

type Rep DecimalReturnType Source # 
Instance details

Defined in Amazonka.RDSData.Types.DecimalReturnType

type Rep DecimalReturnType = D1 ('MetaData "DecimalReturnType" "Amazonka.RDSData.Types.DecimalReturnType" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'True) (C1 ('MetaCons "DecimalReturnType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDecimalReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TypeHint

newtype TypeHint Source #

Constructors

TypeHint' 

Fields

Bundled Patterns

pattern TypeHint_DATE :: TypeHint 
pattern TypeHint_DECIMAL :: TypeHint 
pattern TypeHint_JSON :: TypeHint 
pattern TypeHint_TIME :: TypeHint 
pattern TypeHint_TIMESTAMP :: TypeHint 
pattern TypeHint_UUID :: TypeHint 

Instances

Instances details
Eq TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Ord TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Read TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Show TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Generic TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Associated Types

type Rep TypeHint :: Type -> Type #

Methods

from :: TypeHint -> Rep TypeHint x #

to :: Rep TypeHint x -> TypeHint #

NFData TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

rnf :: TypeHint -> () #

Hashable TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

hashWithSalt :: Int -> TypeHint -> Int #

hash :: TypeHint -> Int #

ToJSON TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToJSONKey TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromJSON TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromJSONKey TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToLog TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToHeader TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toHeader :: HeaderName -> TypeHint -> [Header] #

ToQuery TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

FromXML TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToXML TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toXML :: TypeHint -> XML #

ToByteString TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toBS :: TypeHint -> ByteString #

FromText TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

ToText TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

Methods

toText :: TypeHint -> Text #

type Rep TypeHint Source # 
Instance details

Defined in Amazonka.RDSData.Types.TypeHint

type Rep TypeHint = D1 ('MetaData "TypeHint" "Amazonka.RDSData.Types.TypeHint" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'True) (C1 ('MetaCons "TypeHint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTypeHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ArrayValue

data ArrayValue Source #

Contains an array.

See: newArrayValue smart constructor.

Instances

Instances details
Eq ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Read ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Show ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Generic ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Associated Types

type Rep ArrayValue :: Type -> Type #

NFData ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

Methods

rnf :: ArrayValue -> () #

Hashable ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

ToJSON ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

FromJSON ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

type Rep ArrayValue Source # 
Instance details

Defined in Amazonka.RDSData.Types.ArrayValue

type Rep ArrayValue = D1 ('MetaData "ArrayValue" "Amazonka.RDSData.Types.ArrayValue" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ArrayValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "longValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Integer])) :*: S1 ('MetaSel ('Just "doubleValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Double]))) :*: (S1 ('MetaSel ('Just "stringValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "arrayValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ArrayValue])) :*: S1 ('MetaSel ('Just "booleanValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Bool]))))))

newArrayValue :: ArrayValue Source #

Create a value of ArrayValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:longValues:ArrayValue', arrayValue_longValues - An array of floating point numbers.

$sel:doubleValues:ArrayValue', arrayValue_doubleValues - An array of integers.

$sel:stringValues:ArrayValue', arrayValue_stringValues - An array of strings.

$sel:arrayValues:ArrayValue', arrayValue_arrayValues - An array of arrays.

$sel:booleanValues:ArrayValue', arrayValue_booleanValues - An array of Boolean values.

ColumnMetadata

data ColumnMetadata Source #

Contains the metadata for a column.

See: newColumnMetadata smart constructor.

Instances

Instances details
Eq ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Read ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Show ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Generic ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Associated Types

type Rep ColumnMetadata :: Type -> Type #

NFData ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

Methods

rnf :: ColumnMetadata -> () #

Hashable ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

FromJSON ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

type Rep ColumnMetadata Source # 
Instance details

Defined in Amazonka.RDSData.Types.ColumnMetadata

type Rep ColumnMetadata = D1 ('MetaData "ColumnMetadata" "Amazonka.RDSData.Types.ColumnMetadata" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ColumnMetadata'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isCaseSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isAutoIncrement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arrayBaseColumnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "isSigned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newColumnMetadata :: ColumnMetadata Source #

Create a value of ColumnMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:typeName:ColumnMetadata', columnMetadata_typeName - The database-specific data type of the column.

$sel:isCaseSensitive:ColumnMetadata', columnMetadata_isCaseSensitive - A value that indicates whether the column is case-sensitive.

$sel:isCurrency:ColumnMetadata', columnMetadata_isCurrency - A value that indicates whether the column contains currency values.

$sel:scale:ColumnMetadata', columnMetadata_scale - The scale value of a decimal number column.

$sel:precision:ColumnMetadata', columnMetadata_precision - The precision value of a decimal number column.

$sel:schemaName:ColumnMetadata', columnMetadata_schemaName - The name of the schema that owns the table that includes the column.

$sel:isAutoIncrement:ColumnMetadata', columnMetadata_isAutoIncrement - A value that indicates whether the column increments automatically.

$sel:name:ColumnMetadata', columnMetadata_name - The name of the column.

$sel:arrayBaseColumnType:ColumnMetadata', columnMetadata_arrayBaseColumnType - The type of the column.

$sel:type':ColumnMetadata', columnMetadata_type - The type of the column.

$sel:isSigned:ColumnMetadata', columnMetadata_isSigned - A value that indicates whether an integer column is signed.

$sel:label:ColumnMetadata', columnMetadata_label - The label for the column.

$sel:nullable:ColumnMetadata', columnMetadata_nullable - A value that indicates whether the column is nullable.

$sel:tableName:ColumnMetadata', columnMetadata_tableName - The name of the table that includes the column.

Field

data Field Source #

Contains a value.

See: newField smart constructor.

Instances

Instances details
Eq Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Read Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Show Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

NFData Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

rnf :: Field -> () #

Hashable Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

ToJSON Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

FromJSON Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

type Rep Field Source # 
Instance details

Defined in Amazonka.RDSData.Types.Field

newField :: Field Source #

Create a value of Field with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:doubleValue:Field', field_doubleValue - A value of double data type.

$sel:stringValue:Field', field_stringValue - A value of string data type.

$sel:longValue:Field', field_longValue - A value of long data type.

$sel:booleanValue:Field', field_booleanValue - A value of Boolean data type.

$sel:arrayValue:Field', field_arrayValue - An array of values.

$sel:blobValue:Field', field_blobValue - A value of BLOB data type.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:isNull:Field', field_isNull - A NULL value.

ResultSetOptions

data ResultSetOptions Source #

Options that control how the result set is returned.

See: newResultSetOptions smart constructor.

Instances

Instances details
Eq ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Read ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Show ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Generic ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Associated Types

type Rep ResultSetOptions :: Type -> Type #

NFData ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

Methods

rnf :: ResultSetOptions -> () #

Hashable ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

ToJSON ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

type Rep ResultSetOptions Source # 
Instance details

Defined in Amazonka.RDSData.Types.ResultSetOptions

type Rep ResultSetOptions = D1 ('MetaData "ResultSetOptions" "Amazonka.RDSData.Types.ResultSetOptions" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "ResultSetOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "decimalReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DecimalReturnType))))

newResultSetOptions :: ResultSetOptions Source #

Create a value of ResultSetOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:decimalReturnType:ResultSetOptions', resultSetOptions_decimalReturnType - 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.

SqlParameter

data SqlParameter Source #

A parameter used in a SQL statement.

See: newSqlParameter smart constructor.

Instances

Instances details
Eq SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Read SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Show SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Generic SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Associated Types

type Rep SqlParameter :: Type -> Type #

NFData SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

Methods

rnf :: SqlParameter -> () #

Hashable SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

ToJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

type Rep SqlParameter Source # 
Instance details

Defined in Amazonka.RDSData.Types.SqlParameter

type Rep SqlParameter = D1 ('MetaData "SqlParameter" "Amazonka.RDSData.Types.SqlParameter" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "SqlParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Field)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "typeHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeHint)))))

newSqlParameter :: SqlParameter Source #

Create a value of SqlParameter with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:value:SqlParameter', sqlParameter_value - The value of the parameter.

$sel:name:SqlParameter', sqlParameter_name - The name of the parameter.

$sel:typeHint:SqlParameter', sqlParameter_typeHint - 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.

UpdateResult

data UpdateResult Source #

The response elements represent the results of an update.

See: newUpdateResult smart constructor.

Constructors

UpdateResult' (Maybe [Field]) 

Instances

Instances details
Eq UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Read UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Show UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Generic UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Associated Types

type Rep UpdateResult :: Type -> Type #

NFData UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

Methods

rnf :: UpdateResult -> () #

Hashable UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

FromJSON UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

type Rep UpdateResult Source # 
Instance details

Defined in Amazonka.RDSData.Types.UpdateResult

type Rep UpdateResult = D1 ('MetaData "UpdateResult" "Amazonka.RDSData.Types.UpdateResult" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "UpdateResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "generatedFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Field]))))

newUpdateResult :: UpdateResult Source #

Create a value of UpdateResult with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:generatedFields:UpdateResult', updateResult_generatedFields - Values for fields generated during the request.