class Aws::CloudWatchLogs::Types::PutLogEventsRequest
@note When making an API call, you may pass PutLogEventsRequest
data as a hash: { log_group_name: "LogGroupName", # required log_stream_name: "LogStreamName", # required log_events: [ # required { timestamp: 1, # required message: "EventMessage", # required }, ], sequence_token: "SequenceToken", }
@!attribute [rw] log_group_name
The name of the log group. @return [String]
@!attribute [rw] log_stream_name
The name of the log stream. @return [String]
@!attribute [rw] log_events
The log events. @return [Array<Types::InputLogEvent>]
@!attribute [rw] sequence_token
The sequence token obtained from the response of the previous `PutLogEvents` call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using [DescribeLogStreams][1]. If you call `PutLogEvents` twice within a narrow time period using the same value for `sequenceToken`, both calls might be successful or one might be rejected. [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest AWS API Documentation
Constants
- SENSITIVE