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 |
Network.AWS.IoT.DescribeCertificate
Description
Gets information about the specified certificate.
- describeCertificate :: Text -> DescribeCertificate
- data DescribeCertificate
- desCertificateId :: Lens' DescribeCertificate Text
- describeCertificateResponse :: Int -> DescribeCertificateResponse
- data DescribeCertificateResponse
- dcrsCertificateDescription :: Lens' DescribeCertificateResponse (Maybe CertificateDescription)
- dcrsResponseStatus :: Lens' DescribeCertificateResponse Int
Creating a Request
Arguments
:: Text | |
-> DescribeCertificate |
Creates a value of DescribeCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desCertificateId
- The ID of the certificate.
data DescribeCertificate #
The input for the DescribeCertificate operation.
See: describeCertificate
smart constructor.
Instances
Request Lenses
desCertificateId :: Lens' DescribeCertificate Text #
The ID of the certificate.
Destructuring the Response
Arguments
:: Int | |
-> DescribeCertificateResponse |
Creates a value of DescribeCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrsCertificateDescription
- The description of the certificate.dcrsResponseStatus
- -- | The response status code.
data DescribeCertificateResponse #
The output of the DescribeCertificate operation.
See: describeCertificateResponse
smart constructor.
Response Lenses
dcrsCertificateDescription :: Lens' DescribeCertificateResponse (Maybe CertificateDescription) #
The description of the certificate.
dcrsResponseStatus :: Lens' DescribeCertificateResponse Int #
- - | The response status code.