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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 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

Creating a Request

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 - 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 #

See: updateServerCertificate smart constructor.

Instances

Eq UpdateServerCertificate # 
Data UpdateServerCertificate # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateServerCertificate -> c UpdateServerCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateServerCertificate #

toConstr :: UpdateServerCertificate -> Constr #

dataTypeOf :: UpdateServerCertificate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateServerCertificate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateServerCertificate) #

gmapT :: (forall b. Data b => b -> b) -> UpdateServerCertificate -> UpdateServerCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateServerCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateServerCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateServerCertificate -> m UpdateServerCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerCertificate -> m UpdateServerCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerCertificate -> m UpdateServerCertificate #

Read UpdateServerCertificate # 
Show UpdateServerCertificate # 
Generic UpdateServerCertificate # 
Hashable UpdateServerCertificate # 
NFData UpdateServerCertificate # 

Methods

rnf :: UpdateServerCertificate -> () #

AWSRequest UpdateServerCertificate # 
ToHeaders UpdateServerCertificate # 
ToPath UpdateServerCertificate # 
ToQuery UpdateServerCertificate # 
type Rep UpdateServerCertificate # 
type Rep UpdateServerCertificate = D1 * (MetaData "UpdateServerCertificate" "Network.AWS.IAM.UpdateServerCertificate" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "UpdateServerCertificate'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uNewServerCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uNewPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uServerCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateServerCertificate # 

Request Lenses

uNewServerCertificateName :: Lens' UpdateServerCertificate (Maybe Text) #

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) #

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 #

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 #

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

data UpdateServerCertificateResponse #

See: updateServerCertificateResponse smart constructor.

Instances

Eq UpdateServerCertificateResponse # 
Data UpdateServerCertificateResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateServerCertificateResponse -> c UpdateServerCertificateResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateServerCertificateResponse #

toConstr :: UpdateServerCertificateResponse -> Constr #

dataTypeOf :: UpdateServerCertificateResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateServerCertificateResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateServerCertificateResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateServerCertificateResponse -> UpdateServerCertificateResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerCertificateResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerCertificateResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateServerCertificateResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateServerCertificateResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateServerCertificateResponse -> m UpdateServerCertificateResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerCertificateResponse -> m UpdateServerCertificateResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerCertificateResponse -> m UpdateServerCertificateResponse #

Read UpdateServerCertificateResponse # 
Show UpdateServerCertificateResponse # 
Generic UpdateServerCertificateResponse # 
NFData UpdateServerCertificateResponse # 
type Rep UpdateServerCertificateResponse # 
type Rep UpdateServerCertificateResponse = D1 * (MetaData "UpdateServerCertificateResponse" "Network.AWS.IAM.UpdateServerCertificate" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "UpdateServerCertificateResponse'" PrefixI False) (U1 *))