Skip to content

GetStatementResultResponse

Source code in docs_src/capo_redshift_data/types/get_statement_result_response.py
class GetStatementResultResponse(TypedDict, closed=True):
    records: "capo_redshift_data.types.sql_records.SqlRecords"
    """<p>The results of the SQL statement in JSON format.</p>"""
    column_metadata: NotRequired[
        "capo_redshift_data.types.column_metadata_list.ColumnMetadataList"
    ]
    """<p>The properties (metadata) of a column. </p>"""
    total_num_rows: "capo_redshift_data.types.long.Long"
    """<p>The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the <code>GetStatementResult</code> operation needed to page through the results. </p>"""
    next_token: NotRequired["capo_redshift_data.types.string.String"]
    """<p>A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. </p>"""

column_metadata instance-attribute

column_metadata: NotRequired[ColumnMetadataList]

The properties (metadata) of a column.

next_token instance-attribute

next_token: NotRequired[String]

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

records instance-attribute

records: SqlRecords

The results of the SQL statement in JSON format.

total_num_rows instance-attribute

total_num_rows: Long

The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.