getStatementResult
inline suspend fun RedshiftDataClient.getStatementResult(crossinline block: GetStatementResultRequest.Builder.() -> Unit): GetStatementResultResponse
Fetches the temporarily cached result of an SQL statement in JSON format. The ExecuteStatement
or BatchExecuteStatement
operation that ran the SQL statement must have specified ResultFormat
as JSON
, or let the format default to JSON. A token is returned to page through the statement results.
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.