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
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 | |