Gets the next set of ``AssetContents`` in this list which must be
        less than or equal to the return from ``available()``.

        arg:    n (cardinal): the number of ``AssetContent`` elements
                requested which must be less than or equal to
                ``available()``
        return: (osid.repository.AssetContent) - an array of
                ``AssetContent`` elements.The length of the array is
                less than or equal to the number specified.
        raise:  IllegalState - no more elements available in this list
        raise:  OperationFailed - unable to complete request
        *compliance: mandatory -- This method must be implemented.*

def get_next_asset_contents(self, n=None):
        """Gets the next set of ``AssetContents`` in this list which must be
        less than or equal to the return from ``available()``.

        arg:    n (cardinal): the number of ``AssetContent`` elements
                requested which must be less than or equal to
                ``available()``
        return: (osid.repository.AssetContent) - an array of
                ``AssetContent`` elements.The length of the array is
                less than or equal to the number specified.
        raise:  IllegalState - no more elements available in this list
        raise:  OperationFailed - unable to complete request
        *compliance: mandatory -- This method must be implemented.*

        """
        if n is None:
            raise NullArgument()
        if not isinstance(n, int):
            raise InvalidArgument()
        provider_list = self._payload_list.get_next_asset_contents(n)
        new_list = []
        for asset_content in provider_list:
            if asset_content.has_url() and 'amazonaws.com' in asset_content.get_url():
                new_list.append(AssetContent(asset_content, self._config_map))
            else:
                new_list.append(asset_content)
        return new_list