ExecuteStatementOutput
¶
Source code in docs_src/capo_redshift_data/types/execute_statement_output.py
cluster_identifier
instance-attribute
¶
cluster_identifier: NotRequired[ClusterIdentifierString]
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
created_at
instance-attribute
¶
created_at: NotRequired[datetime]
The date and time (UTC) the statement was created.
db_groups
instance-attribute
¶
db_groups: NotRequired[DbGroupList]
A list of colon (:) separated names of database groups.
has_result_set
instance-attribute
¶
has_result_set: NotRequired[BoxedBoolean]
A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set.
id
instance-attribute
¶
id: NotRequired[UUID]
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
redshift_pid
instance-attribute
¶
redshift_pid: NotRequired[BoxedLong]
The process identifier from Amazon Redshift.
secret_arn
instance-attribute
¶
secret_arn: NotRequired[SecretArn]
The name or ARN of the secret that enables access to the database.
status
instance-attribute
¶
status: NotRequired[StatementStatusString]
The status of the SQL statement. Status values are defined as follows:
-
ABORTED - The query run was stopped by the user.
-
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.
workgroup_name
instance-attribute
¶
workgroup_name: NotRequired[WorkgroupNameString]
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.