import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AssociateBrowserSettingsCommand , AssociateBrowserSettingsCommandInput , AssociateBrowserSettingsCommandOutput , } from "./commands/AssociateBrowserSettingsCommand" ; import { AssociateNetworkSettingsCommand , AssociateNetworkSettingsCommandInput , AssociateNetworkSettingsCommandOutput , } from "./commands/AssociateNetworkSettingsCommand" ; import { AssociateTrustStoreCommand , AssociateTrustStoreCommandInput , AssociateTrustStoreCommandOutput , } from "./commands/AssociateTrustStoreCommand" ; import { AssociateUserSettingsCommand , AssociateUserSettingsCommandInput , AssociateUserSettingsCommandOutput , } from "./commands/AssociateUserSettingsCommand" ; import { CreateBrowserSettingsCommand , CreateBrowserSettingsCommandInput , CreateBrowserSettingsCommandOutput , } from "./commands/CreateBrowserSettingsCommand" ; import { CreateIdentityProviderCommand , CreateIdentityProviderCommandInput , CreateIdentityProviderCommandOutput , } from "./commands/CreateIdentityProviderCommand" ; import { CreateNetworkSettingsCommand , CreateNetworkSettingsCommandInput , CreateNetworkSettingsCommandOutput , } from "./commands/CreateNetworkSettingsCommand" ; import { CreatePortalCommand , CreatePortalCommandInput , CreatePortalCommandOutput , } from "./commands/CreatePortalCommand" ; import { CreateTrustStoreCommand , CreateTrustStoreCommandInput , CreateTrustStoreCommandOutput , } from "./commands/CreateTrustStoreCommand" ; import { CreateUserSettingsCommand , CreateUserSettingsCommandInput , CreateUserSettingsCommandOutput , } from "./commands/CreateUserSettingsCommand" ; import { DeleteBrowserSettingsCommand , DeleteBrowserSettingsCommandInput , DeleteBrowserSettingsCommandOutput , } from "./commands/DeleteBrowserSettingsCommand" ; import { DeleteIdentityProviderCommand , DeleteIdentityProviderCommandInput , DeleteIdentityProviderCommandOutput , } from "./commands/DeleteIdentityProviderCommand" ; import { DeleteNetworkSettingsCommand , DeleteNetworkSettingsCommandInput , DeleteNetworkSettingsCommandOutput , } from "./commands/DeleteNetworkSettingsCommand" ; import { DeletePortalCommand , DeletePortalCommandInput , DeletePortalCommandOutput , } from "./commands/DeletePortalCommand" ; import { DeleteTrustStoreCommand , DeleteTrustStoreCommandInput , DeleteTrustStoreCommandOutput , } from "./commands/DeleteTrustStoreCommand" ; import { DeleteUserSettingsCommand , DeleteUserSettingsCommandInput , DeleteUserSettingsCommandOutput , } from "./commands/DeleteUserSettingsCommand" ; import { DisassociateBrowserSettingsCommand , DisassociateBrowserSettingsCommandInput , DisassociateBrowserSettingsCommandOutput , } from "./commands/DisassociateBrowserSettingsCommand" ; import { DisassociateNetworkSettingsCommand , DisassociateNetworkSettingsCommandInput , DisassociateNetworkSettingsCommandOutput , } from "./commands/DisassociateNetworkSettingsCommand" ; import { DisassociateTrustStoreCommand , DisassociateTrustStoreCommandInput , DisassociateTrustStoreCommandOutput , } from "./commands/DisassociateTrustStoreCommand" ; import { DisassociateUserSettingsCommand , DisassociateUserSettingsCommandInput , DisassociateUserSettingsCommandOutput , } from "./commands/DisassociateUserSettingsCommand" ; import { GetBrowserSettingsCommand , GetBrowserSettingsCommandInput , GetBrowserSettingsCommandOutput , } from "./commands/GetBrowserSettingsCommand" ; import { GetIdentityProviderCommand , GetIdentityProviderCommandInput , GetIdentityProviderCommandOutput , } from "./commands/GetIdentityProviderCommand" ; import { GetNetworkSettingsCommand , GetNetworkSettingsCommandInput , GetNetworkSettingsCommandOutput , } from "./commands/GetNetworkSettingsCommand" ; import { GetPortalCommand , GetPortalCommandInput , GetPortalCommandOutput } from "./commands/GetPortalCommand" ; import { GetPortalServiceProviderMetadataCommand , GetPortalServiceProviderMetadataCommandInput , GetPortalServiceProviderMetadataCommandOutput , } from "./commands/GetPortalServiceProviderMetadataCommand" ; import { GetTrustStoreCertificateCommand , GetTrustStoreCertificateCommandInput , GetTrustStoreCertificateCommandOutput , } from "./commands/GetTrustStoreCertificateCommand" ; import { GetTrustStoreCommand , GetTrustStoreCommandInput , GetTrustStoreCommandOutput , } from "./commands/GetTrustStoreCommand" ; import { GetUserSettingsCommand , GetUserSettingsCommandInput , GetUserSettingsCommandOutput , } from "./commands/GetUserSettingsCommand" ; import { ListBrowserSettingsCommand , ListBrowserSettingsCommandInput , ListBrowserSettingsCommandOutput , } from "./commands/ListBrowserSettingsCommand" ; import { ListIdentityProvidersCommand , ListIdentityProvidersCommandInput , ListIdentityProvidersCommandOutput , } from "./commands/ListIdentityProvidersCommand" ; import { ListNetworkSettingsCommand , ListNetworkSettingsCommandInput , ListNetworkSettingsCommandOutput , } from "./commands/ListNetworkSettingsCommand" ; import { ListPortalsCommand , ListPortalsCommandInput , ListPortalsCommandOutput } from "./commands/ListPortalsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListTrustStoreCertificatesCommand , ListTrustStoreCertificatesCommandInput , ListTrustStoreCertificatesCommandOutput , } from "./commands/ListTrustStoreCertificatesCommand" ; import { ListTrustStoresCommand , ListTrustStoresCommandInput , ListTrustStoresCommandOutput , } from "./commands/ListTrustStoresCommand" ; import { ListUserSettingsCommand , ListUserSettingsCommandInput , ListUserSettingsCommandOutput , } from "./commands/ListUserSettingsCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateBrowserSettingsCommand , UpdateBrowserSettingsCommandInput , UpdateBrowserSettingsCommandOutput , } from "./commands/UpdateBrowserSettingsCommand" ; import { UpdateIdentityProviderCommand , UpdateIdentityProviderCommandInput , UpdateIdentityProviderCommandOutput , } from "./commands/UpdateIdentityProviderCommand" ; import { UpdateNetworkSettingsCommand , UpdateNetworkSettingsCommandInput , UpdateNetworkSettingsCommandOutput , } from "./commands/UpdateNetworkSettingsCommand" ; import { UpdatePortalCommand , UpdatePortalCommandInput , UpdatePortalCommandOutput , } from "./commands/UpdatePortalCommand" ; import { UpdateTrustStoreCommand , UpdateTrustStoreCommandInput , UpdateTrustStoreCommandOutput , } from "./commands/UpdateTrustStoreCommand" ; import { UpdateUserSettingsCommand , UpdateUserSettingsCommandInput , UpdateUserSettingsCommandOutput , } from "./commands/UpdateUserSettingsCommand" ; import { WorkSpacesWebClient } from "./WorkSpacesWebClient" ; /**
 * <p>WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate
 *          secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide
 *          their employees with access to internal websites and SaaS web applications without the
 *          administrative burden of appliances or specialized client software. WorkSpaces Web provides
 *          simple policy tools tailored for user interactions, while offloading common tasks like
 *          capacity management, scaling, and maintaining browser images.</p>
 */ export class WorkSpacesWeb extends WorkSpacesWebClient { /**
     * <p>Associates a browser settings resource with a web portal.</p>
     */ public associateBrowserSettings ( args , options ? ) ; public associateBrowserSettings ( args , cb ) ; public associateBrowserSettings ( args , options , cb ) ; public associateBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new AssociateBrowserSettingsCommand ( 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>Associates a network settings resource with a web portal.</p>
     */ public associateNetworkSettings ( args , options ? ) ; public associateNetworkSettings ( args , cb ) ; public associateNetworkSettings ( args , options , cb ) ; public associateNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new AssociateNetworkSettingsCommand ( 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>Associates a trust store with a web portal.</p>
     */ public associateTrustStore ( args , options ? ) ; public associateTrustStore ( args , cb ) ; public associateTrustStore ( args , options , cb ) ; public associateTrustStore ( args , optionsOrCb ? , cb ? ) { const command = new AssociateTrustStoreCommand ( 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>Associates a user settings resource with a web portal.</p>
     */ public associateUserSettings ( args , options ? ) ; public associateUserSettings ( args , cb ) ; public associateUserSettings ( args , options , cb ) ; public associateUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new AssociateUserSettingsCommand ( 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 browser settings resource that can be associated with a web portal. Once
     *          associated with a web portal, browser settings control how the browser will behave once a
     *          user starts a streaming session for the web portal. </p>
     */ public createBrowserSettings ( args , options ? ) ; public createBrowserSettings ( args , cb ) ; public createBrowserSettings ( args , options , cb ) ; public createBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new CreateBrowserSettingsCommand ( 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 an identity provider resource that is then associated with a web portal.</p>
     */ public createIdentityProvider ( args , options ? ) ; public createIdentityProvider ( args , cb ) ; public createIdentityProvider ( args , options , cb ) ; public createIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new CreateIdentityProviderCommand ( 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 network settings resource that can be associated with a web portal. Once
     *          associated with a web portal, network settings define how streaming instances will connect
     *          with your specified VPC. </p>
     */ public createNetworkSettings ( args , options ? ) ; public createNetworkSettings ( args , cb ) ; public createNetworkSettings ( args , options , cb ) ; public createNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkSettingsCommand ( 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 web portal.</p>
     */ public createPortal ( args , options ? ) ; public createPortal ( args , cb ) ; public createPortal ( args , options , cb ) ; public createPortal ( args , optionsOrCb ? , cb ? ) { const command = new CreatePortalCommand ( 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 trust store that can be associated with a web portal. A trust store contains
     *          certificate authority (CA) certificates. Once associated with a web portal, the browser in
     *          a streaming session will recognize certificates that have been issued using any of the CAs
     *          in the trust store. If your organization has internal websites that use certificates issued
     *          by private CAs, you should add the private CA certificate to the trust store. </p>
     */ public createTrustStore ( args , options ? ) ; public createTrustStore ( args , cb ) ; public createTrustStore ( args , options , cb ) ; public createTrustStore ( args , optionsOrCb ? , cb ? ) { const command = new CreateTrustStoreCommand ( 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 user settings resource that can be associated with a web portal. Once
     *          associated with a web portal, user settings control how users can transfer data between a
     *          streaming session and the their local devices. </p>
     */ public createUserSettings ( args , options ? ) ; public createUserSettings ( args , cb ) ; public createUserSettings ( args , options , cb ) ; public createUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserSettingsCommand ( 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 browser settings.</p>
     */ public deleteBrowserSettings ( args , options ? ) ; public deleteBrowserSettings ( args , cb ) ; public deleteBrowserSettings ( args , options , cb ) ; public deleteBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBrowserSettingsCommand ( 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 the identity provider.</p>
     */ public deleteIdentityProvider ( args , options ? ) ; public deleteIdentityProvider ( args , cb ) ; public deleteIdentityProvider ( args , options , cb ) ; public deleteIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIdentityProviderCommand ( 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 network settings.</p>
     */ public deleteNetworkSettings ( args , options ? ) ; public deleteNetworkSettings ( args , cb ) ; public deleteNetworkSettings ( args , options , cb ) ; public deleteNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkSettingsCommand ( 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 web portal.</p>
     */ public deletePortal ( args , options ? ) ; public deletePortal ( args , cb ) ; public deletePortal ( args , options , cb ) ; public deletePortal ( args , optionsOrCb ? , cb ? ) { const command = new DeletePortalCommand ( 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 the trust store.</p>
     */ public deleteTrustStore ( args , options ? ) ; public deleteTrustStore ( args , cb ) ; public deleteTrustStore ( args , options , cb ) ; public deleteTrustStore ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTrustStoreCommand ( 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 user settings.</p>
     */ public deleteUserSettings ( args , options ? ) ; public deleteUserSettings ( args , cb ) ; public deleteUserSettings ( args , options , cb ) ; public deleteUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserSettingsCommand ( 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>Disassociates browser settings from a web portal.</p>
     */ public disassociateBrowserSettings ( args , options ? ) ; public disassociateBrowserSettings ( args , cb ) ; public disassociateBrowserSettings ( args , options , cb ) ; public disassociateBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateBrowserSettingsCommand ( 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>Disassociates network settings from a web portal.</p>
     */ public disassociateNetworkSettings ( args , options ? ) ; public disassociateNetworkSettings ( args , cb ) ; public disassociateNetworkSettings ( args , options , cb ) ; public disassociateNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateNetworkSettingsCommand ( 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>Disassociates a trust store from a web portal.</p>
     */ public disassociateTrustStore ( args , options ? ) ; public disassociateTrustStore ( args , cb ) ; public disassociateTrustStore ( args , options , cb ) ; public disassociateTrustStore ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateTrustStoreCommand ( 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>Disassociates user settings from a web portal.</p>
     */ public disassociateUserSettings ( args , options ? ) ; public disassociateUserSettings ( args , cb ) ; public disassociateUserSettings ( args , options , cb ) ; public disassociateUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateUserSettingsCommand ( 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 browser settings.</p>
     */ public getBrowserSettings ( args , options ? ) ; public getBrowserSettings ( args , cb ) ; public getBrowserSettings ( args , options , cb ) ; public getBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetBrowserSettingsCommand ( 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 the identity provider.</p>
     */ public getIdentityProvider ( args , options ? ) ; public getIdentityProvider ( args , cb ) ; public getIdentityProvider ( args , options , cb ) ; public getIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new GetIdentityProviderCommand ( 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 the network settings.</p>
     */ public getNetworkSettings ( args , options ? ) ; public getNetworkSettings ( args , cb ) ; public getNetworkSettings ( args , options , cb ) ; public getNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkSettingsCommand ( 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 the web portal.</p>
     */ public getPortal ( args , options ? ) ; public getPortal ( args , cb ) ; public getPortal ( args , options , cb ) ; public getPortal ( args , optionsOrCb ? , cb ? ) { const command = new GetPortalCommand ( 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 the service provider metadata.</p>
     */ public getPortalServiceProviderMetadata ( args , options ? ) ; public getPortalServiceProviderMetadata ( args , cb ) ; public getPortalServiceProviderMetadata ( args , options , cb ) ; public getPortalServiceProviderMetadata ( args , optionsOrCb ? , cb ? ) { const command = new GetPortalServiceProviderMetadataCommand ( 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 the trust store.</p>
     */ public getTrustStore ( args , options ? ) ; public getTrustStore ( args , cb ) ; public getTrustStore ( args , options , cb ) ; public getTrustStore ( args , optionsOrCb ? , cb ? ) { const command = new GetTrustStoreCommand ( 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 the trust store certificate.</p>
     */ public getTrustStoreCertificate ( args , options ? ) ; public getTrustStoreCertificate ( args , cb ) ; public getTrustStoreCertificate ( args , options , cb ) ; public getTrustStoreCertificate ( args , optionsOrCb ? , cb ? ) { const command = new GetTrustStoreCertificateCommand ( 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 user settings.</p>
     */ public getUserSettings ( args , options ? ) ; public getUserSettings ( args , cb ) ; public getUserSettings ( args , options , cb ) ; public getUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetUserSettingsCommand ( 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 a list of browser settings.</p>
     */ public listBrowserSettings ( args , options ? ) ; public listBrowserSettings ( args , cb ) ; public listBrowserSettings ( args , options , cb ) ; public listBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new ListBrowserSettingsCommand ( 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 a list of identity providers for a specific web portal.</p>
     */ public listIdentityProviders ( args , options ? ) ; public listIdentityProviders ( args , cb ) ; public listIdentityProviders ( args , options , cb ) ; public listIdentityProviders ( args , optionsOrCb ? , cb ? ) { const command = new ListIdentityProvidersCommand ( 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 a list of network settings.</p>
     */ public listNetworkSettings ( args , options ? ) ; public listNetworkSettings ( args , cb ) ; public listNetworkSettings ( args , options , cb ) ; public listNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new ListNetworkSettingsCommand ( 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 a list or web portals.</p>
     */ public listPortals ( args , options ? ) ; public listPortals ( args , cb ) ; public listPortals ( args , options , cb ) ; public listPortals ( args , optionsOrCb ? , cb ? ) { const command = new ListPortalsCommand ( 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 a list of 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>Retrieves a list of trust store certificates.</p>
     */ public listTrustStoreCertificates ( args , options ? ) ; public listTrustStoreCertificates ( args , cb ) ; public listTrustStoreCertificates ( args , options , cb ) ; public listTrustStoreCertificates ( args , optionsOrCb ? , cb ? ) { const command = new ListTrustStoreCertificatesCommand ( 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 a list of trust stores.</p>
     */ public listTrustStores ( args , options ? ) ; public listTrustStores ( args , cb ) ; public listTrustStores ( args , options , cb ) ; public listTrustStores ( args , optionsOrCb ? , cb ? ) { const command = new ListTrustStoresCommand ( 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 a list of user settings.</p>
     */ public listUserSettings ( args , options ? ) ; public listUserSettings ( args , cb ) ; public listUserSettings ( args , options , cb ) ; public listUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new ListUserSettingsCommand ( 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 or overwrites one or more tags for the specified 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 one or more tags from the specified 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 browser settings.</p>
     */ public updateBrowserSettings ( args , options ? ) ; public updateBrowserSettings ( args , cb ) ; public updateBrowserSettings ( args , options , cb ) ; public updateBrowserSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateBrowserSettingsCommand ( 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 identity provider.</p>
     */ public updateIdentityProvider ( args , options ? ) ; public updateIdentityProvider ( args , cb ) ; public updateIdentityProvider ( args , options , cb ) ; public updateIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIdentityProviderCommand ( 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 network settings.</p>
     */ public updateNetworkSettings ( args , options ? ) ; public updateNetworkSettings ( args , cb ) ; public updateNetworkSettings ( args , options , cb ) ; public updateNetworkSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateNetworkSettingsCommand ( 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 web portal.</p>
     */ public updatePortal ( args , options ? ) ; public updatePortal ( args , cb ) ; public updatePortal ( args , options , cb ) ; public updatePortal ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePortalCommand ( 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 trust store.</p>
     */ public updateTrustStore ( args , options ? ) ; public updateTrustStore ( args , cb ) ; public updateTrustStore ( args , options , cb ) ; public updateTrustStore ( args , optionsOrCb ? , cb ? ) { const command = new UpdateTrustStoreCommand ( 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 user settings.</p>
     */ public updateUserSettings ( args , options ? ) ; public updateUserSettings ( args , cb ) ; public updateUserSettings ( args , options , cb ) ; public updateUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserSettingsCommand ( 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 ) ; } } }