PutLogEventsRequest
import type { PutLogEventsRequest } from "https://aws-api.deno.dev/v0.3/services/cloudwatchlogs.ts?docs=full";
interface PutLogEventsRequest {
logEvents: InputLogEvent[];
logGroupName: string;
logStreamName: string;
sequenceToken?: string | null;
}§Properties
§
logEvents: InputLogEvent[]
[src]The log events.
§
sequenceToken?: string | null
[src]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.
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.