UNPKG

@webda/aws

Version:

Webda AWS Services implementation

25 lines (24 loc) 770 B
import { ServiceParameters } from "@webda/core"; type Constructor<T extends ServiceParameters = ServiceParameters> = new (...args: any[]) => T; export interface IAWSServiceParameters { endpoint?: string; accessKeyId?: string; secretAccessKey?: string; sessionToken?: string; region?: string; } export declare function AWSServiceParameters<TBase extends Constructor>(Base: TBase): { new (...args: any[]): { endpoint?: string; credentials?: { accessKeyId: string; secretAccessKey: string; sessionToken?: string; }; region?: string; type: string; url?: string; openapi?: import("@webda/core/lib/router").OpenAPIWebdaDefinition; }; } & TBase; export {};