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 { DatabricksIntegrationAccountCreateRequest } from "../models/DatabricksIntegrationAccountCreateRequest"; import { DatabricksIntegrationAccountResponse } from "../models/DatabricksIntegrationAccountResponse"; import { DatabricksIntegrationAccountsResponse } from "../models/DatabricksIntegrationAccountsResponse"; import { DatabricksIntegrationAccountUpdateRequest } from "../models/DatabricksIntegrationAccountUpdateRequest"; export declare class DatabricksIntegrationApiRequestFactory extends BaseAPIRequestFactory { createDatabricksIntegrationAccount(body: DatabricksIntegrationAccountCreateRequest, _options?: Configuration): Promise; deleteDatabricksIntegrationAccount(accountId: string, _options?: Configuration): Promise; getDatabricksIntegrationAccount(accountId: string, _options?: Configuration): Promise; listDatabricksIntegrationAccounts(_options?: Configuration): Promise; updateDatabricksIntegrationAccount(accountId: string, body: DatabricksIntegrationAccountUpdateRequest, _options?: Configuration): Promise; } export declare class DatabricksIntegrationApiResponseProcessor { /** * 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 createDatabricksIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ createDatabricksIntegrationAccount(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 deleteDatabricksIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ deleteDatabricksIntegrationAccount(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 getDatabricksIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ getDatabricksIntegrationAccount(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 listDatabricksIntegrationAccounts * @throws ApiException if the response code was not in [200, 299] */ listDatabricksIntegrationAccounts(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 updateDatabricksIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ updateDatabricksIntegrationAccount(response: ResponseContext): Promise; } export interface DatabricksIntegrationApiCreateDatabricksIntegrationAccountRequest { /** * @type DatabricksIntegrationAccountCreateRequest */ body: DatabricksIntegrationAccountCreateRequest; } export interface DatabricksIntegrationApiDeleteDatabricksIntegrationAccountRequest { /** * Unique identifier of the integration account. * @type string */ accountId: string; } export interface DatabricksIntegrationApiGetDatabricksIntegrationAccountRequest { /** * Unique identifier of the integration account. * @type string */ accountId: string; } export interface DatabricksIntegrationApiUpdateDatabricksIntegrationAccountRequest { /** * Unique identifier of the integration account. * @type string */ accountId: string; /** * @type DatabricksIntegrationAccountUpdateRequest */ body: DatabricksIntegrationAccountUpdateRequest; } export declare class DatabricksIntegrationApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: DatabricksIntegrationApiRequestFactory, responseProcessor?: DatabricksIntegrationApiResponseProcessor); /** * Create a Databricks integration account. * @param param The request object */ createDatabricksIntegrationAccount(param: DatabricksIntegrationApiCreateDatabricksIntegrationAccountRequest, options?: Configuration): Promise; /** * Delete a Databricks integration account. * @param param The request object */ deleteDatabricksIntegrationAccount(param: DatabricksIntegrationApiDeleteDatabricksIntegrationAccountRequest, options?: Configuration): Promise; /** * Get a Databricks integration account. * @param param The request object */ getDatabricksIntegrationAccount(param: DatabricksIntegrationApiGetDatabricksIntegrationAccountRequest, options?: Configuration): Promise; /** * List Databricks integration accounts. * @param param The request object */ listDatabricksIntegrationAccounts(options?: Configuration): Promise; /** * Update a Databricks integration account. Only the fields provided are changed. * @param param The request object */ updateDatabricksIntegrationAccount(param: DatabricksIntegrationApiUpdateDatabricksIntegrationAccountRequest, options?: Configuration): Promise; }