class Aws::DevOpsGuru::Types::ListEventsFilters
Filters you can use to specify which events are returned when `ListEvents` is called.
@note When making an API call, you may pass ListEventsFilters
data as a hash: { insight_id: "InsightId", event_time_range: { from_time: Time.now, # required to_time: Time.now, # required }, event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE event_source: "EventSource", data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY resource_collection: { cloud_formation: { stack_names: ["StackName"], }, }, }
@!attribute [rw] insight_id
An ID of an insight that is related to the events you want to filter for. @return [String]
@!attribute [rw] event_time_range
A time range during which you want the filtered events to have occurred. @return [Types::EventTimeRange]
@!attribute [rw] event_class
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change. @return [String]
@!attribute [rw] event_source
The AWS source that emitted the events you want to filter for. @return [String]
@!attribute [rw] data_source
The source, `AWS_CLOUD_TRAIL` or `AWS_CODE_DEPLOY`, of the events you want returned. @return [String]
@!attribute [rw] resource_collection
A collection of AWS resources supported by DevOps Guru. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks. @return [Types::ResourceCollection]
@see docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
Constants
- SENSITIVE