update_assessment_framework
async
¶
update_assessment_framework(
framework_id: UUID,
name: FrameworkName,
control_sets: UpdateAssessmentFrameworkControlSets,
*,
config_overrides: Optional[AsyncAuditManagerClientConfig] = 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/async_audit_manager.py
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 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 | |