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

Description

Updates the status of an assessment in Audit Manager.

Synopsis

Creating a Request

data UpdateAssessmentStatus Source #

See: newUpdateAssessmentStatus smart constructor.

Constructors

UpdateAssessmentStatus' 

Fields

Instances

Instances details
ToJSON UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

ToHeaders UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

ToPath UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

ToQuery UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

AWSRequest UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Associated Types

type AWSResponse UpdateAssessmentStatus #

Generic UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Associated Types

type Rep UpdateAssessmentStatus :: Type -> Type #

Read UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Show UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

NFData UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Methods

rnf :: UpdateAssessmentStatus -> () #

Eq UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Hashable UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

type AWSResponse UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

type Rep UpdateAssessmentStatus Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

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

newUpdateAssessmentStatus Source #

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

UpdateAssessmentStatus, updateAssessmentStatus_assessmentId - The unique identifier for the assessment.

UpdateAssessmentStatus, updateAssessmentStatus_status - The current status of the assessment.

Request Lenses

updateAssessmentStatus_assessmentId :: Lens' UpdateAssessmentStatus Text Source #

The unique identifier for the assessment.

Destructuring the Response

data UpdateAssessmentStatusResponse Source #

See: newUpdateAssessmentStatusResponse smart constructor.

Constructors

UpdateAssessmentStatusResponse' 

Fields

Instances

Instances details
Generic UpdateAssessmentStatusResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Associated Types

type Rep UpdateAssessmentStatusResponse :: Type -> Type #

Read UpdateAssessmentStatusResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Show UpdateAssessmentStatusResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

NFData UpdateAssessmentStatusResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

Eq UpdateAssessmentStatusResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

type Rep UpdateAssessmentStatusResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentStatus

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

newUpdateAssessmentStatusResponse Source #

Create a value of UpdateAssessmentStatusResponse 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:assessment:UpdateAssessmentStatusResponse', updateAssessmentStatusResponse_assessment - The name of the updated assessment that the UpdateAssessmentStatus API returned.

$sel:httpStatus:UpdateAssessmentStatusResponse', updateAssessmentStatusResponse_httpStatus - The response's http status code.

Response Lenses

updateAssessmentStatusResponse_assessment :: Lens' UpdateAssessmentStatusResponse (Maybe Assessment) Source #

The name of the updated assessment that the UpdateAssessmentStatus API returned.