DescribeStatementResponse
public struct DescribeStatementResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The cluster identifier.
Declaration
Swift
public let clusterIdentifier: String?
-
The date and time (UTC) when the SQL statement was submitted to run.
Declaration
Swift
public let createdAt: TimeStamp?
-
The name of the database.
Declaration
Swift
public let database: String?
-
The database user name.
Declaration
Swift
public let dbUser: String?
-
The amount of time in nanoseconds that the statement ran.
Declaration
Swift
public let duration: Int64?
-
The error message from the cluster if the SQL statement encountered an error while running.
Declaration
Swift
public let error: String?
-
The identifier of the SQL statement described. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
Declaration
Swift
public let id: String
-
The SQL statement text.
Declaration
Swift
public let queryString: String?
-
The process identifier from Amazon Redshift.
Declaration
Swift
public let redshiftPid: Int64?
-
The identifier of the query generated by Amazon Redshift. These identifiers are also available in the query column of the STL_QUERY system view.
Declaration
Swift
public let redshiftQueryId: Int64?
-
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.
Declaration
Swift
public let resultRows: Int64?
-
The size in bytes of the returned results.
Declaration
Swift
public let resultSize: Int64?
-
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
Declaration
Swift
public let secretArn: String?
-
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.
Declaration
Swift
public let status: StatusString?
-
The date and time (UTC) that the metadata for the SQL statement was last updated. An example is the time the status last changed.
Declaration
Swift
public let updatedAt: TimeStamp?
-
init(clusterIdentifier:createdAt:database:dbUser:duration:error:id:queryString:redshiftPid:redshiftQueryId:resultRows:resultSize:secretArn:status:updatedAt:)
Undocumented
Declaration
Swift
public init(clusterIdentifier: String? = nil, createdAt: TimeStamp? = nil, database: String? = nil, dbUser: String? = nil, duration: Int64? = nil, error: String? = nil, id: String, queryString: String? = nil, redshiftPid: Int64? = nil, redshiftQueryId: Int64? = nil, resultRows: Int64? = nil, resultSize: Int64? = nil, secretArn: String? = nil, status: StatusString? = nil, updatedAt: TimeStamp? = nil)