def do_printActivities(self,args):
parser = CommandArgumentParser("<STR_LIT>")<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',action='<STR_LIT:store_true>',dest='<STR_LIT>',help='<STR_LIT>');<EOL>args = vars(parser.parse_args(args))<EOL>refresh = args['<STR_LIT>'] or not self.activities<EOL>if refresh:<EOL><INDENT>response = self.client.describe_scaling_activities(AutoScalingGroupName=self.scalingGroup)<EOL>self.activities = response['<STR_LIT>']<EOL><DEDENT>index = <NUM_LIT:0><EOL>for activity in self.activities:<EOL><INDENT>print("<STR_LIT>".format(index,activity['<STR_LIT>'],stdplus.defaultifyDict(activity,'<STR_LIT>','<STR_LIT>'),activity['<STR_LIT>'],activity['<STR_LIT>']))<EOL>index = index + <NUM_LIT:1><EOL><DEDENT>
Print scaling activities