'Adds a statement to a topic\'s access control policy, granting
access for the specified AWS accounts to the specified actions.
:type topic: string
:param topic: The ARN of the topic.
:type label: string
:param label: A unique identifier for the new policy statement.
:type account_ids: list of strings
:param account_ids: The AWS account ids of the users who will be
give access to the specified actions.
:type actions: list of strings
:param actions: The actions you want to allow for each of the
specified principal(s).'

def add_permission(self, topic, label, account_ids, actions):

    params = {'TopicArn': topic, 'Label': label}
    self.build_list_params(params, account_ids, 'AWSAccountId.member')
    self.build_list_params(params, actions, 'ActionName.member')
    return self._make_request('AddPermission', params)
