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 |
Registers a certificate for a secure LDAP or client certificate authentication.
Synopsis
- data RegisterCertificate = RegisterCertificate' {}
- newRegisterCertificate :: Text -> Text -> RegisterCertificate
- registerCertificate_clientCertAuthSettings :: Lens' RegisterCertificate (Maybe ClientCertAuthSettings)
- registerCertificate_type :: Lens' RegisterCertificate (Maybe CertificateType)
- registerCertificate_directoryId :: Lens' RegisterCertificate Text
- registerCertificate_certificateData :: Lens' RegisterCertificate Text
- data RegisterCertificateResponse = RegisterCertificateResponse' {
- certificateId :: Maybe Text
- httpStatus :: Int
- newRegisterCertificateResponse :: Int -> RegisterCertificateResponse
- registerCertificateResponse_certificateId :: Lens' RegisterCertificateResponse (Maybe Text)
- registerCertificateResponse_httpStatus :: Lens' RegisterCertificateResponse Int
Creating a Request
data RegisterCertificate Source #
See: newRegisterCertificate
smart constructor.
RegisterCertificate' | |
|
Instances
newRegisterCertificate Source #
:: Text | |
-> Text | |
-> RegisterCertificate |
Create a value of RegisterCertificate
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:clientCertAuthSettings:RegisterCertificate'
, registerCertificate_clientCertAuthSettings
- A ClientCertAuthSettings
object that contains client certificate
authentication settings.
$sel:type':RegisterCertificate'
, registerCertificate_type
- The function that the registered certificate performs. Valid values
include ClientLDAPS
or ClientCertAuth
. The default value is
ClientLDAPS
.
$sel:directoryId:RegisterCertificate'
, registerCertificate_directoryId
- The identifier of the directory.
$sel:certificateData:RegisterCertificate'
, registerCertificate_certificateData
- The certificate PEM string that needs to be registered.
Request Lenses
registerCertificate_clientCertAuthSettings :: Lens' RegisterCertificate (Maybe ClientCertAuthSettings) Source #
A ClientCertAuthSettings
object that contains client certificate
authentication settings.
registerCertificate_type :: Lens' RegisterCertificate (Maybe CertificateType) Source #
The function that the registered certificate performs. Valid values
include ClientLDAPS
or ClientCertAuth
. The default value is
ClientLDAPS
.
registerCertificate_directoryId :: Lens' RegisterCertificate Text Source #
The identifier of the directory.
registerCertificate_certificateData :: Lens' RegisterCertificate Text Source #
The certificate PEM string that needs to be registered.
Destructuring the Response
data RegisterCertificateResponse Source #
See: newRegisterCertificateResponse
smart constructor.
RegisterCertificateResponse' | |
|
Instances
newRegisterCertificateResponse Source #
Create a value of RegisterCertificateResponse
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:certificateId:RegisterCertificateResponse'
, registerCertificateResponse_certificateId
- The identifier of the certificate.
$sel:httpStatus:RegisterCertificateResponse'
, registerCertificateResponse_httpStatus
- The response's http status code.
Response Lenses
registerCertificateResponse_certificateId :: Lens' RegisterCertificateResponse (Maybe Text) Source #
The identifier of the certificate.
registerCertificateResponse_httpStatus :: Lens' RegisterCertificateResponse Int Source #
The response's http status code.