update_file_system
async
¶
update_file_system(
file_system_id: FileSystemId,
*,
config_overrides: Optional[AsyncEFSClientConfig] = None,
throughput_mode: Optional[ThroughputMode] = None,
provisioned_throughput_in_mibps: Optional[ProvisionedThroughputInMibps] = None,
) -> FileSystemDescription
Updates the throughput mode or the amount of provisioned throughput of an existing file system.
Parameters:
-
file_system_id(FileSystemId) –The ID of the file system that you want to update.
-
throughput_mode(Optional[ThroughputMode], default:None) –(Optional) Updates the file system's throughput mode. If you're not updating your throughput mode, you don't need to provide this value in your request. If you are changing the
ThroughputModetoprovisioned, you must also set a value forProvisionedThroughputInMibps. -
provisioned_throughput_in_mibps(Optional[ProvisionedThroughputInMibps], default:None) –(Optional) The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputModeis set toprovisioned. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact Amazon Web Services Support. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide.
Raises:
-
BadRequest–Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.
-
FileSystemNotFound–Returned if the specified
FileSystemIdvalue doesn't exist in the requester's Amazon Web Services account. -
IncorrectFileSystemLifeCycleState–Returned if the file system's lifecycle state is not "available".
-
InsufficientThroughputCapacity–Returned if there's not enough capacity to provision additional throughput. This value might be returned when you try to create a file system in provisioned throughput mode, when you attempt to increase the provisioned throughput of an existing file system, or when you attempt to change an existing file system from Bursting Throughput to Provisioned Throughput mode. Try again later.
-
InternalServerError–Returned if an error occurred on the server side.
-
ThroughputLimitExceeded–Returned if the throughput mode or amount of provisioned throughput can't be changed because the throughput limit of 1024 MiB/s has been reached.
-
TooManyRequests–Returned if you don’t wait at least 24 hours before either changing the throughput mode, or decreasing the Provisioned Throughput value.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_efs/_services/async_efs.py
2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 | |