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 { CloudInventorySyncConfigResponse } from "../models/CloudInventorySyncConfigResponse"; import { UpsertCloudInventorySyncConfigRequest } from "../models/UpsertCloudInventorySyncConfigRequest"; export declare class StorageManagementApiRequestFactory extends BaseAPIRequestFactory { upsertSyncConfig(body: UpsertCloudInventorySyncConfigRequest, _options?: Configuration): Promise; } export declare class StorageManagementApiResponseProcessor { /** * 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 upsertSyncConfig * @throws ApiException if the response code was not in [200, 299] */ upsertSyncConfig(response: ResponseContext): Promise; } export interface StorageManagementApiUpsertSyncConfigRequest { /** * @type UpsertCloudInventorySyncConfigRequest */ body: UpsertCloudInventorySyncConfigRequest; } export declare class StorageManagementApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: StorageManagementApiRequestFactory, responseProcessor?: StorageManagementApiResponseProcessor); /** * Enable Storage Management for an S3 bucket, GCS bucket, or Azure container by registering the destination that holds its inventory reports. Set `data.id` to the cloud provider (`aws`, `gcp`, or `azure`) and provide the matching settings under data.attributes. Calling this endpoint with the same provider replaces the existing configuration. * @param param The request object */ upsertSyncConfig(param: StorageManagementApiUpsertSyncConfigRequest, options?: Configuration): Promise; }