Network Interfaces: Added attach/detach support.
This commit is contained in:
parent
aef0b909f6
commit
04a4ae88bf
5 changed files with 192 additions and 83 deletions
|
|
@ -80,6 +80,14 @@ class InvalidNetworkInterfaceIdError(EC2ClientError):
|
|||
.format(eni_id))
|
||||
|
||||
|
||||
class InvalidNetworkAttachmentIdError(EC2ClientError):
|
||||
def __init__(self, attachment_id):
|
||||
super(InvalidNetworkAttachmentIdError, self).__init__(
|
||||
"InvalidAttachmentID.NotFound",
|
||||
"The network interface attachment ID '{0}' does not exist"
|
||||
.format(attachment_id))
|
||||
|
||||
|
||||
class InvalidSecurityGroupDuplicateError(EC2ClientError):
|
||||
def __init__(self, name):
|
||||
super(InvalidSecurityGroupDuplicateError, self).__init__(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue