import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CancelJobCommand , CancelJobCommandInput , CancelJobCommandOutput } from "./commands/CancelJobCommand" ; import { CreateDataSetCommand , CreateDataSetCommandInput , CreateDataSetCommandOutput , } from "./commands/CreateDataSetCommand" ; import { CreateEventActionCommand , CreateEventActionCommandInput , CreateEventActionCommandOutput , } from "./commands/CreateEventActionCommand" ; import { CreateJobCommand , CreateJobCommandInput , CreateJobCommandOutput } from "./commands/CreateJobCommand" ; import { CreateRevisionCommand , CreateRevisionCommandInput , CreateRevisionCommandOutput , } from "./commands/CreateRevisionCommand" ; import { DeleteAssetCommand , DeleteAssetCommandInput , DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand" ; import { DeleteDataSetCommand , DeleteDataSetCommandInput , DeleteDataSetCommandOutput , } from "./commands/DeleteDataSetCommand" ; import { DeleteEventActionCommand , DeleteEventActionCommandInput , DeleteEventActionCommandOutput , } from "./commands/DeleteEventActionCommand" ; import { DeleteRevisionCommand , DeleteRevisionCommandInput , DeleteRevisionCommandOutput , } from "./commands/DeleteRevisionCommand" ; import { GetAssetCommand , GetAssetCommandInput , GetAssetCommandOutput } from "./commands/GetAssetCommand" ; import { GetDataSetCommand , GetDataSetCommandInput , GetDataSetCommandOutput } from "./commands/GetDataSetCommand" ; import { GetEventActionCommand , GetEventActionCommandInput , GetEventActionCommandOutput , } from "./commands/GetEventActionCommand" ; import { GetJobCommand , GetJobCommandInput , GetJobCommandOutput } from "./commands/GetJobCommand" ; import { GetRevisionCommand , GetRevisionCommandInput , GetRevisionCommandOutput } from "./commands/GetRevisionCommand" ; import { ListDataSetRevisionsCommand , ListDataSetRevisionsCommandInput , ListDataSetRevisionsCommandOutput , } from "./commands/ListDataSetRevisionsCommand" ; import { ListDataSetsCommand , ListDataSetsCommandInput , ListDataSetsCommandOutput , } from "./commands/ListDataSetsCommand" ; import { ListEventActionsCommand , ListEventActionsCommandInput , ListEventActionsCommandOutput , } from "./commands/ListEventActionsCommand" ; import { ListJobsCommand , ListJobsCommandInput , ListJobsCommandOutput } from "./commands/ListJobsCommand" ; import { ListRevisionAssetsCommand , ListRevisionAssetsCommandInput , ListRevisionAssetsCommandOutput , } from "./commands/ListRevisionAssetsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { SendApiAssetCommand , SendApiAssetCommandInput , SendApiAssetCommandOutput , } from "./commands/SendApiAssetCommand" ; import { StartJobCommand , StartJobCommandInput , StartJobCommandOutput } from "./commands/StartJobCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAssetCommand , UpdateAssetCommandInput , UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand" ; import { UpdateDataSetCommand , UpdateDataSetCommandInput , UpdateDataSetCommandOutput , } from "./commands/UpdateDataSetCommand" ; import { UpdateEventActionCommand , UpdateEventActionCommandInput , UpdateEventActionCommandOutput , } from "./commands/UpdateEventActionCommand" ; import { UpdateRevisionCommand , UpdateRevisionCommandInput , UpdateRevisionCommandOutput , } from "./commands/UpdateRevisionCommand" ; import { DataExchangeClient } from "./DataExchangeClient" ; /**
 * <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p><p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p><p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p><p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set.  A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>
 */ export class DataExchange extends DataExchangeClient { /**
     * <p>This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.</p>
     */ public cancelJob ( args , options ? ) ; public cancelJob ( args , cb ) ; public cancelJob ( args , options , cb ) ; public cancelJob ( args , optionsOrCb ? , cb ? ) { const command = new CancelJobCommand ( 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>This operation creates a data set.</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>This operation creates an event action.</p>
     */ public createEventAction ( args , options ? ) ; public createEventAction ( args , cb ) ; public createEventAction ( args , options , cb ) ; public createEventAction ( args , optionsOrCb ? , cb ? ) { const command = new CreateEventActionCommand ( 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>This operation creates a job.</p>
     */ public createJob ( args , options ? ) ; public createJob ( args , cb ) ; public createJob ( args , options , cb ) ; public createJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateJobCommand ( 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>This operation creates a revision for a data set.</p>
     */ public createRevision ( args , options ? ) ; public createRevision ( args , cb ) ; public createRevision ( args , options , cb ) ; public createRevision ( args , optionsOrCb ? , cb ? ) { const command = new CreateRevisionCommand ( 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>This operation deletes an asset.</p>
     */ public deleteAsset ( args , options ? ) ; public deleteAsset ( args , cb ) ; public deleteAsset ( args , options , cb ) ; public deleteAsset ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAssetCommand ( 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>This operation deletes a data set.</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>This operation deletes the event action.</p>
     */ public deleteEventAction ( args , options ? ) ; public deleteEventAction ( args , cb ) ; public deleteEventAction ( args , options , cb ) ; public deleteEventAction ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEventActionCommand ( 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>This operation deletes a revision.</p>
     */ public deleteRevision ( args , options ? ) ; public deleteRevision ( args , cb ) ; public deleteRevision ( args , options , cb ) ; public deleteRevision ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRevisionCommand ( 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>This operation returns information about an asset.</p>
     */ public getAsset ( args , options ? ) ; public getAsset ( args , cb ) ; public getAsset ( args , options , cb ) ; public getAsset ( args , optionsOrCb ? , cb ? ) { const command = new GetAssetCommand ( 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>This operation returns information about a data set.</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>This operation retrieves information about an event action.</p>
     */ public getEventAction ( args , options ? ) ; public getEventAction ( args , cb ) ; public getEventAction ( args , options , cb ) ; public getEventAction ( args , optionsOrCb ? , cb ? ) { const command = new GetEventActionCommand ( 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>This operation returns information about a job.</p>
     */ public getJob ( args , options ? ) ; public getJob ( args , cb ) ; public getJob ( args , options , cb ) ; public getJob ( args , optionsOrCb ? , cb ? ) { const command = new GetJobCommand ( 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>This operation returns information about a revision.</p>
     */ public getRevision ( args , options ? ) ; public getRevision ( args , cb ) ; public getRevision ( args , options , cb ) ; public getRevision ( args , optionsOrCb ? , cb ? ) { const command = new GetRevisionCommand ( 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>This operation lists a data set's revisions sorted by CreatedAt in descending order.</p>
     */ public listDataSetRevisions ( args , options ? ) ; public listDataSetRevisions ( args , cb ) ; public listDataSetRevisions ( args , options , cb ) ; public listDataSetRevisions ( args , optionsOrCb ? , cb ? ) { const command = new ListDataSetRevisionsCommand ( 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>This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.</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>This operation lists your event actions.</p>
     */ public listEventActions ( args , options ? ) ; public listEventActions ( args , cb ) ; public listEventActions ( args , options , cb ) ; public listEventActions ( args , optionsOrCb ? , cb ? ) { const command = new ListEventActionsCommand ( 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>This operation lists your jobs sorted by CreatedAt in descending order.</p>
     */ public listJobs ( args , options ? ) ; public listJobs ( args , cb ) ; public listJobs ( args , options , cb ) ; public listJobs ( args , optionsOrCb ? , cb ? ) { const command = new ListJobsCommand ( 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>This operation lists a revision's assets sorted alphabetically in descending order.</p>
     */ public listRevisionAssets ( args , options ? ) ; public listRevisionAssets ( args , cb ) ; public listRevisionAssets ( args , options , cb ) ; public listRevisionAssets ( args , optionsOrCb ? , cb ? ) { const command = new ListRevisionAssetsCommand ( 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>This operation lists the tags on the 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>This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.</p>
     */ public sendApiAsset ( args , options ? ) ; public sendApiAsset ( args , cb ) ; public sendApiAsset ( args , options , cb ) ; public sendApiAsset ( args , optionsOrCb ? , cb ? ) { const command = new SendApiAssetCommand ( 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>This operation starts a job.</p>
     */ public startJob ( args , options ? ) ; public startJob ( args , cb ) ; public startJob ( args , options , cb ) ; public startJob ( args , optionsOrCb ? , cb ? ) { const command = new StartJobCommand ( 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>This operation tags a 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>This operation removes one or more tags from a 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>This operation updates an asset.</p>
     */ public updateAsset ( args , options ? ) ; public updateAsset ( args , cb ) ; public updateAsset ( args , options , cb ) ; public updateAsset ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssetCommand ( 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>This operation updates a data set.</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 ) ; } } /**
     * <p>This operation updates the event action.</p>
     */ public updateEventAction ( args , options ? ) ; public updateEventAction ( args , cb ) ; public updateEventAction ( args , options , cb ) ; public updateEventAction ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEventActionCommand ( 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>This operation updates a revision.</p>
     */ public updateRevision ( args , options ? ) ; public updateRevision ( args , cb ) ; public updateRevision ( args , options , cb ) ; public updateRevision ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRevisionCommand ( 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 ) ; } } }