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

Copyright (c) 2013-2016 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

Updates the name and/or the path of 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.

You should understand the implications of changing a server certificate's path or name. For more information, see Renaming a Server Certificate 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 Access Management in the IAM User Guide.

# Creating a Request

Arguments

 :: Text uServerCertificateName -> UpdateServerCertificate

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:

• uNewServerCertificateName
• uNewPath
• uServerCertificateName

See: updateServerCertificate smart constructor.

Instances

# Request Lenses

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.

The new path for the server certificate. Include this only if you are updating the server certificate's path.

The name of the server certificate that you want to update.

# Destructuring the Response

Creates a value of UpdateServerCertificateResponse with the minimum fields required to make a request.

See: updateServerCertificateResponse smart constructor.

Instances