FilterLogEventsRequest

public struct FilterLogEventsRequest : AWSShape
extension CloudWatchLogs.FilterLogEventsRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not returned.

    Declaration

    Swift

    public let endTime: Int64?
  • The filter pattern to use. For more information, see Filter and Pattern Syntax. If not provided, all the events are matched.

    Declaration

    Swift

    public let filterPattern: String?
  • The maximum number of events to return. The default is 10,000 events.

    Declaration

    Swift

    public let limit: Int?
  • The name of the log group to search.

    Declaration

    Swift

    public let logGroupName: String
  • Filters the results to include only events from log streams that have names starting with this prefix. If you specify a value for both logStreamNamePrefix and logStreamNames, but the value for logStreamNamePrefix does not match any log stream names specified in logStreamNames, the action returns an InvalidParameterException error.

    Declaration

    Swift

    public let logStreamNamePrefix: String?
  • Filters the results to only logs from the log streams in this list. If you specify a value for both logStreamNamePrefix and logStreamNames, the action returns an InvalidParameterException error.

    Declaration

    Swift

    public let logStreamNames: [String]?
  • The token for the next set of events to return. (You received this token from a previous call.)

    Declaration

    Swift

    public let nextToken: String?
  • The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not returned. If you omit startTime and endTime the most recent log events are retrieved, to up 1 MB or 10,000 log events.

    Declaration

    Swift

    public let startTime: Int64?
  • Undocumented

    Declaration

    Swift

    public init(endTime: Int64? = nil, filterPattern: String? = nil, limit: Int? = nil, logGroupName: String, logStreamNamePrefix: String? = nil, logStreamNames: [String]? = nil, nextToken: String? = nil, startTime: Int64? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws