LookupEventsRequest
public struct LookupEventsRequest : AWSShape
extension CloudTrail.LookupEventsRequest: AWSPaginateStringToken
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let endTime: TimeStamp?
-
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.
Declaration
Swift
public let eventCategory: EventCategory?
-
Contains a list of lookup attributes. Currently the list can contain only one item.
Declaration
Swift
public let lookupAttributes: [LookupAttribute]?
-
The number of events to return. Possible values are 1 through 50. The default is 50.
Declaration
Swift
public let maxResults: Int?
-
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 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.
Declaration
Swift
public let nextToken: String?
-
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.
Declaration
Swift
public let startTime: TimeStamp?
-
Undocumented
Declaration
Swift
public init(endTime: TimeStamp? = nil, eventCategory: EventCategory? = nil, lookupAttributes: [LookupAttribute]? = nil, maxResults: Int? = nil, nextToken: String? = nil, startTime: TimeStamp? = nil)
-
Declaration
Swift
public func validate(name: String) throws
-
Undocumented
Declaration
Swift
public func usingPaginationToken(_ token: String) -> CloudTrail.LookupEventsRequest