@bitblit/ratchet-aws
Version:
Common tools for use with AWS browser and node
12 lines (11 loc) • 681 B
TypeScript
import { RuntimeParameterProvider } from '../../runtime-parameter/runtime-parameter-provider.js';
import { StoredRuntimeParameter } from '../../runtime-parameter/stored-runtime-parameter.js';
import { DynamoRatchet } from '../dynamo-ratchet.js';
export declare class DynamoRuntimeParameterProvider implements RuntimeParameterProvider {
private dynamo;
private tableName;
constructor(dynamo: DynamoRatchet, tableName: string);
readParameter(groupId: string, paramKey: string): Promise<StoredRuntimeParameter>;
readAllParametersForGroup(groupId: string): Promise<StoredRuntimeParameter[]>;
writeParameter(toStore: StoredRuntimeParameter): Promise<boolean>;
}