update_run_cache
¶
update_run_cache(
id: RunCacheId,
*,
config_overrides: Optional[OmicsClientConfig] = 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/omics.py
3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 | |