update_file_system
¶
update_file_system(
file_system_id: FileSystemId,
*,
config_overrides: Optional[EFSClientConfig] = 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/efs.py
2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 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 | |