@@ -36,7 +36,6 @@ import {
3636 unmarshalListDomainsResponse ,
3737 unmarshalListFunctionRuntimesResponse ,
3838 unmarshalListFunctionsResponse ,
39- unmarshalListLogsResponse ,
4039 unmarshalListNamespacesResponse ,
4140 unmarshalListTokensResponse ,
4241 unmarshalListTriggersResponse ,
@@ -80,8 +79,6 @@ import type {
8079 ListFunctionRuntimesResponse ,
8180 ListFunctionsRequest ,
8281 ListFunctionsResponse ,
83- ListLogsRequest ,
84- ListLogsResponse ,
8582 ListNamespacesRequest ,
8683 ListNamespacesResponse ,
8784 ListTokensRequest ,
@@ -532,37 +529,6 @@ export class API extends ParentAPI {
532529 unmarshalCron ,
533530 )
534531
535- protected pageOfListLogs = ( request : Readonly < ListLogsRequest > ) =>
536- this . client . fetch < ListLogsResponse > (
537- {
538- method : 'GET' ,
539- path : `/functions/v1beta1/regions/${ validatePathParam ( 'region' , request . region ?? this . client . settings . defaultRegion ) } /functions/${ validatePathParam ( 'functionId' , request . functionId ) } /logs` ,
540- urlParams : urlParams (
541- [ 'order_by' , request . orderBy ] ,
542- [ 'page' , request . page ] ,
543- [
544- 'page_size' ,
545- request . pageSize ?? this . client . settings . defaultPageSize ,
546- ] ,
547- ) ,
548- } ,
549- unmarshalListLogsResponse ,
550- )
551-
552- /**
553- * Deprecated (replaced by
554- * [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List
555- * application logs. Deprecated (replaced by
556- * [Cockpit](https://www.scaleway.com/en/developers/api/cockpit/)). List the
557- * application logs of the function with the specified ID.
558- *
559- * @deprecated
560- * @param request - The request {@link ListLogsRequest}
561- * @returns A Promise of ListLogsResponse
562- */
563- listLogs = ( request : Readonly < ListLogsRequest > ) =>
564- enrichForPagination ( 'logs' , this . pageOfListLogs , request )
565-
566532 protected pageOfListDomains = ( request : Readonly < ListDomainsRequest > ) =>
567533 this . client . fetch < ListDomainsResponse > (
568534 {
0 commit comments