if datastore_id:
        if datastore_name:
            log.warning(
                'Both the \'datastore_id\' and \'datastore_name\' arguments were provided. '
                '\'datastore_id\' will take precedence.'