Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Changes information about an ClientCertificate
resource.
- updateClientCertificate :: Text -> UpdateClientCertificate
- data UpdateClientCertificate
- uccPatchOperations :: Lens' UpdateClientCertificate [PatchOperation]
- uccClientCertificateId :: Lens' UpdateClientCertificate Text
- clientCertificate :: ClientCertificate
- data ClientCertificate
- ccPemEncodedCertificate :: Lens' ClientCertificate (Maybe Text)
- ccClientCertificateId :: Lens' ClientCertificate (Maybe Text)
- ccCreatedDate :: Lens' ClientCertificate (Maybe UTCTime)
- ccExpirationDate :: Lens' ClientCertificate (Maybe UTCTime)
- ccDescription :: Lens' ClientCertificate (Maybe Text)
Creating a Request
updateClientCertificate Source #
Creates a value of UpdateClientCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uccPatchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this list.uccClientCertificateId
- The identifier of theClientCertificate
resource to be updated.
data UpdateClientCertificate Source #
A request to change information about an ClientCertificate
resource.
See: updateClientCertificate
smart constructor.
Request Lenses
uccPatchOperations :: Lens' UpdateClientCertificate [PatchOperation] Source #
A list of update operations to be applied to the specified resource and in the order specified in this list.
uccClientCertificateId :: Lens' UpdateClientCertificate Text Source #
The identifier of the ClientCertificate
resource to be updated.
Destructuring the Response
clientCertificate :: ClientCertificate Source #
Creates a value of ClientCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccPemEncodedCertificate
- The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .ccClientCertificateId
- The identifier of the client certificate.ccCreatedDate
- The date when the client certificate was created, in ISO 8601 format .ccExpirationDate
- The date when the client certificate will expire, in ISO 8601 format .ccDescription
- The description of the client certificate.
data ClientCertificate Source #
Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.
Client certificates are used authenticate an API by the back-end server. To authenticate an API client (or user), use a custom Authorizer
.Use Client-Side Certificate
See: clientCertificate
smart constructor.
Response Lenses
ccPemEncodedCertificate :: Lens' ClientCertificate (Maybe Text) Source #
The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .
ccClientCertificateId :: Lens' ClientCertificate (Maybe Text) Source #
The identifier of the client certificate.
ccCreatedDate :: Lens' ClientCertificate (Maybe UTCTime) Source #
The date when the client certificate was created, in ISO 8601 format .
ccExpirationDate :: Lens' ClientCertificate (Maybe UTCTime) Source #
The date when the client certificate will expire, in ISO 8601 format .
ccDescription :: Lens' ClientCertificate (Maybe Text) Source #
The description of the client certificate.