replace_vpn_tunnel
¶
replace_vpn_tunnel(
*,
config_overrides: Optional[EC2ClientConfig] = None,
vpn_connection_id: Optional[VpnConnectionId] = None,
vpn_tunnel_outside_ip_address: Optional[String] = None,
apply_pending_maintenance: Optional[Boolean] = None,
dry_run: Optional[Boolean] = None,
) -> ReplaceVpnTunnelResult
Trigger replacement of specified VPN tunnel.
Parameters:
-
vpn_connection_id(Optional[VpnConnectionId], default:None) –The ID of the Site-to-Site VPN connection.
-
vpn_tunnel_outside_ip_address(Optional[String], default:None) –The external IP address of the VPN tunnel.
-
apply_pending_maintenance(Optional[Boolean], default:None) –Trigger pending tunnel endpoint maintenance.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
57392 57393 57394 57395 57396 57397 57398 57399 57400 57401 57402 57403 57404 57405 57406 57407 57408 57409 57410 57411 57412 57413 57414 57415 57416 57417 57418 57419 57420 57421 57422 57423 57424 57425 57426 57427 57428 57429 57430 57431 57432 57433 57434 57435 57436 57437 57438 57439 57440 57441 57442 57443 57444 57445 57446 57447 57448 | |