update_run_cache
async
¶
update_run_cache(
id: RunCacheId,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = None,
cache_behavior: Optional[CacheBehavior] = None,
description: Optional[UserCustomDescription] = None,
name: Optional[UserCustomName] = None,
) -> None
Updates a run cache using its ID and returns a response with no body if the operation is successful. You can update the run cache description, name, or the default run cache behavior with CACHE_ON_FAILURE or CACHE_ALWAYS. To confirm that your run cache settings have been properly updated, use the GetRunCache API operation.
For more information, see How call caching works in the Amazon Web Services HealthOmics User Guide.
Parameters:
-
cache_behavior(Optional[CacheBehavior], default:None) –Update the default run cache behavior.
-
description(Optional[UserCustomDescription], default:None) –Update the run cache description.
-
id(RunCacheId) –The identifier of the run cache you want to update.
-
name(Optional[UserCustomName], default:None) –Update the name of the run cache.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request cannot be applied to the target resource in its current state.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
RequestTimeoutException–The request timed out.
-
ResourceNotFoundException–The target resource was not found in the current Region.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_omics/_services/async_omics.py
3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 | |