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 Using AWS Identity and Access
Management.
Note: |
---|
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. |
Declaration Syntax
C# |
public UpdateServerCertificateResponse UpdateServerCertificate( UpdateServerCertificateRequest request )
Parameters
- request (UpdateServerCertificateRequest)
- Container for the necessary parameters to execute the UpdateServerCertificate service method.
Return Value
The response from the UpdateServerCertificate service method, as returned by IdentityManagementService.
Exceptions
Exception | Condition |
---|---|
EntityAlreadyExistsException |
The request was rejected because it attempted to create a resource that already exists.
|
LimitExceededException |
The request was rejected because it attempted to create resources beyond the current
AWS account limits. The error message describes the limit exceeded.
|
NoSuchEntityException |
The request was rejected because it referenced an entity that does not exist. The
error message describes the entity.
|