| 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.EnableLDAPS
Description
Activates the switch for the specific directory to always use LDAP secure calls.
Synopsis
- data EnableLDAPS = EnableLDAPS' {
- directoryId :: Text
- type' :: LDAPSType
- newEnableLDAPS :: Text -> LDAPSType -> EnableLDAPS
- enableLDAPS_directoryId :: Lens' EnableLDAPS Text
- enableLDAPS_type :: Lens' EnableLDAPS LDAPSType
- data EnableLDAPSResponse = EnableLDAPSResponse' {
- httpStatus :: Int
- newEnableLDAPSResponse :: Int -> EnableLDAPSResponse
- enableLDAPSResponse_httpStatus :: Lens' EnableLDAPSResponse Int
Creating a Request
data EnableLDAPS Source #
See: newEnableLDAPS smart constructor.
Constructors
| EnableLDAPS' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> LDAPSType | |
| -> EnableLDAPS |
Create a value of EnableLDAPS 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:
EnableLDAPS, enableLDAPS_directoryId - The identifier of the directory.
EnableLDAPS, enableLDAPS_type - The type of LDAP security to enable. Currently only the value Client
is supported.
Request Lenses
enableLDAPS_directoryId :: Lens' EnableLDAPS Text Source #
The identifier of the directory.
enableLDAPS_type :: Lens' EnableLDAPS LDAPSType Source #
The type of LDAP security to enable. Currently only the value Client
is supported.
Destructuring the Response
data EnableLDAPSResponse Source #
See: newEnableLDAPSResponse smart constructor.
Constructors
| EnableLDAPSResponse' | |
Fields
| |
Instances
newEnableLDAPSResponse Source #
Arguments
| :: Int | |
| -> EnableLDAPSResponse |
Create a value of EnableLDAPSResponse 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:EnableLDAPSResponse', enableLDAPSResponse_httpStatus - The response's http status code.
Response Lenses
enableLDAPSResponse_httpStatus :: Lens' EnableLDAPSResponse Int Source #
The response's http status code.