replace_vpn_tunnel
async
¶
replace_vpn_tunnel(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
58194 58195 58196 58197 58198 58199 58200 58201 58202 58203 58204 58205 58206 58207 58208 58209 58210 58211 58212 58213 58214 58215 58216 58217 58218 58219 58220 58221 58222 58223 58224 58225 58226 58227 58228 58229 58230 58231 58232 58233 58234 58235 58236 58237 58238 58239 58240 58241 58242 58243 58244 58245 58246 58247 58248 58249 58250 58251 | |