Describe Events
| elasticache_describe_events | R Documentation |
Returns events related to clusters, cache security groups, and cache parameter groups¶
Description¶
Returns events related to clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular 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.
Usage¶
elasticache_describe_events(SourceIdentifier, SourceType, StartTime,
EndTime, Duration, MaxRecords, Marker)
Arguments¶
SourceIdentifierThe identifier of the event source for which events are returned. If not specified, all sources are included in the response.
SourceTypeThe event source to retrieve events for. If no value is specified, all events are returned.
StartTimeThe beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
EndTimeThe end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2017-03-30T07:03:49.555Z
DurationThe number of minutes worth of events to retrieve.
MaxRecordsThe maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
MarkerAn optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.
Value¶
A list with the following syntax:
list(
Marker = "string",
Events = list(
list(
SourceIdentifier = "string",
SourceType = "cache-cluster"|"cache-parameter-group"|"cache-security-group"|"cache-subnet-group"|"replication-group"|"serverless-cache"|"serverless-cache-snapshot"|"user"|"user-group",
Message = "string",
Date = as.POSIXct(
"2015-01-01"
)
)
)
)
Request syntax¶
svc$describe_events(
SourceIdentifier = "string",
SourceType = "cache-cluster"|"cache-parameter-group"|"cache-security-group"|"cache-subnet-group"|"replication-group"|"serverless-cache"|"serverless-cache-snapshot"|"user"|"user-group",
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
),
Duration = 123,
MaxRecords = 123,
Marker = "string"
)