serverless-aws-lambda
Version:
AWS Application Load Balancer and API Gateway - Lambda dev tool for Serverless. Allows Express synthax in handlers. Supports packaging, local invoking and offline ALB, APG, S3, SNS, SQS, DynamoDB Stream server mocking.
29 lines (28 loc) • 1.04 kB
TypeScript
import { S3LocalService } from "./localAction";
import type { IncomingHttpHeaders, ServerResponse } from "http";
declare abstract class ListObjectsAction extends S3LocalService {
bucket: string;
delimiter: string | null;
encodingType: string | null;
maxKeys: string | number;
prefix: string | null;
expectedOwner: string | null;
optionalObjectAttributes: string | null;
requestPayer: string | null;
constructor(url: URL, headers: IncomingHttpHeaders);
getKeys(): string[];
isInvalidMaxKeys(res: ServerResponse): true | undefined;
}
export declare class ListObjectsV1Action extends ListObjectsAction {
marker: string | null;
constructor(url: URL, headers: IncomingHttpHeaders);
exec(res: ServerResponse): void;
}
export declare class ListObjectsV2Action extends ListObjectsAction {
continuationToken: string | null;
fetchOwner: string | null;
startAfter: string | null;
constructor(url: URL, headers: IncomingHttpHeaders);
exec(res: ServerResponse): void;
}
export {};