| 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 |
Network.AWS.IAM.GetServerCertificate
Description
Retrieves information about the specified server certificate stored in IAM.
For more information about working with server certificates, see Working with Server Certificates in the IAM User Guide . This topic includes a list of AWS services that can use the server certificates that you manage with IAM.
Synopsis
- 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:
gscServerCertificateName- The name of the server certificate you want to retrieve information about. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
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. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
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:
gscrsResponseStatus- -- | The response status code.gscrsServerCertificate- A structure containing details about the server certificate.
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 #
A structure containing details about the server certificate.