def __init__(self, service_name, session):
        self._service_name = service_name
        self._boto3_session = session
        # I know that this is an internal attribute, but the botocore session
        # is needed to load the paginator and waiter models.
        self._session = session._session
        self._client = self._boto3_session.client(service_name)
        self._service_resource = None
        if self._service_name in self._boto3_session.get_available_resources():
            self._service_resource = self._boto3_session.resource(service_name)
        self.sections = [
            'title',
            'table-of-contents',
            'client',
            'paginators',
            'waiters',
            'service-resource',
            'resources',
            'examples'
        ]
dataset/ETHPy150Open boto/boto3/boto3/docs/service.py/ServiceDocumenter.__init__/original