amazonka-ds-1.6.1: Amazon Directory Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DirectoryService.DisableSSO

Contents

Description

Disables single-sign on for a directory.

Synopsis

Creating a Request

disableSSO Source #

Creates a value of DisableSSO with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dssoUserName - The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name. If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed.
  • dssoPassword - The password of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.
  • dssoDirectoryId - The identifier of the directory for which to disable single-sign on.

data DisableSSO Source #

Contains the inputs for the DisableSso operation.

See: disableSSO smart constructor.

Instances
Eq DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Data DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisableSSO -> c DisableSSO #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisableSSO #

toConstr :: DisableSSO -> Constr #

dataTypeOf :: DisableSSO -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisableSSO) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisableSSO) #

gmapT :: (forall b. Data b => b -> b) -> DisableSSO -> DisableSSO #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisableSSO -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisableSSO -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisableSSO -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisableSSO -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisableSSO -> m DisableSSO #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSSO -> m DisableSSO #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSSO -> m DisableSSO #

Show DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Generic DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Associated Types

type Rep DisableSSO :: Type -> Type #

Hashable DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

ToJSON DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

AWSRequest DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Associated Types

type Rs DisableSSO :: Type #

ToHeaders DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Methods

toHeaders :: DisableSSO -> [Header] #

ToPath DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

ToQuery DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

NFData DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Methods

rnf :: DisableSSO -> () #

type Rep DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

type Rep DisableSSO = D1 (MetaData "DisableSSO" "Network.AWS.DirectoryService.DisableSSO" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "DisableSSO'" PrefixI True) (S1 (MetaSel (Just "_dssoUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dssoPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_dssoDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DisableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Request Lenses

dssoUserName :: Lens' DisableSSO (Maybe Text) Source #

The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name. If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed.

dssoPassword :: Lens' DisableSSO (Maybe Text) Source #

The password of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.

dssoDirectoryId :: Lens' DisableSSO Text Source #

The identifier of the directory for which to disable single-sign on.

Destructuring the Response

disableSSOResponse Source #

Creates a value of DisableSSOResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DisableSSOResponse Source #

Contains the results of the DisableSso operation.

See: disableSSOResponse smart constructor.

Instances
Eq DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Data DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisableSSOResponse -> c DisableSSOResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisableSSOResponse #

toConstr :: DisableSSOResponse -> Constr #

dataTypeOf :: DisableSSOResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisableSSOResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisableSSOResponse) #

gmapT :: (forall b. Data b => b -> b) -> DisableSSOResponse -> DisableSSOResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisableSSOResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisableSSOResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisableSSOResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisableSSOResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisableSSOResponse -> m DisableSSOResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSSOResponse -> m DisableSSOResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSSOResponse -> m DisableSSOResponse #

Read DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Show DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Generic DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Associated Types

type Rep DisableSSOResponse :: Type -> Type #

NFData DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

Methods

rnf :: DisableSSOResponse -> () #

type Rep DisableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DisableSSO

type Rep DisableSSOResponse = D1 (MetaData "DisableSSOResponse" "Network.AWS.DirectoryService.DisableSSO" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" True) (C1 (MetaCons "DisableSSOResponse'" PrefixI True) (S1 (MetaSel (Just "_dssorsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

dssorsResponseStatus :: Lens' DisableSSOResponse Int Source #

  • - | The response status code.