aws-cli-js
Version:
A node.js wrapper for the aws command line interface
21 lines (20 loc) • 752 B
TypeScript
export declare class Aws {
private options;
constructor(options?: IOptions);
command(command: string, callback?: (err: any, data: any) => void): Promise<any>;
}
export interface IOptions {
accessKey?: string;
secretKey?: string;
sessionToken?: string;
currentWorkingDirectory?: string;
cliPath: string;
}
export declare class Options implements IOptions {
accessKey?: string | undefined;
secretKey?: string | undefined;
sessionToken?: string | undefined;
currentWorkingDirectory?: string | undefined;
cliPath: string;
constructor(accessKey?: string | undefined, secretKey?: string | undefined, sessionToken?: string | undefined, currentWorkingDirectory?: string | undefined, cliPath?: string);
}