Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates the name and/or the path of 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 also includes a list of AWS services that can use the server certificates that you manage with IAM.
Important: 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 .
Synopsis
- 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:
uNewServerCertificateName
- 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. This parameter allows (per 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: _+=,.@-uNewPath
- The new path for the server certificate. Include this only if you are updating the server certificate's path. This parameter allows (per its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (u0021) through the DEL character (u007F), including most punctuation characters, digits, and upper and lowercased letters.uServerCertificateName
- The name of the server certificate that you want to update. This parameter allows (per 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: _+=,.@-
data UpdateServerCertificate Source #
See: updateServerCertificate
smart constructor.
Instances
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. This parameter allows (per 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: _+=,.@-
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. This parameter allows (per its regex pattern ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (u0021) through the DEL character (u007F), including most punctuation characters, digits, and upper and lowercased letters.
uServerCertificateName :: Lens' UpdateServerCertificate Text Source #
The name of the server certificate that you want to update. This parameter allows (per 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
updateServerCertificateResponse :: UpdateServerCertificateResponse Source #
Creates a value of UpdateServerCertificateResponse
with the minimum fields required to make a request.
data UpdateServerCertificateResponse Source #
See: updateServerCertificateResponse
smart constructor.