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

Description

Creates an assessment in Audit Manager.

Synopsis

Creating a Request

data CreateAssessment Source #

See: newCreateAssessment smart constructor.

Constructors

CreateAssessment' 

Fields

Instances

Instances details
Eq CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Read CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Show CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Generic CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Associated Types

type Rep CreateAssessment :: Type -> Type #

NFData CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Methods

rnf :: CreateAssessment -> () #

Hashable CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

ToJSON CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

AWSRequest CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Associated Types

type AWSResponse CreateAssessment #

ToHeaders CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

ToPath CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

ToQuery CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

type Rep CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

type Rep CreateAssessment = D1 ('MetaData "CreateAssessment" "Amazonka.AuditManager.CreateAssessment" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "CreateAssessment'" 'PrefixI 'True) ((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 "assessmentReportsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssessmentReportsDestination) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Scope)) :*: (S1 ('MetaSel ('Just "roles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Role]) :*: S1 ('MetaSel ('Just "frameworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateAssessment Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

newCreateAssessment Source #

Create a value of CreateAssessment 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:description:CreateAssessment', createAssessment_description - The optional description of the assessment to be created.

$sel:tags:CreateAssessment', createAssessment_tags - The tags associated with the assessment.

$sel:name:CreateAssessment', createAssessment_name - The name of the assessment to be created.

$sel:assessmentReportsDestination:CreateAssessment', createAssessment_assessmentReportsDestination - The assessment report storage destination for the specified assessment that is being created.

$sel:scope:CreateAssessment', createAssessment_scope - Undocumented member.

$sel:roles:CreateAssessment', createAssessment_roles - The list of roles for the specified assessment.

$sel:frameworkId:CreateAssessment', createAssessment_frameworkId - The identifier for the specified framework.

Request Lenses

createAssessment_description :: Lens' CreateAssessment (Maybe Text) Source #

The optional description of the assessment to be created.

createAssessment_tags :: Lens' CreateAssessment (Maybe (HashMap Text Text)) Source #

The tags associated with the assessment.

createAssessment_name :: Lens' CreateAssessment Text Source #

The name of the assessment to be created.

createAssessment_assessmentReportsDestination :: Lens' CreateAssessment AssessmentReportsDestination Source #

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

createAssessment_roles :: Lens' CreateAssessment [Role] Source #

The list of roles for the specified assessment.

createAssessment_frameworkId :: Lens' CreateAssessment Text Source #

The identifier for the specified framework.

Destructuring the Response

data CreateAssessmentResponse Source #

See: newCreateAssessmentResponse smart constructor.

Constructors

CreateAssessmentResponse' 

Fields

Instances

Instances details
Eq CreateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Read CreateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Show CreateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Generic CreateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

Associated Types

type Rep CreateAssessmentResponse :: Type -> Type #

NFData CreateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

type Rep CreateAssessmentResponse Source # 
Instance details

Defined in Amazonka.AuditManager.CreateAssessment

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

newCreateAssessmentResponse Source #

Create a value of CreateAssessmentResponse 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:CreateAssessmentResponse', createAssessmentResponse_assessment - Undocumented member.

$sel:httpStatus:CreateAssessmentResponse', createAssessmentResponse_httpStatus - The response's http status code.

Response Lenses