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.
timestamp
.
By default, this operation returns as much log events as can fit in a response size
of 1MB, up to 10,000 log events. The response will always include a nextForwardToken
and a nextBackwardToken
in the response body. You can use
any of these tokens in subsequent GetLogEvents
requests
to paginate through events in either forward or backward direction. You can also limit
the number of log events returned in the response by specifying the limit
parameter in the request.
Namespace: Amazon.CloudWatchLogs
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract GetLogEventsResponse GetLogEvents( GetLogEventsRequest request )
Container for the necessary parameters to execute the GetLogEvents service method.
Exception | Condition |
---|---|
InvalidParameterException | Returned if a parameter of the request is incorrectly specified. |
ResourceNotFoundException | Returned if the specified resource does not exist. |
ServiceUnavailableException | Returned if the service cannot complete the request. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5