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 |
Uploads the specified certificate.
- importCertificate :: Text -> ImportCertificate
- data ImportCertificate
- icCertificatePem :: Lens' ImportCertificate (Maybe Text)
- icCertificateIdentifier :: Lens' ImportCertificate Text
- importCertificateResponse :: Int -> ImportCertificateResponse
- data ImportCertificateResponse
- icrsCertificate :: Lens' ImportCertificateResponse (Maybe Certificate)
- icrsResponseStatus :: Lens' ImportCertificateResponse Int
Creating a Request
Creates a value of ImportCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ImportCertificate Source #
See: importCertificate
smart constructor.
Request Lenses
icCertificatePem :: Lens' ImportCertificate (Maybe Text) Source #
The contents of the .pem X.509 certificate file.
icCertificateIdentifier :: Lens' ImportCertificate Text Source #
The customer-assigned name of the certificate. Valid characters are [A-z_0-9].
Destructuring the Response
importCertificateResponse Source #
Creates a value of ImportCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ImportCertificateResponse Source #
See: importCertificateResponse
smart constructor.
Response Lenses
icrsCertificate :: Lens' ImportCertificateResponse (Maybe Certificate) Source #
The certificate to be uploaded.
icrsResponseStatus :: Lens' ImportCertificateResponse Int Source #
The response status code.