amazonka-ds-1.5.0: Amazon Directory Service SDK.

Copyright(c) 2013-2017 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 # 
Data DisableSSO Source # 

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 # 
Generic DisableSSO Source # 

Associated Types

type Rep DisableSSO :: * -> * #

Hashable DisableSSO Source # 
ToJSON DisableSSO Source # 
NFData DisableSSO Source # 

Methods

rnf :: DisableSSO -> () #

AWSRequest DisableSSO Source # 
ToQuery DisableSSO Source # 
ToPath DisableSSO Source # 
ToHeaders DisableSSO Source # 

Methods

toHeaders :: DisableSSO -> [Header] #

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

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 # 
Data DisableSSOResponse Source # 

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 # 
Show DisableSSOResponse Source # 
Generic DisableSSOResponse Source # 
NFData DisableSSOResponse Source # 

Methods

rnf :: DisableSSOResponse -> () #

type Rep DisableSSOResponse Source # 
type Rep DisableSSOResponse = D1 (MetaData "DisableSSOResponse" "Network.AWS.DirectoryService.DisableSSO" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" True) (C1 (MetaCons "DisableSSOResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dssorsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

dssorsResponseStatus :: Lens' DisableSSOResponse Int Source #

  • - | The response status code.