/** * @type LogpushCreateRequest: Request for create Logpush job. * * @property destinationPath: Uniquely identifies s3 bucket for logs. Additional configuration parameters like region can be included. The string {DATE} in the URL path to separate logs into daily subdirectories; for example `s3://customer-bucket/logs/{DATE}?region=us-east-1&sse=AES256` The name of the directory will be replaced with the date in YYYYMMDD format (e.g. 20220215) when the logs are stored. * - **Pattern:** /^.*$/ * * @property name: Logpush job name; the name cannot be changed after the job is created. * - **Pattern:** /^.*$/ * * @property filter: Filter provides a way to customize which logs you want to receive. Filters are added as escaped JSON strings formatted. Default will include all logs. * - **Pattern:** /^.*$/ * * @property logFields: List of log fields. Depending on the type of log, the list of fields that you would like to see in the logs may vary. * * @property ownershipChallengeToken: Ownership token to proves the ownership of the destinationPath. * - **Pattern:** /^.*$/ * * @property enabled: Enable logpush job while creating it. * * @property logType: Type of logs. Available log types are `http_requests`, `firewall_events`, and `page_shield_events`. * */ export type LogpushCreateRequest = { destinationPath: string; name: string; filter?: string; logFields: Array; ownershipChallengeToken?: string; enabled?: boolean; logType: LogpushCreateRequestLogTypeEnum; } & { [key: string]: any; }; export type LogpushCreateRequestLogTypeEnum = 'http_requests' | 'firewall_events' | 'page_shield_events';