Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.
Synopsis
- data EnableSso = EnableSso' {}
- newEnableSso :: Text -> EnableSso
- enableSso_userName :: Lens' EnableSso (Maybe Text)
- enableSso_password :: Lens' EnableSso (Maybe Text)
- enableSso_directoryId :: Lens' EnableSso Text
- data EnableSsoResponse = EnableSsoResponse' {
- httpStatus :: Int
- newEnableSsoResponse :: Int -> EnableSsoResponse
- enableSsoResponse_httpStatus :: Lens' EnableSsoResponse Int
Creating a Request
Contains the inputs for the EnableSso operation.
See: newEnableSso
smart constructor.
EnableSso' | |
|
Instances
Create a value of EnableSso
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:userName:EnableSso'
, enableSso_userName
- 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.
$sel:password:EnableSso'
, enableSso_password
- 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.
$sel:directoryId:EnableSso'
, enableSso_directoryId
- The identifier of the directory for which to enable single-sign on.
Request Lenses
enableSso_userName :: 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.
enableSso_password :: 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.
enableSso_directoryId :: Lens' EnableSso Text Source #
The identifier of the directory for which to enable single-sign on.
Destructuring the Response
data EnableSsoResponse Source #
Contains the results of the EnableSso operation.
See: newEnableSsoResponse
smart constructor.
EnableSsoResponse' | |
|
Instances
Create a value of EnableSsoResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:EnableSsoResponse'
, enableSsoResponse_httpStatus
- The response's http status code.
Response Lenses
enableSsoResponse_httpStatus :: Lens' EnableSsoResponse Int Source #
The response's http status code.