Returns list of event descriptions matching criteria up to the last 6 weeks¶
Description¶
Returns list of event descriptions matching criteria up to the last 6 weeks.
This action returns the most recent 1,000 events from the specified NextToken.
This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three resources. When the user calls the this action, the response will only include the one resource that the user has permission to access instead of all three resources. If the user doesn’t have access to any of the resources an empty result is returned.
The AWSElasticBeanstalkReadOnly managed policy allows operators to view information about resources related to Elastic Beanstalk. For more information, see Managing Elastic Beanstalk user policies in the Elastic Beanstalk Developer Guide. For detailed instructions to attach a policy to a user or group, see the section Controlling access with managed policies in the same topic.
Usage¶
elasticbeanstalk_describe_events(ApplicationName, VersionLabel,
TemplateName, EnvironmentId, EnvironmentName, PlatformArn, RequestId,
Severity, StartTime, EndTime, MaxRecords, NextToken)
Arguments¶
-
ApplicationNameIf specified, Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
-
VersionLabelIf specified, Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
-
TemplateNameIf specified, Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
-
EnvironmentIdIf specified, Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
-
EnvironmentNameIf specified, Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
-
PlatformArnThe ARN of a custom platform version. If specified, Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
-
RequestIdIf specified, Elastic Beanstalk restricts the described events to include only those associated with this request ID.
-
SeverityIf specified, limits the events returned from this call to include only those with the specified severity or higher.
-
StartTimeIf specified, Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
-
EndTimeIf specified, Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the
EndTime. -
MaxRecordsSpecifies the maximum number of events that can be returned, beginning with the most recent event.
-
NextTokenPagination token. If specified, the events return the next batch of results.
Value¶
A list with the following syntax:
list(
Events = list(
list(
EventDate = as.POSIXct(
"2015-01-01"
),
Message = "string",
ApplicationName = "string",
VersionLabel = "string",
TemplateName = "string",
EnvironmentName = "string",
PlatformArn = "string",
RequestId = "string",
Severity = "TRACE"|"DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL"
)
),
NextToken = "string"
)
Request syntax¶
svc$describe_events(
ApplicationName = "string",
VersionLabel = "string",
TemplateName = "string",
EnvironmentId = "string",
EnvironmentName = "string",
PlatformArn = "string",
RequestId = "string",
Severity = "TRACE"|"DEBUG"|"INFO"|"WARN"|"ERROR"|"FATAL",
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
),
MaxRecords = 123,
NextToken = "string"
)