:doc:`Lightsail <../../lightsail>` / Client / is_vpc_peered

*************
is_vpc_peered
*************



.. py:method:: Lightsail.Client.is_vpc_peered()

  

  Returns a Boolean value indicating whether your Lightsail VPC is peered.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered>`_  


  **Request Syntax**
  ::

    response = client.is_vpc_peered()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'isPeered': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **isPeered** *(boolean) --* 

        Returns ``true`` if the Lightsail VPC is peered; otherwise, ``false``.

        
  
  **Exceptions**
  
  *   :py:class:`Lightsail.Client.exceptions.ServiceException`

  
  *   :py:class:`Lightsail.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Lightsail.Client.exceptions.NotFoundException`

  
  *   :py:class:`Lightsail.Client.exceptions.OperationFailureException`

  
  *   :py:class:`Lightsail.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Lightsail.Client.exceptions.AccountSetupInProgressException`

  
  *   :py:class:`Lightsail.Client.exceptions.RegionSetupInProgressException`

  
  *   :py:class:`Lightsail.Client.exceptions.UnauthenticatedException`

  