update_assessment_status
async
¶
update_assessment_status(
assessment_id: UUID,
status: AssessmentStatus,
*,
config_overrides: Optional[AsyncAuditManagerClientConfig] = None,
) -> UpdateAssessmentStatusResponse
Updates the status of an assessment in Audit Manager.
Parameters:
-
assessment_id(UUID) –The unique identifier for the assessment.
-
status(AssessmentStatus) –The current status of the assessment.
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
4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 | |