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
4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 | |