Skip to content

PutLogEventsRequest

Source code in docs_src/capo_cloudwatch_logs/types/put_log_events_request.py
class PutLogEventsRequest(TypedDict, closed=True):
    log_group_name: "capo_cloudwatch_logs.types.log_group_name.LogGroupName"
    """<p>The name of the log group.</p>"""
    log_stream_name: "capo_cloudwatch_logs.types.log_stream_name.LogStreamName"
    """<p>The name of the log stream.</p>"""
    log_events: "capo_cloudwatch_logs.types.input_log_events.InputLogEvents"
    """<p>The log events.</p>"""
    sequence_token: NotRequired[
        "capo_cloudwatch_logs.types.sequence_token.SequenceToken"
    ]
    """<p>The sequence token obtained from the response of the previous <code>PutLogEvents</code> call.</p> <important> <p>The <code>sequenceToken</code> parameter is now ignored in <code>PutLogEvents</code> actions. <code>PutLogEvents</code> actions are now accepted and never return <code>InvalidSequenceTokenException</code> or <code>DataAlreadyAcceptedException</code> even if the sequence token is not valid.</p> </important>"""
    entity: NotRequired["capo_cloudwatch_logs.types.entity.Entity"]
    """<p>The entity associated with the log events.</p>"""

entity instance-attribute

entity: NotRequired[Entity]

The entity associated with the log events.

log_events instance-attribute

log_events: InputLogEvents

The log events.

log_group_name instance-attribute

log_group_name: LogGroupName

The name of the log group.

log_stream_name instance-attribute

log_stream_name: LogStreamName

The name of the log stream.

sequence_token instance-attribute

sequence_token: NotRequired[SequenceToken]

The sequence token obtained from the response of the previous PutLogEvents call.

The sequenceToken parameter is now ignored in PutLogEvents actions. PutLogEvents actions are now accepted and never return InvalidSequenceTokenException or DataAlreadyAcceptedException even if the sequence token is not valid.