Amazon Redshift · Schema

DescribeStatementResponse

AnalyticsBig DataCloudData LakeData WarehouseETLMachine LearningServerlessSQL

Properties

Name Type Description
Id string The identifier of the SQL statement
Status string The status of the SQL statement
CreatedAt string The date and time the statement was created
UpdatedAt string The date and time the statement was last updated
Duration integer The time in nanoseconds the statement ran
QueryString string The SQL statement that was executed
QueryParameters array The parameters for the SQL statement
Database string The name of the database
DbUser string The database user
ClusterIdentifier string The cluster identifier
WorkgroupName string The serverless workgroup name
SecretArn string The secret ARN
RedshiftPid integer The process identifier from the Redshift cluster
RedshiftQueryId integer The Redshift query identifier
ResultRows integer Total number of rows in the result set (FINISHED only)
ResultSize integer The size of the result set in bytes
HasResultSet boolean Whether the statement has a result set
Error string The error message if the statement failed
SubStatements array List of sub-statements for a batch execution. Only present for BatchExecuteStatement calls.
View JSON Schema on GitHub