amazonka-certificatemanager-pca-1.6.0: Amazon Certificate Manager Private Certificate Authority 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.CertificateManagerPCA.UpdateCertificateAuthority

Contents

Description

Updates the status or configuration of a private certificate authority (CA). Your private CA must be in the ACTIVE or DISABLED state before you can update it. You can disable a private CA that is in the ACTIVE state or make a CA that is in the DISABLED state active again.

Synopsis

Creating a Request

updateCertificateAuthority Source #

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

Use one of the following lenses to modify other fields as desired:

  • ucaStatus - Status of your private CA.
  • ucaRevocationConfiguration - Revocation information for your private CA.
  • ucaCertificateAuthorityARN - Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012

data UpdateCertificateAuthority Source #

See: updateCertificateAuthority smart constructor.

Instances

Eq UpdateCertificateAuthority Source # 
Data UpdateCertificateAuthority Source # 

Methods

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

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

toConstr :: UpdateCertificateAuthority -> Constr #

dataTypeOf :: UpdateCertificateAuthority -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateCertificateAuthority Source # 
Show UpdateCertificateAuthority Source # 
Generic UpdateCertificateAuthority Source # 
Hashable UpdateCertificateAuthority Source # 
ToJSON UpdateCertificateAuthority Source # 
NFData UpdateCertificateAuthority Source # 
AWSRequest UpdateCertificateAuthority Source # 
ToHeaders UpdateCertificateAuthority Source # 
ToPath UpdateCertificateAuthority Source # 
ToQuery UpdateCertificateAuthority Source # 
type Rep UpdateCertificateAuthority Source # 
type Rep UpdateCertificateAuthority = D1 * (MetaData "UpdateCertificateAuthority" "Network.AWS.CertificateManagerPCA.UpdateCertificateAuthority" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "UpdateCertificateAuthority'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucaStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CertificateAuthorityStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucaRevocationConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RevocationConfiguration))) (S1 * (MetaSel (Just Symbol "_ucaCertificateAuthorityARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateCertificateAuthority Source # 

Request Lenses

ucaCertificateAuthorityARN :: Lens' UpdateCertificateAuthority Text Source #

Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012

Destructuring the Response

updateCertificateAuthorityResponse :: UpdateCertificateAuthorityResponse Source #

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

data UpdateCertificateAuthorityResponse Source #

See: updateCertificateAuthorityResponse smart constructor.

Instances

Eq UpdateCertificateAuthorityResponse Source # 
Data UpdateCertificateAuthorityResponse Source # 

Methods

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

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

toConstr :: UpdateCertificateAuthorityResponse -> Constr #

dataTypeOf :: UpdateCertificateAuthorityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateCertificateAuthorityResponse Source # 
Show UpdateCertificateAuthorityResponse Source # 
Generic UpdateCertificateAuthorityResponse Source # 
NFData UpdateCertificateAuthorityResponse Source # 
type Rep UpdateCertificateAuthorityResponse Source # 
type Rep UpdateCertificateAuthorityResponse = D1 * (MetaData "UpdateCertificateAuthorityResponse" "Network.AWS.CertificateManagerPCA.UpdateCertificateAuthority" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "UpdateCertificateAuthorityResponse'" PrefixI False) (U1 *))