@linode/api-v4
Version:
JavaScript wrapper around the Linode APIv4
27 lines • 954 B
TypeScript
import { Filter, Params, ResourcePage as Page } from '../types';
import { ObjectStorageKey, CreateObjectStorageKeyPayload, UpdateObjectStorageKeyPayload } from './types';
/**
* getObjectStorageKeys
*
* Gets a list of a user's Object Storage Keys
*/
export declare const getObjectStorageKeys: (params?: Params, filters?: Filter) => Promise<Page<ObjectStorageKey>>;
/**
* createObjectStorageKeys
*
* Creates an Object Storage key
*/
export declare const createObjectStorageKeys: (data: CreateObjectStorageKeyPayload) => Promise<ObjectStorageKey>;
/**
* updateObjectStorageKeys
*
* Updates an Object Storage Key
*/
export declare const updateObjectStorageKey: (id: number, data: UpdateObjectStorageKeyPayload) => Promise<ObjectStorageKey>;
/**
* revokeObjectStorageKey
*
* Revokes an Object Storage key
*/
export declare const revokeObjectStorageKey: (id: number) => Promise<ObjectStorageKey>;
//# sourceMappingURL=objectStorageKeys.d.ts.map