amazonka-iam-1.3.2: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateServerCertificate

Contents

Description

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 IAM User 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.

Synopsis

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:

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.