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

Description

Updates a control within an assessment in Audit Manager.

Synopsis

Creating a Request

data UpdateAssessmentControl Source #

See: newUpdateAssessmentControl smart constructor.

Constructors

UpdateAssessmentControl' 

Fields

Instances

Instances details
Eq UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Read UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Show UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Generic UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Associated Types

type Rep UpdateAssessmentControl :: Type -> Type #

NFData UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Methods

rnf :: UpdateAssessmentControl -> () #

Hashable UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

ToJSON UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

AWSRequest UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

ToHeaders UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

ToPath UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

ToQuery UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

type Rep UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

type Rep UpdateAssessmentControl = D1 ('MetaData "UpdateAssessmentControl" "Amazonka.AuditManager.UpdateAssessmentControl" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateAssessmentControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ControlStatus)) :*: S1 ('MetaSel ('Just "commentBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "assessmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "controlSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateAssessmentControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

newUpdateAssessmentControl Source #

Create a value of UpdateAssessmentControl 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:controlStatus:UpdateAssessmentControl', updateAssessmentControl_controlStatus - The status of the specified control.

$sel:commentBody:UpdateAssessmentControl', updateAssessmentControl_commentBody - The comment body text for the specified control.

$sel:assessmentId:UpdateAssessmentControl', updateAssessmentControl_assessmentId - The identifier for the specified assessment.

$sel:controlSetId:UpdateAssessmentControl', updateAssessmentControl_controlSetId - The identifier for the specified control set.

$sel:controlId:UpdateAssessmentControl', updateAssessmentControl_controlId - The identifier for the specified control.

Request Lenses

updateAssessmentControl_commentBody :: Lens' UpdateAssessmentControl (Maybe Text) Source #

The comment body text for the specified control.

updateAssessmentControl_assessmentId :: Lens' UpdateAssessmentControl Text Source #

The identifier for the specified assessment.

updateAssessmentControl_controlSetId :: Lens' UpdateAssessmentControl Text Source #

The identifier for the specified control set.

updateAssessmentControl_controlId :: Lens' UpdateAssessmentControl Text Source #

The identifier for the specified control.

Destructuring the Response

data UpdateAssessmentControlResponse Source #

See: newUpdateAssessmentControlResponse smart constructor.

Constructors

UpdateAssessmentControlResponse' 

Fields

Instances

Instances details
Eq UpdateAssessmentControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Read UpdateAssessmentControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Show UpdateAssessmentControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Generic UpdateAssessmentControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

Associated Types

type Rep UpdateAssessmentControlResponse :: Type -> Type #

NFData UpdateAssessmentControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

type Rep UpdateAssessmentControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateAssessmentControl

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

newUpdateAssessmentControlResponse Source #

Create a value of UpdateAssessmentControlResponse 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:control:UpdateAssessmentControlResponse', updateAssessmentControlResponse_control - The name of the updated control set returned by the UpdateAssessmentControl API.

$sel:httpStatus:UpdateAssessmentControlResponse', updateAssessmentControlResponse_httpStatus - The response's http status code.

Response Lenses

updateAssessmentControlResponse_control :: Lens' UpdateAssessmentControlResponse (Maybe AssessmentControl) Source #

The name of the updated control set returned by the UpdateAssessmentControl API.