'ListActivityTypes.'

@wraps(Layer1.list_activity_types)
def activities(self, status='REGISTERED', **kwargs):

    act_types = self._swf.list_activity_types(self.name, status, **kwargs)
    act_objects = []
    for act_args in act_types['typeInfos']:
        act_ident = act_args['activityType']
        del act_args['activityType']
        act_args.update(act_ident)
        act_args.update({'aws_access_key_id': self.aws_access_key_id, 'aws_secret_access_key': self.aws_secret_access_key, 'domain': self.name, 'region': self.region})
        act_objects.append(ActivityType(**act_args))
    return act_objects
