<s> from aws import Action <EOL> from aws import BaseARN <EOL> service_name = '<STR_LIT>' <EOL> prefix = '<STR_LIT>' <EOL> class ARN ( BaseARN ) : <EOL> def __init__ ( self , region , account , table = None , index = None ) : <EOL> sup = super ( ARN , self ) <EOL> resource = '<STR_LIT:*>' <EOL> if table : <EOL> resource = '<STR_LIT>' + table <EOL> if index : <EOL> resource += '<STR_LIT>' + index <EOL> sup . __init__ ( prefix , region = region , account = account , resource = resource ) <EOL> BatchGetItem = Action ( prefix , '<STR_LIT>' ) <EOL> BatchWriteItem = Action ( prefix , '<STR_LIT>' ) <EOL> CreateTable = Action ( prefix , '<STR_LIT>' ) <EOL> DeleteItem = Action ( prefix , '<STR_LIT>' ) <EOL> DeleteTable = Action ( prefix , '<STR_LIT>' ) <EOL> DescribeTable = Action ( prefix , '<STR_LIT>' ) <EOL> GetItem = Action ( prefix , '<STR_LIT>' ) <EOL> ListTables = Action ( prefix , '<STR_LIT>' ) <EOL> PutItem = Action ( prefix , '<STR_LIT>' ) <EOL> Query = Action ( prefix , '<STR_LIT>' ) <EOL> Scan = Action ( prefix , '<STR_LIT>' ) <EOL> UpdateItem = Action ( prefix , '<STR_LIT>' ) <EOL> UpdateTable = Action ( prefix , '<STR_LIT>' ) </s>
