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 |
Updates the name and/or the path of the specified server certificate.
You should understand the implications of changing a server certificate's path or name. For more information, see Managing Server Certificates in the Using IAM guide.
To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from ProductionCert to ProdCert, the entity making the request must have permission on ProductionCert and ProdCert, or must have permission on all (*). For more information about permissions, see Permissions and Policies.
See: AWS API Reference for UpdateServerCertificate.
- updateServerCertificate :: Text -> UpdateServerCertificate
- data UpdateServerCertificate
- uNewServerCertificateName :: Lens' UpdateServerCertificate (Maybe Text)
- uNewPath :: Lens' UpdateServerCertificate (Maybe Text)
- uServerCertificateName :: Lens' UpdateServerCertificate Text
- updateServerCertificateResponse :: UpdateServerCertificateResponse
- data UpdateServerCertificateResponse
Creating a Request
updateServerCertificate Source
Creates a value of UpdateServerCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateServerCertificate Source
See: updateServerCertificate
smart constructor.
Request Lenses
uNewServerCertificateName :: Lens' UpdateServerCertificate (Maybe Text) Source
The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces.
uNewPath :: Lens' UpdateServerCertificate (Maybe Text) Source
The new path for the server certificate. Include this only if you are updating the server certificate's path.
uServerCertificateName :: Lens' UpdateServerCertificate Text Source
The name of the server certificate that you want to update.
Destructuring the Response
updateServerCertificateResponse :: UpdateServerCertificateResponse Source
Creates a value of UpdateServerCertificateResponse
with the minimum fields required to make a request.
data UpdateServerCertificateResponse Source
See: updateServerCertificateResponse
smart constructor.