amazonka-auditmanager-2.0: Amazon Audit Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AuditManager.CreateAssessmentReport

Description

Creates an assessment report for the specified assessment.

Synopsis

Creating a Request

data CreateAssessmentReport Source #

See: newCreateAssessmentReport smart constructor.

Constructors

CreateAssessmentReport' 

Fields

Instances

Instances details
ToJSON CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

ToHeaders CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

ToPath CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

ToQuery CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

AWSRequest CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Associated Types

type AWSResponse CreateAssessmentReport #

Generic CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Associated Types

type Rep CreateAssessmentReport :: Type -> Type #

Read CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Show CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

NFData CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Methods

rnf :: CreateAssessmentReport -> () #

Eq CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Hashable CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

type AWSResponse CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

type Rep CreateAssessmentReport Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

type Rep CreateAssessmentReport = D1 ('MetaData "CreateAssessmentReport" "Amazonka.AuditManager.CreateAssessmentReport" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "CreateAssessmentReport'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "assessmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateAssessmentReport Source #

Create a value of CreateAssessmentReport 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:

CreateAssessmentReport, createAssessmentReport_description - The description of the assessment report.

$sel:queryStatement:CreateAssessmentReport', createAssessmentReport_queryStatement - A SQL statement that represents an evidence finder query.

Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.

To use this parameter, the enablementStatus of evidence finder must be ENABLED.

For examples and help resolving queryStatement validation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.

CreateAssessmentReport, createAssessmentReport_name - The name of the new assessment report.

CreateAssessmentReport, createAssessmentReport_assessmentId - The identifier for the assessment.

Request Lenses

createAssessmentReport_description :: Lens' CreateAssessmentReport (Maybe Text) Source #

The description of the assessment report.

createAssessmentReport_queryStatement :: Lens' CreateAssessmentReport (Maybe Text) Source #

A SQL statement that represents an evidence finder query.

Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.

To use this parameter, the enablementStatus of evidence finder must be ENABLED.

For examples and help resolving queryStatement validation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.

createAssessmentReport_name :: Lens' CreateAssessmentReport Text Source #

The name of the new assessment report.

Destructuring the Response

data CreateAssessmentReportResponse Source #

See: newCreateAssessmentReportResponse smart constructor.

Constructors

CreateAssessmentReportResponse' 

Fields

Instances

Instances details
Generic CreateAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Associated Types

type Rep CreateAssessmentReportResponse :: Type -> Type #

Read CreateAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Show CreateAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

NFData CreateAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

Eq CreateAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

type Rep CreateAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessmentReport

type Rep CreateAssessmentReportResponse = D1 ('MetaData "CreateAssessmentReportResponse" "Amazonka.AuditManager.CreateAssessmentReport" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "CreateAssessmentReportResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assessmentReport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssessmentReport)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateAssessmentReportResponse Source #

Create a value of CreateAssessmentReportResponse 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:assessmentReport:CreateAssessmentReportResponse', createAssessmentReportResponse_assessmentReport - The new assessment report that the CreateAssessmentReport API returned.

$sel:httpStatus:CreateAssessmentReportResponse', createAssessmentReportResponse_httpStatus - The response's http status code.

Response Lenses

createAssessmentReportResponse_assessmentReport :: Lens' CreateAssessmentReportResponse (Maybe AssessmentReport) Source #

The new assessment report that the CreateAssessmentReport API returned.