cdk-insights
Version:
AWS CDK security and cost analysis tool with AI-powered insights
11 lines (10 loc) • 421 B
TypeScript
import type { GetItemCommand, GetItemCommandOutput, UpdateItemCommand, UpdateItemCommandOutput } from '@aws-sdk/client-dynamodb';
export type AcquireTokenDependencies = {
dynamoDBClient: {
send: (command: UpdateItemCommand | GetItemCommand) => Promise<UpdateItemCommandOutput | GetItemCommandOutput>;
};
quotaTable: string;
modelKey: string;
maxTokens: number;
refillRatePerMs: number;
};