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
5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 | |