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

Eq UpdateServerCertificate Source # 
Data UpdateServerCertificate Source # 

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 Source # 
Show UpdateServerCertificate Source # 
Generic UpdateServerCertificate Source # 
Hashable UpdateServerCertificate Source # 
NFData UpdateServerCertificate Source # 

Methods

rnf :: UpdateServerCertificate -> () #

AWSRequest UpdateServerCertificate Source # 
ToHeaders UpdateServerCertificate Source # 
ToPath UpdateServerCertificate Source # 
ToQuery UpdateServerCertificate Source # 
type Rep UpdateServerCertificate Source # 
type Rep UpdateServerCertificate = D1 * (MetaData "UpdateServerCertificate" "Network.AWS.IAM.UpdateServerCertificate" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" 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 Source # 

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.

Instances

Eq UpdateServerCertificateResponse Source # 
Data UpdateServerCertificateResponse Source # 

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 Source # 
Show UpdateServerCertificateResponse Source # 
Generic UpdateServerCertificateResponse Source # 
NFData UpdateServerCertificateResponse Source # 
type Rep UpdateServerCertificateResponse Source # 
type Rep UpdateServerCertificateResponse = D1 * (MetaData "UpdateServerCertificateResponse" "Network.AWS.IAM.UpdateServerCertificate" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "UpdateServerCertificateResponse'" PrefixI False) (U1 *))