EC2 / Client / get_vpn_tunnel_replacement_status

get_vpn_tunnel_replacement_status#

EC2.Client.get_vpn_tunnel_replacement_status(**kwargs)#

Get details of available tunnel endpoint maintenance.

See also: AWS API Documentation

Request Syntax

response = client.get_vpn_tunnel_replacement_status(
    VpnConnectionId='string',
    VpnTunnelOutsideIpAddress='string',
    DryRun=True|False
)
Parameters:
  • VpnConnectionId (string) –

    [REQUIRED]

    The ID of the Site-to-Site VPN connection.

  • VpnTunnelOutsideIpAddress (string) –

    [REQUIRED]

    The external IP address of the VPN tunnel.

  • DryRun (boolean) – 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 is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'VpnConnectionId': 'string',
    'TransitGatewayId': 'string',
    'CustomerGatewayId': 'string',
    'VpnGatewayId': 'string',
    'VpnTunnelOutsideIpAddress': 'string',
    'MaintenanceDetails': {
        'PendingMaintenance': 'string',
        'MaintenanceAutoAppliedAfter': datetime(2015, 1, 1),
        'LastMaintenanceApplied': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • VpnConnectionId (string) –

      The ID of the Site-to-Site VPN connection.

    • TransitGatewayId (string) –

      The ID of the transit gateway associated with the VPN connection.

    • CustomerGatewayId (string) –

      The ID of the customer gateway.

    • VpnGatewayId (string) –

      The ID of the virtual private gateway.

    • VpnTunnelOutsideIpAddress (string) –

      The external IP address of the VPN tunnel.

    • MaintenanceDetails (dict) –

      Get details of pending tunnel endpoint maintenance.

      • PendingMaintenance (string) –

        Verify existence of a pending maintenance.

      • MaintenanceAutoAppliedAfter (datetime) –

        The timestamp after which Amazon Web Services will automatically apply maintenance.

      • LastMaintenanceApplied (datetime) –

        Timestamp of last applied maintenance.