import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateDiscovererCommand , CreateDiscovererCommandInput , CreateDiscovererCommandOutput , } from "./commands/CreateDiscovererCommand" ; import { CreateRegistryCommand , CreateRegistryCommandInput , CreateRegistryCommandOutput , } from "./commands/CreateRegistryCommand" ; import { CreateSchemaCommand , CreateSchemaCommandInput , CreateSchemaCommandOutput , } from "./commands/CreateSchemaCommand" ; import { DeleteDiscovererCommand , DeleteDiscovererCommandInput , DeleteDiscovererCommandOutput , } from "./commands/DeleteDiscovererCommand" ; import { DeleteRegistryCommand , DeleteRegistryCommandInput , DeleteRegistryCommandOutput , } from "./commands/DeleteRegistryCommand" ; import { DeleteResourcePolicyCommand , DeleteResourcePolicyCommandInput , DeleteResourcePolicyCommandOutput , } from "./commands/DeleteResourcePolicyCommand" ; import { DeleteSchemaCommand , DeleteSchemaCommandInput , DeleteSchemaCommandOutput , } from "./commands/DeleteSchemaCommand" ; import { DeleteSchemaVersionCommand , DeleteSchemaVersionCommandInput , DeleteSchemaVersionCommandOutput , } from "./commands/DeleteSchemaVersionCommand" ; import { DescribeCodeBindingCommand , DescribeCodeBindingCommandInput , DescribeCodeBindingCommandOutput , } from "./commands/DescribeCodeBindingCommand" ; import { DescribeDiscovererCommand , DescribeDiscovererCommandInput , DescribeDiscovererCommandOutput , } from "./commands/DescribeDiscovererCommand" ; import { DescribeRegistryCommand , DescribeRegistryCommandInput , DescribeRegistryCommandOutput , } from "./commands/DescribeRegistryCommand" ; import { DescribeSchemaCommand , DescribeSchemaCommandInput , DescribeSchemaCommandOutput , } from "./commands/DescribeSchemaCommand" ; import { ExportSchemaCommand , ExportSchemaCommandInput , ExportSchemaCommandOutput , } from "./commands/ExportSchemaCommand" ; import { GetCodeBindingSourceCommand , GetCodeBindingSourceCommandInput , GetCodeBindingSourceCommandOutput , } from "./commands/GetCodeBindingSourceCommand" ; import { GetDiscoveredSchemaCommand , GetDiscoveredSchemaCommandInput , GetDiscoveredSchemaCommandOutput , } from "./commands/GetDiscoveredSchemaCommand" ; import { GetResourcePolicyCommand , GetResourcePolicyCommandInput , GetResourcePolicyCommandOutput , } from "./commands/GetResourcePolicyCommand" ; import { ListDiscoverersCommand , ListDiscoverersCommandInput , ListDiscoverersCommandOutput , } from "./commands/ListDiscoverersCommand" ; import { ListRegistriesCommand , ListRegistriesCommandInput , ListRegistriesCommandOutput , } from "./commands/ListRegistriesCommand" ; import { ListSchemasCommand , ListSchemasCommandInput , ListSchemasCommandOutput } from "./commands/ListSchemasCommand" ; import { ListSchemaVersionsCommand , ListSchemaVersionsCommandInput , ListSchemaVersionsCommandOutput , } from "./commands/ListSchemaVersionsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { PutCodeBindingCommand , PutCodeBindingCommandInput , PutCodeBindingCommandOutput , } from "./commands/PutCodeBindingCommand" ; import { PutResourcePolicyCommand , PutResourcePolicyCommandInput , PutResourcePolicyCommandOutput , } from "./commands/PutResourcePolicyCommand" ; import { SearchSchemasCommand , SearchSchemasCommandInput , SearchSchemasCommandOutput , } from "./commands/SearchSchemasCommand" ; import { StartDiscovererCommand , StartDiscovererCommandInput , StartDiscovererCommandOutput , } from "./commands/StartDiscovererCommand" ; import { StopDiscovererCommand , StopDiscovererCommandInput , StopDiscovererCommandOutput , } from "./commands/StopDiscovererCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateDiscovererCommand , UpdateDiscovererCommandInput , UpdateDiscovererCommandOutput , } from "./commands/UpdateDiscovererCommand" ; import { UpdateRegistryCommand , UpdateRegistryCommandInput , UpdateRegistryCommandOutput , } from "./commands/UpdateRegistryCommand" ; import { UpdateSchemaCommand , UpdateSchemaCommandInput , UpdateSchemaCommandOutput , } from "./commands/UpdateSchemaCommand" ; import { SchemasClient } from "./SchemasClient" ; /**
 * <p>Amazon EventBridge Schema Registry</p>
 */ export class Schemas extends SchemasClient { /**
     * <p>Creates a discoverer.</p>
     */ public createDiscoverer ( args , options ? ) ; public createDiscoverer ( args , cb ) ; public createDiscoverer ( args , options , cb ) ; public createDiscoverer ( args , optionsOrCb ? , cb ? ) { const command = new CreateDiscovererCommand ( 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 registry.</p>
     */ public createRegistry ( args , options ? ) ; public createRegistry ( args , cb ) ; public createRegistry ( args , options , cb ) ; public createRegistry ( args , optionsOrCb ? , cb ? ) { const command = new CreateRegistryCommand ( 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 schema definition.</p> <note><p>Inactive schemas will be deleted after two years.</p></note>
     */ public createSchema ( args , options ? ) ; public createSchema ( args , cb ) ; public createSchema ( args , options , cb ) ; public createSchema ( args , optionsOrCb ? , cb ? ) { const command = new CreateSchemaCommand ( 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 discoverer.</p>
     */ public deleteDiscoverer ( args , options ? ) ; public deleteDiscoverer ( args , cb ) ; public deleteDiscoverer ( args , options , cb ) ; public deleteDiscoverer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDiscovererCommand ( 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 Registry.</p>
     */ public deleteRegistry ( args , options ? ) ; public deleteRegistry ( args , cb ) ; public deleteRegistry ( args , options , cb ) ; public deleteRegistry ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRegistryCommand ( 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 the resource-based policy attached to the specified registry.</p>
     */ public deleteResourcePolicy ( args , options ? ) ; public deleteResourcePolicy ( args , cb ) ; public deleteResourcePolicy ( args , options , cb ) ; public deleteResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourcePolicyCommand ( 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 a schema definition.</p>
     */ public deleteSchema ( args , options ? ) ; public deleteSchema ( args , cb ) ; public deleteSchema ( args , options , cb ) ; public deleteSchema ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSchemaCommand ( 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 the schema version definition</p>
     */ public deleteSchemaVersion ( args , options ? ) ; public deleteSchemaVersion ( args , cb ) ; public deleteSchemaVersion ( args , options , cb ) ; public deleteSchemaVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSchemaVersionCommand ( 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>Describe the code binding URI.</p>
     */ public describeCodeBinding ( args , options ? ) ; public describeCodeBinding ( args , cb ) ; public describeCodeBinding ( args , options , cb ) ; public describeCodeBinding ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCodeBindingCommand ( 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>Describes the discoverer.</p>
     */ public describeDiscoverer ( args , options ? ) ; public describeDiscoverer ( args , cb ) ; public describeDiscoverer ( args , options , cb ) ; public describeDiscoverer ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDiscovererCommand ( 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>Describes the registry.</p>
     */ public describeRegistry ( args , options ? ) ; public describeRegistry ( args , cb ) ; public describeRegistry ( args , options , cb ) ; public describeRegistry ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRegistryCommand ( 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>Retrieve the schema definition.</p>
     */ public describeSchema ( args , options ? ) ; public describeSchema ( args , cb ) ; public describeSchema ( args , options , cb ) ; public describeSchema ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSchemaCommand ( 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 ) ; } } public exportSchema ( args , options ? ) ; public exportSchema ( args , cb ) ; public exportSchema ( args , options , cb ) ; public exportSchema ( args , optionsOrCb ? , cb ? ) { const command = new ExportSchemaCommand ( 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 the code binding source URI.</p>
     */ public getCodeBindingSource ( args , options ? ) ; public getCodeBindingSource ( args , cb ) ; public getCodeBindingSource ( args , options , cb ) ; public getCodeBindingSource ( args , optionsOrCb ? , cb ? ) { const command = new GetCodeBindingSourceCommand ( 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 the discovered schema that was generated based on sampled events.</p>
     */ public getDiscoveredSchema ( args , options ? ) ; public getDiscoveredSchema ( args , cb ) ; public getDiscoveredSchema ( args , options , cb ) ; public getDiscoveredSchema ( args , optionsOrCb ? , cb ? ) { const command = new GetDiscoveredSchemaCommand ( 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>Retrieves the resource-based policy attached to a given registry.</p>
     */ public getResourcePolicy ( args , options ? ) ; public getResourcePolicy ( args , cb ) ; public getResourcePolicy ( args , options , cb ) ; public getResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetResourcePolicyCommand ( 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>List the discoverers.</p>
     */ public listDiscoverers ( args , options ? ) ; public listDiscoverers ( args , cb ) ; public listDiscoverers ( args , options , cb ) ; public listDiscoverers ( args , optionsOrCb ? , cb ? ) { const command = new ListDiscoverersCommand ( 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>List the registries.</p>
     */ public listRegistries ( args , options ? ) ; public listRegistries ( args , cb ) ; public listRegistries ( args , options , cb ) ; public listRegistries ( args , optionsOrCb ? , cb ? ) { const command = new ListRegistriesCommand ( 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>List the schemas.</p>
     */ public listSchemas ( args , options ? ) ; public listSchemas ( args , cb ) ; public listSchemas ( args , options , cb ) ; public listSchemas ( args , optionsOrCb ? , cb ? ) { const command = new ListSchemasCommand ( 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>Provides a list of the schema versions and related information.</p>
     */ public listSchemaVersions ( args , options ? ) ; public listSchemaVersions ( args , cb ) ; public listSchemaVersions ( args , options , cb ) ; public listSchemaVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListSchemaVersionsCommand ( 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 tags for 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>Put code binding URI</p>
     */ public putCodeBinding ( args , options ? ) ; public putCodeBinding ( args , cb ) ; public putCodeBinding ( args , options , cb ) ; public putCodeBinding ( args , optionsOrCb ? , cb ? ) { const command = new PutCodeBindingCommand ( 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>The name of the policy.</p>
     */ public putResourcePolicy ( args , options ? ) ; public putResourcePolicy ( args , cb ) ; public putResourcePolicy ( args , options , cb ) ; public putResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutResourcePolicyCommand ( 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>Search the schemas</p>
     */ public searchSchemas ( args , options ? ) ; public searchSchemas ( args , cb ) ; public searchSchemas ( args , options , cb ) ; public searchSchemas ( args , optionsOrCb ? , cb ? ) { const command = new SearchSchemasCommand ( 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>Starts the discoverer</p>
     */ public startDiscoverer ( args , options ? ) ; public startDiscoverer ( args , cb ) ; public startDiscoverer ( args , options , cb ) ; public startDiscoverer ( args , optionsOrCb ? , cb ? ) { const command = new StartDiscovererCommand ( 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>Stops the discoverer</p>
     */ public stopDiscoverer ( args , options ? ) ; public stopDiscoverer ( args , cb ) ; public stopDiscoverer ( args , options , cb ) ; public stopDiscoverer ( args , optionsOrCb ? , cb ? ) { const command = new StopDiscovererCommand ( 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>Add tags to 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>Removes 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>Updates the discoverer</p>
     */ public updateDiscoverer ( args , options ? ) ; public updateDiscoverer ( args , cb ) ; public updateDiscoverer ( args , options , cb ) ; public updateDiscoverer ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDiscovererCommand ( 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 registry.</p>
     */ public updateRegistry ( args , options ? ) ; public updateRegistry ( args , cb ) ; public updateRegistry ( args , options , cb ) ; public updateRegistry ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRegistryCommand ( 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 the schema definition</p> <note><p>Inactive schemas will be deleted after two years.</p></note>
     */ public updateSchema ( args , options ? ) ; public updateSchema ( args , cb ) ; public updateSchema ( args , options , cb ) ; public updateSchema ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSchemaCommand ( 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 ) ; } } }