def _get_bucket(self, client_kwargs):
        """
        Get bucket object.

        Returns:
            oss2.Bucket
        """
        return _oss.Bucket(self.client, endpoint=self._endpoint,
                           bucket_name=client_kwargs['bucket_name'])