amazonka-ds-1.4.5: Amazon Directory Service SDK.

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

Network.AWS.DirectoryService.EnableSSO

Contents

Description

Enables single-sign on for a directory.

Synopsis

Creating a Request

enableSSO Source #

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

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

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

data EnableSSO Source #

Contains the inputs for the EnableSso operation.

See: enableSSO smart constructor.

Instances

Eq EnableSSO Source # 
Data EnableSSO Source # 

Methods

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

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

toConstr :: EnableSSO -> Constr #

dataTypeOf :: EnableSSO -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableSSO Source # 
Show EnableSSO Source # 
Generic EnableSSO Source # 

Associated Types

type Rep EnableSSO :: * -> * #

Hashable EnableSSO Source # 
ToJSON EnableSSO Source # 
NFData EnableSSO Source # 

Methods

rnf :: EnableSSO -> () #

AWSRequest EnableSSO Source # 
ToPath EnableSSO Source # 
ToHeaders EnableSSO Source # 

Methods

toHeaders :: EnableSSO -> [Header] #

ToQuery EnableSSO Source # 
type Rep EnableSSO Source # 
type Rep EnableSSO = D1 (MetaData "EnableSSO" "Network.AWS.DirectoryService.EnableSSO" "amazonka-ds-1.4.5-24h2k11yeH0J6s1sLl4Gzu" False) (C1 (MetaCons "EnableSSO'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_esUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_esPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_esDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs EnableSSO Source # 

Request Lenses

esUserName :: Lens' EnableSSO (Maybe Text) Source #

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

esPassword :: Lens' EnableSSO (Maybe Text) Source #

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

esDirectoryId :: Lens' EnableSSO Text Source #

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

Destructuring the Response

enableSSOResponse Source #

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

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

data EnableSSOResponse Source #

Contains the results of the EnableSso operation.

See: enableSSOResponse smart constructor.

Instances

Eq EnableSSOResponse Source # 
Data EnableSSOResponse Source # 

Methods

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

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

toConstr :: EnableSSOResponse -> Constr #

dataTypeOf :: EnableSSOResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableSSOResponse Source # 
Show EnableSSOResponse Source # 
Generic EnableSSOResponse Source # 
NFData EnableSSOResponse Source # 

Methods

rnf :: EnableSSOResponse -> () #

type Rep EnableSSOResponse Source # 
type Rep EnableSSOResponse = D1 (MetaData "EnableSSOResponse" "Network.AWS.DirectoryService.EnableSSO" "amazonka-ds-1.4.5-24h2k11yeH0J6s1sLl4Gzu" True) (C1 (MetaCons "EnableSSOResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_esrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

esrsResponseStatus :: Lens' EnableSSOResponse Int Source #

  • - | The response status code.