AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the PutLogEvents operation. Uploads a batch of log events to the specified log stream.

Every PutLogEvents request must include the sequenceToken obtained from the response of the previous request. An upload in a newly created log stream does not require a sequenceToken.

The batch of events must satisfy the following constraints:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchLogs.AmazonCloudWatchLogsRequest
      Amazon.CloudWatchLogs.Model.PutLogEventsRequest

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class PutLogEventsRequest : AmazonCloudWatchLogsRequest
         IRequestEvents

The PutLogEventsRequest type exposes the following members

Constructors

NameDescription
Public Method PutLogEventsRequest() Empty constructor used to set properties independently even when a simple constructor is available
Public Method PutLogEventsRequest(string, string, List<InputLogEvent>)

Properties

NameTypeDescription
Public Property LogEvents System.Collections.Generic.List<Amazon.CloudWatchLogs.Model.InputLogEvent> Gets and sets the property LogEvents.
Public Property LogGroupName System.String Gets and sets the property LogGroupName.

The name of the log group to put log events to.

Public Property LogStreamName System.String Gets and sets the property LogStreamName.

The name of the log stream to put log events to.

Public Property SequenceToken System.String Gets and sets the property SequenceToken.

A string token that must be obtained from the response of the previous PutLogEvents request.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5