def __init__(self, session, service_name, collection_name, loader=None):
        """
        Creates a ``CollectionDetails`` instance.

        :param session: The configured ``Session`` object to refer to.
        :type session: <class kotocore.session.Session> instance

        :param service_name: The service a given ``Collection`` talks to. Ex.
            ``sqs``, ``sns``, ``dynamodb``, etc.
        :type service_name: string

        :param collection_name: The name of the ``Collection``. Ex.
            ``Queue``, ``Notification``, ``Table``, etc.
        :type collection_name: string

        :param loader: (Optional) An instance of a ``ResourceJSONLoader`` class.
            This can be swapped with a different instance or with a completely
            different class with the same interface.
        :type loader: <class kotocore.loader.ResourceJSONLoader> instance
        """
        super(CollectionDetails, self).__init__()
        self.session = session
        self.service_name = service_name
        self.collection_name = collection_name
        self.loader = loader
        self._api_version = None
        self._loaded_data = None
def __init__ ( self , session , service_name , collection_name , loader = None ) : super ( CollectionDetails , self ) . __init__ ( ) self . session = session self . service_name = service_name self . collection_name = collection_name self . loader = loader self . _api_version = None self . _loaded_data = None
Creates a ``CollectionDetails`` instance.

        :param session: The configured ``Session`` object to refer to.
        :type session: <class kotocore.session.Session> instance

        :param service_name: The service a given ``Collection`` talks to. Ex.
            ``sqs``, ``sns``, ``dynamodb``, etc.
        :type service_name: string

        :param collection_name: The name of the ``Collection``. Ex.
            ``Queue``, ``Notification``, ``Table``, etc.
        :type collection_name: string

        :param loader: (Optional) An instance of a ``ResourceJSONLoader`` class.
            This can be swapped with a different instance or with a completely
            different class with the same interface.
        :type loader: <class kotocore.loader.ResourceJSONLoader> instance