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 { RumRetentionQuotaConfigResponse } from "../models/RumRetentionQuotaConfigResponse"; import { RumRetentionQuotaConfigUpdateRequest } from "../models/RumRetentionQuotaConfigUpdateRequest"; import { RumRetentionQuotaScopeType } from "../models/RumRetentionQuotaScopeType"; export declare class RUMRetentionQuotasApiRequestFactory extends BaseAPIRequestFactory { deleteRumQuotaConfig(scopeType: RumRetentionQuotaScopeType, scopeId: string, _options?: Configuration): Promise; getRumQuotaConfig(scopeType: RumRetentionQuotaScopeType, scopeId: string, _options?: Configuration): Promise; upsertRumQuotaConfig(scopeType: RumRetentionQuotaScopeType, scopeId: string, body: RumRetentionQuotaConfigUpdateRequest, _options?: Configuration): Promise; } export declare class RUMRetentionQuotasApiResponseProcessor { /** * 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 deleteRumQuotaConfig * @throws ApiException if the response code was not in [200, 299] */ deleteRumQuotaConfig(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 getRumQuotaConfig * @throws ApiException if the response code was not in [200, 299] */ getRumQuotaConfig(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 upsertRumQuotaConfig * @throws ApiException if the response code was not in [200, 299] */ upsertRumQuotaConfig(response: ResponseContext): Promise; } export interface RUMRetentionQuotasApiDeleteRumQuotaConfigRequest { /** * The type of scope the retention quota configuration applies to. * `application` is the only supported scope type. * @type RumRetentionQuotaScopeType */ scopeType: RumRetentionQuotaScopeType; /** * The identifier of the scope the retention quota configuration applies to. * For the `application` scope, this is the RUM application ID. * @type string */ scopeId: string; } export interface RUMRetentionQuotasApiGetRumQuotaConfigRequest { /** * The type of scope the retention quota configuration applies to. * `application` is the only supported scope type. * @type RumRetentionQuotaScopeType */ scopeType: RumRetentionQuotaScopeType; /** * The identifier of the scope the retention quota configuration applies to. * For the `application` scope, this is the RUM application ID. * @type string */ scopeId: string; } export interface RUMRetentionQuotasApiUpsertRumQuotaConfigRequest { /** * The type of scope the retention quota configuration applies to. * `application` is the only supported scope type. * @type RumRetentionQuotaScopeType */ scopeType: RumRetentionQuotaScopeType; /** * The identifier of the scope the retention quota configuration applies to. * For the `application` scope, this is the RUM application ID. * @type string */ scopeId: string; /** * The definition of the RUM retention quota configuration to create or update. * @type RumRetentionQuotaConfigUpdateRequest */ body: RumRetentionQuotaConfigUpdateRequest; } export declare class RUMRetentionQuotasApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: RUMRetentionQuotasApiRequestFactory, responseProcessor?: RUMRetentionQuotasApiResponseProcessor); /** * Delete the RUM retention quota configuration for a given scope. * @param param The request object */ deleteRumQuotaConfig(param: RUMRetentionQuotasApiDeleteRumQuotaConfigRequest, options?: Configuration): Promise; /** * Get the RUM retention quota configuration for a given scope. * @param param The request object */ getRumQuotaConfig(param: RUMRetentionQuotasApiGetRumQuotaConfigRequest, options?: Configuration): Promise; /** * Create or update the RUM retention quota configuration for a given scope. * Returns the retention quota configuration object when the request is successful. * @param param The request object */ upsertRumQuotaConfig(param: RUMRetentionQuotasApiUpsertRumQuotaConfigRequest, options?: Configuration): Promise; }