/** * Volatile Blob API v1 * The `volatile-blob` service supports the upload and retrieval of volatile data from the storage of a catalog. * Each discrete chunk of data is stored as a blob (Binary Large Object). * Each blob has its own unique id (data handle) which is stored as partition metadata. * To get a partition's data, you first use `metadata` service to retrieve * the partition's metadata (data handle) with the addresses of the relevant blobs. * You then use those addresses to pull the data using the `volatile-blob` service. * Unlike the `blob` service, data handles can be overwritten. Hence the volatile aspect. * * OpenAPI spec version: 1.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Do not edit the class manually. */ import { RequestBuilder } from "./RequestBuilder"; /** * HTTP unauthenticated error message thrown by the service. */ export interface AuthenticationMessage { /** * Error message */ error?: string; /** * Error description */ errorDescription?: string; } /** * HTTP unauthorized error message thrown by the service. */ export interface AuthorizationMessage { /** * Error message */ error?: string; /** * Error description */ errorDescription?: string; } /** * Checks if a volatile blob exists for the requested data handle. * * @summary Checks if a data handle exists * @param layerId The ID of the layer that the volatile blob belongs to. * @param dataHandle The data handle identifies a specific volatile blob so that you can get that blob's contents. * @param billingTag Billing Tag is an optional free-form tag which is used for grouping billing records together. * If supplied, it must be between 4 - 16 characters, contain only alpha/numeric ASCII characters [A-Za-z0-9]. * Grouping billing records by billing tag will be available in future releases. */ export declare function checkHandleExists(builder: RequestBuilder, params: { layerId: string; dataHandle: string; billingTag?: string; }): Promise; /** * Deletes a volatile data blob from the underlying storage mechanism (volume). * * @summary Deletes a volatile data blob * @param layerId The ID of the layer that the volatile data blob belongs to. * @param dataHandle The data handle (ID) represents an identifier for the volatile data blob which contents will be deleted. * @param billingTag Billing Tag is an optional free-form tag which is used for grouping billing records together. * If supplied, it must be between 4 - 16 characters, contain only alpha/numeric ASCII characters [A-Za-z0-9]. * Grouping billing records by billing tag will be available in future releases. */ export declare function deleteVolatileBlob(builder: RequestBuilder, params: { layerId: string; dataHandle: string; billingTag?: string; }): Promise; /** * Retrieves a volatile data blob from storage. * * @summary Gets a volatile blob * @param layerId The ID of the parent layer for this volatile data blob. * @param dataHandle The data handle identifies a specific volatile data blob so that you can get that blob's contents. * @param billingTag Billing Tag is an optional free-form tag which is used for grouping billing records together. * If supplied, it must be between 4 - 16 characters, contain only alpha/numeric ASCII characters [A-Za-z0-9]. * Grouping billing records by billing tag will be available in future releases. */ export declare function getVolatileBlob(builder: RequestBuilder, params: { layerId: string; dataHandle: string; billingTag?: string; }): Promise; /** * Persists the volatile data blob in the underlying storage mechanism (volume). * * @summary Publishes a volatile data blob * @param layerId The ID of the layer that the volatile data blob belongs to. * @param dataHandle The data handle (ID) represents an identifier for the volatile data blob. * @param body The data to upload as part of the blob. Size limit: 2 MB * @param billingTag Billing Tag is an optional free-form tag which is used for grouping billing records together. * If supplied, it must be between 4 - 16 characters, contain only alpha/numeric ASCII characters [A-Za-z0-9]. * Grouping billing records by billing tag will be available in future releases. */ export declare function putVolatileBlob(builder: RequestBuilder, params: { layerId: string; dataHandle: string; body: string; billingTag?: string; }): Promise;