dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
11 lines (10 loc) • 511 B
TypeScript
import type { AWSConfig, FetchOpts } from './types.js';
export interface AccessRole {
roleName: string;
description?: string;
}
export declare const putAccessRole: (accessRole: Pick<AWSConfig, "awsAccountId"> & AccessRole, { apiUrl, fetch: _fetch, apiKey }: FetchOpts) => Promise<void>;
export declare const assignAccessRole: ({ awsAccountId, awsRegion, tableName, roleName }: AWSConfig & {
tableName: string;
roleName: string;
}, { apiUrl, fetch: _fetch, apiKey }: FetchOpts) => Promise<void>;