Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Enables single-sign on for a directory.
See: AWS API Reference for EnableSSO.
Creating a Request
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:
Contains the inputs for the EnableSso operation.
See: enableSSO
smart constructor.
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 principle name.
If the AD Connector service account does not have privileges to add a service principle 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. See the UserName parameter for more information.
esDirectoryId :: Lens' EnableSSO Text Source
The identifier of the directory to enable single-sign on for.
Destructuring the Response
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.
Response Lenses
esrsResponseStatus :: Lens' EnableSSOResponse Int Source
The response status code.