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

Description

Creates a new custom control in Audit Manager.

Synopsis

Creating a Request

data CreateControl Source #

See: newCreateControl smart constructor.

Constructors

CreateControl' 

Fields

Instances

Instances details
Eq CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Read CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Show CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Generic CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Associated Types

type Rep CreateControl :: Type -> Type #

NFData CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Methods

rnf :: CreateControl -> () #

Hashable CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

ToJSON CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

AWSRequest CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Associated Types

type AWSResponse CreateControl #

ToHeaders CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

ToPath CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

ToQuery CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

type Rep CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

type Rep CreateControl = D1 ('MetaData "CreateControl" "Amazonka.AuditManager.CreateControl" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "CreateControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "testingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "controlMappingSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty CreateControlMappingSource))))))
type AWSResponse CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

newCreateControl Source #

Create a value of CreateControl 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:testingInformation:CreateControl', createControl_testingInformation - The steps to follow to determine if the control has been satisfied.

$sel:actionPlanInstructions:CreateControl', createControl_actionPlanInstructions - The recommended actions to carry out if the control is not fulfilled.

$sel:actionPlanTitle:CreateControl', createControl_actionPlanTitle - The title of the action plan for remediating the control.

$sel:description:CreateControl', createControl_description - The description of the control.

$sel:tags:CreateControl', createControl_tags - The tags associated with the control.

$sel:name:CreateControl', createControl_name - The name of the control.

$sel:controlMappingSources:CreateControl', createControl_controlMappingSources - The data mapping sources for the specified control.

Request Lenses

createControl_testingInformation :: Lens' CreateControl (Maybe Text) Source #

The steps to follow to determine if the control has been satisfied.

createControl_actionPlanInstructions :: Lens' CreateControl (Maybe Text) Source #

The recommended actions to carry out if the control is not fulfilled.

createControl_actionPlanTitle :: Lens' CreateControl (Maybe Text) Source #

The title of the action plan for remediating the control.

createControl_description :: Lens' CreateControl (Maybe Text) Source #

The description of the control.

createControl_tags :: Lens' CreateControl (Maybe (HashMap Text Text)) Source #

The tags associated with the control.

createControl_name :: Lens' CreateControl Text Source #

The name of the control.

Destructuring the Response

data CreateControlResponse Source #

See: newCreateControlResponse smart constructor.

Constructors

CreateControlResponse' 

Fields

Instances

Instances details
Eq CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Read CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Show CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Generic CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Associated Types

type Rep CreateControlResponse :: Type -> Type #

NFData CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Methods

rnf :: CreateControlResponse -> () #

type Rep CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

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

newCreateControlResponse Source #

Create a value of CreateControlResponse 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:CreateControlResponse', createControlResponse_control - The new control returned by the CreateControl API.

$sel:httpStatus:CreateControlResponse', createControlResponse_httpStatus - The response's http status code.

Response Lenses

createControlResponse_control :: Lens' CreateControlResponse (Maybe Control) Source #

The new control returned by the CreateControl API.