update_ip_access_settings
async
¶
update_ip_access_settings(
ip_access_settings_arn: ARN,
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = None,
display_name: Optional[DisplayName] = None,
description: Optional[Description] = None,
ip_rules: Optional[IpRuleList] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateIpAccessSettingsResponse
Updates IP access settings.
Parameters:
-
ip_access_settings_arn(ARN) –The ARN of the IP access settings.
-
display_name(Optional[DisplayName], default:None) –The display name of the IP access settings.
-
description(Optional[Description], default:None) –The description of the IP access settings.
-
ip_rules(Optional[IpRuleList], default:None) –The updated IP rules of the IP access settings.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
Raises:
-
AccessDeniedException–Access is denied.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_web/_services/async_work_spaces_web.py
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 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 | |