<s> from . . import InstanceResource , ListResource <EOL> class IpAccessControlListMapping ( InstanceResource ) : <EOL> def delete ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . parent . delete_instance ( self . name ) <EOL> class IpAccessControlListMappings ( ListResource ) : <EOL> name = "<STR_LIT>" <EOL> key = "<STR_LIT>" <EOL> instance = IpAccessControlListMapping <EOL> def create ( self , ip_access_control_list_sid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs . update ( ip_access_control_list_sid = ip_access_control_list_sid ) <EOL> return self . create_instance ( kwargs ) <EOL> def delete ( self , sid ) : <EOL> """<STR_LIT>""" <EOL> return self . delete_instance ( sid ) <EOL> class CredentialListMapping ( InstanceResource ) : <EOL> def delete ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . parent . delete_instance ( self . name ) <EOL> class CredentialListMappings ( ListResource ) : <EOL> name = "<STR_LIT>" <EOL> key = "<STR_LIT>" <EOL> instance = CredentialListMapping <EOL> def create ( self , credential_list_sid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs . update ( credential_list_sid = credential_list_sid ) <EOL> return self . create_instance ( kwargs ) <EOL> def delete ( self , sid ) : <EOL> """<STR_LIT>""" <EOL> return self . delete_instance ( sid ) <EOL> class Domain ( InstanceResource ) : <EOL> """<STR_LIT>""" <EOL> subresources = [ IpAccessControlListMappings , CredentialListMappings ] <EOL> def update ( self , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . parent . update_instance ( self . name , kwargs ) <EOL> def delete ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . parent . delete_instance ( self . name ) <EOL> class Domains ( ListResource ) : <EOL> name = "<STR_LIT>" <EOL> key = "<STR_LIT>" <EOL> instance = Domain <EOL> def create ( self , domain_name , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs [ '<STR_LIT>' ] = domain_name <EOL> return self . create_instance ( kwargs ) <EOL> def update ( self , sid , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . update_instance ( sid , kwargs ) <EOL> def delete ( self , sid ) : <EOL> """<STR_LIT>""" <EOL> return self . delete_instance ( sid ) </s>
