import * as pulumi from "@pulumi/pulumi"; /** * Retrieves a debug session. */ export declare function getDebugSession(args: GetDebugSessionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDebugSessionArgs { apiId: string; debugsessionId: string; environmentId: string; organizationId: string; revisionId: string; } export interface GetDebugSessionResult { /** * Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10. */ readonly count: number; /** * The first transaction creation timestamp, recorded by UAP. */ readonly createTime: string; /** * Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition. */ readonly filter: string; /** * A unique ID for this DebugSession. */ readonly name: string; /** * Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided. */ readonly timeout: string; /** * Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120. */ readonly tracesize: number; /** * Optional. The length of time, in seconds, that this debug session is valid, starting from when it's received in the control plane. Min = 1, Max = 15, Default = 10. */ readonly validity: number; } /** * Retrieves a debug session. */ export declare function getDebugSessionOutput(args: GetDebugSessionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDebugSessionOutputArgs { apiId: pulumi.Input; debugsessionId: pulumi.Input; environmentId: pulumi.Input; organizationId: pulumi.Input; revisionId: pulumi.Input; }