libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

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.

Both PCA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Configure Access to ACM Private CA.

Synopsis

Creating a Request

data UpdateCertificateAuthority Source #

See: newUpdateCertificateAuthority smart constructor.

Constructors

UpdateCertificateAuthority' 

Fields

Instances

Instances details
Eq UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Read UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Show UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Generic UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Associated Types

type Rep UpdateCertificateAuthority :: Type -> Type #

NFData UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Hashable UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

ToJSON UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

AWSRequest UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

ToHeaders UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

ToPath UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

ToQuery UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

type Rep UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

type Rep UpdateCertificateAuthority = D1 ('MetaData "UpdateCertificateAuthority" "Amazonka.CertificateManagerPCA.UpdateCertificateAuthority" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "UpdateCertificateAuthority'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CertificateAuthorityStatus)) :*: (S1 ('MetaSel ('Just "revocationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RevocationConfiguration)) :*: S1 ('MetaSel ('Just "certificateAuthorityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

newUpdateCertificateAuthority Source #

Create a value of UpdateCertificateAuthority with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:UpdateCertificateAuthority', updateCertificateAuthority_status - Status of your private CA.

$sel:revocationConfiguration:UpdateCertificateAuthority', updateCertificateAuthority_revocationConfiguration - Contains information to enable Online Certificate Status Protocol (OCSP) support, to enable a certificate revocation list (CRL), to enable both, or to enable neither. If this parameter is not supplied, existing capibilites remain unchanged. For more information, see the OcspConfiguration and CrlConfiguration types.

$sel:certificateAuthorityArn:UpdateCertificateAuthority', updateCertificateAuthority_certificateAuthorityArn - Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

Request Lenses

updateCertificateAuthority_revocationConfiguration :: Lens' UpdateCertificateAuthority (Maybe RevocationConfiguration) Source #

Contains information to enable Online Certificate Status Protocol (OCSP) support, to enable a certificate revocation list (CRL), to enable both, or to enable neither. If this parameter is not supplied, existing capibilites remain unchanged. For more information, see the OcspConfiguration and CrlConfiguration types.

updateCertificateAuthority_certificateAuthorityArn :: 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-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

Destructuring the Response

data UpdateCertificateAuthorityResponse Source #

Instances

Instances details
Eq UpdateCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Read UpdateCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Show UpdateCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Generic UpdateCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

Associated Types

type Rep UpdateCertificateAuthorityResponse :: Type -> Type #

NFData UpdateCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

type Rep UpdateCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.UpdateCertificateAuthority

type Rep UpdateCertificateAuthorityResponse = D1 ('MetaData "UpdateCertificateAuthorityResponse" "Amazonka.CertificateManagerPCA.UpdateCertificateAuthority" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "UpdateCertificateAuthorityResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateCertificateAuthorityResponse :: UpdateCertificateAuthorityResponse Source #

Create a value of UpdateCertificateAuthorityResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.