libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-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.RedshiftData.Types.StatementData

Description

 
Synopsis

Documentation

data StatementData Source #

The SQL statement to run.

See: newStatementData smart constructor.

Constructors

StatementData' 

Fields

Instances

Instances details
Eq StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Read StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Show StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Generic StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Associated Types

type Rep StatementData :: Type -> Type #

NFData StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Methods

rnf :: StatementData -> () #

Hashable StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

FromJSON StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

type Rep StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

newStatementData Source #

Create a value of StatementData 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:status:StatementData', statementData_status - The status of the SQL statement. An example is the that the SQL statement finished.

$sel:createdAt:StatementData', statementData_createdAt - The date and time (UTC) the statement was created.

$sel:queryParameters:StatementData', statementData_queryParameters - The parameters used in a SQL statement.

$sel:queryStrings:StatementData', statementData_queryStrings - One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.

$sel:queryString:StatementData', statementData_queryString - The SQL statement.

$sel:statementName:StatementData', statementData_statementName - The name of the SQL statement.

$sel:updatedAt:StatementData', statementData_updatedAt - The date and time (UTC) that the statement metadata was last updated.

$sel:secretArn:StatementData', statementData_secretArn - The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

$sel:isBatchStatement:StatementData', statementData_isBatchStatement - A value that indicates whether the statement is a batch query request.

$sel:id:StatementData', statementData_id - The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

statementData_status :: Lens' StatementData (Maybe StatusString) Source #

The status of the SQL statement. An example is the that the SQL statement finished.

statementData_createdAt :: Lens' StatementData (Maybe UTCTime) Source #

The date and time (UTC) the statement was created.

statementData_queryParameters :: Lens' StatementData (Maybe (NonEmpty SqlParameter)) Source #

The parameters used in a SQL statement.

statementData_queryStrings :: Lens' StatementData (Maybe [Text]) Source #

One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.

statementData_statementName :: Lens' StatementData (Maybe Text) Source #

The name of the SQL statement.

statementData_updatedAt :: Lens' StatementData (Maybe UTCTime) Source #

The date and time (UTC) that the statement metadata was last updated.

statementData_secretArn :: Lens' StatementData (Maybe Text) Source #

The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

statementData_isBatchStatement :: Lens' StatementData (Maybe Bool) Source #

A value that indicates whether the statement is a batch query request.

statementData_id :: Lens' StatementData Text Source #

The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.