:doc:`EC2 <../../ec2>` / Client / get_vpn_tunnel_replacement_status

*********************************
get_vpn_tunnel_replacement_status
*********************************



.. py:method:: EC2.Client.get_vpn_tunnel_replacement_status(**kwargs)

  

  Get details of available tunnel endpoint maintenance.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnTunnelReplacementStatus>`_  


  **Request Syntax**
  ::

    response = client.get_vpn_tunnel_replacement_status(
        VpnConnectionId='string',
        VpnTunnelOutsideIpAddress='string',
        DryRun=True|False
    )
    
  :type VpnConnectionId: string
  :param VpnConnectionId: **[REQUIRED]** 

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

    

  
  :type VpnTunnelOutsideIpAddress: string
  :param VpnTunnelOutsideIpAddress: **[REQUIRED]** 

    The external IP address of the VPN tunnel.

    

  
  :type DryRun: boolean
  :param DryRun: 

    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``.

    

  
  
  :rtype: 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.

          
    
  