Skip to content

LookupEventsRequest

Source code in docs_src/capo_cloudtrail/types/lookup_events_request.py
class LookupEventsRequest(TypedDict, closed=True):
    lookup_attributes: NotRequired[
        "capo_cloudtrail.types.lookup_attributes_list.LookupAttributesList"
    ]
    """<p>Contains a list of lookup attributes. Currently the list can contain only one item.</p>"""
    start_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.</p>"""
    end_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.</p>"""
    event_category: NotRequired["capo_cloudtrail.types.event_category.EventCategory"]
    """<p>Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify <code>insight</code> as the value of <code>EventCategory</code>, no Insights events are returned.</p>"""
    max_results: NotRequired["capo_cloudtrail.types.max_results.MaxResults"]
    """<p>The number of events to return. Possible values are 1 through 50. The default is 50.</p>"""
    next_token: NotRequired["capo_cloudtrail.types.next_token.NextToken"]
    """<p>The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.</p>"""

end_time instance-attribute

end_time: NotRequired[Date]

Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.

event_category instance-attribute

event_category: NotRequired[EventCategory]

Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify insight as the value of EventCategory, no Insights events are returned.

lookup_attributes instance-attribute

lookup_attributes: NotRequired[LookupAttributesList]

Contains a list of lookup attributes. Currently the list can contain only one item.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The number of events to return. Possible values are 1 through 50. The default is 50.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.

start_time instance-attribute

start_time: NotRequired[Date]

Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.