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

Contents

Description

Creates an audit report that lists every time that the your CA private key is used. The report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate functions use the private key. You can generate a new report every 30 minutes.

Synopsis

Creating a Request

createCertificateAuthorityAuditReport Source #

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

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

data CreateCertificateAuthorityAuditReport Source #

Instances

Eq CreateCertificateAuthorityAuditReport Source # 
Data CreateCertificateAuthorityAuditReport Source # 

Methods

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

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

toConstr :: CreateCertificateAuthorityAuditReport -> Constr #

dataTypeOf :: CreateCertificateAuthorityAuditReport -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

ccaarCertificateAuthorityARN :: Lens' CreateCertificateAuthorityAuditReport Text Source #

Amazon Resource Name (ARN) of the CA to be audited. This is of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012 .

ccaarS3BucketName :: Lens' CreateCertificateAuthorityAuditReport Text Source #

Name of the S3 bucket that will contain the audit report.

ccaarAuditReportResponseFormat :: Lens' CreateCertificateAuthorityAuditReport AuditReportResponseFormat Source #

Format in which to create the report. This can be either JSON or CSV .

Destructuring the Response

createCertificateAuthorityAuditReportResponse Source #

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

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

data CreateCertificateAuthorityAuditReportResponse Source #

Instances

Eq CreateCertificateAuthorityAuditReportResponse Source # 
Data CreateCertificateAuthorityAuditReportResponse Source # 

Methods

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

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

toConstr :: CreateCertificateAuthorityAuditReportResponse -> Constr #

dataTypeOf :: CreateCertificateAuthorityAuditReportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCertificateAuthorityAuditReportResponse Source # 
Show CreateCertificateAuthorityAuditReportResponse Source # 
Generic CreateCertificateAuthorityAuditReportResponse Source # 
NFData CreateCertificateAuthorityAuditReportResponse Source # 
type Rep CreateCertificateAuthorityAuditReportResponse Source # 
type Rep CreateCertificateAuthorityAuditReportResponse = D1 * (MetaData "CreateCertificateAuthorityAuditReportResponse" "Network.AWS.CertificateManagerPCA.CreateCertificateAuthorityAuditReport" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "CreateCertificateAuthorityAuditReportResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccaarrsS3Key") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccaarrsAuditReportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ccaarrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ccaarrsS3Key :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text) Source #

The key that uniquely identifies the report file in your S3 bucket.

ccaarrsAuditReportId :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text) Source #

An alphanumeric string that contains a report identifier.