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 |
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.
EnableLDAPS' | |
|
Instances
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:
$sel:directoryId:EnableLDAPS'
, enableLDAPS_directoryId
- The identifier of the directory.
$sel:type':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.
EnableLDAPSResponse' | |
|
Instances
newEnableLDAPSResponse Source #
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.