Skip to content

PutLogEventsResponse

Source code in docs_src/capo_cloudwatch_logs/types/put_log_events_response.py
class PutLogEventsResponse(TypedDict, closed=True):
    next_sequence_token: NotRequired[
        "capo_cloudwatch_logs.types.sequence_token.SequenceToken"
    ]
    """<p>The next sequence token.</p> <important> <p>This field has been deprecated.</p> <p>The sequence token is now ignored in <code>PutLogEvents</code> actions. <code>PutLogEvents</code> actions are always accepted even if the sequence token is not valid. You can use parallel <code>PutLogEvents</code> actions on the same log stream and you do not need to wait for the response of a previous <code>PutLogEvents</code> action to obtain the <code>nextSequenceToken</code> value.</p> </important>"""
    rejected_log_events_info: NotRequired[
        "capo_cloudwatch_logs.types.rejected_log_events_info.RejectedLogEventsInfo"
    ]
    """<p>The rejected events.</p>"""
    rejected_entity_info: NotRequired[
        "capo_cloudwatch_logs.types.rejected_entity_info.RejectedEntityInfo"
    ]
    """<p>Information about why the entity is rejected when calling <code>PutLogEvents</code>. Only returned when the entity is rejected.</p> <note> <p>When the entity is rejected, the events may still be accepted.</p> </note>"""

next_sequence_token instance-attribute

next_sequence_token: NotRequired[SequenceToken]

The next sequence token.

This field has been deprecated.

The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted even if the sequence token is not valid. You can use parallel PutLogEvents actions on the same log stream and you do not need to wait for the response of a previous PutLogEvents action to obtain the nextSequenceToken value.

rejected_entity_info instance-attribute

rejected_entity_info: NotRequired[RejectedEntityInfo]

Information about why the entity is rejected when calling PutLogEvents. Only returned when the entity is rejected.

When the entity is rejected, the events may still be accepted.

rejected_log_events_info instance-attribute

rejected_log_events_info: NotRequired[RejectedLogEventsInfo]

The rejected events.