The DescribeEvents operation returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
 Declaration Syntax
 Declaration Syntax| C# | 
DescribeEventsResponse DescribeEvents()
 Return Value
 Return ValueThe response from the DescribeEvents service method, as returned by AmazonElastiCache.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InvalidParameterValueException | |
| InvalidParameterCombinationException |