@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
28 lines (27 loc) • 1.27 kB
TypeScript
import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi";
import { Configuration } from "../../datadog-api-client-common/configuration";
import { RequestContext, ResponseContext } from "../../datadog-api-client-common/http/http";
import { ServiceList } from "../models/ServiceList";
export declare class APMApiRequestFactory extends BaseAPIRequestFactory {
getServiceList(_options?: Configuration): Promise<RequestContext>;
}
export declare class APMApiResponseProcessor {
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getServiceList
* @throws ApiException if the response code was not in [200, 299]
*/
getServiceList(response: ResponseContext): Promise<ServiceList>;
}
export declare class APMApi {
private requestFactory;
private responseProcessor;
private configuration;
constructor(configuration: Configuration, requestFactory?: APMApiRequestFactory, responseProcessor?: APMApiResponseProcessor);
/**
* @param param The request object
*/
getServiceList(options?: Configuration): Promise<ServiceList>;
}