listStatements
inline suspend fun RedshiftDataClient.listStatements(crossinline block: ListStatementsRequest.Builder.() -> Unit): ListStatementsResponse
List of SQL statements. By default, only finished statements are shown. A token is returned to page through the statement list.
When you use identity-enhanced role sessions to list statements, you must provide either the cluster-identifier
or workgroup-name
parameter. This ensures that the IdC user can only access the Amazon Redshift IdC applications they are assigned. For more information, see Trusted identity propagation overview.
For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.