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.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 # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Data EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

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 #

Show EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Generic EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Associated Types

type Rep EnableSSO :: Type -> Type #

Hashable EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

ToJSON EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

AWSRequest EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Associated Types

type Rs EnableSSO :: Type #

ToHeaders EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Methods

toHeaders :: EnableSSO -> [Header] #

ToPath EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

ToQuery EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

NFData EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Methods

rnf :: EnableSSO -> () #

type Rep EnableSSO Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

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

Defined in Network.AWS.DirectoryService.EnableSSO

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 # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Data EnableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

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 # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Show EnableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Generic EnableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Associated Types

type Rep EnableSSOResponse :: Type -> Type #

NFData EnableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

Methods

rnf :: EnableSSOResponse -> () #

type Rep EnableSSOResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.EnableSSO

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

Response Lenses

esrsResponseStatus :: Lens' EnableSSOResponse Int Source #

  • - | The response status code.