UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

11 lines (10 loc) 786 B
import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types"; import { LocationConstraintResolvedConfig } from "./configuration"; /** * This middleware modifies the input on S3 CreateBucket requests. If the LocationConstraint has not been set, this * middleware will set a LocationConstraint to match the configured region. The CreateBucketConfiguration will be * removed entirely on requests to the us-east-1 region. */ export declare function locationConstraintMiddleware(options: LocationConstraintResolvedConfig): InitializeMiddleware<any, any>; export declare const locationConstraintMiddlewareOptions: InitializeHandlerOptions; export declare const getLocationConstraintPlugin: (config: LocationConstraintResolvedConfig) => Pluggable<any, any>;