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.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
ToJSON CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.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

AWSRequest CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Associated Types

type AWSResponse CreateControl #

Generic CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Associated Types

type Rep CreateControl :: Type -> Type #

Read CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Show CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

NFData CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Methods

rnf :: CreateControl -> () #

Eq CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Hashable CreateControl Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

type AWSResponse 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" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "CreateControl'" '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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "testingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "controlMappingSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty CreateControlMappingSource))))))

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:

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

CreateControl, createControl_actionPlanTitle - The title of the action plan for remediating the control.

CreateControl, createControl_description - The description of the control.

CreateControl, createControl_tags - The tags that are associated with the control.

CreateControl, createControl_testingInformation - The steps to follow to determine if the control is satisfied.

CreateControl, createControl_name - The name of the control.

CreateControl, createControl_controlMappingSources - The data mapping sources for the control.

Request Lenses

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

The recommended actions to carry out if the control isn't 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 that are associated with the control.

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

The steps to follow to determine if the control is satisfied.

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
Generic CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Associated Types

type Rep CreateControlResponse :: Type -> Type #

Read CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Show CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

NFData CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

Methods

rnf :: CreateControlResponse -> () #

Eq CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

type Rep CreateControlResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateControl

type Rep CreateControlResponse = D1 ('MetaData "CreateControlResponse" "Amazonka.AuditManager.CreateControl" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" '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 that the CreateControl API returned.

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

Response Lenses

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

The new control that the CreateControl API returned.