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
trueif the Lightsail VPC is peered; otherwise,false.
Exceptions
Lightsail.Client.exceptions.ServiceExceptionLightsail.Client.exceptions.InvalidInputExceptionLightsail.Client.exceptions.NotFoundExceptionLightsail.Client.exceptions.OperationFailureExceptionLightsail.Client.exceptions.AccessDeniedExceptionLightsail.Client.exceptions.AccountSetupInProgressExceptionLightsail.Client.exceptions.UnauthenticatedException