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 |
Amazonka.DirectoryService.DisableClientAuthentication
Description
Disables alternative client authentication methods for the specified directory.
Synopsis
- data DisableClientAuthentication = DisableClientAuthentication' {}
- newDisableClientAuthentication :: Text -> ClientAuthenticationType -> DisableClientAuthentication
- disableClientAuthentication_directoryId :: Lens' DisableClientAuthentication Text
- disableClientAuthentication_type :: Lens' DisableClientAuthentication ClientAuthenticationType
- data DisableClientAuthenticationResponse = DisableClientAuthenticationResponse' {
- httpStatus :: Int
- newDisableClientAuthenticationResponse :: Int -> DisableClientAuthenticationResponse
- disableClientAuthenticationResponse_httpStatus :: Lens' DisableClientAuthenticationResponse Int
Creating a Request
data DisableClientAuthentication Source #
See: newDisableClientAuthentication
smart constructor.
Constructors
DisableClientAuthentication' | |
Fields
|
Instances
newDisableClientAuthentication Source #
Arguments
:: Text | |
-> ClientAuthenticationType | |
-> DisableClientAuthentication |
Create a value of DisableClientAuthentication
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:directoryId:DisableClientAuthentication'
, disableClientAuthentication_directoryId
- The identifier of the directory
$sel:type':DisableClientAuthentication'
, disableClientAuthentication_type
- The type of client authentication to disable. Currently, only the
parameter, SmartCard
is supported.
Request Lenses
disableClientAuthentication_directoryId :: Lens' DisableClientAuthentication Text Source #
The identifier of the directory
disableClientAuthentication_type :: Lens' DisableClientAuthentication ClientAuthenticationType Source #
The type of client authentication to disable. Currently, only the
parameter, SmartCard
is supported.
Destructuring the Response
data DisableClientAuthenticationResponse Source #
See: newDisableClientAuthenticationResponse
smart constructor.
Constructors
DisableClientAuthenticationResponse' | |
Fields
|
Instances
newDisableClientAuthenticationResponse Source #
Arguments
:: Int | |
-> DisableClientAuthenticationResponse |
Create a value of DisableClientAuthenticationResponse
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:DisableClientAuthenticationResponse'
, disableClientAuthenticationResponse_httpStatus
- The response's http status code.
Response Lenses
disableClientAuthenticationResponse_httpStatus :: Lens' DisableClientAuthenticationResponse Int Source #
The response's http status code.