| 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.UpdateAssessmentFramework
Description
Updates a custom framework in Audit Manager.
Synopsis
- data UpdateAssessmentFramework = UpdateAssessmentFramework' {}
- newUpdateAssessmentFramework :: Text -> Text -> NonEmpty UpdateAssessmentFrameworkControlSet -> UpdateAssessmentFramework
- updateAssessmentFramework_complianceType :: Lens' UpdateAssessmentFramework (Maybe Text)
- updateAssessmentFramework_description :: Lens' UpdateAssessmentFramework (Maybe Text)
- updateAssessmentFramework_frameworkId :: Lens' UpdateAssessmentFramework Text
- updateAssessmentFramework_name :: Lens' UpdateAssessmentFramework Text
- updateAssessmentFramework_controlSets :: Lens' UpdateAssessmentFramework (NonEmpty UpdateAssessmentFrameworkControlSet)
- data UpdateAssessmentFrameworkResponse = UpdateAssessmentFrameworkResponse' {
- framework :: Maybe Framework
- httpStatus :: Int
- newUpdateAssessmentFrameworkResponse :: Int -> UpdateAssessmentFrameworkResponse
- updateAssessmentFrameworkResponse_framework :: Lens' UpdateAssessmentFrameworkResponse (Maybe Framework)
- updateAssessmentFrameworkResponse_httpStatus :: Lens' UpdateAssessmentFrameworkResponse Int
Creating a Request
data UpdateAssessmentFramework Source #
See: newUpdateAssessmentFramework smart constructor.
Constructors
| UpdateAssessmentFramework' | |
Fields
| |
Instances
newUpdateAssessmentFramework Source #
Arguments
| :: Text | |
| -> Text | |
| -> NonEmpty UpdateAssessmentFrameworkControlSet | |
| -> UpdateAssessmentFramework |
Create a value of UpdateAssessmentFramework 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:
UpdateAssessmentFramework, updateAssessmentFramework_complianceType - The compliance type that the new custom framework supports, such as CIS
or HIPAA.
UpdateAssessmentFramework, updateAssessmentFramework_description - The description of the updated framework.
UpdateAssessmentFramework, updateAssessmentFramework_frameworkId - The unique identifier for the framework.
UpdateAssessmentFramework, updateAssessmentFramework_name - The name of the framework to be updated.
UpdateAssessmentFramework, updateAssessmentFramework_controlSets - The control sets that are associated with the framework.
Request Lenses
updateAssessmentFramework_complianceType :: Lens' UpdateAssessmentFramework (Maybe Text) Source #
The compliance type that the new custom framework supports, such as CIS or HIPAA.
updateAssessmentFramework_description :: Lens' UpdateAssessmentFramework (Maybe Text) Source #
The description of the updated framework.
updateAssessmentFramework_frameworkId :: Lens' UpdateAssessmentFramework Text Source #
The unique identifier for the framework.
updateAssessmentFramework_name :: Lens' UpdateAssessmentFramework Text Source #
The name of the framework to be updated.
updateAssessmentFramework_controlSets :: Lens' UpdateAssessmentFramework (NonEmpty UpdateAssessmentFrameworkControlSet) Source #
The control sets that are associated with the framework.
Destructuring the Response
data UpdateAssessmentFrameworkResponse Source #
See: newUpdateAssessmentFrameworkResponse smart constructor.
Constructors
| UpdateAssessmentFrameworkResponse' | |
Fields
| |
Instances
newUpdateAssessmentFrameworkResponse Source #
Arguments
| :: Int | |
| -> UpdateAssessmentFrameworkResponse |
Create a value of UpdateAssessmentFrameworkResponse 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:
UpdateAssessmentFrameworkResponse, updateAssessmentFrameworkResponse_framework - The name of the framework.
$sel:httpStatus:UpdateAssessmentFrameworkResponse', updateAssessmentFrameworkResponse_httpStatus - The response's http status code.
Response Lenses
updateAssessmentFrameworkResponse_framework :: Lens' UpdateAssessmentFrameworkResponse (Maybe Framework) Source #
The name of the framework.
updateAssessmentFrameworkResponse_httpStatus :: Lens' UpdateAssessmentFrameworkResponse Int Source #
The response's http status code.