Add support for VPCPeeringConnections.
This commit is contained in:
parent
cc01669643
commit
42a305239c
6 changed files with 323 additions and 1 deletions
|
|
@ -37,6 +37,22 @@ class InvalidVPCIdError(EC2ClientError):
|
|||
.format(vpc_id))
|
||||
|
||||
|
||||
class InvalidVPCPeeringConnectionIdError(EC2ClientError):
|
||||
def __init__(self, vpc_peering_connection_id):
|
||||
super(InvalidVPCPeeringConnectionIdError, self).__init__(
|
||||
"InvalidVpcPeeringConnectionId.NotFound",
|
||||
"VpcPeeringConnectionID {0} does not exist."
|
||||
.format(vpc_peering_connection_id))
|
||||
|
||||
|
||||
class InvalidVPCPeeringConnectionStateTransitionError(EC2ClientError):
|
||||
def __init__(self, vpc_peering_connection_id):
|
||||
super(InvalidVPCPeeringConnectionStateTransitionError, self).__init__(
|
||||
"InvalidStateTransition",
|
||||
"VpcPeeringConnectionID {0} is not in the correct state for the request."
|
||||
.format(vpc_peering_connection_id))
|
||||
|
||||
|
||||
class InvalidParameterValueError(EC2ClientError):
|
||||
def __init__(self, parameter_value):
|
||||
super(InvalidParameterValueError, self).__init__(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue