UNPKG

@oystehr/sdk

Version:

Oystehr SDK

29 lines (28 loc) 2.13 kB
import { OystehrClientRequest, ZambdaLogStreamGetParams, ZambdaLogStreamGetResponse, ZambdaLogStreamListParams, ZambdaLogStreamListResponse, ZambdaLogStreamSearchParams, ZambdaLogStreamSearchResponse } from '../..'; import { SDKResource } from '../../client/client'; import { OystehrConfig } from '../../config'; export declare class ZambdaLogStream extends SDKResource { #private; constructor(config: OystehrConfig); /** * Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/oystehr/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services. * * Access Policy Action: `Zambda:ReadLogs` * Access Policy Resource: `Zambda:Function` */ list(params: ZambdaLogStreamListParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamListResponse>; /** * Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.oystehr.com/oystehr/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services. * * Access Policy Action: `Zambda:ReadLogs` * Access Policy Resource: `Zambda:Function` */ search(params: ZambdaLogStreamSearchParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamSearchResponse>; /** * Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/oystehr/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services. * * Access Policy Action: `Zambda:ReadLogs` * Access Policy Resource: `Zambda:Function` */ get(params: ZambdaLogStreamGetParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamGetResponse>; }