import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateEnvironmentCommand , CreateEnvironmentCommandInput , CreateEnvironmentCommandOutput , } from "./commands/CreateEnvironmentCommand" ; import { DeleteEnvironmentCommand , DeleteEnvironmentCommandInput , DeleteEnvironmentCommandOutput , } from "./commands/DeleteEnvironmentCommand" ; import { GetEnvironmentCommand , GetEnvironmentCommandInput , GetEnvironmentCommandOutput , } from "./commands/GetEnvironmentCommand" ; import { ListEnvironmentsCommand , ListEnvironmentsCommandInput , ListEnvironmentsCommandOutput , } from "./commands/ListEnvironmentsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateEnvironmentCommand , UpdateEnvironmentCommandInput , UpdateEnvironmentCommandOutput , } from "./commands/UpdateEnvironmentCommand" ; import { FinspaceClient } from "./FinspaceClient" ; /**
 * <p>The FinSpace management service provides the APIs for managing FinSpace environments.</p>
 */ export class Finspace extends FinspaceClient { /**
     * <p>Create a new FinSpace environment.</p>
     */ public createEnvironment ( args , options ? ) ; public createEnvironment ( args , cb ) ; public createEnvironment ( args , options , cb ) ; public createEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new CreateEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete an FinSpace environment.</p>
     */ public deleteEnvironment ( args , options ? ) ; public deleteEnvironment ( args , cb ) ; public deleteEnvironment ( args , options , cb ) ; public deleteEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the FinSpace environment object.</p>
     */ public getEnvironment ( args , options ? ) ; public getEnvironment ( args , cb ) ; public getEnvironment ( args , options , cb ) ; public getEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new GetEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>A list of all of your FinSpace environments.</p>
     */ public listEnvironments ( args , options ? ) ; public listEnvironments ( args , cb ) ; public listEnvironments ( args , options , cb ) ; public listEnvironments ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>A list of all tags for a resource.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds metadata tags to a FinSpace resource.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes metadata tags from a FinSpace resource.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update your FinSpace environment.</p>
     */ public updateEnvironment ( args , options ? ) ; public updateEnvironment ( args , cb ) ; public updateEnvironment ( args , options , cb ) ; public updateEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }