class Aws::RedshiftDataAPIService::Types::DescribeStatementResponse
@!attribute [rw] cluster_identifier
The cluster identifier. @return [String]
@!attribute [rw] created_at
The date and time (UTC) when the SQL statement was submitted to run. @return [Time]
@!attribute [rw] database
The name of the database. @return [String]
@!attribute [rw] db_user
The database user name. @return [String]
@!attribute [rw] duration
The amount of time in nanoseconds that the statement ran. @return [Integer]
@!attribute [rw] error
The error message from the cluster if the SQL statement encountered an error while running. @return [String]
@!attribute [rw] has_result_set
A value that indicates whether the statement has a result set. The result set can be empty. @return [Boolean]
@!attribute [rw] id
The identifier of the SQL statement described. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. @return [String]
@!attribute [rw] query_parameters
The parameters for the SQL statement. @return [Array<Types::SqlParameter>]
@!attribute [rw] query_string
The SQL statement text. @return [String]
@!attribute [rw] redshift_pid
The process identifier from Amazon Redshift. @return [Integer]
@!attribute [rw] redshift_query_id
The identifier of the query generated by Amazon Redshift. These identifiers are also available in the `query` column of the `STL_QUERY` system view. @return [Integer]
@!attribute [rw] result_rows
Either the number of rows returned from the SQL statement or the number of rows affected. If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. A `-1` indicates the value is null. @return [Integer]
@!attribute [rw] result_size
The size in bytes of the returned results. A `-1` indicates the value is null. @return [Integer]
@!attribute [rw] secret_arn
The name or Amazon Resource Name (ARN) of the secret that enables access to the database. @return [String]
@!attribute [rw] status
The status of the SQL statement being described. Status values are defined as follows: * ABORTED - The query run was stopped by the user. * ALL - A status value that includes all query statuses. This value can be used to filter results. * FAILED - The query run failed. * FINISHED - The query has finished running. * PICKED - The query has been chosen to be run. * STARTED - The query run has started. * SUBMITTED - The query was submitted, but not yet processed. @return [String]
@!attribute [rw] sub_statements
The SQL statements from a multiple statement run. @return [Array<Types::SubStatementData>]
@!attribute [rw] updated_at
The date and time (UTC) that the metadata for the SQL statement was last updated. An example is the time the status last changed. @return [Time]
@see docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatementResponse AWS API Documentation
Constants
- SENSITIVE