Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Uploads the specified certificate.
Synopsis
- importCertificate :: Text -> ImportCertificate
- data ImportCertificate
- icCertificatePem :: Lens' ImportCertificate (Maybe Text)
- icCertificateWallet :: Lens' ImportCertificate (Maybe ByteString)
- icTags :: Lens' ImportCertificate [Tag]
- 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:
icCertificatePem
- The contents of the .pem X.509 certificate file for the certificate.icCertificateWallet
- The location of the imported Oracle Wallet certificate for use with SSL.-- Note: ThisLens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. ThisLens
accepts and returns only raw unencoded data.icTags
- The tags associated with the certificate.icCertificateIdentifier
- The customer-assigned name of the certificate. Valid characters are A-z and 0-9.
data ImportCertificate Source #
See: importCertificate
smart constructor.
Instances
Request Lenses
icCertificatePem :: Lens' ImportCertificate (Maybe Text) Source #
The contents of the .pem X.509 certificate file for the certificate.
icCertificateWallet :: Lens' ImportCertificate (Maybe ByteString) Source #
The location of the imported Oracle Wallet certificate for use with SSL.-- Note: This Lens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens
accepts and returns only raw unencoded data.
icCertificateIdentifier :: Lens' ImportCertificate Text Source #
The customer-assigned name of the certificate. Valid characters are A-z and 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:
icrsCertificate
- The certificate to be uploaded.icrsResponseStatus
- -- | The response status code.
data ImportCertificateResponse Source #
See: importCertificateResponse
smart constructor.
Instances
Response Lenses
icrsCertificate :: Lens' ImportCertificateResponse (Maybe Certificate) Source #
The certificate to be uploaded.
icrsResponseStatus :: Lens' ImportCertificateResponse Int Source #
- - | The response status code.