| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DirectoryService.EnableRadius
Description
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.
Synopsis
- data EnableRadius = EnableRadius' {}
- newEnableRadius :: Text -> RadiusSettings -> EnableRadius
- enableRadius_directoryId :: Lens' EnableRadius Text
- enableRadius_radiusSettings :: Lens' EnableRadius RadiusSettings
- data EnableRadiusResponse = EnableRadiusResponse' {
- httpStatus :: Int
- newEnableRadiusResponse :: Int -> EnableRadiusResponse
- enableRadiusResponse_httpStatus :: Lens' EnableRadiusResponse Int
Creating a Request
data EnableRadius Source #
Contains the inputs for the EnableRadius operation.
See: newEnableRadius smart constructor.
Constructors
| EnableRadius' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> RadiusSettings | |
| -> EnableRadius |
Create a value of EnableRadius 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:
EnableRadius, enableRadius_directoryId - The identifier of the directory for which to enable MFA.
EnableRadius, enableRadius_radiusSettings - A RadiusSettings object that contains information about the RADIUS
server.
Request Lenses
enableRadius_directoryId :: Lens' EnableRadius Text Source #
The identifier of the directory for which to enable MFA.
enableRadius_radiusSettings :: Lens' EnableRadius RadiusSettings Source #
A RadiusSettings object that contains information about the RADIUS server.
Destructuring the Response
data EnableRadiusResponse Source #
Contains the results of the EnableRadius operation.
See: newEnableRadiusResponse smart constructor.
Constructors
| EnableRadiusResponse' | |
Fields
| |
Instances
newEnableRadiusResponse Source #
Arguments
| :: Int | |
| -> EnableRadiusResponse |
Create a value of EnableRadiusResponse 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:EnableRadiusResponse', enableRadiusResponse_httpStatus - The response's http status code.
Response Lenses
enableRadiusResponse_httpStatus :: Lens' EnableRadiusResponse Int Source #
The response's http status code.