Copyright | (c) 2013-2021 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 |
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 Amazon Web Services services that can use the server certificates that you manage with IAM.
Synopsis
- data GetServerCertificate = GetServerCertificate' {}
- newGetServerCertificate :: Text -> GetServerCertificate
- getServerCertificate_serverCertificateName :: Lens' GetServerCertificate Text
- data GetServerCertificateResponse = GetServerCertificateResponse' {}
- newGetServerCertificateResponse :: Int -> ServerCertificate -> GetServerCertificateResponse
- getServerCertificateResponse_httpStatus :: Lens' GetServerCertificateResponse Int
- getServerCertificateResponse_serverCertificate :: Lens' GetServerCertificateResponse ServerCertificate
Creating a Request
data GetServerCertificate Source #
See: newGetServerCertificate
smart constructor.
GetServerCertificate' | |
|
Instances
newGetServerCertificate Source #
Create a value of GetServerCertificate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serverCertificateName:GetServerCertificate'
, getServerCertificate_serverCertificateName
- The name of the server certificate you want to retrieve information
about.
This parameter allows (through 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: _+=,.@-
Request Lenses
getServerCertificate_serverCertificateName :: Lens' GetServerCertificate Text Source #
The name of the server certificate you want to retrieve information about.
This parameter allows (through 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
data GetServerCertificateResponse Source #
Contains the response to a successful GetServerCertificate request.
See: newGetServerCertificateResponse
smart constructor.
GetServerCertificateResponse' | |
|
Instances
newGetServerCertificateResponse Source #
Create a value of GetServerCertificateResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetServerCertificateResponse'
, getServerCertificateResponse_httpStatus
- The response's http status code.
$sel:serverCertificate:GetServerCertificateResponse'
, getServerCertificateResponse_serverCertificate
- A structure containing details about the server certificate.
Response Lenses
getServerCertificateResponse_httpStatus :: Lens' GetServerCertificateResponse Int Source #
The response's http status code.
getServerCertificateResponse_serverCertificate :: Lens' GetServerCertificateResponse ServerCertificate Source #
A structure containing details about the server certificate.