Lightsail / Client / is_vpc_peered
is_vpc_peered#
- Lightsail.Client.is_vpc_peered()#
Returns a Boolean value indicating whether your Lightsail VPC is peered.
See also: AWS API Documentation
Request Syntax
response = client.is_vpc_peered()
- Return type:
dict
- Returns:
Response Syntax
{ 'isPeered': True|False }
Response Structure
(dict) –
isPeered (boolean) –
Returns
true
if the Lightsail VPC is peered; otherwise,false
.
Exceptions
Lightsail.Client.exceptions.ServiceException
Lightsail.Client.exceptions.InvalidInputException
Lightsail.Client.exceptions.NotFoundException
Lightsail.Client.exceptions.OperationFailureException
Lightsail.Client.exceptions.AccessDeniedException
Lightsail.Client.exceptions.AccountSetupInProgressException
Lightsail.Client.exceptions.UnauthenticatedException