update_file_cache
async
¶
update_file_cache(
*,
config_overrides: Optional[AsyncFSxClientConfig] = None,
file_cache_id: Optional[FileCacheId] = None,
client_request_token: Optional[ClientRequestToken] = None,
lustre_configuration: Optional[UpdateFileCacheLustreConfiguration] = None,
) -> UpdateFileCacheResponse
Updates the configuration of an existing Amazon File Cache resource. You can update multiple properties in a single request.
Parameters:
-
file_cache_id(Optional[FileCacheId], default:None) –The ID of the cache that you are updating.
-
lustre_configuration(Optional[UpdateFileCacheLustreConfiguration], default:None) –The configuration updates for an Amazon File Cache resource.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
FileCacheNotFound–No caches were found based upon supplied parameters.
-
IncompatibleParameterError–The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
-
InternalServerError–A generic error indicating a server-side failure.
-
MissingFileCacheConfiguration–A cache configuration is required for this operation.
-
ServiceLimitExceeded–An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
-
UnsupportedOperation–The requested operation is not supported for this resource or API.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/async_f_sx.py
3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 | |