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 |
Updates a custom framework in Audit Manager.
Synopsis
- data UpdateAssessmentFramework = UpdateAssessmentFramework' {}
- newUpdateAssessmentFramework :: Text -> Text -> 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 [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.
UpdateAssessmentFramework' | |
|
Instances
newUpdateAssessmentFramework Source #
:: Text | |
-> Text | |
-> 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:
$sel:complianceType:UpdateAssessmentFramework'
, updateAssessmentFramework_complianceType
- The compliance type that the new custom framework supports, such as CIS
or HIPAA.
$sel:description:UpdateAssessmentFramework'
, updateAssessmentFramework_description
- The description of the framework that is to be updated.
$sel:frameworkId:UpdateAssessmentFramework'
, updateAssessmentFramework_frameworkId
- The identifier for the specified framework.
$sel:name:UpdateAssessmentFramework'
, updateAssessmentFramework_name
- The name of the framework to be updated.
$sel:controlSets:UpdateAssessmentFramework'
, updateAssessmentFramework_controlSets
- The control sets 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 framework that is to be updated.
updateAssessmentFramework_frameworkId :: Lens' UpdateAssessmentFramework Text Source #
The identifier for the specified framework.
updateAssessmentFramework_name :: Lens' UpdateAssessmentFramework Text Source #
The name of the framework to be updated.
updateAssessmentFramework_controlSets :: Lens' UpdateAssessmentFramework [UpdateAssessmentFrameworkControlSet] Source #
The control sets associated with the framework.
Destructuring the Response
data UpdateAssessmentFrameworkResponse Source #
See: newUpdateAssessmentFrameworkResponse
smart constructor.
UpdateAssessmentFrameworkResponse' | |
|
Instances
Eq UpdateAssessmentFrameworkResponse Source # | |
Read UpdateAssessmentFrameworkResponse Source # | |
Show UpdateAssessmentFrameworkResponse Source # | |
Generic UpdateAssessmentFrameworkResponse Source # | |
NFData UpdateAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentFramework rnf :: UpdateAssessmentFrameworkResponse -> () # | |
type Rep UpdateAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentFramework type Rep UpdateAssessmentFrameworkResponse = D1 ('MetaData "UpdateAssessmentFrameworkResponse" "Amazonka.AuditManager.UpdateAssessmentFramework" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateAssessmentFrameworkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "framework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Framework)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateAssessmentFrameworkResponse Source #
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:
$sel:framework:UpdateAssessmentFrameworkResponse'
, updateAssessmentFrameworkResponse_framework
- The name of the specified 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 specified framework.
updateAssessmentFrameworkResponse_httpStatus :: Lens' UpdateAssessmentFrameworkResponse Int Source #
The response's http status code.