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 { ElasticCloudIntegrationAccountCreateRequest } from "../models/ElasticCloudIntegrationAccountCreateRequest"; import { ElasticCloudIntegrationAccountResponse } from "../models/ElasticCloudIntegrationAccountResponse"; import { ElasticCloudIntegrationAccountsResponse } from "../models/ElasticCloudIntegrationAccountsResponse"; import { ElasticCloudIntegrationAccountUpdateRequest } from "../models/ElasticCloudIntegrationAccountUpdateRequest"; export declare class ElasticCloudIntegrationApiRequestFactory extends BaseAPIRequestFactory { createElasticCloudIntegrationAccount(body: ElasticCloudIntegrationAccountCreateRequest, _options?: Configuration): Promise; deleteElasticCloudIntegrationAccount(accountId: string, _options?: Configuration): Promise; getElasticCloudIntegrationAccount(accountId: string, _options?: Configuration): Promise; listElasticCloudIntegrationAccounts(_options?: Configuration): Promise; updateElasticCloudIntegrationAccount(accountId: string, body: ElasticCloudIntegrationAccountUpdateRequest, _options?: Configuration): Promise; } export declare class ElasticCloudIntegrationApiResponseProcessor { /** * 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 createElasticCloudIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ createElasticCloudIntegrationAccount(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 deleteElasticCloudIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ deleteElasticCloudIntegrationAccount(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 getElasticCloudIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ getElasticCloudIntegrationAccount(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 listElasticCloudIntegrationAccounts * @throws ApiException if the response code was not in [200, 299] */ listElasticCloudIntegrationAccounts(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 updateElasticCloudIntegrationAccount * @throws ApiException if the response code was not in [200, 299] */ updateElasticCloudIntegrationAccount(response: ResponseContext): Promise; } export interface ElasticCloudIntegrationApiCreateElasticCloudIntegrationAccountRequest { /** * @type ElasticCloudIntegrationAccountCreateRequest */ body: ElasticCloudIntegrationAccountCreateRequest; } export interface ElasticCloudIntegrationApiDeleteElasticCloudIntegrationAccountRequest { /** * Unique identifier of the integration account. * @type string */ accountId: string; } export interface ElasticCloudIntegrationApiGetElasticCloudIntegrationAccountRequest { /** * Unique identifier of the integration account. * @type string */ accountId: string; } export interface ElasticCloudIntegrationApiUpdateElasticCloudIntegrationAccountRequest { /** * Unique identifier of the integration account. * @type string */ accountId: string; /** * @type ElasticCloudIntegrationAccountUpdateRequest */ body: ElasticCloudIntegrationAccountUpdateRequest; } export declare class ElasticCloudIntegrationApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: ElasticCloudIntegrationApiRequestFactory, responseProcessor?: ElasticCloudIntegrationApiResponseProcessor); /** * Create an Elastic Cloud integration account. * @param param The request object */ createElasticCloudIntegrationAccount(param: ElasticCloudIntegrationApiCreateElasticCloudIntegrationAccountRequest, options?: Configuration): Promise; /** * Delete an Elastic Cloud integration account. * @param param The request object */ deleteElasticCloudIntegrationAccount(param: ElasticCloudIntegrationApiDeleteElasticCloudIntegrationAccountRequest, options?: Configuration): Promise; /** * Get an Elastic Cloud integration account. * @param param The request object */ getElasticCloudIntegrationAccount(param: ElasticCloudIntegrationApiGetElasticCloudIntegrationAccountRequest, options?: Configuration): Promise; /** * List Elastic Cloud integration accounts. * @param param The request object */ listElasticCloudIntegrationAccounts(options?: Configuration): Promise; /** * Update an Elastic Cloud integration account. Only the fields provided are changed. * @param param The request object */ updateElasticCloudIntegrationAccount(param: ElasticCloudIntegrationApiUpdateElasticCloudIntegrationAccountRequest, options?: Configuration): Promise; }