def create_maintenance_window(self, **kwargs):  # noqa: E501
        """Create a maintenance window  # noqa: E501

          # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_maintenance_window(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param MaintenanceWindow body: Example Body:  <pre>{   \"reason\": \"MW Reason\",   \"title\": \"MW Title\",   \"startTimeInSeconds\": 1483228800,   \"endTimeInSeconds\": 1483232400,   \"relevantCustomerTags\": [     \"alertId1\"   ],   \"relevantHostTags\": [     \"sourceTag1\"   ] }</pre>
        :return: ResponseContainerMaintenanceWindow
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.create_maintenance_window_with_http_info(**kwargs)  # noqa: E501
        else:
            (data) = self.create_maintenance_window_with_http_info(**kwargs)  # noqa: E501
            return data