Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a custom framework in Audit Manager.
Synopsis
- data CreateAssessmentFramework = CreateAssessmentFramework' {}
- newCreateAssessmentFramework :: Text -> NonEmpty CreateAssessmentFrameworkControlSet -> CreateAssessmentFramework
- createAssessmentFramework_complianceType :: Lens' CreateAssessmentFramework (Maybe Text)
- createAssessmentFramework_description :: Lens' CreateAssessmentFramework (Maybe Text)
- createAssessmentFramework_tags :: Lens' CreateAssessmentFramework (Maybe (HashMap Text Text))
- createAssessmentFramework_name :: Lens' CreateAssessmentFramework Text
- createAssessmentFramework_controlSets :: Lens' CreateAssessmentFramework (NonEmpty CreateAssessmentFrameworkControlSet)
- data CreateAssessmentFrameworkResponse = CreateAssessmentFrameworkResponse' {
- framework :: Maybe Framework
- httpStatus :: Int
- newCreateAssessmentFrameworkResponse :: Int -> CreateAssessmentFrameworkResponse
- createAssessmentFrameworkResponse_framework :: Lens' CreateAssessmentFrameworkResponse (Maybe Framework)
- createAssessmentFrameworkResponse_httpStatus :: Lens' CreateAssessmentFrameworkResponse Int
Creating a Request
data CreateAssessmentFramework Source #
See: newCreateAssessmentFramework
smart constructor.
CreateAssessmentFramework' | |
|
Instances
newCreateAssessmentFramework Source #
Create a value of CreateAssessmentFramework
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:complianceType:CreateAssessmentFramework'
, createAssessmentFramework_complianceType
- The compliance type that the new custom framework supports, such as CIS
or HIPAA.
$sel:description:CreateAssessmentFramework'
, createAssessmentFramework_description
- An optional description for the new custom framework.
$sel:tags:CreateAssessmentFramework'
, createAssessmentFramework_tags
- The tags associated with the framework.
$sel:name:CreateAssessmentFramework'
, createAssessmentFramework_name
- The name of the new custom framework.
$sel:controlSets:CreateAssessmentFramework'
, createAssessmentFramework_controlSets
- The control sets to be associated with the framework.
Request Lenses
createAssessmentFramework_complianceType :: Lens' CreateAssessmentFramework (Maybe Text) Source #
The compliance type that the new custom framework supports, such as CIS or HIPAA.
createAssessmentFramework_description :: Lens' CreateAssessmentFramework (Maybe Text) Source #
An optional description for the new custom framework.
createAssessmentFramework_tags :: Lens' CreateAssessmentFramework (Maybe (HashMap Text Text)) Source #
The tags associated with the framework.
createAssessmentFramework_name :: Lens' CreateAssessmentFramework Text Source #
The name of the new custom framework.
createAssessmentFramework_controlSets :: Lens' CreateAssessmentFramework (NonEmpty CreateAssessmentFrameworkControlSet) Source #
The control sets to be associated with the framework.
Destructuring the Response
data CreateAssessmentFrameworkResponse Source #
See: newCreateAssessmentFrameworkResponse
smart constructor.
CreateAssessmentFrameworkResponse' | |
|
Instances
Eq CreateAssessmentFrameworkResponse Source # | |
Read CreateAssessmentFrameworkResponse Source # | |
Show CreateAssessmentFrameworkResponse Source # | |
Generic CreateAssessmentFrameworkResponse Source # | |
NFData CreateAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.CreateAssessmentFramework rnf :: CreateAssessmentFrameworkResponse -> () # | |
type Rep CreateAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.CreateAssessmentFramework type Rep CreateAssessmentFrameworkResponse = D1 ('MetaData "CreateAssessmentFrameworkResponse" "Amazonka.AuditManager.CreateAssessmentFramework" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "CreateAssessmentFrameworkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "framework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Framework)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateAssessmentFrameworkResponse Source #
Create a value of CreateAssessmentFrameworkResponse
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:framework:CreateAssessmentFrameworkResponse'
, createAssessmentFrameworkResponse_framework
- The name of the new framework returned by the
CreateAssessmentFramework
API.
$sel:httpStatus:CreateAssessmentFrameworkResponse'
, createAssessmentFrameworkResponse_httpStatus
- The response's http status code.
Response Lenses
createAssessmentFrameworkResponse_framework :: Lens' CreateAssessmentFrameworkResponse (Maybe Framework) Source #
The name of the new framework returned by the
CreateAssessmentFramework
API.
createAssessmentFrameworkResponse_httpStatus :: Lens' CreateAssessmentFrameworkResponse Int Source #
The response's http status code.