Skip to content

GetChannelResponse

Source code in docs_src/capo_s3tables/types/get_channel_response.py
class GetChannelResponse(TypedDict, closed=True):
    state: "capo_s3tables.types.channel_state.ChannelState"
    """<p>The current state of the channel. The state is one of the following values:</p> <ul> <li> <p> <code>active</code> – The channel is operating normally.</p> </li> <li> <p> <code>failing</code> – The channel can't commit rows to the table because of an error that requires your action. For details, see <code>errorCode</code> and <code>errorMessage</code>.</p> </li> </ul>"""
    approximate_number_of_buffered_rows: "int"
    """<p>The approximate number of rows that the channel has buffered and not yet committed to the table.</p>"""
    error_code: NotRequired["capo_s3tables.types.channel_error_code.ChannelErrorCode"]
    """<p>The code of the error that's blocking the channel from committing buffered rows to the table. For how to fix each error, see <code>ChannelErrorCode</code>. <code>GetChannel</code> returns this value only when <code>state</code> is <code>failing</code>.</p>"""
    error_message: NotRequired["str"]
    """<p>A message that describes the error in <code>errorCode</code>. <code>GetChannel</code> returns this value only together with <code>errorCode</code>.</p>"""

approximate_number_of_buffered_rows instance-attribute

approximate_number_of_buffered_rows: int

The approximate number of rows that the channel has buffered and not yet committed to the table.

error_code instance-attribute

error_code: NotRequired[ChannelErrorCode]

The code of the error that's blocking the channel from committing buffered rows to the table. For how to fix each error, see ChannelErrorCode. GetChannel returns this value only when state is failing.

error_message instance-attribute

error_message: NotRequired[str]

A message that describes the error in errorCode. GetChannel returns this value only together with errorCode.

state instance-attribute

state: ChannelState

The current state of the channel. The state is one of the following values:

  • active – The channel is operating normally.

  • failing – The channel can't commit rows to the table because of an error that requires your action. For details, see errorCode and errorMessage.