update_virtual_interface_attributes
async
¶
update_virtual_interface_attributes(
virtual_interface_id: VirtualInterfaceId,
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
mtu: Optional[MTU] = None,
enable_site_link: Optional[EnableSiteLink] = None,
virtual_interface_name: Optional[VirtualInterfaceName] = None,
prefix_pool_allocated_count_ipv4: Optional[PrefixPoolAllocatedCount] = None,
prefix_pool_allocated_count_ipv6: Optional[PrefixPoolAllocatedCount] = None,
rate_limit: Optional[RateLimit] = None,
) -> VirtualInterface
Updates the specified attributes of the specified virtual private interface.
Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.
Parameters:
-
virtual_interface_id(VirtualInterfaceId) –The ID of the virtual private interface.
-
mtu(Optional[MTU], default:None) –The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
-
enable_site_link(Optional[EnableSiteLink], default:None) –Indicates whether to enable or disable SiteLink.
-
virtual_interface_name(Optional[VirtualInterfaceName], default:None) –The name of the virtual private interface.
-
prefix_pool_allocated_count_ipv4(Optional[PrefixPoolAllocatedCount], default:None) –The number of inbound IPv4 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.
-
prefix_pool_allocated_count_ipv6(Optional[PrefixPoolAllocatedCount], default:None) –The number of inbound IPv6 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.
-
rate_limit(Optional[RateLimit], default:None) –The rate limit (bandwidth allocation) to apply to the virtual interface. Use this to update the bandwidth allocation on an existing virtual interface.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 | |