update_assessment_framework
¶
update_assessment_framework(
framework_id: UUID,
name: FrameworkName,
control_sets: UpdateAssessmentFrameworkControlSets,
*,
config_overrides: Optional[AuditManagerClientConfig] = None,
description: Optional[FrameworkDescription] = None,
compliance_type: Optional[ComplianceType] = None,
) -> UpdateAssessmentFrameworkResponse
Updates a custom framework in Audit Manager.
Parameters:
-
framework_id(UUID) –The unique identifier for the framework.
-
name(FrameworkName) –The name of the framework to be updated.
-
description(Optional[FrameworkDescription], default:None) –The description of the updated framework.
-
compliance_type(Optional[ComplianceType], default:None) –The compliance type that the new custom framework supports, such as CIS or HIPAA.
-
control_sets(UpdateAssessmentFrameworkControlSets) –The control sets that are associated with the framework.
The
Controlsobject returns a partial response when called through Framework APIs. For a completeControlsobject, useGetControl.
Raises:
-
AccessDeniedException–Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
-
InternalServerException–An internal service error occurred during the processing of your request. Try again later.
-
ResourceNotFoundException–The resource that's specified in the request can't be found.
-
ServiceQuotaExceededException–You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_auditmanager/_services/audit_manager.py
4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 | |