libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager
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.AuditManager.UpdateAssessment

Description

Edits an Audit Manager assessment.

Synopsis

Creating a Request

data UpdateAssessment Source #

See: newUpdateAssessment smart constructor.

Constructors

UpdateAssessment' 

Fields

Instances

Instances details
Eq UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Read UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Show UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Generic UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Associated Types

type Rep UpdateAssessment :: Type -> Type #

NFData UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Methods

rnf :: UpdateAssessment -> () #

Hashable UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

ToJSON UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

AWSRequest UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Associated Types

type AWSResponse UpdateAssessment #

ToHeaders UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

ToPath UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

ToQuery UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

type Rep UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

type Rep UpdateAssessment = D1 ('MetaData "UpdateAssessment" "Amazonka.AuditManager.UpdateAssessment" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateAssessment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "roles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Role])) :*: (S1 ('MetaSel ('Just "assessmentDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assessmentReportsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssessmentReportsDestination)))) :*: (S1 ('MetaSel ('Just "assessmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assessmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Scope)))))
type AWSResponse UpdateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

newUpdateAssessment Source #

Create a value of UpdateAssessment 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:roles:UpdateAssessment', updateAssessment_roles - The list of roles for the specified assessment.

$sel:assessmentDescription:UpdateAssessment', updateAssessment_assessmentDescription - The description of the specified assessment.

$sel:assessmentReportsDestination:UpdateAssessment', updateAssessment_assessmentReportsDestination - The assessment report storage destination for the specified assessment that is being updated.

$sel:assessmentName:UpdateAssessment', updateAssessment_assessmentName - The name of the specified assessment to be updated.

$sel:assessmentId:UpdateAssessment', updateAssessment_assessmentId - The identifier for the specified assessment.

$sel:scope:UpdateAssessment', updateAssessment_scope - The scope of the specified assessment.

Request Lenses

updateAssessment_roles :: Lens' UpdateAssessment (Maybe [Role]) Source #

The list of roles for the specified assessment.

updateAssessment_assessmentDescription :: Lens' UpdateAssessment (Maybe Text) Source #

The description of the specified assessment.

updateAssessment_assessmentReportsDestination :: Lens' UpdateAssessment (Maybe AssessmentReportsDestination) Source #

The assessment report storage destination for the specified assessment that is being updated.

updateAssessment_assessmentName :: Lens' UpdateAssessment (Maybe Text) Source #

The name of the specified assessment to be updated.

updateAssessment_assessmentId :: Lens' UpdateAssessment Text Source #

The identifier for the specified assessment.

updateAssessment_scope :: Lens' UpdateAssessment Scope Source #

The scope of the specified assessment.

Destructuring the Response

data UpdateAssessmentResponse Source #

See: newUpdateAssessmentResponse smart constructor.

Constructors

UpdateAssessmentResponse' 

Fields

Instances

Instances details
Eq UpdateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Read UpdateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Show UpdateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Generic UpdateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

Associated Types

type Rep UpdateAssessmentResponse :: Type -> Type #

NFData UpdateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

type Rep UpdateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessment

type Rep UpdateAssessmentResponse = D1 ('MetaData "UpdateAssessmentResponse" "Amazonka.AuditManager.UpdateAssessment" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateAssessmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assessment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Assessment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateAssessmentResponse Source #

Create a value of UpdateAssessmentResponse 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:UpdateAssessmentResponse', updateAssessmentResponse_assessment - The response object (name of the updated assessment) for the UpdateAssessmentRequest API.

$sel:httpStatus:UpdateAssessmentResponse', updateAssessmentResponse_httpStatus - The response's http status code.

Response Lenses

updateAssessmentResponse_assessment :: Lens' UpdateAssessmentResponse (Maybe Assessment) Source #

The response object (name of the updated assessment) for the UpdateAssessmentRequest API.