'Retrieves rule and target state from AWS'

def fetch_aws_state(self):

    aws_state = {'rule': {}, 'targets': [], 'changed': self.rule.changed}
    rule_description = self.rule.describe()
    if (not rule_description):
        return aws_state
    del rule_description['response_metadata']
    aws_state['rule'] = rule_description
    aws_state['targets'].extend(self.rule.list_targets())
    return aws_state
