| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AuditManager.CreateAssessmentFramework
Description
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.
Constructors
| CreateAssessmentFramework' | |
Fields
| |
Instances
newCreateAssessmentFramework Source #
Arguments
| :: Text | |
| -> NonEmpty CreateAssessmentFrameworkControlSet | |
| -> CreateAssessmentFramework |
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:
CreateAssessmentFramework, createAssessmentFramework_complianceType - The compliance type that the new custom framework supports, such as CIS
or HIPAA.
CreateAssessmentFramework, createAssessmentFramework_description - An optional description for the new custom framework.
CreateAssessmentFramework, createAssessmentFramework_tags - The tags that are associated with the framework.
CreateAssessmentFramework, createAssessmentFramework_name - The name of the new custom framework.
CreateAssessmentFramework, createAssessmentFramework_controlSets - The control sets that are 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 that are 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 that are associated with the framework.
Destructuring the Response
data CreateAssessmentFrameworkResponse Source #
See: newCreateAssessmentFrameworkResponse smart constructor.
Constructors
| CreateAssessmentFrameworkResponse' | |
Fields
| |
Instances
newCreateAssessmentFrameworkResponse Source #
Arguments
| :: Int | |
| -> CreateAssessmentFrameworkResponse |
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:
CreateAssessmentFrameworkResponse, createAssessmentFrameworkResponse_framework - The name of the new framework that the CreateAssessmentFramework API
returned.
$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 that the CreateAssessmentFramework API
returned.
createAssessmentFrameworkResponse_httpStatus :: Lens' CreateAssessmentFrameworkResponse Int Source #
The response's http status code.