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.
56 lines (55 loc) • 1.56 kB
TypeScript
export declare class S3Error extends Error {
statusCode?: number;
Code: string;
SenderFault: boolean;
RequestId: string;
constructor({ Code, Message, SenderFault, RequestId, statusCode }: {
Code: string;
Message: string;
SenderFault?: boolean;
statusCode?: number;
RequestId: string;
});
toXml(info?: string): string;
static genericError({ Code, Message, RequestId, info }: {
Code: string;
Message: string;
RequestId: string;
info?: string;
}): string;
}
export declare class InvalidTag extends S3Error {
TagKey: string;
constructor({ TagKey, Message, RequestId }: {
TagKey: string;
Message: string;
RequestId: string;
});
toXml(): string;
}
export declare class MalformedXML extends S3Error {
constructor(RequestId: string);
}
export declare class BadRequest extends S3Error {
constructor({ Message, RequestId }: {
Message: string;
RequestId: string;
});
}
export declare class InvalidArgument extends S3Error {
ArgumentName: string;
ArgumentValue: string;
constructor({ Message, RequestId, ArgumentName, ArgumentValue }: {
Message: string;
RequestId: string;
ArgumentName: string;
ArgumentValue: string;
});
toXml(): string;
}
export declare class NoSuchTagSet extends S3Error {
constructor(RequestId: string);
}
export declare class UnsupportedCommand extends S3Error {
constructor(command: string, RequestId: string);
}