Copyright | (c) 2013-2015 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 |
Retrieves information about the specified server certificate.
See: AWS API Reference for GetServerCertificate.
- getServerCertificate :: Text -> GetServerCertificate
- data GetServerCertificate
- gscServerCertificateName :: Lens' GetServerCertificate Text
- getServerCertificateResponse :: Int -> ServerCertificate -> GetServerCertificateResponse
- data GetServerCertificateResponse
- gscrsStatus :: Lens' GetServerCertificateResponse Int
- gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate
Creating a Request
Creates a value of GetServerCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetServerCertificate Source
See: getServerCertificate
smart constructor.
Request Lenses
gscServerCertificateName :: Lens' GetServerCertificate Text Source
The name of the server certificate you want to retrieve information about.
Destructuring the Response
getServerCertificateResponse Source
Creates a value of GetServerCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetServerCertificateResponse Source
Contains the response to a successful GetServerCertificate request.
See: getServerCertificateResponse
smart constructor.
Response Lenses
gscrsStatus :: Lens' GetServerCertificateResponse Int Source
The response status code.
gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate Source
Information about the server certificate.