import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AssociateDomainCommand , AssociateDomainCommandInput , AssociateDomainCommandOutput , } from "./commands/AssociateDomainCommand" ; import { AssociateWebsiteAuthorizationProviderCommand , AssociateWebsiteAuthorizationProviderCommandInput , AssociateWebsiteAuthorizationProviderCommandOutput , } from "./commands/AssociateWebsiteAuthorizationProviderCommand" ; import { AssociateWebsiteCertificateAuthorityCommand , AssociateWebsiteCertificateAuthorityCommandInput , AssociateWebsiteCertificateAuthorityCommandOutput , } from "./commands/AssociateWebsiteCertificateAuthorityCommand" ; import { CreateFleetCommand , CreateFleetCommandInput , CreateFleetCommandOutput } from "./commands/CreateFleetCommand" ; import { DeleteFleetCommand , DeleteFleetCommandInput , DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand" ; import { DescribeAuditStreamConfigurationCommand , DescribeAuditStreamConfigurationCommandInput , DescribeAuditStreamConfigurationCommandOutput , } from "./commands/DescribeAuditStreamConfigurationCommand" ; import { DescribeCompanyNetworkConfigurationCommand , DescribeCompanyNetworkConfigurationCommandInput , DescribeCompanyNetworkConfigurationCommandOutput , } from "./commands/DescribeCompanyNetworkConfigurationCommand" ; import { DescribeDeviceCommand , DescribeDeviceCommandInput , DescribeDeviceCommandOutput , } from "./commands/DescribeDeviceCommand" ; import { DescribeDevicePolicyConfigurationCommand , DescribeDevicePolicyConfigurationCommandInput , DescribeDevicePolicyConfigurationCommandOutput , } from "./commands/DescribeDevicePolicyConfigurationCommand" ; import { DescribeDomainCommand , DescribeDomainCommandInput , DescribeDomainCommandOutput , } from "./commands/DescribeDomainCommand" ; import { DescribeFleetMetadataCommand , DescribeFleetMetadataCommandInput , DescribeFleetMetadataCommandOutput , } from "./commands/DescribeFleetMetadataCommand" ; import { DescribeIdentityProviderConfigurationCommand , DescribeIdentityProviderConfigurationCommandInput , DescribeIdentityProviderConfigurationCommandOutput , } from "./commands/DescribeIdentityProviderConfigurationCommand" ; import { DescribeWebsiteCertificateAuthorityCommand , DescribeWebsiteCertificateAuthorityCommandInput , DescribeWebsiteCertificateAuthorityCommandOutput , } from "./commands/DescribeWebsiteCertificateAuthorityCommand" ; import { DisassociateDomainCommand , DisassociateDomainCommandInput , DisassociateDomainCommandOutput , } from "./commands/DisassociateDomainCommand" ; import { DisassociateWebsiteAuthorizationProviderCommand , DisassociateWebsiteAuthorizationProviderCommandInput , DisassociateWebsiteAuthorizationProviderCommandOutput , } from "./commands/DisassociateWebsiteAuthorizationProviderCommand" ; import { DisassociateWebsiteCertificateAuthorityCommand , DisassociateWebsiteCertificateAuthorityCommandInput , DisassociateWebsiteCertificateAuthorityCommandOutput , } from "./commands/DisassociateWebsiteCertificateAuthorityCommand" ; import { ListDevicesCommand , ListDevicesCommandInput , ListDevicesCommandOutput } from "./commands/ListDevicesCommand" ; import { ListDomainsCommand , ListDomainsCommandInput , ListDomainsCommandOutput } from "./commands/ListDomainsCommand" ; import { ListFleetsCommand , ListFleetsCommandInput , ListFleetsCommandOutput } from "./commands/ListFleetsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListWebsiteAuthorizationProvidersCommand , ListWebsiteAuthorizationProvidersCommandInput , ListWebsiteAuthorizationProvidersCommandOutput , } from "./commands/ListWebsiteAuthorizationProvidersCommand" ; import { ListWebsiteCertificateAuthoritiesCommand , ListWebsiteCertificateAuthoritiesCommandInput , ListWebsiteCertificateAuthoritiesCommandOutput , } from "./commands/ListWebsiteCertificateAuthoritiesCommand" ; import { RestoreDomainAccessCommand , RestoreDomainAccessCommandInput , RestoreDomainAccessCommandOutput , } from "./commands/RestoreDomainAccessCommand" ; import { RevokeDomainAccessCommand , RevokeDomainAccessCommandInput , RevokeDomainAccessCommandOutput , } from "./commands/RevokeDomainAccessCommand" ; import { SignOutUserCommand , SignOutUserCommandInput , SignOutUserCommandOutput } from "./commands/SignOutUserCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAuditStreamConfigurationCommand , UpdateAuditStreamConfigurationCommandInput , UpdateAuditStreamConfigurationCommandOutput , } from "./commands/UpdateAuditStreamConfigurationCommand" ; import { UpdateCompanyNetworkConfigurationCommand , UpdateCompanyNetworkConfigurationCommandInput , UpdateCompanyNetworkConfigurationCommandOutput , } from "./commands/UpdateCompanyNetworkConfigurationCommand" ; import { UpdateDevicePolicyConfigurationCommand , UpdateDevicePolicyConfigurationCommandInput , UpdateDevicePolicyConfigurationCommandOutput , } from "./commands/UpdateDevicePolicyConfigurationCommand" ; import { UpdateDomainMetadataCommand , UpdateDomainMetadataCommandInput , UpdateDomainMetadataCommandOutput , } from "./commands/UpdateDomainMetadataCommand" ; import { UpdateFleetMetadataCommand , UpdateFleetMetadataCommandInput , UpdateFleetMetadataCommandOutput , } from "./commands/UpdateFleetMetadataCommand" ; import { UpdateIdentityProviderConfigurationCommand , UpdateIdentityProviderConfigurationCommandInput , UpdateIdentityProviderConfigurationCommandOutput , } from "./commands/UpdateIdentityProviderConfigurationCommand" ; import { WorkLinkClient } from "./WorkLinkClient" ; /**
 * <p>Amazon WorkLink is a cloud-based service that provides secure access
 *             to internal websites and web apps from iOS and Android phones. In a single step, your users, such as
 *             employees, can access internal websites as efficiently as they access any other public website.
 *             They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink
 *             authenticates the user's access and securely renders authorized internal web content in a secure
 *             rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on
 *             mobile devices.</p>
 */ export class WorkLink extends WorkLinkClient { /**
     * <p>Specifies a domain to be associated to Amazon WorkLink.</p>
     */ public associateDomain ( args , options ? ) ; public associateDomain ( args , cb ) ; public associateDomain ( args , options , cb ) ; public associateDomain ( args , optionsOrCb ? , cb ? ) { const command = new AssociateDomainCommand ( 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 website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.</p>
     */ public associateWebsiteAuthorizationProvider ( args , options ? ) ; public associateWebsiteAuthorizationProvider ( args , cb ) ; public associateWebsiteAuthorizationProvider ( args , options , cb ) ; public associateWebsiteAuthorizationProvider ( args , optionsOrCb ? , cb ? ) { const command = new AssociateWebsiteAuthorizationProviderCommand ( 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>Imports the root certificate of a certificate authority (CA) used to obtain TLS
     *             certificates used by associated websites within the company network.</p>
     */ public associateWebsiteCertificateAuthority ( args , options ? ) ; public associateWebsiteCertificateAuthority ( args , cb ) ; public associateWebsiteCertificateAuthority ( args , options , cb ) ; public associateWebsiteCertificateAuthority ( args , optionsOrCb ? , cb ? ) { const command = new AssociateWebsiteCertificateAuthorityCommand ( 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 fleet. A fleet consists of resources and the configuration that delivers
     *             associated websites to authorized users who download and set up the Amazon WorkLink app.</p>
     */ public createFleet ( args , options ? ) ; public createFleet ( args , cb ) ; public createFleet ( args , options , cb ) ; public createFleet ( args , optionsOrCb ? , cb ? ) { const command = new CreateFleetCommand ( 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 fleet. Prevents users from accessing previously associated websites. </p>
     */ public deleteFleet ( args , options ? ) ; public deleteFleet ( args , cb ) ; public deleteFleet ( args , options , cb ) ; public deleteFleet ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFleetCommand ( 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 configuration for delivering audit streams to the customer account.</p>
     */ public describeAuditStreamConfiguration ( args , options ? ) ; public describeAuditStreamConfiguration ( args , cb ) ; public describeAuditStreamConfiguration ( args , options , cb ) ; public describeAuditStreamConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAuditStreamConfigurationCommand ( 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 networking configuration to access the internal websites associated with
     *             the specified fleet.</p>
     */ public describeCompanyNetworkConfiguration ( args , options ? ) ; public describeCompanyNetworkConfiguration ( args , cb ) ; public describeCompanyNetworkConfiguration ( args , options , cb ) ; public describeCompanyNetworkConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCompanyNetworkConfigurationCommand ( 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 information about a user's device.</p>
     */ public describeDevice ( args , options ? ) ; public describeDevice ( args , cb ) ; public describeDevice ( args , options , cb ) ; public describeDevice ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDeviceCommand ( 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 device policy configuration for the specified fleet.</p>
     */ public describeDevicePolicyConfiguration ( args , options ? ) ; public describeDevicePolicyConfiguration ( args , cb ) ; public describeDevicePolicyConfiguration ( args , options , cb ) ; public describeDevicePolicyConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDevicePolicyConfigurationCommand ( 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 information about the domain.</p>
     */ public describeDomain ( args , options ? ) ; public describeDomain ( args , cb ) ; public describeDomain ( args , options , cb ) ; public describeDomain ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDomainCommand ( 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 basic information for the specified fleet, excluding identity provider,
     *             networking, and device configuration details.</p>
     */ public describeFleetMetadata ( args , options ? ) ; public describeFleetMetadata ( args , cb ) ; public describeFleetMetadata ( args , options , cb ) ; public describeFleetMetadata ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFleetMetadataCommand ( 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 identity provider configuration of the specified fleet.</p>
     */ public describeIdentityProviderConfiguration ( args , options ? ) ; public describeIdentityProviderConfiguration ( args , cb ) ; public describeIdentityProviderConfiguration ( args , options , cb ) ; public describeIdentityProviderConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIdentityProviderConfigurationCommand ( 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 information about the certificate authority.</p>
     */ public describeWebsiteCertificateAuthority ( args , options ? ) ; public describeWebsiteCertificateAuthority ( args , cb ) ; public describeWebsiteCertificateAuthority ( args , options , cb ) ; public describeWebsiteCertificateAuthority ( args , optionsOrCb ? , cb ? ) { const command = new DescribeWebsiteCertificateAuthorityCommand ( 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 domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink. </p>
     */ public disassociateDomain ( args , options ? ) ; public disassociateDomain ( args , cb ) ; public disassociateDomain ( args , options , cb ) ; public disassociateDomain ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateDomainCommand ( 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 website authorization provider from a specified fleet. After the
     *             disassociation, users can't load any associated websites that require this authorization
     *             provider.</p>
     */ public disassociateWebsiteAuthorizationProvider ( args , options ? ) ; public disassociateWebsiteAuthorizationProvider ( args , cb ) ; public disassociateWebsiteAuthorizationProvider ( args , options , cb ) ; public disassociateWebsiteAuthorizationProvider ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateWebsiteAuthorizationProviderCommand ( 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 a certificate authority (CA).</p>
     */ public disassociateWebsiteCertificateAuthority ( args , options ? ) ; public disassociateWebsiteCertificateAuthority ( args , cb ) ; public disassociateWebsiteCertificateAuthority ( args , options , cb ) ; public disassociateWebsiteCertificateAuthority ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateWebsiteCertificateAuthorityCommand ( 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 devices registered with the specified fleet.</p>
     */ public listDevices ( args , options ? ) ; public listDevices ( args , cb ) ; public listDevices ( args , options , cb ) ; public listDevices ( args , optionsOrCb ? , cb ? ) { const command = new ListDevicesCommand ( 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 domains associated to a specified fleet.</p>
     */ public listDomains ( args , options ? ) ; public listDomains ( args , cb ) ; public listDomains ( args , options , cb ) ; public listDomains ( args , optionsOrCb ? , cb ? ) { const command = new ListDomainsCommand ( 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 fleets for the current account and Region.</p>
     */ public listFleets ( args , options ? ) ; public listFleets ( args , cb ) ; public listFleets ( args , options , cb ) ; public listFleets ( args , optionsOrCb ? , cb ? ) { const command = new ListFleetsCommand ( 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 the specified 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 website authorization providers associated with a specified fleet.</p>
     */ public listWebsiteAuthorizationProviders ( args , options ? ) ; public listWebsiteAuthorizationProviders ( args , cb ) ; public listWebsiteAuthorizationProviders ( args , options , cb ) ; public listWebsiteAuthorizationProviders ( args , optionsOrCb ? , cb ? ) { const command = new ListWebsiteAuthorizationProvidersCommand ( 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 certificate authorities added for the current account and
     *             Region.</p>
     */ public listWebsiteCertificateAuthorities ( args , options ? ) ; public listWebsiteCertificateAuthorities ( args , cb ) ; public listWebsiteCertificateAuthorities ( args , options , cb ) ; public listWebsiteCertificateAuthorities ( args , optionsOrCb ? , cb ? ) { const command = new ListWebsiteCertificateAuthoritiesCommand ( 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>Moves a domain to ACTIVE status if it was in the INACTIVE status.</p>
     */ public restoreDomainAccess ( args , options ? ) ; public restoreDomainAccess ( args , cb ) ; public restoreDomainAccess ( args , options , cb ) ; public restoreDomainAccess ( args , optionsOrCb ? , cb ? ) { const command = new RestoreDomainAccessCommand ( 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>Moves a domain to INACTIVE status if it was in the ACTIVE status.</p>
     */ public revokeDomainAccess ( args , options ? ) ; public revokeDomainAccess ( args , cb ) ; public revokeDomainAccess ( args , options , cb ) ; public revokeDomainAccess ( args , optionsOrCb ? , cb ? ) { const command = new RevokeDomainAccessCommand ( 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>Signs the user out from all of their devices. The user can sign in again if they have
     *             valid credentials.</p>
     */ public signOutUser ( args , options ? ) ; public signOutUser ( args , cb ) ; public signOutUser ( args , options , cb ) ; public signOutUser ( args , optionsOrCb ? , cb ? ) { const command = new SignOutUserCommand ( 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, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.</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 the audit stream configuration for the fleet.</p>
     */ public updateAuditStreamConfiguration ( args , options ? ) ; public updateAuditStreamConfiguration ( args , cb ) ; public updateAuditStreamConfiguration ( args , options , cb ) ; public updateAuditStreamConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAuditStreamConfigurationCommand ( 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 company network configuration for the fleet.</p>
     */ public updateCompanyNetworkConfiguration ( args , options ? ) ; public updateCompanyNetworkConfiguration ( args , cb ) ; public updateCompanyNetworkConfiguration ( args , options , cb ) ; public updateCompanyNetworkConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateCompanyNetworkConfigurationCommand ( 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 device policy configuration for the fleet.</p>
     */ public updateDevicePolicyConfiguration ( args , options ? ) ; public updateDevicePolicyConfiguration ( args , cb ) ; public updateDevicePolicyConfiguration ( args , options , cb ) ; public updateDevicePolicyConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDevicePolicyConfigurationCommand ( 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 domain metadata, such as DisplayName.</p>
     */ public updateDomainMetadata ( args , options ? ) ; public updateDomainMetadata ( args , cb ) ; public updateDomainMetadata ( args , options , cb ) ; public updateDomainMetadata ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDomainMetadataCommand ( 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 fleet metadata, such as DisplayName.</p>
     */ public updateFleetMetadata ( args , options ? ) ; public updateFleetMetadata ( args , cb ) ; public updateFleetMetadata ( args , options , cb ) ; public updateFleetMetadata ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFleetMetadataCommand ( 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 configuration for the fleet.</p>
     */ public updateIdentityProviderConfiguration ( args , options ? ) ; public updateIdentityProviderConfiguration ( args , cb ) ; public updateIdentityProviderConfiguration ( args , options , cb ) ; public updateIdentityProviderConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIdentityProviderConfigurationCommand ( 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 ) ; } } }