import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateChangesetCommand , CreateChangesetCommandInput , CreateChangesetCommandOutput , } from "./commands/CreateChangesetCommand" ; import { CreateDatasetCommand , CreateDatasetCommandInput , CreateDatasetCommandOutput , } from "./commands/CreateDatasetCommand" ; import { CreateDataViewCommand , CreateDataViewCommandInput , CreateDataViewCommandOutput , } from "./commands/CreateDataViewCommand" ; import { DeleteDatasetCommand , DeleteDatasetCommandInput , DeleteDatasetCommandOutput , } from "./commands/DeleteDatasetCommand" ; import { GetChangesetCommand , GetChangesetCommandInput , GetChangesetCommandOutput , } from "./commands/GetChangesetCommand" ; import { GetDatasetCommand , GetDatasetCommandInput , GetDatasetCommandOutput } from "./commands/GetDatasetCommand" ; import { GetDataViewCommand , GetDataViewCommandInput , GetDataViewCommandOutput } from "./commands/GetDataViewCommand" ; import { GetProgrammaticAccessCredentialsCommand , GetProgrammaticAccessCredentialsCommandInput , GetProgrammaticAccessCredentialsCommandOutput , } from "./commands/GetProgrammaticAccessCredentialsCommand" ; import { GetWorkingLocationCommand , GetWorkingLocationCommandInput , GetWorkingLocationCommandOutput , } from "./commands/GetWorkingLocationCommand" ; import { ListChangesetsCommand , ListChangesetsCommandInput , ListChangesetsCommandOutput , } from "./commands/ListChangesetsCommand" ; import { ListDatasetsCommand , ListDatasetsCommandInput , ListDatasetsCommandOutput , } from "./commands/ListDatasetsCommand" ; import { ListDataViewsCommand , ListDataViewsCommandInput , ListDataViewsCommandOutput , } from "./commands/ListDataViewsCommand" ; import { UpdateChangesetCommand , UpdateChangesetCommandInput , UpdateChangesetCommandOutput , } from "./commands/UpdateChangesetCommand" ; import { UpdateDatasetCommand , UpdateDatasetCommandInput , UpdateDatasetCommandOutput , } from "./commands/UpdateDatasetCommand" ; import { FinspaceDataClient } from "./FinspaceDataClient" ; /**
 * <p> The FinSpace APIs let you take actions inside the FinSpace.</p>
 */ export class FinspaceData extends FinspaceDataClient { /**
     * <p>Creates a new Changeset in a FinSpace Dataset.</p>
     */ public createChangeset ( args , options ? ) ; public createChangeset ( args , cb ) ; public createChangeset ( args , options , cb ) ; public createChangeset ( args , optionsOrCb ? , cb ? ) { const command = new CreateChangesetCommand ( 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>Creates a new FinSpace Dataset.</p>
     */ public createDataset ( args , options ? ) ; public createDataset ( args , cb ) ; public createDataset ( args , options , cb ) ; public createDataset ( args , optionsOrCb ? , cb ? ) { const command = new CreateDatasetCommand ( 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>Creates a Dataview for a Dataset.</p>
     */ public createDataView ( args , options ? ) ; public createDataView ( args , cb ) ; public createDataView ( args , options , cb ) ; public createDataView ( args , optionsOrCb ? , cb ? ) { const command = new CreateDataViewCommand ( 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>Deletes a FinSpace Dataset.</p>
     */ public deleteDataset ( args , options ? ) ; public deleteDataset ( args , cb ) ; public deleteDataset ( args , options , cb ) ; public deleteDataset ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDatasetCommand ( 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>Get information about a Changeset.</p>
     */ public getChangeset ( args , options ? ) ; public getChangeset ( args , cb ) ; public getChangeset ( args , options , cb ) ; public getChangeset ( args , optionsOrCb ? , cb ? ) { const command = new GetChangesetCommand ( 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 information about a Dataset.</p>
     */ public getDataset ( args , options ? ) ; public getDataset ( args , cb ) ; public getDataset ( args , options , cb ) ; public getDataset ( args , optionsOrCb ? , cb ? ) { const command = new GetDatasetCommand ( 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>Gets information about a Dataview.</p>
     */ public getDataView ( args , options ? ) ; public getDataView ( args , cb ) ; public getDataView ( args , options , cb ) ; public getDataView ( args , optionsOrCb ? , cb ? ) { const command = new GetDataViewCommand ( 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>Request programmatic credentials to use with FinSpace SDK.</p>
     */ public getProgrammaticAccessCredentials ( args , options ? ) ; public getProgrammaticAccessCredentials ( args , cb ) ; public getProgrammaticAccessCredentials ( args , options , cb ) ; public getProgrammaticAccessCredentials ( args , optionsOrCb ? , cb ? ) { const command = new GetProgrammaticAccessCredentialsCommand ( 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 temporary Amazon S3 location, where you can copy your files from a source location to stage or use
     *       as a scratch space in FinSpace notebook.</p>
     */ public getWorkingLocation ( args , options ? ) ; public getWorkingLocation ( args , cb ) ; public getWorkingLocation ( args , options , cb ) ; public getWorkingLocation ( args , optionsOrCb ? , cb ? ) { const command = new GetWorkingLocationCommand ( 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>Lists the FinSpace Changesets for a Dataset.</p>
     */ public listChangesets ( args , options ? ) ; public listChangesets ( args , cb ) ; public listChangesets ( args , options , cb ) ; public listChangesets ( args , optionsOrCb ? , cb ? ) { const command = new ListChangesetsCommand ( 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>Lists all of the active Datasets that a user has access to.</p>
     */ public listDatasets ( args , options ? ) ; public listDatasets ( args , cb ) ; public listDatasets ( args , options , cb ) ; public listDatasets ( args , optionsOrCb ? , cb ? ) { const command = new ListDatasetsCommand ( 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>Lists all available Dataviews for a Dataset.</p>
     */ public listDataViews ( args , options ? ) ; public listDataViews ( args , cb ) ; public listDataViews ( args , options , cb ) ; public listDataViews ( args , optionsOrCb ? , cb ? ) { const command = new ListDataViewsCommand ( 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>Updates a FinSpace Changeset.</p>
     */ public updateChangeset ( args , options ? ) ; public updateChangeset ( args , cb ) ; public updateChangeset ( args , options , cb ) ; public updateChangeset ( args , optionsOrCb ? , cb ? ) { const command = new UpdateChangesetCommand ( 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>Updates a FinSpace Dataset.</p>
     */ public updateDataset ( args , options ? ) ; public updateDataset ( args , cb ) ; public updateDataset ( args , options , cb ) ; public updateDataset ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDatasetCommand ( 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 ) ; } } }