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

Description

Updates a custom control in Audit Manager.

Synopsis

Creating a Request

data UpdateControl Source #

See: newUpdateControl smart constructor.

Constructors

UpdateControl' 

Fields

Instances

Instances details
ToJSON UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

ToHeaders UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

ToPath UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

ToQuery UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

AWSRequest UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Associated Types

type AWSResponse UpdateControl #

Generic UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Associated Types

type Rep UpdateControl :: Type -> Type #

Read UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Show UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

NFData UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Methods

rnf :: UpdateControl -> () #

Eq UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Hashable UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

type AWSResponse UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

type Rep UpdateControl Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

type Rep UpdateControl = D1 ('MetaData "UpdateControl" "Amazonka.AuditManager.UpdateControl" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "UpdateControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "actionPlanInstructions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "actionPlanTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "testingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "controlMappingSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ControlMappingSource))))))

newUpdateControl Source #

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

UpdateControl, updateControl_actionPlanInstructions - The recommended actions to carry out if the control isn't fulfilled.

UpdateControl, updateControl_actionPlanTitle - The title of the action plan for remediating the control.

UpdateControl, updateControl_description - The optional description of the control.

UpdateControl, updateControl_testingInformation - The steps that you should follow to determine if the control is met.

UpdateControl, updateControl_controlId - The identifier for the control.

UpdateControl, updateControl_name - The name of the updated control.

UpdateControl, updateControl_controlMappingSources - The data mapping sources for the control.

Request Lenses

updateControl_actionPlanInstructions :: Lens' UpdateControl (Maybe Text) Source #

The recommended actions to carry out if the control isn't fulfilled.

updateControl_actionPlanTitle :: Lens' UpdateControl (Maybe Text) Source #

The title of the action plan for remediating the control.

updateControl_description :: Lens' UpdateControl (Maybe Text) Source #

The optional description of the control.

updateControl_testingInformation :: Lens' UpdateControl (Maybe Text) Source #

The steps that you should follow to determine if the control is met.

updateControl_controlId :: Lens' UpdateControl Text Source #

The identifier for the control.

updateControl_name :: Lens' UpdateControl Text Source #

The name of the updated control.

Destructuring the Response

data UpdateControlResponse Source #

See: newUpdateControlResponse smart constructor.

Constructors

UpdateControlResponse' 

Fields

Instances

Instances details
Generic UpdateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Associated Types

type Rep UpdateControlResponse :: Type -> Type #

Read UpdateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Show UpdateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

NFData UpdateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

Methods

rnf :: UpdateControlResponse -> () #

Eq UpdateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

type Rep UpdateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateControl

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

newUpdateControlResponse Source #

Create a value of UpdateControlResponse 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:UpdateControlResponse', updateControlResponse_control - The name of the updated control set that the UpdateControl API returned.

$sel:httpStatus:UpdateControlResponse', updateControlResponse_httpStatus - The response's http status code.

Response Lenses

updateControlResponse_control :: Lens' UpdateControlResponse (Maybe Control) Source #

The name of the updated control set that the UpdateControl API returned.