def create_bucket(self, bucket):
        """
        Create a new bucket.
        """
        details = self._details(
            method=b"PUT",
            url_context=self._url_context(bucket=bucket),
        )
        query = self._query_factory(details)
        return self._submit(query)