| 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.IAM.GetServerCertificate
Description
Retrieves information about the specified server certificate.
For more information about working with server certificates, including a list of AWS services that can use the server certificates that you manage with IAM, go to Working with Server Certificates in the IAM User Guide.
- getServerCertificate :: Text -> GetServerCertificate
- data GetServerCertificate
- gscServerCertificateName :: Lens' GetServerCertificate Text
- getServerCertificateResponse :: Int -> ServerCertificate -> GetServerCertificateResponse
- data GetServerCertificateResponse
- gscrsResponseStatus :: Lens' GetServerCertificateResponse Int
- gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate
Creating a Request
Arguments
| :: Text | |
| -> GetServerCertificate |
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.
Instances
Request Lenses
gscServerCertificateName :: Lens' GetServerCertificate Text Source #
The name of the server certificate you want to retrieve information about.
Destructuring the Response
getServerCertificateResponse Source #
Arguments
| :: Int | |
| -> ServerCertificate | |
| -> GetServerCertificateResponse |
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.
Instances
Response Lenses
gscrsResponseStatus :: Lens' GetServerCertificateResponse Int Source #
The response status code.
gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate Source #
Information about the server certificate.