update_file_cache
¶
update_file_cache(
*,
config_overrides: Optional[FSxClientConfig] = 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/f_sx.py
3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 | |