@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
31 lines (28 loc) • 743 B
text/typescript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import { logsGetRuntimeLogs } from "../funcs/logsGetRuntimeLogs.js";
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import {
GetRuntimeLogsRequest,
GetRuntimeLogsResponseBody,
} from "../models/getruntimelogsop.js";
import { unwrapAsync } from "../types/fp.js";
export class Logs extends ClientSDK {
/**
* Get logs for a deployment
*
* @remarks
* Returns a stream of logs for a given deployment.
*/
async getRuntimeLogs(
request: GetRuntimeLogsRequest,
options?: RequestOptions,
): Promise<GetRuntimeLogsResponseBody> {
return unwrapAsync(logsGetRuntimeLogs(
this,
request,
options,
));
}
}