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 { RumConfigCreateRequest } from "../models/RumConfigCreateRequest"; import { RumConfigResponse } from "../models/RumConfigResponse"; import { RumConfigUpdateRequest } from "../models/RumConfigUpdateRequest"; export declare class RUMConfigApiRequestFactory extends BaseAPIRequestFactory { createRumConfig(body: RumConfigCreateRequest, _options?: Configuration): Promise; getRumConfig(_options?: Configuration): Promise; updateRumConfig(body: RumConfigUpdateRequest, _options?: Configuration): Promise; } export declare class RUMConfigApiResponseProcessor { /** * 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 createRumConfig * @throws ApiException if the response code was not in [200, 299] */ createRumConfig(response: ResponseContext): Promise; /** * 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 getRumConfig * @throws ApiException if the response code was not in [200, 299] */ getRumConfig(response: ResponseContext): Promise; /** * 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 updateRumConfig * @throws ApiException if the response code was not in [200, 299] */ updateRumConfig(response: ResponseContext): Promise; } export interface RUMConfigApiCreateRumConfigRequest { /** * The definition of the RUM configuration to create. * @type RumConfigCreateRequest */ body: RumConfigCreateRequest; } export interface RUMConfigApiUpdateRumConfigRequest { /** * New definition of the RUM configuration. * @type RumConfigUpdateRequest */ body: RumConfigUpdateRequest; } export declare class RUMConfigApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: RUMConfigApiRequestFactory, responseProcessor?: RUMConfigApiResponseProcessor); /** * Create the RUM configuration for your organization. * Returns the RUM configuration object from the request body when the request is successful. * @param param The request object */ createRumConfig(param: RUMConfigApiCreateRumConfigRequest, options?: Configuration): Promise; /** * Get the RUM configuration for your organization. * @param param The request object */ getRumConfig(options?: Configuration): Promise; /** * Update the RUM configuration for your organization. * Returns the RUM configuration object from the request body when the request is successful. * @param param The request object */ updateRumConfig(param: RUMConfigApiUpdateRumConfigRequest, options?: Configuration): Promise; }