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

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

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.

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:

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

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.

uServerCertificateName :: Lens' UpdateServerCertificate Text Source #

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

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.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "UpdateServerCertificateResponse'" PrefixI False) U1)