def create(self, target, configuration_url=values.unset,
               configuration_method=values.unset,
               configuration_filters=values.unset,
               configuration_triggers=values.unset,
               configuration_flow_sid=values.unset,
               configuration_retry_count=values.unset,
               configuration_replay_after=values.unset,
               configuration_buffer_messages=values.unset,
               configuration_buffer_window=values.unset):
        """
        Create a new WebhookInstance

        :param WebhookInstance.Target target: The target of this webhook.
        :param unicode configuration_url: The absolute url the webhook request should be sent to.
        :param WebhookInstance.Method configuration_method: The HTTP method to be used when sending a webhook request.
        :param unicode configuration_filters: The list of events, firing webhook event for this Session.
        :param unicode configuration_triggers: The list of keywords, firing webhook event for this Session.
        :param unicode configuration_flow_sid: The studio flow sid, where the webhook should be sent to.
        :param unicode configuration_retry_count: The number of retries in case of webhook request failures.
        :param unicode configuration_replay_after: The message index for which and it's successors the webhook will be replayed.
        :param bool configuration_buffer_messages: The flag whether buffering should be applied to messages.
        :param unicode configuration_buffer_window: The period of buffering messages.

        :returns: Newly created WebhookInstance
        :rtype: twilio.rest.messaging.v1.session.webhook.WebhookInstance
        """
        data = values.of({
            'Target': target,
            'Configuration.Url': configuration_url,
            'Configuration.Method': configuration_method,
            'Configuration.Filters': serialize.map(configuration_filters, lambda e: e),
            'Configuration.Triggers': serialize.map(configuration_triggers, lambda e: e),
            'Configuration.FlowSid': configuration_flow_sid,
            'Configuration.RetryCount': configuration_retry_count,
            'Configuration.ReplayAfter': configuration_replay_after,
            'Configuration.BufferMessages': configuration_buffer_messages,
            'Configuration.BufferWindow': configuration_buffer_window,
        })

        payload = self._version.create(
            'POST',
            self._uri,
            data=data,
        )

        return WebhookInstance(self._version, payload, session_sid=self._solution['session_sid'], )
Create a new WebhookInstance

        :param WebhookInstance.Target target: The target of this webhook.
        :param unicode configuration_url: The absolute url the webhook request should be sent to.
        :param WebhookInstance.Method configuration_method: The HTTP method to be used when sending a webhook request.
        :param unicode configuration_filters: The list of events, firing webhook event for this Session.
        :param unicode configuration_triggers: The list of keywords, firing webhook event for this Session.
        :param unicode configuration_flow_sid: The studio flow sid, where the webhook should be sent to.
        :param unicode configuration_retry_count: The number of retries in case of webhook request failures.
        :param unicode configuration_replay_after: The message index for which and it's successors the webhook will be replayed.
        :param bool configuration_buffer_messages: The flag whether buffering should be applied to messages.
        :param unicode configuration_buffer_window: The period of buffering messages.

        :returns: Newly created WebhookInstance
        :rtype: twilio.rest.messaging.v1.session.webhook.WebhookInstance