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
2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 | |